Partager via


MarketplaceApprovalRequestResource.UpdateAsync Méthode

Définition

Créer une demande d’approbation

  • Chemin de la requête/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • IdPrivateStore_CreateApprovalRequest d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Marketplace.MarketplaceApprovalRequestResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As MarketplaceApprovalRequestData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MarketplaceApprovalRequestResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

data
MarketplaceApprovalRequestData

MarketplaceApprovalRequest à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à