다음을 통해 공유


StepResourceCollection.GetAsync(String, CancellationToken) Method

Definition

Gets the step.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/steps/{stepName}
  • Operation Id: Steps_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.StepResource>> GetAsync (string stepName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.StepResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.StepResource>>
Public Overridable Function GetAsync (stepName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StepResource))

Parameters

stepName
String

The name of the deployment step.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

stepName is an empty string, and was expected to be non-empty.

stepName is null.

Applies to