Share via


ResourcesOperationsExtensions.CheckExistence Method

Definition

Checks whether a resource exists.

public static bool CheckExistence (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion);
static member CheckExistence : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * string * string * string * string * string -> bool
<Extension()>
Public Function CheckExistence (operations As IResourcesOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, apiVersion As String) As Boolean

Parameters

operations
IResourcesOperations

The operations group for this extension method.

resourceGroupName
String

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

resourceProviderNamespace
String

The resource provider of the resource to check.

parentResourcePath
String

The parent resource identity.

resourceType
String

The resource type.

resourceName
String

The name of the resource to check whether it exists.

apiVersion
String

The API version to use for the operation.

Returns

Applies to