ResourcesOperationsExtensions.CheckExistence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET