Get Trust Authority Clusters
Get the result of the last Update operation which matches the cluster id. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadTrustedHosts. - The resource ClusterComputeResource referenced by the parameter cluster requires System.View.
Request
URLURL
Path Parameters
Path Parameters
Cluster id. The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The TrustAuthorityClusters.Info instance which contains information about the state of the cluster.
{
"cluster": "string",
"state": "ENABLE"
}
Identifies the cluster. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.
The TrustAuthorityClusters.State enumerated type defines the states of the TrustAuthorityClusters.
ENABLE : The TrustAuthorityClusters is enabled.
DISABLE : The TrustAuthorityClusters is disabled.
Possible values are: ENABLE , DISABLE
Errors
com.vmware.vapi.std.errors.not_found : if cluster doesn’t match to any ClusterComputeResource.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: get