public interface ConsumerPrincipals extends Service, ConsumerPrincipalsTypes
ConsumerPrincipals
interface configures the token policies and STS
trust necessary for the workload vCenter to query the trusted services for their
status. This interface was added in vSphere API 7.0.0.ConsumerPrincipalsTypes._VAPI_OPERATIONS, ConsumerPrincipalsTypes.CreateSpec, ConsumerPrincipalsTypes.FilterSpec, ConsumerPrincipalsTypes.Health, ConsumerPrincipalsTypes.Info, ConsumerPrincipalsTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.CreateSpec spec)
Creates a profile with the specified connection information on all hosts from a
Trust Authority Cluster.
|
void |
create_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a profile with the specified connection information on all hosts from a
Trust Authority Cluster.
|
void |
create_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a profile with the specified connection information on all hosts from a
Trust Authority Cluster.
|
java.lang.String |
create_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a profile with the specified connection information on all hosts from a
Trust Authority Cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String profile)
Removes the read-only policy configured on ESX for a specific principal.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String profile,
AsyncCallback<java.lang.String> asyncCallback)
Removes the read-only policy configured on ESX for a specific principal.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String profile,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Removes the read-only policy configured on ESX for a specific principal.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String profile,
InvocationConfig invocationConfig)
Removes the read-only policy configured on ESX for a specific principal.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String profile)
Retrieve information for a specific profile.
|
void |
get_Task(java.lang.String cluster,
java.lang.String profile,
AsyncCallback<java.lang.String> asyncCallback)
Retrieve information for a specific profile.
|
void |
get_Task(java.lang.String cluster,
java.lang.String profile,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Retrieve information for a specific profile.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String profile,
InvocationConfig invocationConfig)
Retrieve information for a specific profile.
|
java.lang.String |
list_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.FilterSpec spec)
Lists all policies configured on a specific cluster.
|
void |
list_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Lists all policies configured on a specific cluster.
|
void |
list_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Lists all policies configured on a specific cluster.
|
java.lang.String |
list_Task(java.lang.String cluster,
ConsumerPrincipalsTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Lists all policies configured on a specific cluster.
|
java.lang.String create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The CreateSpec specifying the connection information.AlreadyExists
- if a profile for the issuer already exists.Error
- if there is a generic error.NotFound
- if there is no such cluster.Unauthenticated
- if the user can not be authenticated.java.lang.String create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The CreateSpec specifying the connection information.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a profile for the issuer already exists.Error
- if there is a generic error.NotFound
- if there is no such cluster.Unauthenticated
- if the user can not be authenticated.void create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
AlreadyExists
- if a profile for the issuer already exists.
Error
- if there is a generic error.
NotFound
- if there is no such cluster.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The CreateSpec specifying the connection information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
AlreadyExists
- if a profile for the issuer already exists.
Error
- if there is a generic error.
NotFound
- if there is no such cluster.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The CreateSpec specifying the connection information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String delete_Task(java.lang.String cluster, java.lang.String profile)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the connection profile to modify.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.java.lang.String delete_Task(java.lang.String cluster, java.lang.String profile, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the connection profile to modify.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.void delete_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the connection profile to modify.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster to configure.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the connection profile to modify.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String get_Task(java.lang.String cluster, java.lang.String profile)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the profile.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.java.lang.String get_Task(java.lang.String cluster, java.lang.String profile, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the profile.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.void get_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the profile.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.profile
- The ID of the profile.
The parameter must be an identifier for the resource type: com.vmware.esx.authentication.clientprofile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- A FilterSpec specifying the profiles to be listed.
If return all policies.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.java.lang.String list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- A FilterSpec specifying the profiles to be listed.
If return all policies.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.NotFound
- if there is no profile configured with that ID.Unauthenticated
- if the user can not be authenticated.void list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- A FilterSpec specifying the profiles to be listed.
If return all policies.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is a generic error.
NotFound
- if there is no profile configured with that ID.
Unauthenticated
- if the user can not be authenticated.
cluster
- The ID of the Trust Authority Cluster on which the profile is configured.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- A FilterSpec specifying the profiles to be listed.
If return all policies.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.