Share via


Getting Resource Information

The following table lists resource-related information and the API elements that obtain the information. If the specified API element does not have an example, look in the Index of Examples for a similar API element.

Information to get API
Characteristics of the resource CLUSCTL_RESOURCE_GET_CHARACTERISTICS
Checkpoints defined for the resource CLUSCTL_RESOURCE_GET_CRYPTO_CHECKPOINTS, CLUSCTL_RESOURCE_GET_REGISTRY_CHECKPOINTS
Cluster that contains the resource. GetClusterFromResource
Dependencies ClusterResourceEnum, ResUtilGetResourceDependency, ResUtilGetResourceDependencyByClass, ResUtilGetResourceDependencyByName, ResUtilGetResourceNameDependency
Dependents ClusterResourceEnum
Disk information CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO
Equality ResUtilResourcesEqual
Flags CLUSCTL_RESOURCE_GET_FLAGS
Group that contains the resource GetClusterResourceState
GUID CLUSCTL_RESOURCE_GET_ID
Name CLUSCTL_RESOURCE_GET_NAME
Network name dependency CLUSCTL_RESOURCE_GET_NETWORK_NAME
Node that currently owns the resource GetClusterResourceState
Possible owner nodes ClusterResourceEnum
Properties CLUSCTL_RESOURCE_GET_COMMON_PROPERTIES, CLUSCTL_RESOURCE_GET_RO_COMMON_PROPERTIES, CLUSCTL_RESOURCE_GET_RO_PRIVATE_PROPERTIES, CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES
Property names CLUSCTL_RESOURCE_ENUM_COMMON_PROPERTIES, CLUSCTL_RESOURCE_ENUM_PRIVATE_PROPERTIES
Required dependencies CLUSCTL_RESOURCE_GET_REQUIRED_DEPENDENCIES
Resource class CLUSCTL_RESOURCE_GET_CLASS_INFO
Resource type CLUSCTL_RESOURCE_GET_RESOURCE_TYPE
State GetClusterResourceState

 

For additional resource-related API elements, see Resource Management Functions and Resource Control Codes.