Interface FirewallIdentityStoreLdapServer

    • 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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.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.DirectoryLdapServerStatus

        Operation 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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.DirectoryLdapServerStatus

        Operation 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.