public interface TokenPrincipalIdentities extends com.vmware.vapi.bindings.Service, TokenPrincipalIdentitiesTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
TokenBasedPrincipalIdentity |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity)
Register a principal identity that is going to be authenticated through a token.
|
void |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Register a principal identity that is going to be authenticated through a token.
|
void |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register a principal identity that is going to be authenticated through a token.
|
TokenBasedPrincipalIdentity |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register a principal identity that is going to be authenticated through a token.
|
void |
delete(java.lang.String principalIdentityId)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a token-based principal identity.
|
TokenBasedPrincipalIdentity |
get(java.lang.String principalIdentityId)
Get a stored token-based principal identity
|
void |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Get a stored token-based principal identity
|
void |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a stored token-based principal identity
|
TokenBasedPrincipalIdentity |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a stored token-based principal identity
|
TokenBasedPrincipalIdentityListResult |
list()
Return the list of token-based principal identities.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback)
Return the list of token-based principal identities.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the list of token-based principal identities.
|
TokenBasedPrincipalIdentityListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the list of token-based principal identities.
|
TokenBasedPrincipalIdentity create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tokenBasedPrincipalIdentity
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundTokenBasedPrincipalIdentity create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tokenBasedPrincipalIdentity
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tokenBasedPrincipalIdentity
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tokenBasedPrincipalIdentity
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String principalIdentityId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
principalIdentityId
- Unique id of the token-based principal identity to delete (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
principalIdentityId
- Unique id of the token-based principal identity to delete (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
principalIdentityId
- Unique id of the token-based principal identity to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
principalIdentityId
- Unique id of the token-based principal identity to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TokenBasedPrincipalIdentity get(java.lang.String principalIdentityId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
principalIdentityId
- ID of the principal identity to get (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundTokenBasedPrincipalIdentity get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
principalIdentityId
- ID of the principal identity to get (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
principalIdentityId
- ID of the principal identity to get (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
principalIdentityId
- ID of the principal identity to get (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TokenBasedPrincipalIdentityListResult list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundTokenBasedPrincipalIdentityListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentityListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.TokenBasedPrincipalIdentityListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.