public interface Pending extends com.vmware.vapi.bindings.Service, PendingTypes
Pending
interface provides methods to manipulate pending updates.
This interface was added in vSphere API 6.7.PendingTypes.Info, PendingTypes.PrecheckResult, PendingTypes.Question, PendingTypes.SourceType, PendingTypes.UpgradeableComponent
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
PendingTypes.Info |
get(java.lang.String version,
java.lang.String component)
Gets update information.
|
void |
get(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback)
Gets update information.
|
void |
get(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets update information.
|
PendingTypes.Info |
get(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets update information.
|
void |
install(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component)
Starts operation of installing the appliance update.
|
void |
install(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Starts operation of installing the appliance update.
|
void |
install(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts operation of installing the appliance update.
|
void |
install(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts operation of installing the appliance update.
|
java.util.List<Summary> |
list(PendingTypes.SourceType sourceType,
java.lang.String url,
java.lang.Boolean enableListMajorUpgradeVersions)
Checks if there are any eligible updates.
|
void |
list(PendingTypes.SourceType sourceType,
java.lang.String url,
java.lang.Boolean enableListMajorUpgradeVersions,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Summary>> asyncCallback)
Checks if there are any eligible updates.
|
void |
list(PendingTypes.SourceType sourceType,
java.lang.String url,
java.lang.Boolean enableListMajorUpgradeVersions,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Summary>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Checks if there are any eligible updates.
|
java.util.List<Summary> |
list(PendingTypes.SourceType sourceType,
java.lang.String url,
java.lang.Boolean enableListMajorUpgradeVersions,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Checks if there are any eligible updates.
|
java.util.List<PendingTypes.UpgradeableComponent> |
listUpgradeableComponents(java.lang.String version)
List of all upgradeable components eligible for update within specified version.
|
void |
listUpgradeableComponents(java.lang.String version,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<PendingTypes.UpgradeableComponent>> asyncCallback)
List of all upgradeable components eligible for update within specified version.
|
void |
listUpgradeableComponents(java.lang.String version,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<PendingTypes.UpgradeableComponent>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List of all upgradeable components eligible for update within specified version.
|
java.util.List<PendingTypes.UpgradeableComponent> |
listUpgradeableComponents(java.lang.String version,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List of all upgradeable components eligible for update within specified version.
|
PendingTypes.PrecheckResult |
precheck(java.lang.String version,
java.lang.String component)
Runs update precheck.
|
void |
precheck(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.PrecheckResult> asyncCallback)
Runs update precheck.
|
void |
precheck(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.PrecheckResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Runs update precheck.
|
PendingTypes.PrecheckResult |
precheck(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Runs update precheck.
|
void |
rollback()
Starts the update rollback operation such that the vCenter is reverted to a
state before update installation.
|
void |
rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Starts the update rollback operation such that the vCenter is reverted to a
state before update installation.
|
void |
rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts the update rollback operation such that the vCenter is reverted to a
state before update installation.
|
void |
rollback(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts the update rollback operation such that the vCenter is reverted to a
state before update installation.
|
void |
stage(java.lang.String version,
java.lang.String component)
Starts staging the appliance update.
|
void |
stage(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Starts staging the appliance update.
|
void |
stage(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts staging the appliance update.
|
void |
stage(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts staging the appliance update.
|
void |
stageAndInstall(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component)
Starts operation of installing the appliance update.
|
void |
stageAndInstall(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Starts operation of installing the appliance update.
|
void |
stageAndInstall(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts operation of installing the appliance update.
|
void |
stageAndInstall(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Starts operation of installing the appliance update.
|
Notifications |
validate(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component)
Validates the user provided data before the update installation.
|
void |
validate(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<Notifications> asyncCallback)
Validates the user provided data before the update installation.
|
void |
validate(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<Notifications> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Validates the user provided data before the update installation.
|
Notifications |
validate(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Validates the user provided data before the update installation.
|
java.util.List<Summary> list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions)
Synchronous method overload. Result of the invocation will be reported as a method return value.
sourceType
- type of the sourceurl
- specific URL to check at
If null
then URL is taken from the policy settingsenableListMajorUpgradeVersions
- checks and lists if there are eligible major version upgrades available.
Possible values are true and false
when set to true it allows listing of across version upgrade When not specified
lists only minor updates availableError
- Generic errorNotFound
- source is not foundUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationjava.util.List<Summary> list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions, 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.
sourceType
- type of the sourceurl
- specific URL to check at
If null
then URL is taken from the policy settingsenableListMajorUpgradeVersions
- checks and lists if there are eligible major version upgrades available.
Possible values are true and false
when set to true it allows listing of across version upgrade When not specified
lists only minor updates availableinvocationConfig
- Configuration for the method invocation.Error
- Generic errorNotFound
- source is not foundUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationvoid list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of the update summaries
Operation Errors:
Error
- Generic error
NotFound
- source is not found
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
sourceType
- type of the sourceurl
- specific URL to check at
If null
then URL is taken from the policy settingsenableListMajorUpgradeVersions
- checks and lists if there are eligible major version upgrades available.
Possible values are true and false
when set to true it allows listing of across version upgrade When not specified
lists only minor updates availableasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Summary>> 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:
List of the update summaries
Operation Errors:
Error
- Generic error
NotFound
- source is not found
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
sourceType
- type of the sourceurl
- specific URL to check at
If null
then URL is taken from the policy settingsenableListMajorUpgradeVersions
- checks and lists if there are eligible major version upgrades available.
Possible values are true and false
when set to true it allows listing of across version upgrade When not specified
lists only minor updates availableasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PendingTypes.Info get(java.lang.String version, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if the update of this version is already installedPendingTypes.Info get(java.lang.String version, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if the update of this version is already installedvoid get(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> 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:
Update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<PendingTypes.UpgradeableComponent> listUpgradeableComponents(java.lang.String version)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- specific version to check eligible updates
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.Error
- Generic errorNotFound
- source is not foundUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationjava.util.List<PendingTypes.UpgradeableComponent> listUpgradeableComponents(java.lang.String version, 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.
version
- specific version to check eligible updates
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.invocationConfig
- Configuration for the method invocation.Error
- Generic errorNotFound
- source is not foundUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationvoid listUpgradeableComponents(java.lang.String version, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<PendingTypes.UpgradeableComponent>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of the upgradeable component info
Operation Errors:
Error
- Generic error
NotFound
- source is not found
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
version
- specific version to check eligible updates
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void listUpgradeableComponents(java.lang.String version, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<PendingTypes.UpgradeableComponent>> 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:
List of the upgradeable component info
Operation Errors:
Error
- Generic error
NotFound
- source is not found
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
version
- specific version to check eligible updates
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PendingTypes.PrecheckResult precheck(java.lang.String version, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if this version is already installedNotAllowedInCurrentState
- if another operation is in progressPendingTypes.PrecheckResult precheck(java.lang.String version, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if this version is already installedNotAllowedInCurrentState
- if another operation is in progressvoid precheck(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.PrecheckResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
PrecheckResult
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if this version is already installed
NotAllowedInCurrentState
- if another operation is in progress
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void precheck(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.PrecheckResult> 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:
PrecheckResult
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if this version is already installed
NotAllowedInCurrentState
- if another operation is in progress
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void stage(java.lang.String version, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if the update of this version is already installedAlreadyExists
- the update is already stagedNotAllowedInCurrentState
- if appliance update state prevents stagingvoid stage(java.lang.String version, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- the update is not foundAlreadyInDesiredState
- if the update of this version is already installedAlreadyExists
- the update is already stagedNotAllowedInCurrentState
- if appliance update state prevents stagingvoid stage(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
AlreadyExists
- the update is already staged
NotAllowedInCurrentState
- if appliance update state prevents staging
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void stage(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
AlreadyExists
- the update is already staged
NotAllowedInCurrentState
- if appliance update state prevents staging
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Notifications validate(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an checkNotifications validate(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an checkvoid validate(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<Notifications> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Issues struct with the issues found during the validation
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an check
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void validate(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<Notifications> 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:
Issues struct with the issues found during the validation
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an check
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void install(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorError
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an update or not stagedvoid install(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorError
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an update or not stagedvoid install(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an update or not staged
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void install(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- Generic error
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an update or not staged
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- Name of the upgradeable component. This parameter was added in vSphere API
8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void stageAndInstall(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component)
Synchronous method overload. Result of the invocation will be reported as a method return value.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- upgradeable component to be staged and installed. This parameter was added in
vSphere API 8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.Error
- Generic errorError
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an updatevoid stageAndInstall(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, 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.
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- upgradeable component to be staged and installed. This parameter was added in
vSphere API 8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.invocationConfig
- Configuration for the method invocation.Error
- Generic errorError
- Generic errorUnauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if the update is not foundAlreadyInDesiredState
- if the update of this version is already installedNotAllowedInCurrentState
- if appliance update state prevents running an updatevoid stageAndInstall(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an update
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- upgradeable component to be staged and installed. This parameter was added in
vSphere API 8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void stageAndInstall(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- Generic error
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if the update is not found
AlreadyInDesiredState
- if the update of this version is already installed
NotAllowedInCurrentState
- if appliance update state prevents running an update
version
- Update version
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending
.userData
- map of user provided data with IDs
The key in the parameter Map
must be an identifier for the
resource type: com.vmware.applicance.update.pending.dataitem
.component
- upgradeable component to be staged and installed. This parameter was added in
vSphere API 8.0.0.1.
This parameter is optional because it was added in a newer version than its
parent node.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void rollback()
Caution: This operation will perform a reboot of appliance.
. This method was added in vSphere API 6.7.Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if there is no valid snapshot present on the vCenterError
- Generic errorNotAllowedInCurrentState
- if appliance update state prevents running a rollback operationvoid rollback(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Caution: This operation will perform a reboot of appliance.
. 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.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- session is not authenticatedUnauthorized
- session is not authorized to perform this operationNotFound
- if there is no valid snapshot present on the vCenterError
- Generic errorNotAllowedInCurrentState
- if appliance update state prevents running a rollback operationvoid rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Caution: This operation will perform a reboot of appliance.
. This method was added in vSphere API 6.7.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if there is no valid snapshot present on the vCenter
Error
- Generic error
NotAllowedInCurrentState
- if appliance update state prevents running a rollback operation
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Caution: This operation will perform a reboot of appliance.
. 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 Errors:
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotFound
- if there is no valid snapshot present on the vCenter
Error
- Generic error
NotAllowedInCurrentState
- if appliance update state prevents running a rollback operation
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.