public class AddHostsPrecheckStub extends com.vmware.vapi.internal.bindings.Stub implements AddHostsPrecheck
AddHostsPrecheck
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AddHostsPrecheckStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AddHostsPrecheckStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
Task |
addHostPrecheckTask(java.lang.String org,
java.lang.String sddc,
EsxConfig esxConfig)
Triggers an add host precheck task
|
void |
addHostPrecheckTask(java.lang.String org,
java.lang.String sddc,
EsxConfig esxConfig,
AsyncCallback<Task> asyncCallback)
Triggers an add host precheck task
|
void |
addHostPrecheckTask(java.lang.String org,
java.lang.String sddc,
EsxConfig esxConfig,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Triggers an add host precheck task
|
Task |
addHostPrecheckTask(java.lang.String org,
java.lang.String sddc,
EsxConfig esxConfig,
InvocationConfig invocationConfig)
Triggers an add host precheck task
|
public AddHostsPrecheckStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AddHostsPrecheckStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task addHostPrecheckTask(java.lang.String org, java.lang.String sddc, EsxConfig esxConfig)
AddHostsPrecheck
Synchronous method overload. Result of the invocation will be reported as a method return value.
addHostPrecheckTask
in interface AddHostsPrecheck
org
- Organization identifier (required)sddc
- Sddc identifier (required)esxConfig
- esxConfig (required)public Task addHostPrecheckTask(java.lang.String org, java.lang.String sddc, EsxConfig esxConfig, InvocationConfig invocationConfig)
AddHostsPrecheck
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
addHostPrecheckTask
in interface AddHostsPrecheck
org
- Organization identifier (required)sddc
- Sddc identifier (required)esxConfig
- esxConfig (required)invocationConfig
- Configuration for the method invocation.public void addHostPrecheckTask(java.lang.String org, java.lang.String sddc, EsxConfig esxConfig, AsyncCallback<Task> asyncCallback)
AddHostsPrecheck
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
- Bad Request.
Unauthorized
- Access not allowed to the operation for the current user.
NotFound
- Cannot find the SDDC with the given id.
addHostPrecheckTask
in interface AddHostsPrecheck
org
- Organization identifier (required)sddc
- Sddc identifier (required)esxConfig
- esxConfig (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void addHostPrecheckTask(java.lang.String org, java.lang.String sddc, EsxConfig esxConfig, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
AddHostsPrecheck
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
- Bad Request.
Unauthorized
- Access not allowed to the operation for the current user.
NotFound
- Cannot find the SDDC with the given id.
addHostPrecheckTask
in interface AddHostsPrecheck
org
- Organization identifier (required)sddc
- Sddc identifier (required)esxConfig
- esxConfig (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.