public interface AdminClient extends Service, AdminClientTypes
AdminClient interface provides methods to read the token info of
tenant admin client. The tenant client belongs to the pre-configured tenant(s),
that were created at bootstrap of vcenter trustmanagement service. The tenant
admin client tokens can be used to perform API invocations within a tenant
entity. This interface was added in vSphere API 8.0.1.0._VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
TokenInfo |
get(java.lang.String tenant)
Returns the tenant admin client token info associated with pre-configured
tenant(s) owned by vcenter trustmanagment service.
|
void |
get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback)
Returns the tenant admin client token info associated with pre-configured
tenant(s) owned by vcenter trustmanagment service.
|
void |
get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback,
InvocationConfig invocationConfig)
Returns the tenant admin client token info associated with pre-configured
tenant(s) owned by vcenter trustmanagment service.
|
TokenInfo |
get(java.lang.String tenant,
InvocationConfig invocationConfig)
Returns the tenant admin client token info associated with pre-configured
tenant(s) owned by vcenter trustmanagment service.
|
TokenInfo get(java.lang.String tenant)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tenant - The tenant name for which the admin client token needs to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.broker.tenant.TokenInfo class that contains
a newly issued tenant admin client token.Error - if any other error occurs.NotFound - if no tenant owned by vcenter trustmanagment service, with the input parameter
found.Unauthenticated - if not authenticated.Unauthorized - if not authorized to invoke the operation.Unauthorized - if you do not have all of the privileges described as follows: VcIdentityProviders.Manage. TokenInfo get(java.lang.String tenant, 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.
tenant - The tenant name for which the admin client token needs to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.broker.tenant.invocationConfig - Configuration for the method invocation.TokenInfo class that contains
a newly issued tenant admin client token.Error - if any other error occurs.NotFound - if no tenant owned by vcenter trustmanagment service, with the input parameter
found.Unauthenticated - if not authenticated.Unauthorized - if not authorized to invoke the operation.Unauthorized - if you do not have all of the privileges described as follows: VcIdentityProviders.Manage. void get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
TokenInfo class that contains
a newly issued tenant admin client token.
Operation Errors:
Error - if any other error occurs.
NotFound - if no tenant owned by vcenter trustmanagment service, with the input parameter
found.
Unauthenticated - if not authenticated.
Unauthorized - if not authorized to invoke the operation.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. tenant - The tenant name for which the admin client token needs to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.broker.tenant.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback,
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:
TokenInfo class that contains
a newly issued tenant admin client token.
Operation Errors:
Error - if any other error occurs.
NotFound - if no tenant owned by vcenter trustmanagment service, with the input parameter
found.
Unauthenticated - if not authenticated.
Unauthorized - if not authorized to invoke the operation.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. tenant - The tenant name for which the admin client token needs to be returned.
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.broker.tenant.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.