public interface VmcaRoot extends Service, VmcaRootTypes
VmcaRoot
interface provides methods to replace VMware Certificate
Authority (VMCA) root certificate. This interface was added in vSphere API
6.9.1.VmcaRootTypes.CreateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
create(VmcaRootTypes.CreateSpec spec)
Replace Root Certificate with VMCA signed one using the given Spec.
|
void |
create(VmcaRootTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Replace Root Certificate with VMCA signed one using the given Spec.
|
void |
create(VmcaRootTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Replace Root Certificate with VMCA signed one using the given Spec.
|
void |
create(VmcaRootTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Replace Root Certificate with VMCA signed one using the given Spec.
|
void create(VmcaRootTypes.CreateSpec spec)
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
. This method was added in vSphere API 6.9.1.Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- The information needed to generate VMCA signed Root Certificate.
Default values will be set for all null parameters.Error
- If the system failed to renew the TLS certificate.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void create(VmcaRootTypes.CreateSpec spec, InvocationConfig invocationConfig)
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
. This method was added in vSphere API 6.9.1.Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- The information needed to generate VMCA signed Root Certificate.
Default values will be set for all null parameters.invocationConfig
- Configuration for the method invocation.Error
- If the system failed to renew the TLS certificate.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void create(VmcaRootTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
. This method was added in vSphere API 6.9.1.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- If the system failed to renew the TLS certificate.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to generate VMCA signed Root Certificate.
Default values will be set for all null parameters.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(VmcaRootTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
. This method was added in vSphere API 6.9.1.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- If the system failed to renew the TLS certificate.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to generate VMCA signed Root Certificate.
Default values will be set for all null parameters.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.