vcenter storage policies compliance VM: filter spec

The filter_spec structure contains Status used to filter the results when listing virtual machines (see list). This structure was added in vSphere API 6.7

Representation:

{
    "status"[
        "COMPLIANT",
        "COMPLIANT"
    ],
    "vms"[
        "obj-103",
        "obj-103"
    ]
}

Attributes:

Name Type Description
Required
status string[] Compliance Status that a virtual machine must have to match the filter. Atleast one status must be specified. This attribute was added in vSphere API 6.7

Optional
vms string[] Identifiers of virtual machines that can match the filter. This attribute was added in vSphere API 6.7

Optional. If unset or empty, virtual machines with any identifier matches the filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: VirtualMachine. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: VirtualMachine.