Class ClusterStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.ClusterStub
-
- All Implemented Interfaces:
Cluster,ClusterTypes,com.vmware.vapi.bindings.Service
public class ClusterStub extends com.vmware.vapi.internal.bindings.Stub implements Cluster
Remote stub implementation of theClusterAPI service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.ClusterTypes
_VAPI_SERVICE_ID, BACKUPTOREMOTE_FRAME_TYPE_GLOBAL_MANAGER, BACKUPTOREMOTE_FRAME_TYPE_LOCAL_LOCAL_MANAGER, BACKUPTOREMOTE_FRAME_TYPE_LOCAL_MANAGER, BACKUPTOREMOTE_FRAME_TYPE_NSX_INTELLIGENCE
-
-
Constructor Summary
Constructors Constructor Description ClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)ClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbackuptoremote(java.lang.String frameType, java.lang.String siteId)Request one-time backup.voidbackuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Request one-time backup.voidbackuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Request one-time backup.voidbackuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Request one-time backup.voidsummarizeinventorytoremote()Request one-time inventory summary.voidsummarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Request one-time inventory summary.voidsummarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Request one-time inventory summary.voidsummarizeinventorytoremote(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Request one-time inventory summary.
-
-
-
Constructor Detail
-
ClusterStub
public ClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ClusterStub
public ClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
backuptoremote
public void backuptoremote(java.lang.String frameType, java.lang.String siteId)Description copied from interface:ClusterRequest one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
backuptoremotein interfaceCluster- Parameters:
frameType- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId- Site ID (optional, default to localhost)
-
backuptoremote
public void backuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ClusterRequest one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
backuptoremotein interfaceCluster- Parameters:
frameType- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId- Site ID (optional, default to localhost)invocationConfig- Configuration for the method invocation.
-
backuptoremote
public void backuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:ClusterRequest one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.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
- Specified by:
backuptoremotein interfaceCluster- Parameters:
frameType- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId- Site ID (optional, default to localhost)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
backuptoremote
public void backuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ClusterRequest one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
backuptoremotein interfaceCluster- Parameters:
frameType- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId- Site ID (optional, default to localhost)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
summarizeinventorytoremote
public void summarizeinventorytoremote()
Description copied from interface:ClusterRequest one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
summarizeinventorytoremotein interfaceCluster
-
summarizeinventorytoremote
public void summarizeinventorytoremote(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ClusterRequest one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
summarizeinventorytoremotein interfaceCluster- Parameters:
invocationConfig- Configuration for the method invocation.
-
summarizeinventorytoremote
public void summarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:ClusterRequest one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.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
- Specified by:
summarizeinventorytoremotein interfaceCluster- Parameters:
asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
summarizeinventorytoremote
public void summarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ClusterRequest one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
summarizeinventorytoremotein interfaceCluster- Parameters:
asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-