Package | Description |
---|---|
com.vmware.vcenter.compute.policies |
The
com.vmware.vcenter.compute.policies package provides classes for
managing compute policies. |
com.vmware.vcenter.vm.compute |
The
com.vmware.vcenter.vm.compute package provides interfaces for
quering the status of compute policies on virtual machines. |
Modifier and Type | Field and Description |
---|---|
static ObjectCompliance |
ObjectCompliance.COMPLIANT
The policy is in compliance on the object.
|
static ObjectCompliance |
ObjectCompliance.NOT_APPLICABLE
The object is in a state for which the policy does not apply.
|
static ObjectCompliance |
ObjectCompliance.NOT_COMPLIANT
The policy is not in compliance on the object.
|
static ObjectCompliance |
ObjectCompliance.UNKNOWN
The object has an unknown compliance state.
|
Modifier and Type | Method and Description |
---|---|
ObjectCompliance |
Status.getStatus()
The compliance status of the policy on a specified object.
|
static ObjectCompliance |
ObjectCompliance.valueOf(java.lang.String name)
Returns the enumeration constant for the specified name.
|
static ObjectCompliance[] |
ObjectCompliance.values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
Modifier and Type | Method and Description |
---|---|
void |
Status.setStatus(ObjectCompliance status)
The compliance status of the policy on a specified object.
|
Constructor and Description |
---|
Builder(ObjectCompliance status)
Constructor with parameters for the required properties of
Status . |
Modifier and Type | Method and Description |
---|---|
ObjectCompliance |
PoliciesTypes.Info.getStatus()
The compliance status of the policy on a specified object.
|
Modifier and Type | Method and Description |
---|---|
void |
PoliciesTypes.Info.setStatus(ObjectCompliance status)
The compliance status of the policy on a specified object.
|
Constructor and Description |
---|
Builder(ObjectCompliance status)
Constructor with parameters for the required properties of
PoliciesTypes.Info . |