public interface Online extends Service, OnlineTypes
Online
interface provides methods to manage Online Software Depots
used during ESX lifecycle management.OnlineTypes.CreateSpec, OnlineTypes.Info, OnlineTypes.Summary, OnlineTypes.UpdateSpec
_VAPI_SERVICE_ID, RESOURCE_TYPE
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.
|
void |
delete(java.lang.String depot)
Removes a depot from the list of currently configured online software depots.
|
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a depot from the list of currently configured online software depots.
|
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes a depot from the list of currently configured online software depots.
|
void |
delete(java.lang.String depot,
InvocationConfig invocationConfig)
Removes a depot from the list of currently configured online software depots.
|
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.
|
java.util.Map<java.lang.String,OnlineTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.online
.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
. java.util.Map<java.lang.String,OnlineTypes.Summary> list(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.
invocationConfig
- Configuration for the method invocation.Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.online
.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
. void list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback)
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
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.Map<java.lang.String,OnlineTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
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
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.OnlineTypes.Info get(java.lang.String depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
depot
- Identifier for the depot.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.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
. OnlineTypes.Info get(java.lang.String depot, 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.
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.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
. void get(java.lang.String depot, AsyncCallback<OnlineTypes.Info> asyncCallback)
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
. 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.void get(java.lang.String depot, AsyncCallback<OnlineTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
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
. 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.java.lang.String create(OnlineTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Depot information.com.vmware.esx.settings.depots.online
.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
. java.lang.String create(OnlineTypes.CreateSpec spec, 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.
spec
- Depot information.invocationConfig
- Configuration for the method invocation.com.vmware.esx.settings.depots.online
.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
. void create(OnlineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Identifier of the currently configured online software 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
. spec
- Depot information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(OnlineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Identifier of the currently configured online software 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
. spec
- Depot information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.online
.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If given depot is system defined.NotFound
- If there is no depot associated with 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
. void delete(java.lang.String depot, 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.
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.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If given depot is system defined.NotFound
- If there is no depot associated with 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
. void delete(java.lang.String depot, AsyncCallback<java.lang.Void> asyncCallback)
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 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
. 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.void delete(java.lang.String depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- If given depot is system defined.
NotFound
- If there is no depot associated with 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
. 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.void update(java.lang.String depot, OnlineTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.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
. void update(java.lang.String depot, OnlineTypes.UpdateSpec spec, 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.
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.invocationConfig
- Configuration for the method invocation.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
. void update(java.lang.String depot, OnlineTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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
. 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.void update(java.lang.String depot, OnlineTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation 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
. 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.