PrivateStorePrivateOfferOperationsExtensions.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 a private 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.IPrivateStorePrivateOfferOperations operations, string subscriptionId, 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.IPrivateStorePrivateOfferOperations * string * 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 IPrivateStorePrivateOfferOperations, subscriptionId As String, 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
- IPrivateStorePrivateOfferOperations
The operations group for this extension method.
- subscriptionId
- String
Subscription id of the private offers
- 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.