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