다음을 통해 공유


External Resource Type Control Codes

The following lists all of the external resource type control codes.

In this section

CLUSCTL_CLOUD_WITNESS_RESOURCE_TYPE_VALIDATE_CREDENTIALS

Retrieves the token and credentials used to validate a cluster node's access to a storage account for a Cloud Witness resource. Applications use this control code as a ClusterResourceTypeControl parameter, and resource DLLs receive the control code as a parameter to the ResourceTypeControl function.

CLUSCTL_CLOUD_WITNESS_RESOURCE_TYPE_VALIDATE_CREDENTIALS_WITH_KEY

TBD

CLUSCTL_RESOURCE_TYPE_ENUM_COMMON_PROPERTIES

Retrieves a list of the read/write resource type common property names.

CLUSCTL_RESOURCE_TYPE_ENUM_PRIVATE_PROPERTIES

Retrieves a list of the read/write and read-only resource type private properties.

CLUSCTL_RESOURCE_TYPE_GEN_APP_VALIDATE_DIRECTORY

Confirms that, for resources of type "Generic Application", the supplied directory exists.

CLUSCTL_RESOURCE_TYPE_GEN_APP_VALIDATE_PATH

Confirms that, for resources of type "Generic Application", the server can access the file using the supplied path.

CLUSCTL_RESOURCE_TYPE_GEN_SCRIPT_VALIDATE_PATH

Confirms that, for resources of type "Generic Script", the server can access the file using the supplied path.

CLUSCTL_RESOURCE_TYPE_GET_ARB_TIMEOUT

Allows a quorum resource DLL to specify a new arbitration timeout value.

CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS

Retrieves the intrinsic characteristics of a resource type. Applications use this control code as a ClusterResourceTypeControl parameter, and resource DLLs receive the control code as a parameter to the ResourceTypeControl function.

CLUSCTL_RESOURCE_TYPE_GET_CLASS_INFO

Retrieves the class and subclass of a resource type.

CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTIES

Retrieves the read/write common properties for a resource type.

CLUSCTL_RESOURCE_TYPE_GET_COMMON_PROPERTY_FMTS

Reserved for future use.

CLUSCTL_RESOURCE_TYPE_GET_COMMON_RESOURCE_PROPERTY_FMTS

Retrieves a property list describing the format of each resource common property.

CLUSCTL_RESOURCE_TYPE_GET_CRYPTO_CHECKPOINTS

The CLUSCTL_RESOURCE_TYPE_GET_CRYPTO_CHECKPOINTS control code is reserved for future use.

CLUSCTL_RESOURCE_TYPE_GET_FLAGS

Retrieves the flags that are set for a resource type.

CLUSCTL_RESOURCE_TYPE_GET_PRIVATE_PROPERTIES

Retrieves the read/write private properties for a resource type.

CLUSCTL_RESOURCE_TYPE_GET_PRIVATE_PROPERTY_FMTS

Retrieves a property list describing the format of each resource type private property.

CLUSCTL_RESOURCE_TYPE_GET_PRIVATE_RESOURCE_PROPERTY_FMTS

Returns a property list describing the format of each resource private property. Applications use this control code as a parameter.

CLUSCTL_RESOURCE_TYPE_GET_REGISTRY_CHECKPOINTS

The CLUSCTL_RESOURCE_TYPE_GET_REGISTRY_CHECKPOINTS control code is reserved for future use.

CLUSCTL_RESOURCE_TYPE_GET_REQUIRED_DEPENDENCIES

Retrieves a list of all required dependencies for a resource type.

CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES

Retrieves the read-only common properties for a resource type.

CLUSCTL_RESOURCE_TYPE_GET_RO_PRIVATE_PROPERTIES

Retrieves the read-only private properties for a resource type.

CLUSCTL_RESOURCE_TYPE_NETNAME_GET_OU_FOR_VCO

TBD.

CLUSCTL_RESOURCE_TYPE_NETNAME_VALIDATE_NETNAME

