public class ClusterConstraintsStub extends com.vmware.vapi.internal.bindings.Stub implements ClusterConstraints
ClusterConstraints
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ClusterConstraintsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ClusterConstraintsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public ClusterConstraintsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ClusterConstraintsStub(ApiProvider apiProvider, StubConfigurationBase config)
public VsanConfigConstraints get(java.lang.String org, java.lang.String provider, long numHosts)
ClusterConstraints
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ClusterConstraints
org
- Organization identifier (required)provider
- Cloud storage provider ID (example AWS) (required)numHosts
- Number of hosts in cluster (required)public VsanConfigConstraints get(java.lang.String org, java.lang.String provider, long numHosts, InvocationConfig invocationConfig)
ClusterConstraints
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 ClusterConstraints
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.public void get(java.lang.String org, java.lang.String provider, long numHosts, AsyncCallback<VsanConfigConstraints> asyncCallback)
ClusterConstraints
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
get
in interface ClusterConstraints
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.public void get(java.lang.String org, java.lang.String provider, long numHosts, AsyncCallback<VsanConfigConstraints> asyncCallback, InvocationConfig invocationConfig)
ClusterConstraints
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
get
in interface ClusterConstraints
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.