public interface TrustedPeerCertificates extends Service, TrustedPeerCertificatesTypes
To obtain the currently used TLS
certificates use the CurrentPeerCertificates
interface
TrustedPeerCertificatesTypes._VAPI_OPERATIONS, TrustedPeerCertificatesTypes.Info, TrustedPeerCertificatesTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider)
Return the list of trusted server certificates.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback)
Return the list of trusted server certificates.
|
void |
get_Task(java.lang.String cluster,
java.lang.String provider,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Return the list of trusted server certificates.
|
java.lang.String |
get_Task(java.lang.String cluster,
java.lang.String provider,
InvocationConfig invocationConfig)
Return the list of trusted server certificates.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
TrustedPeerCertificatesTypes.UpdateSpec spec)
Update trusted server certificate(s).
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
TrustedPeerCertificatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Update trusted server certificate(s).
|
void |
update_Task(java.lang.String cluster,
java.lang.String provider,
TrustedPeerCertificatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Update trusted server certificate(s).
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String provider,
TrustedPeerCertificatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update trusted server certificate(s).
|
java.lang.String update_Task(java.lang.String cluster, java.lang.String provider, TrustedPeerCertificatesTypes.UpdateSpec spec)
The client will use these certificates to validate the server connection. The existing list of trusted certificates will be overwritten.
The client will not trust the server connection until a server certificate has been set.
. 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.
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 specInvalidArgument
- If one or more certificates are invalid or the cluster/provider Id is 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, TrustedPeerCertificatesTypes.UpdateSpec spec, InvocationConfig invocationConfig)
The client will use these certificates to validate the server connection. The existing list of trusted certificates will be overwritten.
The client will not trust the server connection until a server certificate has been set.
. 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.
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 specinvocationConfig
- Configuration for the method invocation.InvalidArgument
- If one or more certificates are invalid or the cluster/provider Id is 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, TrustedPeerCertificatesTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
The client will use these certificates to validate the server connection. The existing list of trusted certificates will be overwritten.
The client will not trust the server connection until a server certificate has been set.
. 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 one or more certificates are invalid or the cluster/provider Id is 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 specasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update_Task(java.lang.String cluster, java.lang.String provider, TrustedPeerCertificatesTypes.UpdateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
The client will use these certificates to validate the server connection. The existing list of trusted certificates will be overwritten.
The client will not trust the server connection until a server certificate has been set.
. 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 one or more certificates are invalid or the cluster/provider Id is 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 specasyncCallback
- 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.