public interface ClusterConstraints extends Service, ClusterConstraintsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
VsanConfigConstraints |
get(java.lang.String org,
java.lang.String provider,
long numHosts)
Get constraints on cluster storage size for EBS-backed clusters.
|
void |
get(java.lang.String org,
java.lang.String provider,
long numHosts,
AsyncCallback<VsanConfigConstraints> asyncCallback)
Get constraints on cluster storage size for EBS-backed clusters.
|
void |
get(java.lang.String org,
java.lang.String provider,
long numHosts,
AsyncCallback<VsanConfigConstraints> asyncCallback,
InvocationConfig invocationConfig)
Get constraints on cluster storage size for EBS-backed clusters.
|
VsanConfigConstraints |
get(java.lang.String org,
java.lang.String provider,
long numHosts,
InvocationConfig invocationConfig)
Get constraints on cluster storage size for EBS-backed clusters.
|
VsanConfigConstraints get(java.lang.String org, java.lang.String provider, long numHosts)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)provider
- Cloud storage provider ID (example AWS) (required)numHosts
- Number of hosts in cluster (required)Unauthenticated
- UnauthorizedInvalidRequest
- Invalid or missing parametersUnauthorized
- ForbiddenVsanConfigConstraints get(java.lang.String org, java.lang.String provider, long numHosts, 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)provider
- Cloud storage provider ID (example AWS) (required)numHosts
- Number of hosts in cluster (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- Invalid or missing parametersUnauthorized
- Forbiddenvoid get(java.lang.String org, java.lang.String provider, long numHosts, AsyncCallback<VsanConfigConstraints> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.VsanConfigConstraints
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Invalid or missing parameters
Unauthorized
- Forbidden
org
- Organization identifier (required)provider
- Cloud storage provider ID (example AWS) (required)numHosts
- Number of hosts in cluster (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String provider, long numHosts, AsyncCallback<VsanConfigConstraints> 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.VsanConfigConstraints
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Invalid or missing parameters
Unauthorized
- Forbidden
org
- Organization identifier (required)provider
- Cloud storage provider ID (example AWS) (required)numHosts
- Number of hosts in cluster (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.