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
- String
resourceGroupName the resource group's name
- resourceProviderNamespace
- String
resourceProviderNamespace the resource provider's namespace
- parentResourcePath
- String
parentResourcePath the parent's resource path
- resourceType
- String
resourceType the type of the resource
- resourceName
- String
resourceName the name of the resource
- apiVersion
- String
apiVersion the API version
Returns
true if the resource exists; false otherwise