Interface FirewallIdentityStoreLdapServer
-
- All Superinterfaces:
FirewallIdentityStoreLdapServerTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
FirewallIdentityStoreLdapServerStub
public interface FirewallIdentityStoreLdapServer extends com.vmware.vapi.bindings.Service, FirewallIdentityStoreLdapServerTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.FirewallIdentityStoreLdapServerTypes
_VAPI_SERVICE_ID, CREATE_ACTION_CONNECTIVITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirectoryLdapServerStatus
create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured.void
create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerStatus> asyncCallback)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured.void
create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured.DirectoryLdapServerStatus
create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured.
-
-
-
Method Detail
-
create
DirectoryLdapServerStatus create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured. If the connectivity is good, the response will be HTTP status 200. Otherwise the response will be HTTP status 500 and corresponding error message will be returned.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
directoryLdapServer
- (required)action
- LDAP server test requested (required)enforcementPointPath
- String Path of the enforcement point (optional)- Returns:
- com.vmware.nsx_policy.model.DirectoryLdapServerStatus
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
DirectoryLdapServerStatus create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured. If the connectivity is good, the response will be HTTP status 200. Otherwise the response will be HTTP status 500 and corresponding error message will be returned.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
directoryLdapServer
- (required)action
- LDAP server test requested (required)enforcementPointPath
- String Path of the enforcement point (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.DirectoryLdapServerStatus
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
void create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerStatus> asyncCallback)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured. If the connectivity is good, the response will be HTTP status 200. Otherwise the response will be HTTP status 500 and corresponding error message will be returned.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.DirectoryLdapServerStatusOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
directoryLdapServer
- (required)action
- LDAP server test requested (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(DirectoryLdapServer directoryLdapServer, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API tests a LDAP server connectivity before the actual domain or LDAP server is configured. If the connectivity is good, the response will be HTTP status 200. Otherwise the response will be HTTP status 500 and corresponding error message will be returned.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.DirectoryLdapServerStatusOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
directoryLdapServer
- (required)action
- LDAP server test requested (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-