StoragePoliciesComplianceVMFilterSpec

The VM.FilterSpec structure contains Status used to filter the results when listing virtual machines (see VM.list).


Properties

status Required

The {@Status} enumerated type defines he valid compliance status values for a virtual machine or virtual disk.
COMPLIANT : The virtual machine or virtual disk is in compliance.
NON_COMPLIANT : The virtual machine or virtual disk is in not in compliance.
UNKNOWN_COMPLIANCE : Compliance status of the virtual machine or virtual disk is not known.
NOT_APPLICABLE : Compliance computation is not applicable for this virtual machine or disk because it does not have any storage requirement that apply to the object-based datastore on which the entity is placed.
OUT_OF_DATE : Compliance status becomes out of date when the profile associated with the virtual machine or disk is edited and not applied. The compliance status will remain out of date until the latest policy is applied.

Possible values are: COMPLIANTNON_COMPLIANTUNKNOWN_COMPLIANCENOT_APPLICABLEOUT_OF_DATE


array of string
vms Optional

Identifiers of virtual machines that can match the filter 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.

JSON Example

{
    "status": "COMPLIANT"
}

Feedback

Was this page helpful?