Freigeben über


ArmDeploymentScriptResource.UpdateAsync Methode

Definition

Updates Bereitstellungsskripttags mit angegebenen Werten.

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Vorgang IdDeploymentScripts_Update
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))

Parameter

patch
ArmDeploymentScriptPatch

Bereitstellungsskriptressource mit den tags, die aktualisiert werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: