public class ConsumerPrincipalsStub extends com.vmware.vapi.internal.bindings.Stub implements ConsumerPrincipals
ConsumerPrincipals
API service.
WARNING: Internal class, subject to change in future versions.
ConsumerPrincipalsTypes._VAPI_OPERATIONS, ConsumerPrincipalsTypes.CreateSpec, ConsumerPrincipalsTypes.FilterSpec, ConsumerPrincipalsTypes.Health, ConsumerPrincipalsTypes.Info, ConsumerPrincipalsTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConsumerPrincipalsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConsumerPrincipalsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public ConsumerPrincipalsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConsumerPrincipalsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec)
ConsumerPrincipals
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task
in interface ConsumerPrincipals
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.public java.lang.String create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
create_Task
in interface ConsumerPrincipals
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.public void create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
ConsumerPrincipals
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.
create_Task
in interface ConsumerPrincipals
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.public void create_Task(java.lang.String cluster, ConsumerPrincipalsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
create_Task
in interface ConsumerPrincipals
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.public java.lang.String delete_Task(java.lang.String cluster, java.lang.String profile)
ConsumerPrincipals
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
delete_Task
in interface ConsumerPrincipals
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
.public java.lang.String delete_Task(java.lang.String cluster, java.lang.String profile, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
delete_Task
in interface ConsumerPrincipals
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.public void delete_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback)
ConsumerPrincipals
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.
delete_Task
in interface ConsumerPrincipals
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.public void delete_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
delete_Task
in interface ConsumerPrincipals
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.public java.lang.String get_Task(java.lang.String cluster, java.lang.String profile)
ConsumerPrincipals
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
get_Task
in interface ConsumerPrincipals
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
.public java.lang.String get_Task(java.lang.String cluster, java.lang.String profile, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
get_Task
in interface ConsumerPrincipals
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.public void get_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback)
ConsumerPrincipals
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.
get_Task
in interface ConsumerPrincipals
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.public void get_Task(java.lang.String cluster, java.lang.String profile, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
get_Task
in interface ConsumerPrincipals
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.public java.lang.String list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec)
ConsumerPrincipals
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
list_Task
in interface ConsumerPrincipals
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.public java.lang.String list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
list_Task
in interface ConsumerPrincipals
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.public void list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback)
ConsumerPrincipals
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.
list_Task
in interface ConsumerPrincipals
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.public void list_Task(java.lang.String cluster, ConsumerPrincipalsTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConsumerPrincipals
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.
list_Task
in interface ConsumerPrincipals
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.