List Zone Associations Cluster
Returns zone-cluster associations that match the specified filter. if you do not have all of the privileges described as follows: - Operation execution requires System.Read.
Request
URLURL
Query Parameters
Query Parameters
Zone-cluster associations will be filtered such that each association that is returned will have a cluster identifier from this set of specified cluster identifiers. If unset or empty, zone-cluster associations will not be filtered based on cluster identifiers. Associations with any cluster identifier will match this filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: ClusterComputeResource.
Zone-cluster associations will be filtered such that each association that is returned will have a zone identifier from this set of specified zone identifiers. If unset or empty, zone-cluster associations will not be filtered based on zone identifiers. Associations with any zone identifier will match this filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.consumption_domains.Zone. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.consumption_domains.Zone.
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
Zone-cluster associations matching the Cluster.FilterSpec.
{
"associations": [
{
"cluster": "string",
"zone": "string"
}
]
}
The list of zone-cluster associations.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have all of the privileges described as follows: - The resource com.vmware.vcenter.consumption_domains.Zone referenced by the parameter zones in Cluster.FilterSpec requires System.Read privilege.
‘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: list