Share via


PrivateStorePrivateOfferOperationsExtensions.CreateOrUpdate Method

Definition

Update or add a private offer to the default collection of the private store.

public static Microsoft.Azure.Management.Marketplace.Models.Offer CreateOrUpdate (this Microsoft.Azure.Management.Marketplace.IPrivateStorePrivateOfferOperations operations, string subscriptionId, string privateStoreId, string offerId, string eTag = default, System.Collections.Generic.IList<string> specificPlanIdsLimitation = default);
static member CreateOrUpdate : Microsoft.Azure.Management.Marketplace.IPrivateStorePrivateOfferOperations * string * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Marketplace.Models.Offer
<Extension()>
Public Function CreateOrUpdate (operations As IPrivateStorePrivateOfferOperations, subscriptionId As String, privateStoreId As String, offerId As String, Optional eTag As String = Nothing, Optional specificPlanIdsLimitation As IList(Of String) = Nothing) As 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
specificPlanIdsLimitation
IList<String>

Returns

Applies to