Condividi tramite


DeploymentsOperationsExtensions.CheckExistenceAsync Method

Definition

Checks whether the deployment exists.

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

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group with the deployment to check. The name is case insensitive.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to