GenericResources.checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) 方法

定义

Checks if a resource exists in a resource group.

public boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

参数

resourceGroupName
String

the resource group's name

resourceProviderNamespace
String

the resource provider's namespace

parentResourcePath
String

the parent's resource path

resourceType
String

the type of the resource

resourceName
String

the name of the resource

apiVersion
String

the API version

返回

boolean

true if the resource exists; false otherwise

适用于