ConsumptionDomainsZoneAssociationsClusterFilterSpec

The Cluster.FilterSpec structure contains fields used to filter the results when listing associations between clusters and zones, see Cluster.list. If multiple filtering criteria are provided in a Cluster.FilterSpec, then the filtering is done based on all of them, i.e., every returned zone-cluster association must satisfy all the filtering criteria. This Cluster.FilterSpec structure can be used to list zones associated with a given cluster as well as to list the clusters associated with a given zone.


Properties

array of string
clusters Optional

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.


array of string
zones Optional

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.

JSON Example

{
	"clusters": [
		"string"
	],
	"zones": [
		"string"
	]
}

Feedback

Was this page helpful?