public class ClustersStub extends com.vmware.vapi.internal.bindings.Stub implements Clusters
Clusters
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ClustersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ClustersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public ClustersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ClustersStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig)
ClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
public Task create(java.lang.String org, java.lang.String sddc, ClusterConfig clusterConfig, InvocationConfig invocationConfig)
ClustersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig,
AsyncCallback<Task> asyncCallback)
ClustersAsynchronous 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
public void create(java.lang.String org,
java.lang.String sddc,
ClusterConfig clusterConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
ClustersAsynchronous 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
create in interface Clustersorg - 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.public Task delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster)
ClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
public Task delete(java.lang.String org, java.lang.String sddc, java.lang.String cluster, InvocationConfig invocationConfig)
ClustersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
AsyncCallback<Task> asyncCallback)
ClustersAsynchronous 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
public void delete(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
ClustersAsynchronous 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
delete in interface Clustersorg - 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.