Condividi tramite


DeploymentScriptsOperationsExtensions.UpdateAsync Method

Definition

Updates deployment script tags with specified values.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript> UpdateAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, Microsoft.Azure.Management.ResourceManager.Models.DeploymentScriptUpdateParameter deploymentScript = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.DeploymentScriptUpdateParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript>
<Extension()>
Public Function UpdateAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, Optional deploymentScript As DeploymentScriptUpdateParameter = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentScript)

Parameters

operations
IDeploymentScriptsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

scriptName
String

Name of the deployment script.

deploymentScript
DeploymentScriptUpdateParameter

Deployment script resource with the tags to be updated.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to