public class ConstraintsStub extends com.vmware.vapi.internal.bindings.Stub implements Constraints
Constraints
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConstraintsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConstraintsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public ConstraintsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConstraintsStub(ApiProvider apiProvider, StubConfigurationBase config)
public VsanClusterReconfigConstraints get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts)
Constraints
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Constraints
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)public VsanClusterReconfigConstraints get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, InvocationConfig invocationConfig)
Constraints
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Constraints
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.public void get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, AsyncCallback<VsanClusterReconfigConstraints> asyncCallback)
Constraints
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
get
in interface Constraints
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.public void get(java.lang.String org, java.lang.String sddc, java.lang.String cluster, java.lang.Long expectedNumHosts, AsyncCallback<VsanClusterReconfigConstraints> asyncCallback, InvocationConfig invocationConfig)
Constraints
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
get
in interface Constraints
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.