public interface OperatorClient extends Service, OperatorClientTypes
OperatorClient interface provides methods to read the token info of
operator client. The operator client belongs to the pre-configured HWS tenant,
that was created at bootstrap/installation of broker. The operator client tokens
can be used to call the tenant management APIs like create, get and delete of
tenant entity. This interface was added in vSphere API 8.0.1.0._VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
TokenInfo |
get()
Return the operator client token info in Broker.
|
void |
get(AsyncCallback<TokenInfo> asyncCallback)
Return the operator client token info in Broker.
|
void |
get(AsyncCallback<TokenInfo> asyncCallback,
InvocationConfig invocationConfig)
Return the operator client token info in Broker.
|
TokenInfo |
get(InvocationConfig invocationConfig)
Return the operator client token info in Broker.
|
TokenInfo get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
TokenInfo class that contains
a newly issued operator client token.Error - if any other error occurs.NotFound - if no operator client details 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(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.TokenInfo class that contains
a newly issued operator client token.Error - if any other error occurs.NotFound - if no operator client details 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(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 operator client token.
Operation Errors:
Error - if any other error occurs.
NotFound - if no operator client details 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. asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(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 operator client token.
Operation Errors:
Error - if any other error occurs.
NotFound - if no operator client details 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. asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.