| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
You can check the compliance of one or more virtual machines and/or virtual disks. You can also perform a rollup compliance check, in which the Server checks the compliance of a virtual machine and all of its virtual disks.
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
PbmCheckCompliance, PbmCheckRollupCompliance, PbmFetchComplianceResult, PbmFetchRollupComplianceResult, PbmQueryByRollupComplianceStatus |
The Server stores the compliance results for all of the storage entities associated with the virtual machines and disks. You can call the PbmFetchComplianceResult method to retrieve the stored results. However, for storage entities placed on vSAN, both fetchComplianceResult and checkCompliance methods have the same behaviour of recomputing the compliance.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the PbmComplianceManager used to make the method call. |
entities P | PbmServerObjectRef[] |
One or more references to storage entities.
You can specify virtual machines and virtual disks
A maximum of 1000 virtual machines and/or virtual disks can be specified
in a call. The results of calling the checkCompliance API with
more than a 1000 entities is undefined.
If an entity does not have an associated storage profile, the entity is removed from the list. Since 1.0 |
profile* P | PbmProfileId |
Not used. If specified, the Server ignores the value.
The Server uses the profiles associated with the specified entities.
Since 1.0 |
Return Value
Type | Description |
---|---|
PbmComplianceResult[] | Result of the compliance check. The returned array contains one result object for each entity specified in the method call. |
Faults
Type | Description |
---|---|
PbmFault | Thrown if there is an internal server error. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
The Server stores the compliance results for all of the storage entities associated with the virtual machines. You can call the PbmFetchRollupComplianceResult method to retrieve the stored results. However, for storage entities placed on vSAN, both fetchRollupComplianceResult and checkRollupCompliance methods have the same behaviour of recomputing the compliance.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the PbmComplianceManager used to make the method call. |
entity P | PbmServerObjectRef[] |
One or more references to virtual machines.
A maximum of 1000 virtual machines can be specified
in a call. The results of calling the checkRollupCompliance API with
more than a 1000 entities is undefined.
Since 1.0 |
Return Value
Type | Description |
---|---|
PbmRollupComplianceResult[] | Result of the rollup compliance check. The returned array contains one rollup compliance result for each virtual machine. A rollup compliance result object includes the overall compliance status that represents the collective compliance status for the virtual machine and its virtual disks. |
Faults
Type | Description |
---|---|
PbmFault | Thrown if there is an internal server error. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the PbmComplianceManager used to make the method call. |
entities P | PbmServerObjectRef[] |
One or more references to storage entities.
A maximum of 1000 virtual machines and/or virtual disks can be specified
in a call. The results of calling the fetchComplianceResult API with
more than a 1000 entities is undefined.
|
profile* P | PbmProfileId |
Not used. if specified, the Server ignores the value.
The Server uses the profiles associated with the specified entities.
Since 1.0 |
Return Value
Type | Description |
---|---|
PbmComplianceResult[] | Array of compliance results. The returned array contains one result object for each entity specified in the method call. |
Faults
Type | Description |
---|---|
PbmFault | Thrown if there is an internal server error. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the PbmComplianceManager used to make the method call. |
entity P | PbmServerObjectRef[] |
One or more virtual machines.
A maximum of 1000 virtual machines can be specified
in a call. The results of calling the fetchRollupComplianceResult API with
more than a 1000 entity objects is undefined.
Since 1.0 |
Return Value
Type | Description |
---|---|
PbmRollupComplianceResult[] | Rollup compliance results for the given virtual machines. |
Faults
Type | Description |
---|---|
PbmFault | Thrown if there is an internal server error. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the PbmComplianceManager used to make the method call. |
status P | xsd:string |
PbmComplianceStatus
Since 6.5 |
Return Value
Type | Description |
---|---|
PbmServerObjectRef[] | Array of VirtualMachine entities |
Faults
Type | Description |
---|---|
InvalidArgument | Thrown if the given status parameter is invalid or incorrect format. |
PbmFault | Thrown if there is an internal service error. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |