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 theCluster
API 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 void
backuptoremote(java.lang.String frameType, java.lang.String siteId)
Request one-time backup.void
backuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Request one-time backup.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)
Request one-time backup.void
backuptoremote(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Request one-time backup.void
summarizeinventorytoremote()
Request one-time inventory summary.void
summarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Request one-time inventory summary.void
summarizeinventorytoremote(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Request one-time inventory summary.void
summarizeinventorytoremote(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:Cluster
Request 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:
backuptoremote
in 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:Cluster
Request 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
backuptoremote
in 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:Cluster
Request 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:
backuptoremote
in 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:Cluster
Request 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
. UseinvocationConfig
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
- Specified by:
backuptoremote
in 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:Cluster
Request 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:
summarizeinventorytoremote
in interfaceCluster
-
summarizeinventorytoremote
public void summarizeinventorytoremote(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Cluster
Request 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
summarizeinventorytoremote
in 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:Cluster
Request 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:
summarizeinventorytoremote
in 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:Cluster
Request 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
. UseinvocationConfig
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
- Specified by:
summarizeinventorytoremote
in interfaceCluster
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-