Udostępnij za pośrednictwem


ResourceOperationsExtensions.CheckExistence Method

Definition

Checks whether resource exists.

public static Microsoft.Azure.Management.Resources.Models.ResourceExistsResult CheckExistence (this Microsoft.Azure.Management.Resources.IResourceOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity);
static member CheckExistence : Microsoft.Azure.Management.Resources.IResourceOperations * string * Microsoft.Azure.ResourceIdentity -> Microsoft.Azure.Management.Resources.Models.ResourceExistsResult
<Extension()>
Public Function CheckExistence (operations As IResourceOperations, resourceGroupName As String, identity As ResourceIdentity) As 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