DatastoreFilterSpec
The Datastore.FilterSpec structure contains fields used to filter the results when listing datastores (see Datastore.list). If multiple fields are specified, only datastores matching all of the fields match the filter.
Properties
Datacenters that must contain the datastore for the datastore to match the filter. If unset or empty, datastores 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.
Identifiers of datastores that can match the filter. If unset or empty, datastores 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: Datastore. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Datastore.
Folders that must contain the datastore for the datastore to match the filter. If unset or empty, datastores in any folder match the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: Folder. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Folder.
Names that datastores must have to match the filter (see Datastore.Info.name). If unset or empty, datastores with any name match the filter.
Types that datastores must have to match the filter (see Datastore.Summary.type). If unset or empty, datastores with any type match the filter.
JSON Example
{
"datacenters": [
"string"
],
"datastores": [
"string"
],
"folders": [
"string"
],
"names": [
"string"
],
"types": "enum"
}