public class DomainsStub extends com.vmware.vapi.internal.bindings.Stub implements Domains
Domains
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, CREATE_0_ACTION_DELTA_SYNC, CREATE_0_ACTION_FULL_SYNC, CREATE_0_ACTION_STOP_SYNC
Constructor and Description |
---|
DomainsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
DomainsStub(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 |
---|---|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure directoryDomain)
Create a directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
create(com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Create a directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
create(com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a directory domain
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
create0(java.lang.String domainId,
java.lang.String action,
java.lang.Long delay)
Invoke full sync or delta sync for a specific domain, with additional delay in
seconds if needed.
|
void |
create0(java.lang.String domainId,
java.lang.String action,
java.lang.Long delay,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Invoke full sync or delta sync for a specific domain, with additional delay in
seconds if needed.
|
void |
create0(java.lang.String domainId,
java.lang.String action,
java.lang.Long delay,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke full sync or delta sync for a specific domain, with additional delay in
seconds if needed.
|
void |
create0(java.lang.String domainId,
java.lang.String action,
java.lang.Long delay,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke full sync or delta sync for a specific domain, with additional delay in
seconds if needed.
|
void |
delete(java.lang.String domainId,
java.lang.Boolean force)
Delete a specific domain with given identifier
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a specific domain with given identifier
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific domain with given identifier
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
void |
delete(java.lang.String domainId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific domain with given identifier
Use the following Policy API - DELETE /policy/api/v1/infra/firewall-identity-stores/ |
com.vmware.vapi.bindings.Structure |
get(java.lang.String domainId)
Get a specific domain with given identifier
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
void |
get(java.lang.String domainId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Get a specific domain with given identifier
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
void |
get(java.lang.String domainId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a specific domain with given identifier
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
com.vmware.vapi.bindings.Structure |
get(java.lang.String domainId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a specific domain with given identifier
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores/ |
DirectoryDomainListResults |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List all configured domains
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores |
void |
list(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<DirectoryDomainListResults> asyncCallback)
List all configured domains
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores |
void |
list(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<DirectoryDomainListResults> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all configured domains
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores |
DirectoryDomainListResults |
list(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 domains
Use the following Policy API - GET /policy/api/v1/infra/firewall-identity-stores |
com.vmware.vapi.bindings.Structure |
update(java.lang.String domainId,
com.vmware.vapi.bindings.Structure directoryDomain)
Update to any field in the directory domain will trigger a full sync
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
update(java.lang.String domainId,
com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Update to any field in the directory domain will trigger a full sync
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
void |
update(java.lang.String domainId,
com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update to any field in the directory domain will trigger a full sync
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
com.vmware.vapi.bindings.Structure |
update(java.lang.String domainId,
com.vmware.vapi.bindings.Structure directoryDomain,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update to any field in the directory domain will trigger a full sync
Use the following Policy API - PUT /policy/api/v1/infra/firewall-identity-stores/ |
public DomainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public DomainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure directoryDomain)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface Domains
directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.DirectoryDomain
.public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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 Domains
directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.invocationConfig
- Configuration for the method invocation.DirectoryDomain
.public void create(com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface Domains
directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface Domains
directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.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 action, java.lang.Long delay)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void create0(java.lang.String domainId, java.lang.String action, java.lang.Long delay, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create0(java.lang.String domainId, java.lang.String action, java.lang.Long delay, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Domains
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 Domains
domainId
- Directory domain identifier (required)action
- Sync type requested (required)delay
- Request to execute the sync with some delay in seconds (optional, default to 0)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create0(java.lang.String domainId, java.lang.String action, java.lang.Long delay, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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 Domains
domainId
- Directory domain identifier (required)action
- Sync type requested (required)delay
- Request to execute the sync with some delay in seconds (optional, default to 0)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.Boolean force)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String domainId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String domainId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Domains
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
public void delete(java.lang.String domainId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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 Domains
domainId
- Directory domain identifier (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure get(java.lang.String domainId)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Domains
domainId
- Directory domain identifier (required)DirectoryDomain
.public com.vmware.vapi.bindings.Structure get(java.lang.String domainId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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 Domains
domainId
- Directory domain identifier (required)invocationConfig
- Configuration for the method invocation.DirectoryDomain
.public void get(java.lang.String domainId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String domainId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public DirectoryDomainListResults list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Domains
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 DirectoryDomainListResults list(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)
Domains
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 Domains
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 cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryDomainListResults> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryDomainListResults
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Domains
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 cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DirectoryDomainListResults> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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.DirectoryDomainListResults
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Domains
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 com.vmware.vapi.bindings.Structure update(java.lang.String domainId, com.vmware.vapi.bindings.Structure directoryDomain)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Domains
domainId
- Directory domain identifier (required)directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.DirectoryDomain
.public com.vmware.vapi.bindings.Structure update(java.lang.String domainId, com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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 Domains
domainId
- Directory domain identifier (required)directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.invocationConfig
- Configuration for the method invocation.DirectoryDomain
.public void update(java.lang.String domainId, com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Domains
domainId
- Directory domain identifier (required)directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String domainId, com.vmware.vapi.bindings.Structure directoryDomain, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Domains
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.DirectoryDomain
The return value will contain all the properties defined in DirectoryDomain
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Domains
domainId
- Directory domain identifier (required)directoryDomain
- (required)
The parameter must contain all the properties defined in DirectoryDomain
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.