PrivateStoreOfferOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update or add an offer to the default collection of the private store.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.Offer> CreateOrUpdateAsync (this Microsoft.Azure.Management.Marketplace.IPrivateStoreOfferOperations operations, string privateStoreId, string offerId, string eTag = default, System.Collections.Generic.IList<string> specificPlanIdsLimitation = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Marketplace.IPrivateStoreOfferOperations * string * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Marketplace.Models.Offer>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateStoreOfferOperations, privateStoreId As String, offerId As String, Optional eTag As String = Nothing, Optional specificPlanIdsLimitation As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Offer)
Parameters
- operations
- IPrivateStoreOfferOperations
The operations group for this extension method.
- privateStoreId
- String
The store ID - must use the tenant ID
- offerId
- String
The offer ID to update or delete
- eTag
- String
- cancellationToken
- CancellationToken
The cancellation token.