IGenericResources.CheckExistence(String, String, String, String, String, String) Method

Definition

Checks if a resource exists in a resource group.

public bool CheckExistence (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion);
abstract member CheckExistence : string * string * string * string * string * string -> bool
Public Function CheckExistence (resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, apiVersion As String) As Boolean

Parameters

resourceGroupName
System.String

resourceGroupName the resource group's name

resourceProviderNamespace
System.String

resourceProviderNamespace the resource provider's namespace

parentResourcePath
System.String

parentResourcePath the parent's resource path

resourceType
System.String

resourceType the type of the resource

resourceName
System.String

resourceName the name of the resource

apiVersion
System.String

apiVersion the API version

Returns

System.Boolean

true if the resource exists; false otherwise

Applies to