ResourcePoolFilterSpec

The ResourcePool.FilterSpec structure contains fields used to filter the results when listing resource pools (see ResourcePool.list). If multiple fields are specified, only resource pools matching all of the fields match the filter.


Properties

array of string
clusters Optional

Clusters that must contain the resource pool for the resource pool to match the filter. If unset or empty, resource pools in any cluster match the 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
datacenters Optional

Datacenters that must contain the resource pool for the resource pool to match the filter. If unset or empty, resource pools in any datacenter match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: Datacenter. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Datacenter.


array of string
hosts Optional

Hosts that must contain the resource pool for the resource pool to match the filter. If unset or empty, resource pools in any host match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: HostSystem. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: HostSystem.


array of string
names Optional

Names that resource pools must have to match the filter (see ResourcePool.Info.name). If unset or empty, resource pools with any name match the filter.


array of string
parent_resource_pools Optional

Resource pools that must contain the resource pool for the resource pool to match the filter. If unset or empty, resource pools in any resource pool match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: ResourcePool. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: ResourcePool.


array of string
resource_pools Optional

Identifiers of resource pools that can match the filter. If unset or empty, resource pools with any identifier match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: ResourcePool. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: ResourcePool.

JSON Example

{
	"clusters": [
		"string"
	],
	"datacenters": [
		"string"
	],
	"hosts": [
		"string"
	],
	"names": [
		"string"
	],
	"parent_resource_pools": [
		"string"
	],
	"resource_pools": [
		"string"
	]
}

Feedback

Was this page helpful?