Class LdapServersStub

  • All Implemented Interfaces:
    LdapServers, LdapServersTypes, com.vmware.vapi.bindings.Service

    public class LdapServersStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements LdapServers
    Remote stub implementation of the LdapServers API service.

    WARNING: Internal class, subject to change in future versions.

    • Constructor Summary

      Constructors 
      Constructor Description
      LdapServersStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      LdapServersStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String action, java.lang.String enforcementPointPath)
      The API tests a LDAP server connection for an already configured domain.
      void create​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      The API tests a LDAP server connection for an already configured domain.
      void create​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      The API tests a LDAP server connection for an already configured domain.
      void create​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      The API tests a LDAP server connection for an already configured domain.
      void delete​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath)
      Delete a LDAP server for Firewall Identity store

      Use the following Policy API -
      DELETE /infra/identity-firewall-stores//ldap-servers/
      void delete​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete a LDAP server for Firewall Identity store

      Use the following Policy API -
      DELETE /infra/identity-firewall-stores//ldap-servers/
      void delete​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete a LDAP server for Firewall Identity store

      Use the following Policy API -
      DELETE /infra/identity-firewall-stores//ldap-servers/
      void delete​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete a LDAP server for Firewall Identity store

      Use the following Policy API -
      DELETE /infra/identity-firewall-stores//ldap-servers/
      DirectoryLdapServer get​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath)
      Get a specific LDAP server for a given Firewall Identity store

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers/
      void get​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
      Get a specific LDAP server for a given Firewall Identity store

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers/
      void get​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a specific LDAP server for a given Firewall Identity store

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers/
      DirectoryLdapServer get​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a specific LDAP server for a given Firewall Identity store

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers/
      DirectoryLdapServerListResults list​(java.lang.String firewallIdentityStoreId, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      List all configured domain LDAP servers

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers
      void list​(java.lang.String firewallIdentityStoreId, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerListResults> asyncCallback)
      List all configured domain LDAP servers

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers
      void list​(java.lang.String firewallIdentityStoreId, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerListResults> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      List all configured domain LDAP servers

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers
      DirectoryLdapServerListResults list​(java.lang.String firewallIdentityStoreId, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      List all configured domain LDAP servers

      Use the following Policy API -
      GET /infra/identity-firewall-stores//ldap-servers
      DirectoryLdapServer patch​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath)
      More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects.
      void patch​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
      More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects.
      void patch​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects.
      DirectoryLdapServer patch​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects.
      DirectoryLdapServer update​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath)
      Update a LDAP server for Firewall Identity store

      Use the following Policy API -
      PUT /infra/identity-firewall-stores//ldap-servers/
      void update​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
      Update a LDAP server for Firewall Identity store

      Use the following Policy API -
      PUT /infra/identity-firewall-stores//ldap-servers/
      void update​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update a LDAP server for Firewall Identity store

      Use the following Policy API -
      PUT /infra/identity-firewall-stores//ldap-servers/
      DirectoryLdapServer update​(java.lang.String firewallIdentityStoreId, java.lang.String ldapServerId, DirectoryLdapServer directoryLdapServer, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update a LDAP server for Firewall Identity store

      Use the following Policy API -
      PUT /infra/identity-firewall-stores//ldap-servers/
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LdapServersStub

        public LdapServersStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                               com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                               com.vmware.vapi.bindings.StubConfigurationBase config)
      • LdapServersStub

        public LdapServersStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                               com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • create

        public void create​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String action,
                           java.lang.String enforcementPointPath)
        Description copied from interface: LdapServers
        The API tests a LDAP server connection for an already configured domain. If the connection is successful, 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.

        Specified by:
        create in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        action - LDAP server test requested (required)
        enforcementPointPath - String Path of the enforcement point (optional)
      • create

        public void create​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String action,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        The API tests a LDAP server connection for an already configured domain. If the connection is successful, 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.

        Specified by:
        create in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        action - LDAP server test requested (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
      • create

        public void create​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String action,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: LdapServers
        The API tests a LDAP server connection for an already configured domain. If the connection is successful, 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.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (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

        public void create​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String action,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        The API tests a LDAP server connection for an already configured domain. If the connection is successful, 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.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (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.
      • delete

        public void delete​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String enforcementPointPath)
        Description copied from interface: LdapServers
        Delete a LDAP server for Firewall Identity store

        Use the following Policy API -
        DELETE /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
      • delete

        public void delete​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Delete a LDAP server for Firewall Identity store

        Use the following Policy API -
        DELETE /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        delete in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: LdapServers
        Delete a LDAP server for Firewall Identity store

        Use the following Policy API -
        DELETE /infra/identity-firewall-stores//ldap-servers/

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        delete in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Delete a LDAP server for Firewall Identity store

        Use the following Policy API -
        DELETE /infra/identity-firewall-stores//ldap-servers/

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        delete in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (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.
      • get

        public DirectoryLdapServer get​(java.lang.String firewallIdentityStoreId,
                                       java.lang.String ldapServerId,
                                       java.lang.String enforcementPointPath)
        Description copied from interface: LdapServers
        Get a specific LDAP server for a given Firewall Identity store

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • get

        public DirectoryLdapServer get​(java.lang.String firewallIdentityStoreId,
                                       java.lang.String ldapServerId,
                                       java.lang.String enforcementPointPath,
                                       com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Get a specific LDAP server for a given Firewall Identity store

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • get

        public void get​(java.lang.String firewallIdentityStoreId,
                        java.lang.String ldapServerId,
                        java.lang.String enforcementPointPath,
                        com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
        Description copied from interface: LdapServers
        Get a specific LDAP server for a given Firewall Identity store

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers/

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String firewallIdentityStoreId,
                        java.lang.String ldapServerId,
                        java.lang.String enforcementPointPath,
                        com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Get a specific LDAP server for a given Firewall Identity store

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers/

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (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.
      • list

        public DirectoryLdapServerListResults list​(java.lang.String firewallIdentityStoreId,
                                                   java.lang.String cursor,
                                                   java.lang.String enforcementPointPath,
                                                   java.lang.String includedFields,
                                                   java.lang.Long pageSize,
                                                   java.lang.Boolean sortAscending,
                                                   java.lang.String sortBy)
        Description copied from interface: LdapServers
        List all configured domain LDAP servers

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServerListResults
      • list

        public DirectoryLdapServerListResults list​(java.lang.String firewallIdentityStoreId,
                                                   java.lang.String cursor,
                                                   java.lang.String enforcementPointPath,
                                                   java.lang.String includedFields,
                                                   java.lang.Long pageSize,
                                                   java.lang.Boolean sortAscending,
                                                   java.lang.String sortBy,
                                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        List all configured domain LDAP servers

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        list in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServerListResults
      • list

        public void list​(java.lang.String firewallIdentityStoreId,
                         java.lang.String cursor,
                         java.lang.String enforcementPointPath,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerListResults> asyncCallback)
        Description copied from interface: LdapServers
        List all configured domain LDAP servers

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String firewallIdentityStoreId,
                         java.lang.String cursor,
                         java.lang.String enforcementPointPath,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerListResults> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        List all configured domain LDAP servers

        Use the following Policy API -
        GET /infra/identity-firewall-stores//ldap-servers

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public DirectoryLdapServer patch​(java.lang.String firewallIdentityStoreId,
                                         java.lang.String ldapServerId,
                                         DirectoryLdapServer directoryLdapServer,
                                         java.lang.String enforcementPointPath)
        Description copied from interface: LdapServers
        More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one.

        Use the following Policy API -
        PATCH /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • patch

        public DirectoryLdapServer patch​(java.lang.String firewallIdentityStoreId,
                                         java.lang.String ldapServerId,
                                         DirectoryLdapServer directoryLdapServer,
                                         java.lang.String enforcementPointPath,
                                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one.

        Use the following Policy API -
        PATCH /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        patch in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • patch

        public void patch​(java.lang.String firewallIdentityStoreId,
                          java.lang.String ldapServerId,
                          DirectoryLdapServer directoryLdapServer,
                          java.lang.String enforcementPointPath,
                          com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
        Description copied from interface: LdapServers
        More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one.

        Use the following Policy API -
        PATCH /infra/identity-firewall-stores//ldap-servers/

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String firewallIdentityStoreId,
                          java.lang.String ldapServerId,
                          DirectoryLdapServer directoryLdapServer,
                          java.lang.String enforcementPointPath,
                          com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one.

        Use the following Policy API -
        PATCH /infra/identity-firewall-stores//ldap-servers/

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (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.
      • update

        public DirectoryLdapServer update​(java.lang.String firewallIdentityStoreId,
                                          java.lang.String ldapServerId,
                                          DirectoryLdapServer directoryLdapServer,
                                          java.lang.String enforcementPointPath)
        Description copied from interface: LdapServers
        Update a LDAP server for Firewall Identity store

        Use the following Policy API -
        PUT /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • update

        public DirectoryLdapServer update​(java.lang.String firewallIdentityStoreId,
                                          java.lang.String ldapServerId,
                                          DirectoryLdapServer directoryLdapServer,
                                          java.lang.String enforcementPointPath,
                                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Update a LDAP server for Firewall Identity store

        Use the following Policy API -
        PUT /infra/identity-firewall-stores//ldap-servers/

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        update in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DirectoryLdapServer
      • update

        public void update​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           DirectoryLdapServer directoryLdapServer,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
        Description copied from interface: LdapServers
        Update a LDAP server for Firewall Identity store

        Use the following Policy API -
        PUT /infra/identity-firewall-stores//ldap-servers/

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String firewallIdentityStoreId,
                           java.lang.String ldapServerId,
                           DirectoryLdapServer directoryLdapServer,
                           java.lang.String enforcementPointPath,
                           com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LdapServers
        Update a LDAP server for Firewall Identity store

        Use the following Policy API -
        PUT /infra/identity-firewall-stores//ldap-servers/

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

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface LdapServers
        Parameters:
        firewallIdentityStoreId - Firewall Identity store identifier (required)
        ldapServerId - LDAP server identifier (required)
        directoryLdapServer - (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.