public interface CurrentPeerCertificates extends Service, CurrentPeerCertificatesTypes
TrustedPeerCertificates
interface. This interface was added in vSphere API 7.0.0.0.CurrentPeerCertificatesTypes._VAPI_OPERATIONS, CurrentPeerCertificatesTypes.FilterSpec, CurrentPeerCertificatesTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
list_Task(java.lang.String cluster,
java.lang.String provider,
CurrentPeerCertificatesTypes.FilterSpec spec)
Return the remote server certificates.
|
void |
list_Task(java.lang.String cluster,
java.lang.String provider,
CurrentPeerCertificatesTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Return the remote server certificates.
|
void |
list_Task(java.lang.String cluster,
java.lang.String provider,
CurrentPeerCertificatesTypes.FilterSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return the remote server certificates.
|
java.lang.String |
list_Task(java.lang.String cluster,
java.lang.String provider,
CurrentPeerCertificatesTypes.FilterSpec spec,
InvocationConfig invocationConfig)
Return the remote server certificates.
|
java.lang.String list_Task(java.lang.String cluster, java.lang.String provider, CurrentPeerCertificatesTypes.FilterSpec spec)
Contacts the configured key servers and attempts to retrieve their certificates. These certificates might not yet be trusted.
If the returned certificates are to be considered trustworthy,
then it must be added to the list of trusted server certificates by adding to
the certificates returned by com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#get
and invoking com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#update
with the updated List
of certificates.
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
- Filter spec.
If null
, the behavior is equivalent to a CurrentPeerCertificatesTypes.FilterSpec
with all properties null
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.java.lang.String list_Task(java.lang.String cluster, java.lang.String provider, CurrentPeerCertificatesTypes.FilterSpec spec, InvocationConfig invocationConfig)
Contacts the configured key servers and attempts to retrieve their certificates. These certificates might not yet be trusted.
If the returned certificates are to be considered trustworthy,
then it must be added to the list of trusted server certificates by adding to
the certificates returned by com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#get
and invoking com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#update
with the updated List
of certificates.
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
- Filter spec.
If null
, the behavior is equivalent to a CurrentPeerCertificatesTypes.FilterSpec
with all properties null
invocationConfig
- Configuration for the method invocation.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.void list_Task(java.lang.String cluster, java.lang.String provider, CurrentPeerCertificatesTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Contacts the configured key servers and attempts to retrieve their certificates. These certificates might not yet be trusted.
If the returned certificates are to be considered trustworthy,
then it must be added to the list of trusted server certificates by adding to
the certificates returned by com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#get
and invoking com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#update
with the updated List
of certificates.
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.
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
- Filter spec.
If null
, the behavior is equivalent to a CurrentPeerCertificatesTypes.FilterSpec
with all properties null
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list_Task(java.lang.String cluster, java.lang.String provider, CurrentPeerCertificatesTypes.FilterSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Contacts the configured key servers and attempts to retrieve their certificates. These certificates might not yet be trusted.
If the returned certificates are to be considered trustworthy,
then it must be added to the list of trusted server certificates by adding to
the certificates returned by com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#get
and invoking com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.providers.TrustedPeerCertificates#update
with the updated List
of certificates.
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.
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
- Filter spec.
If null
, the behavior is equivalent to a CurrentPeerCertificatesTypes.FilterSpec
with all properties null
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.