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, LIST_TYPE_API_CERTIFICATE, LIST_TYPE_CLUSTER_API_CERTIFICATE| 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 |
delete(java.lang.String certificateId)
Removes the specified certificate.
|
void |
delete(java.lang.String certificateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes the specified certificate.
|
void |
delete(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 certificateId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes the specified certificate.
|
TlsCertificate |
get(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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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).
|
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 delete(java.lang.String certificateId)
CertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface CertificatescertificateId - ID of certificate to delete (required)public void delete(java.lang.String certificateId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesSynchronous 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 CertificatescertificateId - ID of certificate to delete (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String certificateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CertificatesAsynchronous 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 CertificatescertificateId - ID of certificate to delete (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String certificateId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesAsynchronous 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 CertificatescertificateId - 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 TlsCertificate get(java.lang.String certificateId, java.lang.Boolean details)
CertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface CertificatescertificateId - ID of certificate to read (required)details - whether to expand the pem data and show all its details (optional, default to
false)public TlsCertificate get(java.lang.String certificateId, java.lang.Boolean details, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesSynchronous 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 CertificatescertificateId - 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 certificateId,
java.lang.Boolean details,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
CertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface CertificatescertificateId - 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 certificateId,
java.lang.Boolean details,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesAsynchronous 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_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface CertificatescertificateId - 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 TlsCertificateList 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)
CertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Certificatescursor - 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 TlsCertificateList 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)
CertificatesSynchronous 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 Certificatescursor - 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<TlsCertificateList> asyncCallback)
CertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificateList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Certificatescursor - 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<TlsCertificateList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesAsynchronous 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_global_policy.model.TlsCertificateList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Certificatescursor - 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 patch(java.lang.String certificateId,
TlsTrustData tlsTrustData)
CertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
patch in interface CertificatescertificateId - (required)tlsTrustData - (required)public void patch(java.lang.String certificateId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
patch in interface CertificatescertificateId - (required)tlsTrustData - (required)invocationConfig - Configuration for the method invocation.public void patch(java.lang.String certificateId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CertificatesAsynchronous 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
patch in interface CertificatescertificateId - (required)tlsTrustData - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void patch(java.lang.String certificateId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesAsynchronous 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
patch in interface CertificatescertificateId - (required)tlsTrustData - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public TlsCertificate update(java.lang.String certificateId, TlsTrustData tlsTrustData)
CertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface CertificatescertificateId - (required)tlsTrustData - (required)public TlsCertificate update(java.lang.String certificateId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface CertificatescertificateId - (required)tlsTrustData - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String certificateId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
CertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface CertificatescertificateId - (required)tlsTrustData - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String certificateId,
TlsTrustData tlsTrustData,
com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CertificatesAsynchronous 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_global_policy.model.TlsCertificate
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface CertificatescertificateId - (required)tlsTrustData - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.