Class CertificatesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.orgs.projects.infra.CertificatesStub
-
- All Implemented Interfaces:
Certificates
,CertificatesTypes
,com.vmware.vapi.bindings.Service
public class CertificatesStub extends com.vmware.vapi.internal.bindings.Stub implements Certificates
Remote stub implementation of theCertificates
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.orgs.projects.infra.CertificatesTypes
_VAPI_SERVICE_ID, LIST_TYPE_API_CERTIFICATE, LIST_TYPE_CLUSTER_API_CERTIFICATE
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId)
Removes the specified certificate.void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes the specified certificate.void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, 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 orgId, java.lang.String projectId, java.lang.String certificateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes the specified certificate.TlsCertificate
get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details)
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).void
get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).void
get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).TlsCertificate
get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).TlsCertificateList
list(java.lang.String orgId, java.lang.String projectId, 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 id; pem_encoded data; and history of the certificate (who created or modified it and when).void
list(java.lang.String orgId, java.lang.String projectId, 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<TlsCertificateList> asyncCallback)
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).void
list(java.lang.String orgId, java.lang.String projectId, 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<TlsCertificateList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when).TlsCertificateList
list(java.lang.String orgId, java.lang.String projectId, 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 id; pem_encoded data; and history of the certificate (who created or modified it and when).void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).TlsCertificate
update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).TlsCertificate
update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge).
-
-
-
Constructor Detail
-
CertificatesStub
public CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
CertificatesStub
public CertificatesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId)
Description copied from interface:Certificates
Removes the specified certificate. The private key associated with the certificate is also deleted.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- ID of certificate to delete (required)
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Removes the specified certificate. The private key associated with the certificate is also deleted.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- ID of certificate to delete (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Certificates
Removes the specified certificate. The private key associated with the certificate is also deleted.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
- Specified by:
delete
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- ID of certificate to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Removes the specified certificate. The private key associated with the certificate is also deleted.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Specified by:
delete
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- ID of certificate to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public TlsCertificate get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details)
Description copied from interface:Certificates
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- ID of certificate to read (required)details
- whether to expand the pem data and show all its details (optional, default to false)- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
-
get
public TlsCertificate get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- 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.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
-
get
public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Description copied from interface:Certificates
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- 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.
-
get
public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Returns information for the specified certificate ID, including the certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- 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.
-
list
public TlsCertificateList list(java.lang.String orgId, java.lang.String projectId, 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)
Description copied from interface:Certificates
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)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)- Returns:
- com.vmware.nsx_policy.model.TlsCertificateList
-
list
public TlsCertificateList list(java.lang.String orgId, java.lang.String projectId, 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)
Description copied from interface:Certificates
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
list
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)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.- Returns:
- com.vmware.nsx_policy.model.TlsCertificateList
-
list
public void list(java.lang.String orgId, java.lang.String projectId, 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<TlsCertificateList> asyncCallback)
Description copied from interface:Certificates
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)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.
-
list
public void list(java.lang.String orgId, java.lang.String projectId, 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<TlsCertificateList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Returns all certificate information viewable by the user, including each certificate's id; pem_encoded data; and history of the certificate (who created or modified it and when). For additional information, include the ?details=true modifier at the end of the request URI.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)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.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
patch
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)invocationConfig
- Configuration for the method invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.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
- Specified by:
patch
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This patch method does not modify an existing certificate.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Specified by:
patch
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public TlsCertificate update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This PUT method does not modify an existing certificate.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
-
update
public TlsCertificate update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This PUT method does not modify an existing certificate.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
-
update
public void update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This PUT method does not modify an existing certificate.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String orgId, java.lang.String projectId, java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Certificates
Adds a new private-public certificate and, optionally, a private key that can be applied to one of the user-facing components (appliance management or edge). The certificate and the key should be stored in PEM format. If no private key is provided, the certificate is used as a client certificate in the trust store. A private key can be uploaded for a CA certificate only if the \"purpose\" parameter is set to \"signing-ca\". A certificate chain will not be expanded into separate certificate instances for reference, but would be pushed to the enforcement point as a single certificate. This PUT method does not modify an existing certificate.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceCertificates
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)certificateId
- (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-