The CLUSCTL_RESOURCE_TYPE_NETNAME_VALIDATE_NETNAME control code TBD. Applications use this control code as a parameter to ClusterResourceTypeControl function, and resource DLLs receive the control code as a parameter to the ResourceTypeControl callback function.

CLUSCTL_RESOURCE_TYPE_QUERY_DELETE

The CLUSCTL_RESOURCE_TYPE_QUERY_DELETE control code is reserved for future use.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_ELIGIBLE_LOGDISKS

Gets the eligible log disks for a data disk.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_ELIGIBLE_SOURCE_DATADISKS

Gets the source disks that can be added to the same replication group as the specified source disk.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_ELIGIBLE_TARGET_DATADISKS

Gets the eligible replication destination disks for the source disk.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_LOG_VOLUME

Gets the log volume from a physical disk resource that is in a replication relationship.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_REPLICA_VOLUMES

Gets all volumes that can be used for replication on the source disk and the destination disk.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_REPLICATED_DISKS

Retrieves the replicated disks in a cluster.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_REPLICATED_PARTITION_INFO

Gets the replicated partitions on a disk.

CLUSCTL_RESOURCE_TYPE_REPLICATION_GET_RESOURCE_GROUP

Gets all cluster resource groups that are eligible for replication.

CLUSCTL_RESOURCE_TYPE_SET_COMMON_PROPERTIES

Updates the read/write common properties for a resource type.

CLUSCTL_RESOURCE_TYPE_SET_PRIVATE_PROPERTIES

Updates the read/write private properties for a resource type.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS

Retrieves information about storage class devices supported by a resource type.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS_EX

Retrieves information about storage class devices supported by a resource type.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS_EX2_INT

Retrieves information about storage class devices supported by a resource type.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_DISKID

Queries the ID of a disk on the designated node.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_DRIVELETTERS

Queries a bitmask of the driver letters that are not in use on the designated node.

CLUSCTL_RESOURCE_TYPE_STORAGE_GET_RESOURCEID

Retrieves the resource ID string for a storage resource.

CLUSCTL_RESOURCE_TYPE_STORAGE_IS_CLUSTERABLE

Confirms whether a disk on the designated node can be placed under cluster control.

CLUSCTL_RESOURCE_TYPE_STORAGE_IS_CSV_FILE

queries whether a file is stored on a CSV that is accessible to all nodes in the cluster

CLUSCTL_RESOURCE_TYPE_STORAGE_REMAP_DRIVELETTER

Modifies the drive letter of a disk on the designated node.

CLUSCTL_RESOURCE_TYPE_STORAGE_REMOVE_VM_OWNERSHIP

The CLUSCTL_RESOURCE_TYPE_STORAGE_REMOVE_VM_OWNERSHIP control code TBD. Applications use this control code as a parameter to ClusterResourceTypeControl function, and resource DLLs receive the control code as a parameter to the ResourceTypeControl callback function.

CLUSCTL_RESOURCE_TYPE_STORAGE_SYNC_CLUSDISK_DB

The CLUSCTL_RESOURCE_TYPE_STORAGE_SYNC_CLUSDISK_DB control code TBD. Applications use this control code as a parameter to ClusterResourceTypeControl function, and resource DLLs receive the control code as a parameter to the ResourceTypeControl callback function.

To perform this operation, call the DeviceIoControl function with the following parameters.

CLUSCTL_RESOURCE_TYPE_UNKNOWN

verifies that control codes are being processed on the node where execution of the control is directed.

CLUSCTL_RESOURCE_TYPE_VALIDATE_COMMON_PROPERTIES

Verifies that a property list contains valid resource type common property names and values and that the list is properly formatted.

CLUSCTL_RESOURCE_TYPE_VALIDATE_PRIVATE_PROPERTIES

Verifies that a property list contains valid resource type property names and values and that the list is properly formatted.

CLUSCTL_RESOURCE_TYPE_WITNESS_VALIDATE_PATH

Confirms that the server can access the file share path for the designated resource type.

Resource Type Control Codes

ClusterResourceTypeControl

ResourceTypeControl