vcenter datacenter: filter spec

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

Representation:

{
    "datacenters"[
        "obj-103",
        "obj-103"
    ],
    "names"[
        "string",
        "string"
    ],
    "folders"[
        "obj-103",
        "obj-103"
    ]
}

Attributes:

Name Type Description
Optional
datacenters string[] Identifiers of datacenters that can match the filter.

Optional. If unset or empty, datacenters 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: Datacenter. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: Datacenter.

names string[] Names that datacenters must have to match the filter (see vcenter.datacenter.info.name).

Optional. If unset or empty, datacenters with any name match the filter.

folders string[] Folders that must contain the datacenters for the datacenter to match the filter.

Optional. If unset or empty, datacenters 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.