public class CertificatesStub extends com.vmware.vapi.internal.bindings.Stub implements Certificates
Certificates
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, APPLYCERTIFICATE_SERVICE_TYPE_ANALYTICS_AGENT, APPLYCERTIFICATE_SERVICE_TYPE_ANALYTICS_KAFKA, APPLYCERTIFICATE_SERVICE_TYPE_APH, APPLYCERTIFICATE_SERVICE_TYPE_APH_TN, APPLYCERTIFICATE_SERVICE_TYPE_API, APPLYCERTIFICATE_SERVICE_TYPE_CBM_API, APPLYCERTIFICATE_SERVICE_TYPE_CBM_AR, APPLYCERTIFICATE_SERVICE_TYPE_CBM_CCP, APPLYCERTIFICATE_SERVICE_TYPE_CBM_CLUSTER_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_CBM_CM_INVENTORY, APPLYCERTIFICATE_SERVICE_TYPE_CBM_CORFU, APPLYCERTIFICATE_SERVICE_TYPE_CBM_CSM, APPLYCERTIFICATE_SERVICE_TYPE_CBM_GM, APPLYCERTIFICATE_SERVICE_TYPE_CBM_IDPS_REPORTING, APPLYCERTIFICATE_SERVICE_TYPE_CBM_MESSAGING_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_CBM_MONITORING, APPLYCERTIFICATE_SERVICE_TYPE_CBM_MP, APPLYCERTIFICATE_SERVICE_TYPE_CBM_SITE_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_CBM_SITE_PROXY_CLIENT, APPLYCERTIFICATE_SERVICE_TYPE_CBM_UPGRADE_COORDINATOR, APPLYCERTIFICATE_SERVICE_TYPE_CCP, APPLYCERTIFICATE_SERVICE_TYPE_CLIENT_AUTH, APPLYCERTIFICATE_SERVICE_TYPE_COMPUTE_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_GLOBAL_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_K8S_MSG_CLIENT, APPLYCERTIFICATE_SERVICE_TYPE_LOCAL_MANAGER, APPLYCERTIFICATE_SERVICE_TYPE_MGMT_CLUSTER, APPLYCERTIFICATE_SERVICE_TYPE_MGMT_PLANE, APPLYCERTIFICATE_SERVICE_TYPE_NOTIFICATION_COLLECTOR, APPLYCERTIFICATE_SERVICE_TYPE_RMQ, APPLYCERTIFICATE_SERVICE_TYPE_RSYSLOG_CLIENT, APPLYCERTIFICATE_SERVICE_TYPE_SYSLOG_SERVER, APPLYCERTIFICATE_SERVICE_TYPE_WEB_PROXY, LIST_TYPE_API_CERTIFICATE, LIST_TYPE_CLUSTER_API_CERTIFICATE, VALIDATE_USAGE_CLIENT, VALIDATE_USAGE_SERVER
Constructor and Description |
---|
CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
applycertificate(java.lang.String certId,
java.lang.String serviceType,
java.lang.String nodeId)
Look up the Certificate Profile matching the service-type and apply the
certificate.
|
void |
applycertificate(java.lang.String certId,
java.lang.String serviceType,
java.lang.String nodeId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Look up the Certificate Profile matching the service-type and apply the
certificate.
|
void |
applycertificate(java.lang.String certId,
java.lang.String serviceType,
java.lang.String nodeId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Look up the Certificate Profile matching the service-type and apply the
certificate.
|
void |
applycertificate(java.lang.String certId,
java.lang.String serviceType,
java.lang.String nodeId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Look up the Certificate Profile matching the service-type and apply the
certificate.
|
void |
delete(java.lang.String certId)
Removes the specified certificate.
|
void |
delete(java.lang.String certId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes the specified certificate.
|
void |
delete(java.lang.String certId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes the specified certificate.
|
void |
delete(java.lang.String certId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes the specified certificate.
|
PeerCertificateChain |
fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint)
Attempt to connect to an TLS service endpoint and retrieve the server
certificate chain it presents.
|
void |
fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint,
com.vmware.vapi.bindings.client.AsyncCallback<PeerCertificateChain> asyncCallback)
Attempt to connect to an TLS service endpoint and retrieve the server
certificate chain it presents.
|
void |
fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint,
com.vmware.vapi.bindings.client.AsyncCallback<PeerCertificateChain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Attempt to connect to an TLS service endpoint and retrieve the server
certificate chain it presents.
|
PeerCertificateChain |
fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Attempt to connect to an TLS service endpoint and retrieve the server
certificate chain it presents.
|
Certificate |
get(java.lang.String certId,
java.lang.Boolean details)
Returns information for the specified certificate ID, including the
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
void |
get(java.lang.String certId,
java.lang.Boolean details,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Returns information for the specified certificate ID, including the
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
void |
get(java.lang.String certId,
java.lang.Boolean details,
com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information for the specified certificate ID, including the
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
Certificate |
get(java.lang.String certId,
java.lang.Boolean details,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information for the specified certificate ID, including the
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
CertificateList |
importcertificate(TrustObjectData trustObjectData)
Adds a new private-public certificate or a chain of certificates (CAs) and,
optionally, a private key that can be applied to one of the user-facing
components (appliance management or edge).
|
void |
importcertificate(TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Adds a new private-public certificate or a chain of certificates (CAs) and,
optionally, a private key that can be applied to one of the user-facing
components (appliance management or edge).
|
void |
importcertificate(TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate or a chain of certificates (CAs) and,
optionally, a private key that can be applied to one of the user-facing
components (appliance management or edge).
|
CertificateList |
importcertificate(TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate or a chain of certificates (CAs) and,
optionally, a private key that can be applied to one of the user-facing
components (appliance management or edge).
|
void |
importtrustedca(java.lang.String alias,
TrustObjectData trustObjectData)
Add a CA certificate as a trust anchor
|
void |
importtrustedca(java.lang.String alias,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Add a CA certificate as a trust anchor
|
void |
importtrustedca(java.lang.String alias,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a CA certificate as a trust anchor
|
void |
importtrustedca(java.lang.String alias,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a CA certificate as a trust anchor
|
CertificateList |
list(java.lang.String cursor,
java.lang.Boolean details,
java.lang.String includedFields,
java.lang.String nodeId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type)
Returns all certificate information viewable by the user, including each
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
void |
list(java.lang.String cursor,
java.lang.Boolean details,
java.lang.String includedFields,
java.lang.String nodeId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Returns all certificate information viewable by the user, including each
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
void |
list(java.lang.String cursor,
java.lang.Boolean details,
java.lang.String includedFields,
java.lang.String nodeId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all certificate information viewable by the user, including each
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
CertificateList |
list(java.lang.String cursor,
java.lang.Boolean details,
java.lang.String includedFields,
java.lang.String nodeId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all certificate information viewable by the user, including each
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when).
|
void |
setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest)
Set a certificate that has been imported to be the Appliance Proxy certificate
used for communicating with Appliance Proxies on other sites.
|
void |
setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set a certificate that has been imported to be the Appliance Proxy certificate
used for communicating with Appliance Proxies on other sites.
|
void |
setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set a certificate that has been imported to be the Appliance Proxy certificate
used for communicating with Appliance Proxies on other sites.
|
void |
setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set a certificate that has been imported to be the Appliance Proxy certificate
used for communicating with Appliance Proxies on other sites.
|
void |
setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest)
Set a certificate that has been imported to be either the principal identity
certificate for the local cluster with either GM or LM service type.
|
void |
setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set a certificate that has been imported to be either the principal identity
certificate for the local cluster with either GM or LM service type.
|
void |
setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set a certificate that has been imported to be either the principal identity
certificate for the local cluster with either GM or LM service type.
|
void |
setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set a certificate that has been imported to be either the principal identity
certificate for the local cluster with either GM or LM service type.
|
CertificateCheckingStatus |
validate(java.lang.String certId,
java.lang.String usage)
Checks whether certificate is valid.
|
void |
validate(java.lang.String certId,
java.lang.String usage,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateCheckingStatus> asyncCallback)
Checks whether certificate is valid.
|
void |
validate(java.lang.String certId,
java.lang.String usage,
com.vmware.vapi.bindings.client.AsyncCallback<CertificateCheckingStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Checks whether certificate is valid.
|
CertificateCheckingStatus |
validate(java.lang.String certId,
java.lang.String usage,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Checks whether certificate is valid.
|
public CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void applycertificate(java.lang.String certId, java.lang.String serviceType, java.lang.String nodeId)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
applycertificate
in interface Certificates
certId
- ID of certificate to apply (required)serviceType
- Supported service types, that are using certificates. (required)nodeId
- Node Id (optional)public void applycertificate(java.lang.String certId, java.lang.String serviceType, java.lang.String nodeId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
applycertificate
in interface Certificates
certId
- ID of certificate to apply (required)serviceType
- Supported service types, that are using certificates. (required)nodeId
- Node Id (optional)invocationConfig
- Configuration for the method invocation.public void applycertificate(java.lang.String certId, java.lang.String serviceType, java.lang.String nodeId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
applycertificate
in interface Certificates
certId
- ID of certificate to apply (required)serviceType
- Supported service types, that are using certificates. (required)nodeId
- Node Id (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void applycertificate(java.lang.String certId, java.lang.String serviceType, java.lang.String nodeId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
applycertificate
in interface Certificates
certId
- ID of certificate to apply (required)serviceType
- Supported service types, that are using certificates. (required)nodeId
- Node Id (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String certId)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface Certificates
certId
- ID of certificate to delete (required)public void delete(java.lang.String certId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface Certificates
certId
- ID of certificate to delete (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String certId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface Certificates
certId
- ID of certificate to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String certId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface Certificates
certId
- ID of certificate to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PeerCertificateChain fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
fetchpeercertificatechain
in interface Certificates
tlsServiceEndpoint
- (required)public PeerCertificateChain fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
fetchpeercertificatechain
in interface Certificates
tlsServiceEndpoint
- (required)invocationConfig
- Configuration for the method invocation.public void fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint, com.vmware.vapi.bindings.client.AsyncCallback<PeerCertificateChain> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PeerCertificateChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
fetchpeercertificatechain
in interface Certificates
tlsServiceEndpoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void fetchpeercertificatechain(TlsServiceEndpoint tlsServiceEndpoint, com.vmware.vapi.bindings.client.AsyncCallback<PeerCertificateChain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
com.vmware.nsx.model.PeerCertificateChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
fetchpeercertificatechain
in interface Certificates
tlsServiceEndpoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public Certificate get(java.lang.String certId, java.lang.Boolean details)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Certificates
certId
- ID of certificate to read (required)details
- whether to expand the pem data and show all its details (optional, default to
false)public Certificate get(java.lang.String certId, java.lang.Boolean details, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Certificates
certId
- ID of certificate to read (required)details
- whether to expand the pem data and show all its details (optional, default to
false)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String certId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Certificates
certId
- ID of certificate to read (required)details
- whether to expand the pem data and show all its details (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String certId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<Certificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
com.vmware.nsx.model.Certificate
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Certificates
certId
- ID of certificate to read (required)details
- whether to expand the pem data and show all its details (optional, default to
false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public CertificateList importcertificate(TrustObjectData trustObjectData)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
importcertificate
in interface Certificates
trustObjectData
- (required)public CertificateList importcertificate(TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
importcertificate
in interface Certificates
trustObjectData
- (required)invocationConfig
- Configuration for the method invocation.public void importcertificate(TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
importcertificate
in interface Certificates
trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void importcertificate(TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
com.vmware.nsx.model.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
importcertificate
in interface Certificates
trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void importtrustedca(java.lang.String alias, TrustObjectData trustObjectData)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
importtrustedca
in interface Certificates
alias
- Alias under which to store the trusted CA in the trust-store (required)trustObjectData
- (required)public void importtrustedca(java.lang.String alias, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
importtrustedca
in interface Certificates
alias
- Alias under which to store the trusted CA in the trust-store (required)trustObjectData
- (required)invocationConfig
- Configuration for the method invocation.public void importtrustedca(java.lang.String alias, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
importtrustedca
in interface Certificates
alias
- Alias under which to store the trusted CA in the trust-store (required)trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void importtrustedca(java.lang.String alias, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
importtrustedca
in interface Certificates
alias
- Alias under which to store the trusted CA in the trust-store (required)trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public CertificateList list(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Certificates
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)details
- whether to expand the pem data and show all its details (optional, default to
false)includedFields
- Comma separated list of fields that should be included in query result
(optional)nodeId
- Node ID of certificate to return (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Type of certificate to return (optional)public CertificateList list(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Certificates
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)details
- whether to expand the pem data and show all its details (optional, default to
false)includedFields
- Comma separated list of fields that should be included in query result
(optional)nodeId
- Node ID of certificate to return (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Type of certificate to return (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Certificates
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)details
- whether to expand the pem data and show all its details (optional, default to
false)includedFields
- Comma separated list of fields that should be included in query result
(optional)nodeId
- Node ID of certificate to return (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Type of certificate to return (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<CertificateList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
com.vmware.nsx.model.CertificateList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Certificates
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)details
- whether to expand the pem data and show all its details (optional, default to
false)includedFields
- Comma separated list of fields that should be included in query result
(optional)nodeId
- Node ID of certificate to return (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Type of certificate to return (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
setapplianceproxycertificateforintersitecommunication
in interface Certificates
setInterSiteAphCertificateRequest
- (required)public void setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
setapplianceproxycertificateforintersitecommunication
in interface Certificates
setInterSiteAphCertificateRequest
- (required)invocationConfig
- Configuration for the method invocation.public void setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
setapplianceproxycertificateforintersitecommunication
in interface Certificates
setInterSiteAphCertificateRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void setapplianceproxycertificateforintersitecommunication(SetInterSiteAphCertificateRequest setInterSiteAphCertificateRequest, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
setapplianceproxycertificateforintersitecommunication
in interface Certificates
setInterSiteAphCertificateRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
setpicertificateforfederation
in interface Certificates
setPrincipalIdentityCertificateForFederationRequest
- (required)public void setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
setpicertificateforfederation
in interface Certificates
setPrincipalIdentityCertificateForFederationRequest
- (required)invocationConfig
- Configuration for the method invocation.public void setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
setpicertificateforfederation
in interface Certificates
setPrincipalIdentityCertificateForFederationRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void setpicertificateforfederation(SetPrincipalIdentityCertificateForFederationRequest setPrincipalIdentityCertificateForFederationRequest, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
setpicertificateforfederation
in interface Certificates
setPrincipalIdentityCertificateForFederationRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public CertificateCheckingStatus validate(java.lang.String certId, java.lang.String usage)
Certificates
Synchronous method overload. Result of the invocation will be reported as a method return value.
validate
in interface Certificates
certId
- ID of certificate to validate (required)usage
- Usage Type of the Certificate, SERVER or CLIENT. Default is SERVER (optional)public CertificateCheckingStatus validate(java.lang.String certId, java.lang.String usage, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
validate
in interface Certificates
certId
- ID of certificate to validate (required)usage
- Usage Type of the Certificate, SERVER or CLIENT. Default is SERVER (optional)invocationConfig
- Configuration for the method invocation.public void validate(java.lang.String certId, java.lang.String usage, com.vmware.vapi.bindings.client.AsyncCallback<CertificateCheckingStatus> asyncCallback)
Certificates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.CertificateCheckingStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
validate
in interface Certificates
certId
- ID of certificate to validate (required)usage
- Usage Type of the Certificate, SERVER or CLIENT. Default is SERVER (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void validate(java.lang.String certId, java.lang.String usage, com.vmware.vapi.bindings.client.AsyncCallback<CertificateCheckingStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Certificates
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:
com.vmware.nsx.model.CertificateCheckingStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
validate
in interface Certificates
certId
- ID of certificate to validate (required)usage
- Usage Type of the Certificate, SERVER or CLIENT. Default is SERVER (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.