public class PendingStub extends com.vmware.vapi.internal.bindings.Stub implements Pending
Pending
API service.
WARNING: Internal class, subject to change in future versions.
PendingTypes.Info, PendingTypes.PrecheckResult, PendingTypes.Question, PendingTypes.SourceType, PendingTypes.UpgradeableComponentapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
PendingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
PendingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| 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.
|
public PendingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public PendingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.List<Summary> list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface PendingsourceType - 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 availablepublic java.util.List<Summary> list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface PendingsourceType - 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.public void list(PendingTypes.SourceType sourceType, java.lang.String url, java.lang.Boolean enableListMajorUpgradeVersions, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<Summary>> asyncCallback)
PendingAsynchronous 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
list in interface PendingsourceType - 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.public 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)
PendingAsynchronous 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
list in interface PendingsourceType - 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.public PendingTypes.Info get(java.lang.String version, java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Pendingversion - 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.public PendingTypes.Info get(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Pendingversion - 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.public void get(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.Info> asyncCallback)
PendingAsynchronous 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
get in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
get in interface Pendingversion - 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.public java.util.List<PendingTypes.UpgradeableComponent> listUpgradeableComponents(java.lang.String version)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
listUpgradeableComponents in interface Pendingversion - specific version to check eligible updates
The parameter must be an identifier for the resource type: com.vmware.appliance.update.pending.public java.util.List<PendingTypes.UpgradeableComponent> listUpgradeableComponents(java.lang.String version, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
listUpgradeableComponents in interface Pendingversion - 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.public void listUpgradeableComponents(java.lang.String version,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<PendingTypes.UpgradeableComponent>> asyncCallback)
PendingAsynchronous 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
listUpgradeableComponents in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
listUpgradeableComponents in interface Pendingversion - 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.public PendingTypes.PrecheckResult precheck(java.lang.String version, java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
precheck in interface Pendingversion - 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.public PendingTypes.PrecheckResult precheck(java.lang.String version, java.lang.String component, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
precheck in interface Pendingversion - 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.public void precheck(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<PendingTypes.PrecheckResult> asyncCallback)
PendingAsynchronous 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
precheck in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
precheck in interface Pendingversion - 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.public void stage(java.lang.String version,
java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
stage in interface Pendingversion - 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.public void stage(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
stage in interface Pendingversion - 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.public void stage(java.lang.String version,
java.lang.String component,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
PendingAsynchronous 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
stage in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
stage in interface Pendingversion - 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.public Notifications validate(java.lang.String version, java.util.Map<java.lang.String,java.lang.String> userData, java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
validate in interface Pendingversion - 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.public 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)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
validate in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
validate in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
validate in interface Pendingversion - 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.public void install(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
install in interface Pendingversion - 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.public 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)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
install in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
install in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
install in interface Pendingversion - 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.public void stageAndInstall(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> userData,
java.lang.String component)
PendingSynchronous method overload. Result of the invocation will be reported as a method return value.
stageAndInstall in interface Pendingversion - 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.public 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)
PendingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
stageAndInstall in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
stageAndInstall in interface Pendingversion - 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.public 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)
PendingAsynchronous 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
stageAndInstall in interface Pendingversion - 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.public void rollback()
PendingCaution: 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.
public void rollback(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingCaution: 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.
public void rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
PendingCaution: 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
public void rollback(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PendingCaution: 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