public interface CaCertificates extends Service, CaCertificatesTypes
CaCertificates
interface provides methods to manage Trusted Platform
Module (TPM) CA certificates.
Endorsement Keys are typically packaged in a certificate that is signed by a certificate authority (CA). This interface allows the CA certificate to be registered with the Attestation Service in order to validate TPM EK certificates when presented at attestation time.
. This interface was added in vSphere API 7.0.0.0.CaCertificatesTypes._VAPI_OPERATIONS, CaCertificatesTypes.CreateSpec, CaCertificatesTypes.Health, CaCertificatesTypes.Info, CaCertificatesTypes.Summary
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create_Task(java.lang.String cluster,
CaCertificatesTypes.CreateSpec spec)
Add a new TPM CA certificate on a cluster.
|
void |
create_Task(java.lang.String cluster,
CaCertificatesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Add a new TPM CA certificate on a cluster.
|
void |
create_Task(java.lang.String cluster,
CaCertificatesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Add a new TPM CA certificate on a cluster.
|
java.lang.String |
create_Task(java.lang.String cluster,
CaCertificatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Add a new TPM CA certificate on a cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String name)
Remove a TPM CA certificate on a cluster.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String name,
AsyncCallback<java.lang.String> asyncCallback)
Remove a TPM CA certificate on a cluster.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String name,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Remove a TPM CA certificate on a cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String name,
InvocationConfig invocationConfig)
Remove a TPM CA certificate on a cluster.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String name)
Get the TPM CA certificate details on a cluster.
|
void |
get_Task(java.lang.String cluster,
java.lang.String name,
AsyncCallback<java.lang.String> asyncCallback)
Get the TPM CA certificate details on a cluster.
|
void |
get_Task(java.lang.String cluster,
java.lang.String name,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Get the TPM CA certificate details on a cluster.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String name,
InvocationConfig invocationConfig)
Get the TPM CA certificate details on a cluster.
|
java.lang.String |
list_Task(java.lang.String cluster)
Return a list of configured TPM CA certificates on a cluster.
|
void |
list_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Return a list of configured TPM CA certificates on a cluster.
|
void |
list_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return a list of configured TPM CA certificates on a cluster.
|
java.lang.String |
list_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Return a list of configured TPM CA certificates on a cluster.
|
java.lang.String list_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Error
- if there is a generic error.InvalidArgument
- if cluster id is empty.NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.Unauthenticated
- if the caller is not authenticated.java.lang.String list_Task(java.lang.String cluster, 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 cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if cluster id is empty.NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.Unauthenticated
- if the caller is not authenticated.void list_Task(java.lang.String cluster, 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.
InvalidArgument
- if cluster id is empty.
NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list_Task(java.lang.String cluster, 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.
InvalidArgument
- if cluster id is empty.
NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
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.java.lang.String create_Task(java.lang.String cluster, CaCertificatesTypes.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 cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The new CA certificate details.AlreadyExists
- if the certificate name exists.Error
- if there is a generic error.InvalidArgument
- if the configuration is invalid or the cluster id is empty.NotFound
- if cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.java.lang.String create_Task(java.lang.String cluster, CaCertificatesTypes.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 cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The new CA certificate details.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the certificate name exists.Error
- if there is a generic error.InvalidArgument
- if the configuration is invalid or the cluster id is empty.NotFound
- if cluster
doesn't match to any cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.void create_Task(java.lang.String cluster, CaCertificatesTypes.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 the certificate name exists.
Error
- if there is a generic error.
InvalidArgument
- if the configuration is invalid or the cluster id is empty.
NotFound
- if cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The new CA certificate details.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create_Task(java.lang.String cluster, CaCertificatesTypes.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 the certificate name exists.
Error
- if there is a generic error.
InvalidArgument
- if the configuration is invalid or the cluster id is empty.
NotFound
- if cluster
doesn't match to any cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- The new CA certificate details.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 name)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.Error
- if there is a generic error.InvalidArgument
- if the name is invalid or cluster id is empty.NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.Unauthenticated
- if the caller is not authenticated.java.lang.String delete_Task(java.lang.String cluster, java.lang.String name, 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 cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the name is invalid or cluster id is empty.NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.Unauthenticated
- if the caller is not authenticated.void delete_Task(java.lang.String cluster, java.lang.String name, 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.
InvalidArgument
- if the name is invalid or cluster id is empty.
NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete_Task(java.lang.String cluster, java.lang.String name, 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.
InvalidArgument
- if the name is invalid or cluster id is empty.
NotFound
- if the cluster
doesn't match to any cluster in the vCenter or given name
is not found.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.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 name)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.Error
- if there is a generic error.InvalidArgument
- if the name is invalid or cluster id is empty.NotFound
- if the CA certificate is not found or cluster
doesn't match to any
cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.java.lang.String get_Task(java.lang.String cluster, java.lang.String name, 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 cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the name is invalid or cluster id is empty.NotFound
- if the CA certificate is not found or cluster
doesn't match to any
cluster in the vCenter.Unauthenticated
- if the caller is not authenticated.void get_Task(java.lang.String cluster, java.lang.String name, 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.
InvalidArgument
- if the name is invalid or cluster id is empty.
NotFound
- if the CA certificate is not found or cluster
doesn't match to any
cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get_Task(java.lang.String cluster, java.lang.String name, 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.
InvalidArgument
- if the name is invalid or cluster id is empty.
NotFound
- if the CA certificate is not found or cluster
doesn't match to any
cluster in the vCenter.
Unauthenticated
- if the caller is not authenticated.
cluster
- The id of the cluster on which the operation will be executed.
The parameter must be an identifier for the resource type: ClusterComputeResource
.name
- The CA certificate name.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificate
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.