public class OnlineStub extends com.vmware.vapi.internal.bindings.Stub implements Online
Online
API service.
WARNING: Internal class, subject to change in future versions.
OnlineTypes._VAPI_OPERATIONS, OnlineTypes.CreateSpec, OnlineTypes.DeleteResult, OnlineTypes.FlushResult, OnlineTypes.Info, OnlineTypes.PrecheckResult, OnlineTypes.Summary, OnlineTypes.UpdateSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
OnlineStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OnlineStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(OnlineTypes.CreateSpec spec)
Adds a new online software depot to the list of currently configured online
software depots.
|
void |
create(OnlineTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Adds a new online software depot to the list of currently configured online
software depots.
|
void |
create(OnlineTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Adds a new online software depot to the list of currently configured online
software depots.
|
java.lang.String |
create(OnlineTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Adds a new online software depot to the list of currently configured online
software depots.
|
java.lang.String |
delete_Task(java.lang.String depot)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete_Task(java.lang.String depot,
AsyncCallback<java.lang.String> asyncCallback)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete_Task(java.lang.String depot,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
java.lang.String |
delete_Task(java.lang.String depot,
InvocationConfig invocationConfig)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete(java.lang.String depot)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
void |
delete(java.lang.String depot,
InvocationConfig invocationConfig)
The task-based
delete() method removes content of a user-imported online
depot from vLCM completely. |
java.lang.String |
flush_Task(java.lang.String depot)
The task-based
flush() method removes content of a system-defined online
depot from vLCM completely. |
void |
flush_Task(java.lang.String depot,
AsyncCallback<java.lang.String> asyncCallback)
The task-based
flush() method removes content of a system-defined online
depot from vLCM completely. |
void |
flush_Task(java.lang.String depot,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
The task-based
flush() method removes content of a system-defined online
depot from vLCM completely. |
java.lang.String |
flush_Task(java.lang.String depot,
InvocationConfig invocationConfig)
The task-based
flush() method removes content of a system-defined online
depot from vLCM completely. |
OnlineTypes.Info |
get(java.lang.String depot)
Gets the information about a currently configured online software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<OnlineTypes.Info> asyncCallback)
Gets the information about a currently configured online software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<OnlineTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the information about a currently configured online software depot.
|
OnlineTypes.Info |
get(java.lang.String depot,
InvocationConfig invocationConfig)
Gets the information about a currently configured online software depot.
|
java.util.Map<java.lang.String,OnlineTypes.Summary> |
list()
Returns a list of currently configured online software depots.
|
void |
list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback)
Returns a list of currently configured online software depots.
|
void |
list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of currently configured online software depots.
|
java.util.Map<java.lang.String,OnlineTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns a list of currently configured online software depots.
|
void |
update(java.lang.String depot,
OnlineTypes.UpdateSpec spec)
Updates the configuration of a currently configured online software depot.
|
void |
update(java.lang.String depot,
OnlineTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates the configuration of a currently configured online software depot.
|
void |
update(java.lang.String depot,
OnlineTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates the configuration of a currently configured online software depot.
|
void |
update(java.lang.String depot,
OnlineTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates the configuration of a currently configured online software depot.
|
public OnlineStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OnlineStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.Map<java.lang.String,OnlineTypes.Summary> list()
Online
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.Map<java.lang.String,OnlineTypes.Summary> list(InvocationConfig invocationConfig)
Online
Synchronous 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 Online
invocationConfig
- Configuration for the method invocation.Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.online
.public void list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback)
Online
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Map of currently configured online software depots keyed by their identifiers.
The key in the return value Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.online
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. public void list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Online
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:
Map of currently configured online software depots keyed by their identifiers.
The key in the return value Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.online
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. public OnlineTypes.Info get(java.lang.String depot)
Online
Synchronous method overload. Result of the invocation will be reported as a method return value.
public OnlineTypes.Info get(java.lang.String depot, InvocationConfig invocationConfig)
Online
Synchronous 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 Online
depot
- Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String depot, AsyncCallback<OnlineTypes.Info> asyncCallback)
Online
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information of the currently configured online software depot.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
NotFound
- If there is no depot with given identifier depot
in the system.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. public void get(java.lang.String depot, AsyncCallback<OnlineTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Online
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:
Information of the currently configured online software depot.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
NotFound
- If there is no depot with given identifier depot
in the system.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. get
in interface Online
depot
- Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create(OnlineTypes.CreateSpec spec)
Online
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(OnlineTypes.CreateSpec spec, InvocationConfig invocationConfig)
Online
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface Online
spec
- Depot information.invocationConfig
- Configuration for the method invocation.com.vmware.esx.settings.depots.online
.public void create(OnlineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Online
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Identifier of the currently configured online depot.
The return value will be an identifier for the resource type: com.vmware.esx.settings.depots.online
.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If an invalid location is provided.
AlreadyExists
- If depot with given location already exists.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. public void create(OnlineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Online
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:
Identifier of the currently configured online depot.
The return value will be an identifier for the resource type: com.vmware.esx.settings.depots.online
.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If an invalid location is provided.
AlreadyExists
- If depot with given location already exists.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. public void delete(java.lang.String depot)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String depot, InvocationConfig invocationConfig)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
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 java.lang.String delete_Task(java.lang.String depot)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
delete_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.public java.lang.String delete_Task(java.lang.String depot, InvocationConfig invocationConfig)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
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.
delete_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.invocationConfig
- Configuration for the method invocation.public void delete_Task(java.lang.String depot, AsyncCallback<java.lang.String> asyncCallback)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
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:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If the given depot is system-defined. This error is applicable to the task-based
delete()
method only.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states. This error is applicable to the task-based delete()
method only.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. For task-based delete()
method, once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the DeleteResult class that
lists all the errors encountered.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleDepots.Delete
. delete_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete_Task(java.lang.String depot, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
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:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If the given depot is system-defined. This error is applicable to the task-based
delete()
method only.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states. This error is applicable to the task-based delete()
method only.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. For task-based delete()
method, once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the DeleteResult class that
lists all the errors encountered.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleDepots.Delete
. delete_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String depot, AsyncCallback<java.lang.Void> asyncCallback)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If the given depot is system-defined. This error is applicable to the task-based
delete()
method only.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states. This error is applicable to the task-based delete()
method only.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. For task-based delete()
method, once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the DeleteResult class that
lists all the errors encountered.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleDepots.Delete
. public void delete(java.lang.String depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Online
delete()
method removes content of a user-imported online
depot from vLCM completely. As a result, the URL of the user-imported online
depot will also be removed. Note: 1. To remove content of system-defined online
depots, use flush()
method. 2. The non task-based delete()
method has been deprecated. It only deletes the record of depot from the list of
imported online software depots, instead of removing the depot's content from
the system.
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
- If the caller is not authenticated.
InvalidArgument
- If the given depot is system-defined. This error is applicable to the task-based
delete()
method only.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states. This error is applicable to the task-based delete()
method only.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. For task-based delete()
method, once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the DeleteResult class that
lists all the errors encountered.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleDepots.Delete
. delete
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String flush_Task(java.lang.String depot)
Online
flush()
method removes content of a system-defined online
depot from vLCM completely. As a result, the system-defined online depot will be
disabled. Note: To remove content of user-imported online depots, use the
task-based delete()
method.
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
flush_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.public java.lang.String flush_Task(java.lang.String depot, InvocationConfig invocationConfig)
Online
flush()
method removes content of a system-defined online
depot from vLCM completely. As a result, the system-defined online depot will be
disabled. Note: To remove content of user-imported online depots, use the
task-based delete()
method.
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.
flush_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.invocationConfig
- Configuration for the method invocation.public void flush_Task(java.lang.String depot, AsyncCallback<java.lang.String> asyncCallback)
Online
flush()
method removes content of a system-defined online
depot from vLCM completely. As a result, the system-defined online depot will be
disabled. Note: To remove content of user-imported online depots, use the
task-based delete()
method.
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:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If the given depot is NOT system-defined.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. flush()
is a task-based method. Once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the FlushResult class that
lists all the errors encountered.
flush_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void flush_Task(java.lang.String depot, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Online
flush()
method removes content of a system-defined online
depot from vLCM completely. As a result, the system-defined online depot will be
disabled. Note: To remove content of user-imported online depots, use the
task-based delete()
method.
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:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If the given depot is NOT system-defined.
NotFound
- If there is no depot associated with parameter depot
in the system.
ResourceInUse
- If the content of depot to be deleted is used in some baseline or desired state.
The value of the data property of Error
will
be the PrecheckResult class that lists the information of affected baselines and
desired states.
ServiceUnavailable
- If the service is not available.
Error
- If there some unknown internal error. The accompanying error message will give
more details about the failure. flush()
is a task-based method. Once the
task is started, it does NOT stop if encountering an error. Instead, it will
continuously run to completion. In this case, the value of the data property of
Error
will be the FlushResult class that
lists all the errors encountered.
flush_Task
in interface Online
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String depot, OnlineTypes.UpdateSpec spec)
Online
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void update(java.lang.String depot, OnlineTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Online
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 update(java.lang.String depot, OnlineTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Online
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- If the caller is not authenticated.
InvalidArgument
- If given depot is system defined.
NotFound
- If there is no depot associated with parameter depot
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. update
in interface Online
depot
- Identifier of the depot to be updated.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.spec
- Update specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String depot, OnlineTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Online
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
- If the caller is not authenticated.
InvalidArgument
- If given depot is system defined.
NotFound
- If there is no depot associated with parameter depot
in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. update
in interface Online
depot
- Identifier of the depot to be updated.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.spec
- Update specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.