public class ClientCertificateStub extends com.vmware.vapi.internal.bindings.Stub implements ClientCertificate
ClientCertificate
API service.
WARNING: Internal class, subject to change in future versions.
ClientCertificateTypes._VAPI_OPERATIONS, ClientCertificateTypes.Info, ClientCertificateTypes.UpdateSpecapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ClientCertificateStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ClientCertificateStub(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,
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.
|
public ClientCertificateStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ClientCertificateStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String cluster,
java.lang.String provider)
ClientCertificateSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task in interface ClientCertificatecluster - 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 create_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
ClientCertificateSynchronous 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 ClientCertificatecluster - 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 create_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
ClientCertificateAsynchronous 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.
create_Task in interface ClientCertificatecluster - 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 create_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
ClientCertificateAsynchronous 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.
create_Task in interface ClientCertificatecluster - 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)
ClientCertificateSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
get_Task in interface ClientCertificatecluster - 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)
ClientCertificateSynchronous 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 ClientCertificatecluster - 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)
ClientCertificateAsynchronous 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.
get_Task in interface ClientCertificatecluster - 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)
ClientCertificateAsynchronous 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.
get_Task in interface ClientCertificatecluster - 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 update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec)
ClientCertificateThe 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.0.Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
update_Task in interface ClientCertificatecluster - 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.public java.lang.String update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
ClientCertificateThe 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.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.
update_Task in interface ClientCertificatecluster - 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.public void update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
ClientCertificateThe 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.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.
update_Task in interface ClientCertificatecluster - 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.public void update_Task(java.lang.String cluster,
java.lang.String provider,
ClientCertificateTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
ClientCertificateThe 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.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.
update_Task in interface ClientCertificatecluster - 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.