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

Required Property Name Type Description
optional datacenters array of string

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.

optional datastores array of string

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.

optional folders array of string

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.

optional names array of string

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

optional types array of DatastoreType Enum

Types that datastores must have to match the filter (see Datastore.Summary.type). If unset or empty, datastores with any type match the filter.

Parameter To


List Datastore

JSON Example

{
    "datacenters": [
        "string"
    ],
    "datastores": [
        "string"
    ],
    "folders": [
        "string"
    ],
    "names": [
        "string"
    ],
    "types": "enum"
}
Feedback

Was this page helpful?