public class BundlesStub extends com.vmware.vapi.internal.bindings.Stub implements Bundles
Bundles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
BundlesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
BundlesStub(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 |
---|---|
void |
cancelupload(java.lang.String bundleId)
Cancel upload of upgrade bundle.
|
void |
cancelupload(java.lang.String bundleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Cancel upload of upgrade bundle.
|
void |
cancelupload(java.lang.String bundleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel upload of upgrade bundle.
|
void |
cancelupload(java.lang.String bundleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel upload of upgrade bundle.
|
UpgradeBundleId |
create(UpgradeBundleFetchRequest upgradeBundleFetchRequest,
java.lang.Boolean install)
Fetches the upgrade bundle from url.
|
void |
create(UpgradeBundleFetchRequest upgradeBundleFetchRequest,
java.lang.Boolean install,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleId> asyncCallback)
Fetches the upgrade bundle from url.
|
void |
create(UpgradeBundleFetchRequest upgradeBundleFetchRequest,
java.lang.Boolean install,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleId> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches the upgrade bundle from url.
|
UpgradeBundleId |
create(UpgradeBundleFetchRequest upgradeBundleFetchRequest,
java.lang.Boolean install,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches the upgrade bundle from url.
|
UpgradeBundleInfo |
get(java.lang.String bundleId)
Get uploaded upgrade bundle information
|
void |
get(java.lang.String bundleId,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleInfo> asyncCallback)
Get uploaded upgrade bundle information
|
void |
get(java.lang.String bundleId,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get uploaded upgrade bundle information
|
UpgradeBundleInfo |
get(java.lang.String bundleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get uploaded upgrade bundle information
|
public BundlesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public BundlesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void cancelupload(java.lang.String bundleId)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
cancelupload
in interface Bundles
bundleId
- (required)public void cancelupload(java.lang.String bundleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cancelupload
in interface Bundles
bundleId
- (required)invocationConfig
- Configuration for the method invocation.public void cancelupload(java.lang.String bundleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Bundles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
cancelupload
in interface Bundles
bundleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void cancelupload(java.lang.String bundleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
cancelupload
in interface Bundles
bundleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public UpgradeBundleId create(UpgradeBundleFetchRequest upgradeBundleFetchRequest, java.lang.Boolean install)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public UpgradeBundleId create(UpgradeBundleFetchRequest upgradeBundleFetchRequest, java.lang.Boolean install, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
Synchronous 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 create(UpgradeBundleFetchRequest upgradeBundleFetchRequest, java.lang.Boolean install, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleId> asyncCallback)
Bundles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.UpgradeBundleId
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(UpgradeBundleFetchRequest upgradeBundleFetchRequest, java.lang.Boolean install, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleId> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
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:
com.vmware.nsx.model.UpgradeBundleId
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface Bundles
upgradeBundleFetchRequest
- (required)install
- Hint to install the bundle after upload. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public UpgradeBundleInfo get(java.lang.String bundleId)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public UpgradeBundleInfo get(java.lang.String bundleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
Synchronous 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 get(java.lang.String bundleId, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleInfo> asyncCallback)
Bundles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.UpgradeBundleInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String bundleId, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeBundleInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Bundles
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:
com.vmware.nsx.model.UpgradeBundleInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found