public class VmcaRootStub extends com.vmware.vapi.internal.bindings.Stub implements VmcaRoot
VmcaRoot
API service.
WARNING: Internal class, subject to change in future versions.
VmcaRootTypes.CreateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
VmcaRootStub(ApiProvider apiProvider,
StubConfigurationBase config) |
VmcaRootStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public VmcaRootStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public VmcaRootStub(ApiProvider apiProvider, StubConfigurationBase config)
public void create(VmcaRootTypes.CreateSpec spec)
VmcaRoot
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.
public void create(VmcaRootTypes.CreateSpec spec, InvocationConfig invocationConfig)
VmcaRoot
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.
public void create(VmcaRootTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
VmcaRoot
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
. public void create(VmcaRootTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
VmcaRoot
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
. create
in interface VmcaRoot
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.