Partager via


ScriptExecutionResource.Update Méthode

Définition

Créer ou mettre à jour une exécution de script dans un cloud privé

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • IdScriptExecutions_CreateOrUpdate d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.ScriptExecutionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Avs.ScriptExecutionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Avs.ScriptExecutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.ScriptExecutionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Avs.ScriptExecutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.ScriptExecutionResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As ScriptExecutionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ScriptExecutionResource)

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée 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 de Long-Running Azure.Core.

data
ScriptExecutionData

Script s’exécutant dans le cloud privé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à