public interface InstalledImages extends com.vmware.vapi.bindings.Service, InstalledImagesTypes
InstalledImages
interface provides methods to examine the software
bundle running on group of ESXi hosts in a cluster. This interface was added in
vSphere API 8.0.3.0.InstalledImagesTypes._VAPI_OPERATIONS, InstalledImagesTypes.ImageCategories, InstalledImagesTypes.InstalledImage, InstalledImagesTypes.InstalledImageInfo
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extract_Task(java.lang.String cluster)
Extract installed images on all the hosts in the cluster.
|
void |
extract_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Extract installed images on all the hosts in the cluster.
|
void |
extract_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Extract installed images on all the hosts in the cluster.
|
java.lang.String |
extract_Task(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Extract installed images on all the hosts in the cluster.
|
InstalledImagesTypes.InstalledImageInfo |
get(java.lang.String cluster)
Returns the last extracted installed Image info.
|
void |
get(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<InstalledImagesTypes.InstalledImageInfo> asyncCallback)
Returns the last extracted installed Image info.
|
void |
get(java.lang.String cluster,
com.vmware.vapi.bindings.client.AsyncCallback<InstalledImagesTypes.InstalledImageInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the last extracted installed Image info.
|
InstalledImagesTypes.InstalledImageInfo |
get(java.lang.String cluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the last extracted installed Image info.
|
java.lang.String extract_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is some unknown error. The accompanying error message will give more
details about the failureNotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- If the caller is not authorized.Unsupported
- if the host does not meet the vLCM transition eligibility criteriajava.lang.String extract_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- If there is some unknown error. The accompanying error message will give more
details about the failureNotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- If the caller is not authorized.Unsupported
- if the host does not meet the vLCM transition eligibility criteriavoid extract_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- If the caller is not authorized.
Unsupported
- if the host does not meet the vLCM transition eligibility criteria
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void extract_Task(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is some unknown error. The accompanying error message will give more
details about the failure
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- If the caller is not authorized.
Unsupported
- if the host does not meet the vLCM transition eligibility criteria
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.InstalledImagesTypes.InstalledImageInfo get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failureNotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- If the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. InstalledImagesTypes.InstalledImageInfo get(java.lang.String cluster, com.vmware.vapi.bindings.client.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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failureNotFound
- If there is no cluster associated with cluster
in the system.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.Unauthorized
- If the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. void get(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<InstalledImagesTypes.InstalledImageInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
last extracted installed images for the cluster
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- If the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, com.vmware.vapi.bindings.client.AsyncCallback<InstalledImagesTypes.InstalledImageInfo> asyncCallback, com.vmware.vapi.bindings.client.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.
Invocation Result:
last extracted installed images for the cluster
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure
NotFound
- If there is no cluster associated with cluster
in the system.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
Unauthorized
- If the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.