public interface Principal extends Service, PrincipalTypes
Principal
interface contains information about the certificates
which sign the tokens used by vCenter for authentication. This interface was
added in vSphere API 7.0.0.0.PrincipalTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
PrincipalTypes.Info |
get()
Returns information about the STS used by this vCenter instance.
|
void |
get(AsyncCallback<PrincipalTypes.Info> asyncCallback)
Returns information about the STS used by this vCenter instance.
|
void |
get(AsyncCallback<PrincipalTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the STS used by this vCenter instance.
|
PrincipalTypes.Info |
get(InvocationConfig invocationConfig)
Returns information about the STS used by this vCenter instance.
|
PrincipalTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if there is a generic error.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadStsInfo
. PrincipalTypes.Info 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.Error
- if there is a generic error.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadStsInfo
. void get(AsyncCallback<PrincipalTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<PrincipalTypes.Info> 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:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.