public class ActiveDirectoryStub extends com.vmware.vapi.internal.bindings.Stub implements ActiveDirectory
ActiveDirectory
API service.
WARNING: Internal class, subject to change in future versions.
ActiveDirectoryTypes.CheckSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ActiveDirectoryStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ActiveDirectoryStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
CheckInfo |
check(ActiveDirectoryTypes.CheckSpec spec)
Checks whether the provided Active Directory user has permission to join the
migrated vCenter Server appliance to the domain.
|
void |
check(ActiveDirectoryTypes.CheckSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Checks whether the provided Active Directory user has permission to join the
migrated vCenter Server appliance to the domain.
|
void |
check(ActiveDirectoryTypes.CheckSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Checks whether the provided Active Directory user has permission to join the
migrated vCenter Server appliance to the domain.
|
CheckInfo |
check(ActiveDirectoryTypes.CheckSpec spec,
InvocationConfig invocationConfig)
Checks whether the provided Active Directory user has permission to join the
migrated vCenter Server appliance to the domain.
|
public ActiveDirectoryStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ActiveDirectoryStub(ApiProvider apiProvider, StubConfigurationBase config)
public CheckInfo check(ActiveDirectoryTypes.CheckSpec spec)
ActiveDirectory
Synchronous method overload. Result of the invocation will be reported as a method return value.
check
in interface ActiveDirectory
spec
- Information to connect to Active Directory.public CheckInfo check(ActiveDirectoryTypes.CheckSpec spec, InvocationConfig invocationConfig)
ActiveDirectory
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
check
in interface ActiveDirectory
spec
- Information to connect to Active Directory.invocationConfig
- Configuration for the method invocation.public void check(ActiveDirectoryTypes.CheckSpec spec, AsyncCallback<CheckInfo> asyncCallback)
ActiveDirectory
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the success or failure of the checks that were performed.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
check
in interface ActiveDirectory
spec
- Information to connect to Active Directory.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void check(ActiveDirectoryTypes.CheckSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
ActiveDirectory
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:
Information about the success or failure of the checks that were performed.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
check
in interface ActiveDirectory
spec
- Information to connect to Active Directory.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.