public interface Compliance extends Service, ComplianceTypes
ComplianceTypes.CheckSpec, ComplianceTypes.Info, ComplianceTypes.Status, ComplianceTypes.VmComplianceInfo| Modifier and Type | Method and Description |
|---|---|
ComplianceTypes.Info |
check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec)
Returns the storage policy Compliance
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. |
void |
check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec,
AsyncCallback<ComplianceTypes.Info> asyncCallback)
Returns the storage policy Compliance
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. |
void |
check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec,
AsyncCallback<ComplianceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the storage policy Compliance
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. |
ComplianceTypes.Info |
check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec,
InvocationConfig invocationConfig)
Returns the storage policy Compliance
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. |
ComplianceTypes.Info |
get(java.lang.String vm)
Returns the cached storage policy compliance information of a virtual machine.
|
void |
get(java.lang.String vm,
AsyncCallback<ComplianceTypes.Info> asyncCallback)
Returns the cached storage policy compliance information of a virtual machine.
|
void |
get(java.lang.String vm,
AsyncCallback<ComplianceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the cached storage policy compliance information of a virtual machine.
|
ComplianceTypes.Info |
get(java.lang.String vm,
InvocationConfig invocationConfig)
Returns the cached storage policy compliance information of a virtual machine.
|
ComplianceTypes.Info get(java.lang.String vm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.ComplianceTypes.Info.
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.Error - if the system reports an error while responding to the request.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user cannot be authenticated.Unauthorized - if the user does not have the required privileges.ComplianceTypes.Info get(java.lang.String vm, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.invocationConfig - Configuration for the method invocation.ComplianceTypes.Info.
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.Error - if the system reports an error while responding to the request.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user cannot be authenticated.Unauthorized - if the user does not have the required privileges.void get(java.lang.String vm,
AsyncCallback<ComplianceTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Virtual machine storage policy compliance Info ComplianceTypes.Info.
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.
Operation Errors:
Error - if the system reports an error while responding to the request.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the required privileges.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String vm,
AsyncCallback<ComplianceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Virtual machine storage policy compliance Info ComplianceTypes.Info.
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.
Operation Errors:
Error - if the system reports an error while responding to the request.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the required privileges.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ComplianceTypes.Info check(java.lang.String vm, ComplianceTypes.CheckSpec checkSpec)
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. This method was added in vSphere
API 6.7.
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.checkSpec - Parameter specifies the entities on which storage policy compliance check is to
be invoked. The storage compliance Info ComplianceTypes.Info is returned.
If null, the behavior is equivalent to a ComplianceTypes.CheckSpec with
CheckSpec#vmHome set to true and CheckSpec#disks populated with all disks
attached to the virtual machine.Info class .
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.Error - if the system reports an error while responding to the request.ServiceUnavailable - if the system is unable to communicate with a service necessary to complete the
request.Unauthenticated - if the user cannot be authenticated.Unauthorized - if the user does not have the required privileges.ComplianceTypes.Info check(java.lang.String vm, ComplianceTypes.CheckSpec checkSpec, InvocationConfig invocationConfig)
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. This method was added in vSphere
API 6.7.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.checkSpec - Parameter specifies the entities on which storage policy compliance check is to
be invoked. The storage compliance Info ComplianceTypes.Info is returned.
If null, the behavior is equivalent to a ComplianceTypes.CheckSpec with
CheckSpec#vmHome set to true and CheckSpec#disks populated with all disks
attached to the virtual machine.invocationConfig - Configuration for the method invocation.Info class .
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.Error - if the system reports an error while responding to the request.ServiceUnavailable - if the system is unable to communicate with a service necessary to complete the
request.Unauthenticated - if the user cannot be authenticated.Unauthorized - if the user does not have the required privileges.void check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec,
AsyncCallback<ComplianceTypes.Info> asyncCallback)
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. This method was added in vSphere
API 6.7.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Virtual machine storage policy compliance Info class .
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.
Operation Errors:
Error - if the system reports an error while responding to the request.
ServiceUnavailable - if the system is unable to communicate with a service necessary to complete the
request.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the required privileges.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.checkSpec - Parameter specifies the entities on which storage policy compliance check is to
be invoked. The storage compliance Info ComplianceTypes.Info is returned.
If null, the behavior is equivalent to a ComplianceTypes.CheckSpec with
CheckSpec#vmHome set to true and CheckSpec#disks populated with all disks
attached to the virtual machine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void check(java.lang.String vm,
ComplianceTypes.CheckSpec checkSpec,
AsyncCallback<ComplianceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
ComplianceTypes.Info of a virtual machine
after explicitly re-computing compliance check. This method was added in vSphere
API 6.7.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Virtual machine storage policy compliance Info class .
If null, neither the virtual machine home directory nor any of it's
virtual disks are associated with a storage policy.
Operation Errors:
Error - if the system reports an error while responding to the request.
ServiceUnavailable - if the system is unable to communicate with a service necessary to complete the
request.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have the required privileges.
vm - Virtual machine identifier.
The parameter must be an identifier for the resource type: VirtualMachine.checkSpec - Parameter specifies the entities on which storage policy compliance check is to
be invoked. The storage compliance Info ComplianceTypes.Info is returned.
If null, the behavior is equivalent to a ComplianceTypes.CheckSpec with
CheckSpec#vmHome set to true and CheckSpec#disks populated with all disks
attached to the virtual machine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.