Udostępnij za pośrednictwem


ResourceOperationsExtensions.CheckExistenceAsync Method

Definition

Checks whether resource exists.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceExistsResult> CheckExistenceAsync (this Microsoft.Azure.Management.Resources.IResourceOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity);
static member CheckExistenceAsync : Microsoft.Azure.Management.Resources.IResourceOperations * string * Microsoft.Azure.ResourceIdentity -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceExistsResult>
<Extension()>
Public Function CheckExistenceAsync (operations As IResourceOperations, resourceGroupName As String, identity As ResourceIdentity) As Task(Of ResourceExistsResult)

Parameters

operations
IResourceOperations

Reference to the Microsoft.Azure.Management.Resources.IResourceOperations.

resourceGroupName
String

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

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

Returns

Resource group information.

Applies to