public interface Constraints extends Service, ConstraintsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
VsanClusterReconfigConstraints |
get(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
java.lang.Long expectedNumHosts)
This API provides the storage choices available when reconfiguring storage in a
cluster.
|
void |
get(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
java.lang.Long expectedNumHosts,
AsyncCallback<VsanClusterReconfigConstraints> asyncCallback)
This API provides the storage choices available when reconfiguring storage in a
cluster.
|
void |
get(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
java.lang.Long expectedNumHosts,
AsyncCallback<VsanClusterReconfigConstraints> asyncCallback,
InvocationConfig invocationConfig)
This API provides the storage choices available when reconfiguring storage in a
cluster.
|
VsanClusterReconfigConstraints |
get(java.lang.String org,
java.lang.String sddc,
java.lang.String cluster,
java.lang.Long expectedNumHosts,
InvocationConfig invocationConfig)
This API provides the storage choices available when reconfiguring storage in a
cluster.
|
VsanClusterReconfigConstraints get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts)
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)expectedNumHosts
- The expected number of hosts in the cluster. If not specified, returned is based
on current number of hosts in the cluster. (optional)Unauthenticated
- UnauthorizedInvalidRequest
- Invalid or missing parametersUnauthorized
- ForbiddenVsanClusterReconfigConstraints get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, 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)expectedNumHosts
- The expected number of hosts in the cluster. If not specified, returned is based
on current number of hosts in the cluster. (optional)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- Invalid or missing parametersUnauthorized
- Forbiddenvoid get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, AsyncCallback<VsanClusterReconfigConstraints> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.VsanClusterReconfigConstraints
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Invalid or missing parameters
Unauthorized
- Forbidden
org
- Organization identifier (required)sddc
- Sddc identifier (required)cluster
- cluster identifier (required)expectedNumHosts
- The expected number of hosts in the cluster. If not specified, returned is based
on current number of hosts in the cluster. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, AsyncCallback<VsanClusterReconfigConstraints> 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.VsanClusterReconfigConstraints
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Invalid or missing parameters
Unauthorized
- Forbidden
org
- Organization identifier (required)sddc
- Sddc identifier (required)cluster
- cluster identifier (required)expectedNumHosts
- The expected number of hosts in the cluster. If not specified, returned is based
on current number of hosts in the cluster. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.