Partilhar via


MarketplaceAgreementTermResource.UpdateAsync Método

Definição

Salve os termos do marketplace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
  • IdMarketplaceAgreements_Create de operação
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As MarketplaceAgreementTermData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MarketplaceAgreementTermResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

data
MarketplaceAgreementTermData

Parâmetros fornecidos para a operação Criar Termos do Marketplace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a