vcenter trusted infrastructure trust authority clusters: get
Get the result of the last Update operation which matches the cluster id. This operation was added in vSphere API 7.0.0.
Request:
HTTP request
GET https://{server}/api/vcenter/trusted-infrastructure/trust-authority-clusters/{cluster}
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
cluster | string | Cluster id. |
Response:
HTTP Status Code: 200
Response Body Structure:
{
"cluster" : "obj-103",
"state" : "ENABLE"
}
"cluster" : "obj-103",
"state" : "ENABLE"
}
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | info | The vcenter.trusted_infrastructure.trust_authority_clusters.info instance which contains information about the state of the cluster. |
-.cluster | string | Identifies the cluster. This attribute was added in vSphere API 7.0.0. 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 . |
-.state | string | The state of the cluster. This attribute was added in vSphere API 7.0.0. Defines the states of the vcenter.trusted_infrastructure.trust_authority_clusters. This enumeration was added in vSphere API 7.0.0. Value is one of: ENABLE: The vcenter.trusted_infrastructure.trust_authority_clusters is enabled. This constant was added in vSphere API 7.0.0. DISABLE: The vcenter.trusted_infrastructure.trust_authority_clusters is disabled. This constant was added in vSphere API 7.0.0. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if there is a generic error. |
404 | not_found | if cluster doesn't match to any ClusterComputeResource. |
401 | unauthenticated | if the user can not be authenticated. |