public interface Primarycluster extends Service, PrimaryclusterTypes
_VAPI_SERVICE_ID
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
|
Cluster get(java.lang.String org, java.lang.String sddc)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)sddc
- Sddc identifier (required)Unauthenticated
- UnauthorizedInvalidRequest
- 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 userNotFound
- Cannot find the sddc with the given identifier to fetch the primary clusterCluster get(java.lang.String org, java.lang.String sddc, 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)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- 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 userNotFound
- Cannot find the sddc with the given identifier to fetch the primary clustervoid get(java.lang.String org, java.lang.String sddc, AsyncCallback<Cluster> asyncCallback)
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
org
- Organization identifier (required)sddc
- Sddc identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String sddc, AsyncCallback<Cluster> 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.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
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.