Compartilhar via


ArmDeploymentScriptResource.UpdateAsync Método

Definição

Atualizações marcas de script de implantação com valores especificados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • IdDeploymentScripts_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>> UpdateAsync (Azure.ResourceManager.Resources.Models.ArmDeploymentScriptPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Resources.Models.ArmDeploymentScriptPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>>
override this.UpdateAsync : Azure.ResourceManager.Resources.Models.ArmDeploymentScriptPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>>
Public Overridable Function UpdateAsync (patch As ArmDeploymentScriptPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentScriptResource))

Parâmetros

patch
ArmDeploymentScriptPatch

Recurso de script de implantação com as marcas a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a