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, CANCELUPLOAD_PRODUCT_ALB_CONTROLLER, CANCELUPLOAD_PRODUCT_INTELLIGENCE, CANCELUPLOAD_PRODUCT_SAMPLE, CREATE_FILE_TYPE_OVA, CREATE_PRODUCT_ALB_CONTROLLER, CREATE_PRODUCT_INTELLIGENCE, CREATE_PRODUCT_SAMPLE, GET_FILE_TYPE_OVA, GET_PRODUCT_ALB_CONTROLLER, GET_PRODUCT_INTELLIGENCE, GET_PRODUCT_SAMPLE
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,
java.lang.String product)
Cancel upload of bundle.
|
void |
cancelupload(java.lang.String bundleId,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Cancel upload of bundle.
|
void |
cancelupload(java.lang.String bundleId,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel upload of bundle.
|
void |
cancelupload(java.lang.String bundleId,
java.lang.String product,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel upload of bundle.
|
BundleId |
create(RemoteBundleUrl remoteBundleUrl,
java.lang.String fileType,
java.lang.String product)
Upload the bundle from remote bundle URL.
|
void |
create(RemoteBundleUrl remoteBundleUrl,
java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<BundleId> asyncCallback)
Upload the bundle from remote bundle URL.
|
void |
create(RemoteBundleUrl remoteBundleUrl,
java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<BundleId> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upload the bundle from remote bundle URL.
|
BundleId |
create(RemoteBundleUrl remoteBundleUrl,
java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upload the bundle from remote bundle URL.
|
BundleIds |
get(java.lang.String fileType,
java.lang.String product)
Get list of bundle-ids which are available in repository or in-progress
|
void |
get(java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<BundleIds> asyncCallback)
Get list of bundle-ids which are available in repository or in-progress
|
void |
get(java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.AsyncCallback<BundleIds> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get list of bundle-ids which are available in repository or in-progress
|
BundleIds |
get(java.lang.String fileType,
java.lang.String product,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get list of bundle-ids which are available in repository or in-progress
|
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, java.lang.String product)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
cancelupload
in interface Bundles
bundleId
- (required)product
- Name of the appliance (required)public void cancelupload(java.lang.String bundleId, java.lang.String product, 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)product
- Name of the appliance (required)invocationConfig
- Configuration for the method invocation.public void cancelupload(java.lang.String bundleId, java.lang.String product, 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)product
- Name of the appliance (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void cancelupload(java.lang.String bundleId, java.lang.String product, 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)product
- Name of the appliance (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public BundleId create(RemoteBundleUrl remoteBundleUrl, java.lang.String fileType, java.lang.String product)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public BundleId create(RemoteBundleUrl remoteBundleUrl, java.lang.String fileType, java.lang.String product, 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(RemoteBundleUrl remoteBundleUrl, java.lang.String fileType, java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<BundleId> asyncCallback)
Bundles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BundleId
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(RemoteBundleUrl remoteBundleUrl, java.lang.String fileType, java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<BundleId> 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.BundleId
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
remoteBundleUrl
- (required)fileType
- Type of file (required)product
- Name of the appliance (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public BundleIds get(java.lang.String fileType, java.lang.String product)
Bundles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public BundleIds get(java.lang.String fileType, java.lang.String product, 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 fileType, java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<BundleIds> asyncCallback)
Bundles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BundleIds
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 fileType, java.lang.String product, com.vmware.vapi.bindings.client.AsyncCallback<BundleIds> 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.BundleIds
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found