public class SupportBundleStub extends com.vmware.vapi.internal.bindings.Stub implements SupportBundle
SupportBundle
API service.
WARNING: Internal class, subject to change in future versions.
SupportBundleTypes._VAPI_OPERATIONS, SupportBundleTypes.ContentType, SupportBundleTypes.CreateSpec, SupportBundleTypes.CreationStatus, SupportBundleTypes.FilterSpec, SupportBundleTypes.Info, SupportBundleTypes.IterationSpec, SupportBundleTypes.ListResult
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SupportBundleStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SupportBundleStub(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 |
---|---|
java.lang.String |
create_Task(SupportBundleTypes.CreateSpec spec)
Create a support bundle.
|
void |
create_Task(SupportBundleTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Create a support bundle.
|
void |
create_Task(SupportBundleTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a support bundle.
|
java.lang.String |
create_Task(SupportBundleTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a support bundle.
|
void |
delete(java.lang.String id)
Deletes the support bundle.
|
void |
delete(java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the support bundle.
|
void |
delete(java.lang.String id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the support bundle.
|
void |
delete(java.lang.String id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the support bundle.
|
SupportBundleTypes.ListResult |
list(SupportBundleTypes.IterationSpec iteration,
SupportBundleTypes.FilterSpec filter)
Get list of support-bundles generated.
|
void |
list(SupportBundleTypes.IterationSpec iteration,
SupportBundleTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SupportBundleTypes.ListResult> asyncCallback)
Get list of support-bundles generated.
|
void |
list(SupportBundleTypes.IterationSpec iteration,
SupportBundleTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SupportBundleTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get list of support-bundles generated.
|
SupportBundleTypes.ListResult |
list(SupportBundleTypes.IterationSpec iteration,
SupportBundleTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get list of support-bundles generated.
|
public SupportBundleStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public SupportBundleStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public SupportBundleTypes.ListResult list(SupportBundleTypes.IterationSpec iteration, SupportBundleTypes.FilterSpec filter)
SupportBundle
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface SupportBundle
public SupportBundleTypes.ListResult list(SupportBundleTypes.IterationSpec iteration, SupportBundleTypes.FilterSpec filter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
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 SupportBundle
invocationConfig
- Configuration for the method invocation.public void list(SupportBundleTypes.IterationSpec iteration, SupportBundleTypes.FilterSpec filter, com.vmware.vapi.bindings.client.AsyncCallback<SupportBundleTypes.ListResult> asyncCallback)
SupportBundle
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of support bundle details.
Operation Errors:
Error
- Generic error.
list
in interface SupportBundle
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(SupportBundleTypes.IterationSpec iteration, SupportBundleTypes.FilterSpec filter, com.vmware.vapi.bindings.client.AsyncCallback<SupportBundleTypes.ListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
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:
List of support bundle details.
Operation Errors:
Error
- Generic error.
list
in interface SupportBundle
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create_Task(SupportBundleTypes.CreateSpec spec)
SupportBundle
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task
in interface SupportBundle
public java.lang.String create_Task(SupportBundleTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
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.
create_Task
in interface SupportBundle
invocationConfig
- Configuration for the method invocation.public void create_Task(SupportBundleTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
SupportBundle
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:
NotAllowedInCurrentState
- If already a support bundle task is in progress.
InvalidArgument
-
Error
- Generic error.
create_Task
in interface SupportBundle
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create_Task(SupportBundleTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
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:
NotAllowedInCurrentState
- If already a support bundle task is in progress.
InvalidArgument
-
Error
- Generic error.
create_Task
in interface SupportBundle
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String id)
SupportBundle
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface SupportBundle
id
- The parameter must be an identifier for the resource type: com.vmware.appliance.supportbundle
.public void delete(java.lang.String id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface SupportBundle
id
- The parameter must be an identifier for the resource type: com.vmware.appliance.supportbundle
.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SupportBundle
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- If support bundle Not Found.
Error
- Generic error.
delete
in interface SupportBundle
id
- The parameter must be an identifier for the resource type: com.vmware.appliance.supportbundle
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SupportBundle
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:
NotFound
- If support bundle Not Found.
Error
- Generic error.
delete
in interface SupportBundle
id
- The parameter must be an identifier for the resource type: com.vmware.appliance.supportbundle
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.