TlsTypes.Info, TlsTypes.ReplaceSpec, TlsTypes.Spec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
TlsTypes.Info |
get()
Returns the rhttpproxy TLS certificate.
|
void |
get(AsyncCallback<TlsTypes.Info> asyncCallback)
Returns the rhttpproxy TLS certificate.
|
void |
get(AsyncCallback<TlsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the rhttpproxy TLS certificate.
|
TlsTypes.Info |
get(InvocationConfig invocationConfig)
Returns the rhttpproxy TLS certificate.
|
void |
renew(java.lang.Long duration)
Renews the TLS certificate for the given duration period.
|
void |
renew(java.lang.Long duration,
AsyncCallback<java.lang.Void> asyncCallback)
Renews the TLS certificate for the given duration period.
|
void |
renew(java.lang.Long duration,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Renews the TLS certificate for the given duration period.
|
void |
renew(java.lang.Long duration,
InvocationConfig invocationConfig)
Renews the TLS certificate for the given duration period.
|
void |
replaceVmcaSigned(TlsTypes.ReplaceSpec spec)
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go
for restart.
|
void |
replaceVmcaSigned(TlsTypes.ReplaceSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go
for restart.
|
void |
replaceVmcaSigned(TlsTypes.ReplaceSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go
for restart.
|
void |
replaceVmcaSigned(TlsTypes.ReplaceSpec spec,
InvocationConfig invocationConfig)
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go
for restart.
|
void |
set(TlsTypes.Spec spec)
Replaces the rhttpproxy TLS certificate with the specified certificate.
|
void |
set(TlsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Replaces the rhttpproxy TLS certificate with the specified certificate.
|
void |
set(TlsTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Replaces the rhttpproxy TLS certificate with the specified certificate.
|
void |
set(TlsTypes.Spec spec,
InvocationConfig invocationConfig)
Replaces the rhttpproxy TLS certificate with the specified certificate.
|
void set(TlsTypes.Spec spec)
TlsTypes.Spec.getCert()
(but not TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
and
TlsTypes.Spec.getKey()
(but not TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
,TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
must be provided as input. The above three scenarios are only supported from vsphere 7.0 onwards.
. This method was added in vSphere API 6.7.2.Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- The information needed to replace the TLS certificate.NotFound
- If the private key is not present in the VECS store.AlreadyExists
- If the specified certificate thumbprint is the same as the existing TLS
certificate thumbprint.Error
- If the system failed to replace the TLS certificate.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void set(TlsTypes.Spec spec, InvocationConfig invocationConfig)
TlsTypes.Spec.getCert()
(but not TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
and
TlsTypes.Spec.getKey()
(but not TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
,TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
must be provided as input. The above three scenarios are only supported from vsphere 7.0 onwards.
. This method was added in vSphere API 6.7.2.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 replace the TLS certificate.invocationConfig
- Configuration for the method invocation.NotFound
- If the private key is not present in the VECS store.AlreadyExists
- If the specified certificate thumbprint is the same as the existing TLS
certificate thumbprint.Error
- If the system failed to replace the TLS certificate.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void set(TlsTypes.Spec spec, AsyncCallback<java.lang.Void> asyncCallback)
TlsTypes.Spec.getCert()
(but not TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
and
TlsTypes.Spec.getKey()
(but not TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
,TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
must be provided as input. The above three scenarios are only supported from vsphere 7.0 onwards.
. This method was added in vSphere API 6.7.2.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- If the private key is not present in the VECS store.
AlreadyExists
- If the specified certificate thumbprint is the same as the existing TLS
certificate thumbprint.
Error
- If the system failed to replace the TLS certificate.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to replace the TLS certificate.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(TlsTypes.Spec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
TlsTypes.Spec.getCert()
(but not TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
and
TlsTypes.Spec.getKey()
(but not TlsTypes.Spec.getRootCert()
)
must be provided as input. TlsTypes.Spec.getCert()
,TlsTypes.Spec.getKey()
and
TlsTypes.Spec.getRootCert()
must be provided as input. The above three scenarios are only supported from vsphere 7.0 onwards.
. This method was added in vSphere API 6.7.2.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:
NotFound
- If the private key is not present in the VECS store.
AlreadyExists
- If the specified certificate thumbprint is the same as the existing TLS
certificate thumbprint.
Error
- If the system failed to replace the TLS certificate.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to replace the TLS certificate.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TlsTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
NotFound
- if the rhttpproxy certificate is not present in VECS store.Error
- if failed due to generic exception.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. TlsTypes.Info get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.NotFound
- if the rhttpproxy certificate is not present in VECS store.Error
- if failed due to generic exception.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void get(AsyncCallback<TlsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
TLS certificate.
Operation Errors:
NotFound
- if the rhttpproxy certificate is not present in VECS store.
Error
- if failed due to generic exception.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<TlsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
TLS certificate.
Operation Errors:
NotFound
- if the rhttpproxy certificate is not present in VECS store.
Error
- if failed due to generic exception.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void renew(java.lang.Long duration)
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.7.2.Synchronous method overload. Result of the invocation will be reported as a method return value.
duration
- The duration (in days) of the new TLS certificate. The duration should be less
than or equal to 730 days.
If null
, the duration will be 730 days (two years).Unsupported
- If the TLS certificate is not VMCA generated.InvalidArgument
- If the duration period specified is invalid.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 renew(java.lang.Long duration, 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.7.2.Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
duration
- The duration (in days) of the new TLS certificate. The duration should be less
than or equal to 730 days.
If null
, the duration will be 730 days (two years).invocationConfig
- Configuration for the method invocation.Unsupported
- If the TLS certificate is not VMCA generated.InvalidArgument
- If the duration period specified is invalid.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 renew(java.lang.Long duration, 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.7.2.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unsupported
- If the TLS certificate is not VMCA generated.
InvalidArgument
- If the duration period specified is invalid.
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
. duration
- The duration (in days) of the new TLS certificate. The duration should be less
than or equal to 730 days.
If null
, the duration will be 730 days (two years).asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void renew(java.lang.Long duration, 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.7.2.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:
Unsupported
- If the TLS certificate is not VMCA generated.
InvalidArgument
- If the duration period specified is invalid.
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
. duration
- The duration (in days) of the new TLS certificate. The duration should be less
than or equal to 730 days.
If null
, the duration will be 730 days (two years).asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void replaceVmcaSigned(TlsTypes.ReplaceSpec 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 Machine SSLInvalidArgument
- If the Spec given is not complete or invalidError
- If the system failed to replace the machine ssl certificateUnauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void replaceVmcaSigned(TlsTypes.ReplaceSpec 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 Machine SSLinvocationConfig
- Configuration for the method invocation.InvalidArgument
- If the Spec given is not complete or invalidError
- If the system failed to replace the machine ssl certificateUnauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void replaceVmcaSigned(TlsTypes.ReplaceSpec 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:
InvalidArgument
- If the Spec given is not complete or invalid
Error
- If the system failed to replace the machine ssl certificate
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to generate VMCA signed Machine SSLasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void replaceVmcaSigned(TlsTypes.ReplaceSpec 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:
InvalidArgument
- If the Spec given is not complete or invalid
Error
- If the system failed to replace the machine ssl certificate
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- The information needed to generate VMCA signed Machine SSLasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.