Compartir a través de


PrivateStoreCollectionOfferOperationsExtensions.CreateOrUpdateAsync Método

Definición

Actualice o agregue una oferta a una colección específica del almacén privado.

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

Parámetros

operations
IPrivateStoreCollectionOfferOperations

Grupo de operaciones para este método de extensión.

privateStoreId
String

El identificador de la tienda: debe usar el identificador de inquilino.

offerId
String

Identificador de la oferta que se va a actualizar o eliminar

collectionId
String

El identificador de la colección

payload
Offer
cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a