public class PrimaryclusterStub extends com.vmware.vapi.internal.bindings.Stub implements Primarycluster
Primarycluster
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PrimaryclusterStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PrimaryclusterStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
Cluster |
get(java.lang.String org,
java.lang.String sddc)
Retrieves the primary cluster in provided customer sddc UUID
|
void |
get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<Cluster> asyncCallback)
Retrieves the primary cluster in provided customer sddc UUID
|
void |
get(java.lang.String org,
java.lang.String sddc,
AsyncCallback<Cluster> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the primary cluster in provided customer sddc UUID
|
Cluster |
get(java.lang.String org,
java.lang.String sddc,
InvocationConfig invocationConfig)
Retrieves the primary cluster in provided customer sddc UUID
|
public PrimaryclusterStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PrimaryclusterStub(ApiProvider apiProvider, StubConfigurationBase config)
public Cluster get(java.lang.String org, java.lang.String sddc)
Primarycluster
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Primarycluster
org
- Organization identifier (required)sddc
- Sddc identifier (required)public Cluster get(java.lang.String org, java.lang.String sddc, InvocationConfig invocationConfig)
Primarycluster
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 Primarycluster
org
- Organization identifier (required)sddc
- Sddc identifier (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String org, java.lang.String sddc, AsyncCallback<Cluster> asyncCallback)
Primarycluster
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Cluster
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for fetching the primary cluster.
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the sddc with the given identifier to fetch the primary cluster
get
in interface Primarycluster
org
- Organization identifier (required)sddc
- Sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String org, java.lang.String sddc, AsyncCallback<Cluster> asyncCallback, InvocationConfig invocationConfig)
Primarycluster
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.Cluster
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for fetching the primary cluster.
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the sddc with the given identifier to fetch the primary cluster
get
in interface Primarycluster
org
- Organization identifier (required)sddc
- Sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.