public interface ActiveDirectory extends Service, ActiveDirectoryTypes
ActiveDirectory
interface provides methods to check if the migrated
vCenter Server appliance can join to the given domain using the provided
credentials. This interface was added in vSphere API 7.0.0.0.ActiveDirectoryTypes.CheckSpec
_VAPI_SERVICE_ID
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.
|
CheckInfo check(ActiveDirectoryTypes.CheckSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Information to connect to Active Directory.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.CheckInfo check(ActiveDirectoryTypes.CheckSpec spec, 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.
spec
- Information to connect to Active Directory.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.void check(ActiveDirectoryTypes.CheckSpec spec, AsyncCallback<CheckInfo> asyncCallback)
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.
spec
- Information to connect to Active Directory.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check(ActiveDirectoryTypes.CheckSpec spec, AsyncCallback<CheckInfo> 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:
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.
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.