Interface Csrs
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.CsrsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TlsCsr
create(java.lang.String csrId, TlsCsr tlsCsr)
Creates a new certificate signing request (CSR).void
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Creates a new certificate signing request (CSR).void
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).TlsCsr
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).void
delete(java.lang.String csrId)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.TlsCsr
get(java.lang.String csrId)
Returns information about the specified CSR.void
get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Returns information about the specified CSR.void
get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.TlsCsr
get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.TlsCertificate
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData)
Imports a certificate authority (CA)-signed certificate for a CSR.void
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Imports a certificate authority (CA)-signed certificate for a CSR.void
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.TlsCertificate
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.TlsCsrListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about all of the CSRs that have been created.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback)
Returns information about all of the CSRs that have been created.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.TlsCsrListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.TlsCertificate
selfsign(java.lang.String csrId, long daysValid)
Self-signs the previously generated CSR.void
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Self-signs the previously generated CSR.void
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.TlsCertificate
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.TlsCertificate
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
Creates a new self-signed certificate.void
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Creates a new self-signed certificate.void
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.TlsCertificate
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.
-
-
-
Method Detail
-
create
TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr)
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
csrId
- ID of CSR to create (required)tlsCsr
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsCsr
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
csrId
- ID of CSR to create (required)tlsCsr
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCsr
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
void create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
csrId
- ID of CSR to create (required)tlsCsr
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.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.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
csrId
- ID of CSR to create (required)tlsCsr
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
delete
void delete(java.lang.String csrId)
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
csrId
- ID of CSR to delete (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
csrId
- ID of CSR to delete (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.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
- Parameters:
csrId
- ID of CSR to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.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
- Parameters:
csrId
- ID of CSR to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
TlsCsr get(java.lang.String csrId)
Returns information about the specified CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
csrId
- ID of CSR to read (required)- Returns:
- com.vmware.nsx_policy.model.TlsCsr
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
TlsCsr get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
csrId
- ID of CSR to read (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCsr
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
void get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Returns information about the specified CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
csrId
- ID of CSR to read (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.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.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
csrId
- ID of CSR to read (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
importcsr
TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData)
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
csrId
- CSR this certificate is associated with (required)tlsTrustData
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
importcsr
TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
csrId
- CSR this certificate is associated with (required)tlsTrustData
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
importcsr
void importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.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
- Parameters:
csrId
- CSR this certificate is associated with (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
importcsr
void importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.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
- Parameters:
csrId
- CSR this certificate is associated with (required)tlsTrustData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
TlsCsrListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about all of the CSRs that have been created.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)- Returns:
- com.vmware.nsx_policy.model.TlsCsrListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
TlsCsrListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCsrListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback)
Returns information about all of the CSRs that have been created.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.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.TlsCsrListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
selfsign
TlsCertificate selfsign(java.lang.String csrId, long daysValid)
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
selfsign
TlsCertificate selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA 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.- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
selfsign
void selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.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
- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
selfsign
void selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.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
- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
selfsign0
TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tlsCsrWithDaysValid
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
selfsign0
TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA 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.- Parameters:
tlsCsrWithDaysValid
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
selfsign0
void selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.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
- Parameters:
tlsCsrWithDaysValid
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
selfsign0
void selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.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
- Parameters:
tlsCsrWithDaysValid
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-