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.CreateSpec, OnlineTypes.Info, OnlineTypes.Summary, OnlineTypes.UpdateSpecapiProvider, 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.
|
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.
|
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()
OnlineSynchronous 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)
OnlineSynchronous 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 OnlineinvocationConfig - 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)
OnlineAsynchronous 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)
OnlineAsynchronous 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)
OnlineSynchronous method overload. Result of the invocation will be reported as a method return value.
public OnlineTypes.Info get(java.lang.String depot, InvocationConfig invocationConfig)
OnlineSynchronous 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 Onlinedepot - 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)
OnlineAsynchronous 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)
OnlineAsynchronous 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 Onlinedepot - 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)
OnlineSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(OnlineTypes.CreateSpec spec, InvocationConfig invocationConfig)
OnlineSynchronous 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 Onlinespec - 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)
OnlineAsynchronous 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. public void create(OnlineTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
OnlineAsynchronous 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. public void delete(java.lang.String depot)
OnlineSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String depot,
InvocationConfig invocationConfig)
OnlineSynchronous 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 delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback)
OnlineAsynchronous 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. public void delete(java.lang.String depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
OnlineAsynchronous 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. delete in interface Onlinedepot - 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)
OnlineSynchronous 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)
OnlineSynchronous 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)
OnlineAsynchronous 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 Onlinedepot - 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)
OnlineAsynchronous 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 Onlinedepot - 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.