Partager via


PrivateStoreOfferOperationsExtensions.CreateOrUpdateAsync Method

Definition

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
specificPlanIdsLimitation
IList<String>
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to