共用方式為


DeploymentScriptsOperationsExtensions.GetAsync Method

Definition

Gets a deployment script with a given name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript> GetAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript>
<Extension()>
Public Function GetAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to