public interface ClientCertificate extends Service, ClientCertificateTypes
ClientCertificate
interface provides methods to add and retrieve
client certificate. This interface was added in vSphere API 7.0.0.ClientCertificateTypes._VAPI_OPERATIONS, ClientCertificateTypes.Info, ClientCertificateTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(java.lang.String cluster,
java.lang.String provider)
Generate a new self signed client certificate.
|
void |
create_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
Generate a new self signed client certificate.
|
void |
create_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Generate a new self signed client certificate.
|
java.lang.String |
create_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
Generate a new self signed client certificate.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider)
Return the existing client certificate.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
Return the existing client certificate.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return the existing client certificate.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
Return the existing client certificate.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec)
Update the client certificate.
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Update the client certificate.
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Update the client certificate.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update the client certificate.
|
java.lang.String create_Task(java.lang.String cluster, java.lang.String provider)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
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
.InvalidArgument
- If cluster or provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.java.lang.String create_Task(java.lang.String cluster, java.lang.String provider, 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
- 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.InvalidArgument
- If cluster or provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.void create_Task(java.lang.String cluster, java.lang.String provider, 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:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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.void create_Task(java.lang.String cluster, java.lang.String provider, 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:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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.java.lang.String get_Task(java.lang.String cluster, java.lang.String provider)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
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
.InvalidArgument
- If cluster or provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.java.lang.String get_Task(java.lang.String cluster, java.lang.String provider, 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
- 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.InvalidArgument
- If cluster or provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.void get_Task(java.lang.String cluster, java.lang.String provider, 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:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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.void get_Task(java.lang.String cluster, java.lang.String provider, 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:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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.java.lang.String update_Task(java.lang.String cluster, java.lang.String provider, ClientCertificateTypes.UpdateSpec spec)
The key server will use this certificate to validate the client connection. If a client certificate already exists, it will be replaced.
An optional private key can be specified if the certificate has already been provisioned.
. This method was added in vSphere API 7.0.0.Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
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
- The update spec.InvalidArgument
- If the certificate or private key is invalid or cluster/provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.java.lang.String update_Task(java.lang.String cluster, java.lang.String provider, ClientCertificateTypes.UpdateSpec spec, InvocationConfig invocationConfig)
The key server will use this certificate to validate the client connection. If a client certificate already exists, it will be replaced.
An optional private key can be specified if the certificate has already been provisioned.
. This method was added in vSphere API 7.0.0.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
- 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
- The update spec.invocationConfig
- Configuration for the method invocation.InvalidArgument
- If the certificate or private key is invalid or cluster/provider id are empty.NotFound
- If the cluster or provider is not found.Unauthenticated
- If the caller is not authenticated.Error
- If any other error occurs.void update_Task(java.lang.String cluster, java.lang.String provider, ClientCertificateTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
The key server will use this certificate to validate the client connection. If a client certificate already exists, it will be replaced.
An optional private key can be specified if the certificate has already been provisioned.
. This method was added in vSphere API 7.0.0.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 certificate or private key is invalid or cluster/provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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
- The update spec.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update_Task(java.lang.String cluster, java.lang.String provider, ClientCertificateTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
The key server will use this certificate to validate the client connection. If a client certificate already exists, it will be replaced.
An optional private key can be specified if the certificate has already been provisioned.
. This method was added in vSphere API 7.0.0.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 certificate or private key is invalid or cluster/provider id are empty.
NotFound
- If the cluster or provider is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
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
- The update spec.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.