共用方式為


ArmDeploymentScriptResource.GetAsync(CancellationToken) Method

Definition

Gets a deployment script with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentScriptResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to