public class LdapServersStub extends com.vmware.vapi.internal.bindings.Stub implements LdapServers
LdapServers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, CREATE_0_ACTION_CONNECTIVITY
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
DirectoryLdapServer |
create(java.lang.String domainId,
DirectoryLdapServer directoryLdapServer)
More than one LDAP server can be created and only one LDAP server is used to
synchronize directory objects.
|
void |
create(java.lang.String domainId,
DirectoryLdapServer directoryLdapServer,
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 |
create(java.lang.String domainId,
DirectoryLdapServer directoryLdapServer,
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 |
create(java.lang.String domainId,
DirectoryLdapServer directoryLdapServer,
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.
|
void |
create0(java.lang.String domainId,
java.lang.String serverId,
java.lang.String action)
The API tests a LDAP server connection for an already configured domain.
|
void |
create0(java.lang.String domainId,
java.lang.String serverId,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
The API tests a LDAP server connection for an already configured domain.
|
void |
create0(java.lang.String domainId,
java.lang.String serverId,
java.lang.String action,
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 |
create0(java.lang.String domainId,
java.lang.String serverId,
java.lang.String action,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The API tests a LDAP server connection for an already configured domain.
|
void |
delete(java.lang.String domainId,
java.lang.String serverId)
Delete a LDAP server for directory domain
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a LDAP server for directory domain
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a LDAP server for directory domain
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a LDAP server for directory domain
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServer |
get(java.lang.String domainId,
java.lang.String serverId)
Get a specific LDAP server for a given directory domain
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
void |
get(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
Get a specific LDAP server for a given directory domain
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
void |
get(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a specific LDAP server for a given directory domain
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServer |
get(java.lang.String domainId,
java.lang.String serverId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a specific LDAP server for a given directory domain
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServerListResults |
list(java.lang.String domainId,
java.lang.String cursor,
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 /policy/api/v1/infra/firewall-identity-stores/ |
void |
list(java.lang.String domainId,
java.lang.String cursor,
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 /policy/api/v1/infra/firewall-identity-stores/ |
void |
list(java.lang.String domainId,
java.lang.String cursor,
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 /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServerListResults |
list(java.lang.String domainId,
java.lang.String cursor,
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 /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServer |
update(java.lang.String domainId,
java.lang.String serverId,
DirectoryLdapServer directoryLdapServer)
Update a LDAP server for directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
update(java.lang.String domainId,
java.lang.String serverId,
DirectoryLdapServer directoryLdapServer,
com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
Update a LDAP server for directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
update(java.lang.String domainId,
java.lang.String serverId,
DirectoryLdapServer directoryLdapServer,
com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a LDAP server for directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryLdapServer |
update(java.lang.String domainId,
java.lang.String serverId,
DirectoryLdapServer directoryLdapServer,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a LDAP server for directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
public LdapServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public LdapServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public DirectoryLdapServer create(java.lang.String domainId, DirectoryLdapServer directoryLdapServer)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface LdapServers
domainId
- Directory domain identifier (required)directoryLdapServer
- (required)public DirectoryLdapServer create(java.lang.String domainId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface LdapServers
domainId
- Directory domain identifier (required)directoryLdapServer
- (required)invocationConfig
- Configuration for the method invocation.public void create(java.lang.String domainId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
LdapServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface LdapServers
domainId
- Directory domain identifier (required)directoryLdapServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String domainId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
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.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface LdapServers
domainId
- Directory domain identifier (required)directoryLdapServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void create0(java.lang.String domainId, java.lang.String serverId, java.lang.String action)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
create0
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)action
- LDAP server test requested (required)public void create0(java.lang.String domainId, java.lang.String serverId, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create0
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)action
- LDAP server test requested (required)invocationConfig
- Configuration for the method invocation.public void create0(java.lang.String domainId, java.lang.String serverId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
LdapServers
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
create0
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)action
- LDAP server test requested (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create0(java.lang.String domainId, java.lang.String serverId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
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
create0
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)action
- LDAP server test requested (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String domainId, java.lang.String serverId)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)public void delete(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
LdapServers
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
delete
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
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
delete
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DirectoryLdapServer get(java.lang.String domainId, java.lang.String serverId)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)public DirectoryLdapServer get(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
LdapServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String domainId, java.lang.String serverId, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
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.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DirectoryLdapServerListResults list(java.lang.String domainId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface LdapServers
domainId
- Directory domain identifier (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (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)public DirectoryLdapServerListResults list(java.lang.String domainId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface LdapServers
domainId
- Directory domain identifier (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (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.public void list(java.lang.String domainId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServerListResults> asyncCallback)
LdapServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryLdapServerListResults
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface LdapServers
domainId
- Directory domain identifier (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (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.public void list(java.lang.String domainId, java.lang.String cursor, 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)
LdapServers
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.model.DirectoryLdapServerListResults
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface LdapServers
domainId
- Directory domain identifier (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (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.public DirectoryLdapServer update(java.lang.String domainId, java.lang.String serverId, DirectoryLdapServer directoryLdapServer)
LdapServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)directoryLdapServer
- (required)public DirectoryLdapServer update(java.lang.String domainId, java.lang.String serverId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)directoryLdapServer
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String domainId, java.lang.String serverId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback)
LdapServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)directoryLdapServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String domainId, java.lang.String serverId, DirectoryLdapServer directoryLdapServer, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryLdapServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
LdapServers
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.model.DirectoryLdapServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface LdapServers
domainId
- Directory domain identifier (required)serverId
- LDAP server identifier (required)directoryLdapServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.