Udostępnij za pośrednictwem


DeploymentOperationsExtensions.GetAsync Method

Definition

Gets a deployments operation.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentOperation> GetAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentOperations operations, string resourceGroupName, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentOperation>
<Extension()>
Public Function GetAsync (operations As IDeploymentOperations, resourceGroupName As String, deploymentName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentOperation)

Parameters

operations
IDeploymentOperations

The operations group for this extension method.

resourceGroupName
String

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

deploymentName
String

The name of the deployment.

operationId
String

The ID of the operation to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to