public class ProvidersStub extends com.vmware.vapi.internal.bindings.Stub implements Providers
Providers
API service.
WARNING: Internal class, subject to change in future versions.
ProvidersTypes._VAPI_OPERATIONS, ProvidersTypes.CreateSpec, ProvidersTypes.Health, ProvidersTypes.Info, ProvidersTypes.KeyServerCreateSpec, ProvidersTypes.KeyServerInfo, ProvidersTypes.KeyServerUpdateSpec, ProvidersTypes.KmipServerCreateSpec, ProvidersTypes.KmipServerInfo, ProvidersTypes.KmipServerUpdateSpec, ProvidersTypes.Server, ProvidersTypes.ServerInfo, ProvidersTypes.Status, ProvidersTypes.Summary, ProvidersTypes.UpdateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ProvidersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProvidersStub(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,
ProvidersTypes.CreateSpec spec)
Add a new Key Provider.
|
void |
create_Task(java.lang.String cluster,
ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Add a new Key Provider.
|
void |
create_Task(java.lang.String cluster,
ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Add a new Key Provider.
|
java.lang.String |
create_Task(java.lang.String cluster,
ProvidersTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Add a new Key Provider.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String provider)
Remove a Key Provider.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
Remove a Key Provider.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Remove a Key Provider.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
Remove a Key Provider.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider)
Return information about a Key Provider.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
Return information about a Key Provider.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return information about a Key Provider.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
Return information about a Key Provider.
|
java.lang.String |
list_Task(java.lang.String cluster)
Return a list of summary of Key Providers.
|
void |
list_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Return a list of summary of Key Providers.
|
void |
list_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return a list of summary of Key Providers.
|
java.lang.String |
list_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Return a list of summary of Key Providers.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
ProvidersTypes.UpdateSpec spec)
Update an existing Key Provider.
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Update an existing Key Provider.
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Update an existing Key Provider.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update an existing Key Provider.
|
public ProvidersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ProvidersStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String list_Task(java.lang.String cluster)
Providers
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
public java.lang.String list_Task(java.lang.String cluster, InvocationConfig invocationConfig)
Providers
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 Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void list_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback)
Providers
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:
InvalidArgument
- If the cluster id is empty.
NotFound
- If the cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
public void list_Task(java.lang.String cluster, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
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:
InvalidArgument
- If the cluster id is empty.
NotFound
- If the cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
list_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create_Task(java.lang.String cluster, ProvidersTypes.CreateSpec spec)
Providers
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Provider information.public java.lang.String create_Task(java.lang.String cluster, ProvidersTypes.CreateSpec spec, InvocationConfig invocationConfig)
Providers
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 Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Provider information.invocationConfig
- Configuration for the method invocation.public void create_Task(java.lang.String cluster, ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Providers
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 the provider already exists.
InvalidArgument
- If the spec is invalid or cluster id is empty.
NotFound
- If the cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
create_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create_Task(java.lang.String cluster, ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
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 the provider already exists.
InvalidArgument
- If the spec is invalid or cluster id is empty.
NotFound
- If the cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
create_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String update_Task(java.lang.String cluster, java.lang.String provider, ProvidersTypes.UpdateSpec spec)
Providers
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
update_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.spec
- Provider information.public java.lang.String update_Task(java.lang.String cluster, java.lang.String provider, ProvidersTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Providers
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.
update_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.spec
- Provider information.invocationConfig
- Configuration for the method invocation.public void update_Task(java.lang.String cluster, java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty, or the spec is invalid.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
update_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update_Task(java.lang.String cluster, java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty, or the spec is invalid.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
update_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.spec
- Provider 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 provider)
Providers
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
delete_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.public java.lang.String delete_Task(java.lang.String cluster, java.lang.String provider, InvocationConfig invocationConfig)
Providers
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 Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.invocationConfig
- Configuration for the method invocation.public void delete_Task(java.lang.String cluster, java.lang.String provider, AsyncCallback<java.lang.String> asyncCallback)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
delete_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete_Task(java.lang.String cluster, java.lang.String provider, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
delete_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.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 provider)
Providers
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
get_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.public java.lang.String get_Task(java.lang.String cluster, java.lang.String provider, InvocationConfig invocationConfig)
Providers
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 Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.invocationConfig
- Configuration for the method invocation.public void get_Task(java.lang.String cluster, java.lang.String provider, AsyncCallback<java.lang.String> asyncCallback)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
get_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get_Task(java.lang.String cluster, java.lang.String provider, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
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:
InvalidArgument
- If the cluster or provider id is empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- For any other error.
get_Task
in interface Providers
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.