public class AdminClientStub extends com.vmware.vapi.internal.bindings.Stub implements AdminClient
AdminClient
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
AdminClientStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AdminClientStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public AdminClientStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AdminClientStub(ApiProvider apiProvider, StubConfigurationBase config)
public TokenInfo get(java.lang.String tenant)
AdminClientSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface AdminClienttenant - 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.public TokenInfo get(java.lang.String tenant, InvocationConfig invocationConfig)
AdminClientSynchronous 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 AdminClienttenant - 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.public void get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback)
AdminClientAsynchronous 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. get in interface AdminClienttenant - 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.public void get(java.lang.String tenant,
AsyncCallback<TokenInfo> asyncCallback,
InvocationConfig invocationConfig)
AdminClientAsynchronous 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. get in interface AdminClienttenant - 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.