public class SiteRecoveryStub extends com.vmware.vapi.internal.bindings.Stub implements SiteRecovery
SiteRecovery
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SiteRecoveryStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SiteRecoveryStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
Task |
delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal)
Deactivate site recovery for the specified sddc
|
void |
delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal,
AsyncCallback<Task> asyncCallback)
Deactivate site recovery for the specified sddc
|
void |
delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Deactivate site recovery for the specified sddc
|
Task |
delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal,
InvocationConfig invocationConfig)
Deactivate site recovery for the specified sddc
|
SiteRecovery |
get(java.lang.String org,
java.lang.String sddc)
Query site recovery configuration for the specified sddc
|
void |
get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<SiteRecovery> asyncCallback)
Query site recovery configuration for the specified sddc
|
void |
get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<SiteRecovery> asyncCallback,
InvocationConfig invocationConfig)
Query site recovery configuration for the specified sddc
|
SiteRecovery |
get(java.lang.String org,
java.lang.String sddc,
InvocationConfig invocationConfig)
Query site recovery configuration for the specified sddc
|
Task |
post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig)
Activate site recovery for the specified sddc
|
void |
post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig,
AsyncCallback<Task> asyncCallback)
Activate site recovery for the specified sddc
|
void |
post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Activate site recovery for the specified sddc
|
Task |
post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig,
InvocationConfig invocationConfig)
Activate site recovery for the specified sddc
|
public SiteRecoveryStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SiteRecoveryStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal)
SiteRecoverySynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)deleteConfigInternal - Customization, for example if deactivate site recovery forcefully and the
CSSD/CSCM ticket number and the confirmation code. (optional)public Task delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal, InvocationConfig invocationConfig)
SiteRecoverySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)deleteConfigInternal - Customization, for example if deactivate site recovery forcefully and the
CSSD/CSCM ticket number and the confirmation code. (optional)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal,
AsyncCallback<Task> asyncCallback)
SiteRecoveryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.vmc.draas.model.Task
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
NotFound - Cannot find site recovery configuration for sddc identifier
delete in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)deleteConfigInternal - Customization, for example if deactivate site recovery forcefully and the
CSSD/CSCM ticket number and the confirmation code. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String org,
java.lang.String sddc,
DeleteConfigInternal deleteConfigInternal,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
SiteRecoveryAsynchronous 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.vmc.draas.model.Task
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
NotFound - Cannot find site recovery configuration for sddc identifier
delete in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)deleteConfigInternal - Customization, for example if deactivate site recovery forcefully and the
CSSD/CSCM ticket number and the confirmation code. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SiteRecovery get(java.lang.String org, java.lang.String sddc)
SiteRecoverySynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)public SiteRecovery get(java.lang.String org, java.lang.String sddc, InvocationConfig invocationConfig)
SiteRecoverySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<SiteRecovery> asyncCallback)
SiteRecoveryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.vmc.draas.model.SiteRecovery
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
get in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<SiteRecovery> asyncCallback,
InvocationConfig invocationConfig)
SiteRecoveryAsynchronous 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.vmc.draas.model.SiteRecovery
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
get in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public Task post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig)
SiteRecoverySynchronous method overload. Result of the invocation will be reported as a method return value.
post in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)activateSiteRecoveryConfig - Customization, for example can specify custom extension key suffix for SRM.
(optional)public Task post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig, InvocationConfig invocationConfig)
SiteRecoverySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
post in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)activateSiteRecoveryConfig - Customization, for example can specify custom extension key suffix for SRM.
(optional)invocationConfig - Configuration for the method invocation.public void post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig,
AsyncCallback<Task> asyncCallback)
SiteRecoveryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.vmc.draas.model.Task
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
NotFound - Cannot find site recovery configuration for sddc identifier
post in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)activateSiteRecoveryConfig - Customization, for example can specify custom extension key suffix for SRM.
(optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void post(java.lang.String org,
java.lang.String sddc,
ActivateSiteRecoveryConfig activateSiteRecoveryConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
SiteRecoveryAsynchronous 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.vmc.draas.model.Task
Operation Errors:
Unauthenticated - Unauthorized
InvalidRequest - Invalid action or bad argument
Unauthorized - Forbidden
NotFound - Cannot find site recovery configuration for sddc identifier
post in interface SiteRecoveryorg - Organization identifier (required)sddc - sddc identifier (required)activateSiteRecoveryConfig - Customization, for example can specify custom extension key suffix for SRM.
(optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.