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.Location, SupportBundleTypes.Token
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SupportBundleStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SupportBundleStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
SupportBundleTypes.Location |
create(java.lang.String cluster)
Returns the location
SupportBundleTypes.Location information
for downloading the Namespaces-related support bundle for the specified cluster. |
void |
create(java.lang.String cluster,
AsyncCallback<SupportBundleTypes.Location> asyncCallback)
Returns the location
SupportBundleTypes.Location information
for downloading the Namespaces-related support bundle for the specified cluster. |
void |
create(java.lang.String cluster,
AsyncCallback<SupportBundleTypes.Location> asyncCallback,
InvocationConfig invocationConfig)
Returns the location
SupportBundleTypes.Location information
for downloading the Namespaces-related support bundle for the specified cluster. |
SupportBundleTypes.Location |
create(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns the location
SupportBundleTypes.Location information
for downloading the Namespaces-related support bundle for the specified cluster. |
public SupportBundleStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SupportBundleStub(ApiProvider apiProvider, StubConfigurationBase config)
public SupportBundleTypes.Location create(java.lang.String cluster)
SupportBundle
SupportBundleTypes.Location
information
for downloading the Namespaces-related support bundle for the specified cluster.
Retrieving a support bundle involves two steps:
SupportBundleTypes.Location
response.
The HTTP GET request will:
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface SupportBundle
cluster
- Identifier of cluster for which the Namespaces-related support bundle should be
generated.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public SupportBundleTypes.Location create(java.lang.String cluster, InvocationConfig invocationConfig)
SupportBundle
SupportBundleTypes.Location
information
for downloading the Namespaces-related support bundle for the specified cluster.
Retrieving a support bundle involves two steps:
SupportBundleTypes.Location
response.
The HTTP GET request will:
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 SupportBundle
cluster
- Identifier of cluster for which the Namespaces-related support bundle should be
generated.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void create(java.lang.String cluster, AsyncCallback<SupportBundleTypes.Location> asyncCallback)
SupportBundle
SupportBundleTypes.Location
information
for downloading the Namespaces-related support bundle for the specified cluster.
Retrieving a support bundle involves two steps:
SupportBundleTypes.Location
response.
The HTTP GET request will:
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
the download location of the support bundle for the cluster.
Operation Errors:
NotFound
- if the specified cluster is not registered on this vCenter server.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
create
in interface SupportBundle
cluster
- Identifier of cluster for which the Namespaces-related support bundle should be
generated.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String cluster, AsyncCallback<SupportBundleTypes.Location> asyncCallback, InvocationConfig invocationConfig)
SupportBundle
SupportBundleTypes.Location
information
for downloading the Namespaces-related support bundle for the specified cluster.
Retrieving a support bundle involves two steps:
SupportBundleTypes.Location
response.
The HTTP GET request will:
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:
the download location of the support bundle for the cluster.
Operation Errors:
NotFound
- if the specified cluster is not registered on this vCenter server.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
create
in interface SupportBundle
cluster
- Identifier of cluster for which the Namespaces-related support bundle should be
generated.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.