public interface SiteRecovery extends Service, SiteRecoveryTypes
_VAPI_SERVICE_ID
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
|
Task delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- 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)Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- ForbiddenNotFound
- Cannot find site recovery configuration for sddc identifierTask delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- 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.Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- ForbiddenNotFound
- Cannot find site recovery configuration for sddc identifiervoid delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal, AsyncCallback<Task> asyncCallback)
Asynchronous 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
org
- 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.void delete(java.lang.String org, java.lang.String sddc, DeleteConfigInternal deleteConfigInternal, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
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.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
org
- 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.SiteRecovery get(java.lang.String org, java.lang.String sddc)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)sddc
- sddc identifier (required)Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- ForbiddenSiteRecovery get(java.lang.String org, java.lang.String sddc, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Organization identifier (required)sddc
- sddc identifier (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- Forbiddenvoid get(java.lang.String org, java.lang.String sddc, AsyncCallback<SiteRecovery> asyncCallback)
Asynchronous 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
org
- Organization identifier (required)sddc
- sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String sddc, AsyncCallback<SiteRecovery> asyncCallback, InvocationConfig invocationConfig)
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.vmc.draas.model.SiteRecovery
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Invalid action or bad argument
Unauthorized
- Forbidden
org
- 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.Task post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)sddc
- sddc identifier (required)activateSiteRecoveryConfig
- Customization, for example can specify custom extension key suffix for SRM.
(optional)Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- ForbiddenNotFound
- Cannot find site recovery configuration for sddc identifierTask post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- 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.Unauthenticated
- UnauthorizedInvalidRequest
- Invalid action or bad argumentUnauthorized
- ForbiddenNotFound
- Cannot find site recovery configuration for sddc identifiervoid post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig, AsyncCallback<Task> asyncCallback)
Asynchronous 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
org
- 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.void post(java.lang.String org, java.lang.String sddc, ActivateSiteRecoveryConfig activateSiteRecoveryConfig, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
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.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
org
- 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.