public interface Clusters extends Service, ClustersTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
Task |
create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig)
Creates a new cluster in customers sddcs with passed clusterConfig.
|
void |
create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig,
AsyncCallback<Task> asyncCallback)
Creates a new cluster in customers sddcs with passed clusterConfig.
|
void |
create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Creates a new cluster in customers sddcs with passed clusterConfig.
|
Task |
create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig,
InvocationConfig invocationConfig)
Creates a new cluster in customers sddcs with passed clusterConfig.
|
Task |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster)
This is a force operation which will delete the cluster even if there can be a
data loss.
|
void |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
AsyncCallback<Task> asyncCallback)
This is a force operation which will delete the cluster even if there can be a
data loss.
|
void |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
This is a force operation which will delete the cluster even if there can be a
data loss.
|
Task |
delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
InvocationConfig invocationConfig)
This is a force operation which will delete the cluster even if there can be a
data loss.
|
Task create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)sddc
- Sddc identifier (required)clusterConfig
- clusterConfig (required)Unauthenticated
- UnauthorizedInvalidRequest
- The sddc is not in a state that's valid for updatesUnauthorized
- Access not allowed to the operation for the current userNotFound
- Cannot find the cluster with the given identifierTask create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig, 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)clusterConfig
- clusterConfig (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- The sddc is not in a state that's valid for updatesUnauthorized
- Access not allowed to the operation for the current userNotFound
- Cannot find the cluster with the given identifiervoid create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig, AsyncCallback<Task> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the cluster with the given identifier
org
- Organization identifier (required)sddc
- Sddc identifier (required)clusterConfig
- clusterConfig (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig, 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.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the cluster with the given identifier
org
- Organization identifier (required)sddc
- Sddc identifier (required)clusterConfig
- clusterConfig (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Task delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)sddc
- Sddc identifier (required)cluster
- cluster identifier (required)Unauthenticated
- UnauthorizedInvalidRequest
- The sddc is not in a state that's valid for updatesUnauthorized
- Access not allowed to the operation for the current userNotFound
- Cannot find the cluster with the given idTask delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster, 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)cluster
- cluster identifier (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- The sddc is not in a state that's valid for updatesUnauthorized
- Access not allowed to the operation for the current userNotFound
- Cannot find the cluster with the given idvoid delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster, AsyncCallback<Task> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the cluster with the given id
org
- Organization identifier (required)sddc
- Sddc identifier (required)cluster
- cluster identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster, 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.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the cluster with the given id
org
- Organization identifier (required)sddc
- Sddc identifier (required)cluster
- cluster identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.