public class SiteRecoverySrmNodesStub extends com.vmware.vapi.internal.bindings.Stub implements SiteRecoverySrmNodes
SiteRecoverySrmNodes
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SiteRecoverySrmNodesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SiteRecoverySrmNodesStub(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,
java.lang.String srmNode)
Delete a SRM server.
|
void |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String srmNode,
AsyncCallback<Task> asyncCallback)
Delete a SRM server.
|
void |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String srmNode,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Delete a SRM server.
|
Task |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String srmNode,
InvocationConfig invocationConfig)
Delete a SRM server.
|
Task |
post(java.lang.String org,
java.lang.String sddc,
ProvisionSrmConfig provisionSrmConfig)
Provision an additional SRM server.
|
void |
post(java.lang.String org,
java.lang.String sddc,
ProvisionSrmConfig provisionSrmConfig,
AsyncCallback<Task> asyncCallback)
Provision an additional SRM server.
|
void |
post(java.lang.String org,
java.lang.String sddc,
ProvisionSrmConfig provisionSrmConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Provision an additional SRM server.
|
Task |
post(java.lang.String org,
java.lang.String sddc,
ProvisionSrmConfig provisionSrmConfig,
InvocationConfig invocationConfig)
Provision an additional SRM server.
|
public SiteRecoverySrmNodesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SiteRecoverySrmNodesStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task delete(java.lang.String org, java.lang.String sddc, java.lang.String srmNode)
SiteRecoverySrmNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)srmNode
- SRM node identifier (required)public Task delete(java.lang.String org, java.lang.String sddc, java.lang.String srmNode, InvocationConfig invocationConfig)
SiteRecoverySrmNodes
Synchronous 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 SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)srmNode
- SRM node identifier (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String org, java.lang.String sddc, java.lang.String srmNode, AsyncCallback<Task> asyncCallback)
SiteRecoverySrmNodes
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 SDDC or SRM node
delete
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)srmNode
- SRM node identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String org, java.lang.String sddc, java.lang.String srmNode, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
SiteRecoverySrmNodes
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 SDDC or SRM node
delete
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)srmNode
- SRM node 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, ProvisionSrmConfig provisionSrmConfig)
SiteRecoverySrmNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
post
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)provisionSrmConfig
- Customization, for example can specify custom extension key suffix for SRM.
(optional)public Task post(java.lang.String org, java.lang.String sddc, ProvisionSrmConfig provisionSrmConfig, InvocationConfig invocationConfig)
SiteRecoverySrmNodes
Synchronous 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 SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)provisionSrmConfig
- 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, ProvisionSrmConfig provisionSrmConfig, AsyncCallback<Task> asyncCallback)
SiteRecoverySrmNodes
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
post
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)provisionSrmConfig
- 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, ProvisionSrmConfig provisionSrmConfig, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
SiteRecoverySrmNodes
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
post
in interface SiteRecoverySrmNodes
org
- Organization identifier (required)sddc
- sddc identifier (required)provisionSrmConfig
- 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.