Getting Resource Type Information
The following table lists resource type–related information and objects and the recommended API elements for obtaining them. If the specified API element does not have an example, look in the Index of Examples for a similar element.
Information to get | API element to use |
---|---|
Available disks | CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS |
Characteristics of the resource type | CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS |
Checkpoints defined for the resource type | CLUSCTL_RESOURCE_TYPE_GET_CRYPTO_CHECKPOINTS, CLUSCTL_RESOURCE_TYPE_GET_REGISTRY_CHECKPOINTS |
Name | CLUSCTL_RESOURCE_GET_NAME |
Possible owner nodes | ClusterResourceTypeEnum |
Properties | CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTIES, CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES, CLUSCTL_RESOURCE_TYPE_GET_RO_PRIVATE_PROPERTIES, CLUSCTL_RESOURCE_TYPE_GET_PRIVATE_PROPERTIES |
Property names | CLUSCTL_RESOURCE_TYPE_ENUM_COMMON_PROPERTIES, CLUSCTL_RESOURCE_TYPE_ENUM_PRIVATE_PROPERTIES |
Required dependencies | CLUSCTL_RESOURCE_TYPE_GET_REQUIRED_DEPENDENCIES |
For additional resource type–related API elements, see Resource Type Management Functions and Resource Type Control Codes.