public interface Offline extends Service, OfflineTypes
Offline
interface provides methods to manage Offline Software Depots
used during ESX lifecycle management.OfflineTypes._VAPI_OPERATIONS, OfflineTypes.CreateResult, OfflineTypes.CreateSpec, OfflineTypes.Info, OfflineTypes.SourceType, OfflineTypes.Summary
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(OfflineTypes.CreateSpec spec)
Imports a new offline software depot.
|
void |
create_Task(OfflineTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Imports a new offline software depot.
|
void |
create_Task(OfflineTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Imports a new offline software depot.
|
java.lang.String |
create_Task(OfflineTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Imports a new offline software depot.
|
void |
delete(java.lang.String depot)
Removes a depot from the list of imported offline software depots.
|
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a depot from the list of imported offline software depots.
|
void |
delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes a depot from the list of imported offline software depots.
|
void |
delete(java.lang.String depot,
InvocationConfig invocationConfig)
Removes a depot from the list of imported offline software depots.
|
OfflineTypes.Info |
get(java.lang.String depot)
Gets the information about an imported offline software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<OfflineTypes.Info> asyncCallback)
Gets the information about an imported offline software depot.
|
void |
get(java.lang.String depot,
AsyncCallback<OfflineTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the information about an imported offline software depot.
|
OfflineTypes.Info |
get(java.lang.String depot,
InvocationConfig invocationConfig)
Gets the information about an imported offline software depot.
|
java.util.Map<java.lang.String,OfflineTypes.Summary> |
list()
Returns currently imported offline software depots.
|
void |
list(AsyncCallback<java.util.Map<java.lang.String,OfflineTypes.Summary>> asyncCallback)
Returns currently imported offline software depots.
|
void |
list(AsyncCallback<java.util.Map<java.lang.String,OfflineTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns currently imported offline software depots.
|
java.util.Map<java.lang.String,OfflineTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns currently imported offline software depots.
|
OfflineTypes.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.offline
.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
. OfflineTypes.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.offline
.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<OfflineTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the imported offline 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.offline
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String depot, AsyncCallback<OfflineTypes.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 about the imported offline 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.offline
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.Map<java.lang.String,OfflineTypes.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.offline
.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,OfflineTypes.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.offline
.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,OfflineTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Map of currently imported offline software depots keyed by their identifier.
The key in the return value Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.offline
.
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,OfflineTypes.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 imported offline software depots keyed by their identifier.
The key in the return value Map
will be an identifier for the
resource type: com.vmware.esx.settings.depots.offline
.
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.java.lang.String create_Task(OfflineTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec
- Depot specification to import an offline depot.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If an invalid pullLocation is provided.ServiceUnavailable
- If the service is not available.AlreadyExists
- If the depot content of CreateSpec
already exists. The value of the data
property of Error
will be a class that
contains existing depot content id as part of depot property defined in OfflineTypes.CreateResult
.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.java.lang.String create_Task(OfflineTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- Depot specification to import an offline depot.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If an invalid pullLocation is provided.ServiceUnavailable
- If the service is not available.AlreadyExists
- If the depot content of CreateSpec
already exists. The value of the data
property of Error
will be a class that
contains existing depot content id as part of depot property defined in OfflineTypes.CreateResult
.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.void create_Task(OfflineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- If an invalid pullLocation is provided.
ServiceUnavailable
- If the service is not available.
AlreadyExists
- If the depot content of CreateSpec
already exists. The value of the data
property of Error
will be a class that
contains existing depot content id as part of depot property defined in OfflineTypes.CreateResult
.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
spec
- Depot specification to import an offline depot.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create_Task(OfflineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- If an invalid pullLocation is provided.
ServiceUnavailable
- If the service is not available.
AlreadyExists
- If the depot content of CreateSpec
already exists. The value of the data
property of Error
will be a class that
contains existing depot content id as part of depot property defined in OfflineTypes.CreateResult
.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
spec
- Depot specification to import an offline depot.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.offline
.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no depot associated with parameter 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.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.offline
.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no depot associated with parameter 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.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.
NotFound
- If there is no depot associated with parameter 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.Write
. depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline
.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.
NotFound
- If there is no depot associated with parameter 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.Write
. depot
- Identifier of the depot to be removed.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.depots.offline
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.