Condividi tramite


PrivateStoreCollectionOfferOperationsExtensions.CreateOrUpdate Method

Definition

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

public static Microsoft.Azure.Management.Marketplace.Models.Offer CreateOrUpdate (this Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOfferOperations operations, string privateStoreId, string offerId, string collectionId, Microsoft.Azure.Management.Marketplace.Models.Offer payload = default);
static member CreateOrUpdate : Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOfferOperations * string * string * string * Microsoft.Azure.Management.Marketplace.Models.Offer -> Microsoft.Azure.Management.Marketplace.Models.Offer
<Extension()>
Public Function CreateOrUpdate (operations As IPrivateStoreCollectionOfferOperations, privateStoreId As String, offerId As String, collectionId As String, Optional payload As Offer = Nothing) As Offer

Parameters

operations
IPrivateStoreCollectionOfferOperations

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

collectionId
String

The collection ID

payload
Offer

Returns

Applies to