public class ConvertStub extends com.vmware.vapi.internal.bindings.Stub implements Convert
Convert
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConvertStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConvertStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
Task |
create(java.lang.String org,
java.lang.String sddc,
SddcConvertRequest sddcConvertRequest)
This API converts a one host SDDC to a 3 node DEFAULT SDDC.
|
void |
create(java.lang.String org,
java.lang.String sddc,
SddcConvertRequest sddcConvertRequest,
AsyncCallback<Task> asyncCallback)
This API converts a one host SDDC to a 3 node DEFAULT SDDC.
|
void |
create(java.lang.String org,
java.lang.String sddc,
SddcConvertRequest sddcConvertRequest,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
This API converts a one host SDDC to a 3 node DEFAULT SDDC.
|
Task |
create(java.lang.String org,
java.lang.String sddc,
SddcConvertRequest sddcConvertRequest,
InvocationConfig invocationConfig)
This API converts a one host SDDC to a 3 node DEFAULT SDDC.
|
public ConvertStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConvertStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task create(java.lang.String org, java.lang.String sddc, SddcConvertRequest sddcConvertRequest)
Convert
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Task create(java.lang.String org, java.lang.String sddc, SddcConvertRequest sddcConvertRequest, InvocationConfig invocationConfig)
Convert
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(java.lang.String org, java.lang.String sddc, SddcConvertRequest sddcConvertRequest, AsyncCallback<Task> asyncCallback)
Convert
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates, Method not allowed
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the SDDC with given identifier
public void create(java.lang.String org, java.lang.String sddc, SddcConvertRequest sddcConvertRequest, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
Convert
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.Task
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- The sddc is not in a state that's valid for updates, Method not allowed
Unauthorized
- Access not allowed to the operation for the current user
NotFound
- Cannot find the SDDC with given identifier
create
in interface Convert
org
- Organization identifier (required)sddc
- Sddc identifier (required)sddcConvertRequest
- convert sddc request body (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.