Interface Csrs

  • All Superinterfaces:
    CsrsTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    CsrsStub

    public interface Csrs
    extends com.vmware.vapi.bindings.Service, CsrsTypes
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      TlsCsr create​(java.lang.String orgId, java.lang.String projectId, java.lang.String csrId, TlsCsr tlsCsr)
      Creates a new certificate signing request (CSR).
      void create​(java.lang.String orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, java.lang.String csrId)
      Removes a specified CSR.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Removes a specified CSR.
      void delete​(java.lang.String orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Removes a specified CSR.
      TlsCsr get​(java.lang.String orgId, java.lang.String projectId, java.lang.String csrId)
      Returns information about the specified CSR.
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
      Returns information about the specified CSR.
      void get​(java.lang.String orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about the specified CSR.
      TlsCertificate importcsr​(java.lang.String orgId, java.lang.String projectId, java.lang.String csrId, TlsTrustData tlsTrustData)
      Imports a certificate authority (CA)-signed certificate for a CSR.
      void importcsr​(java.lang.String orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, java.lang.String csrId, long daysValid)
      Self-signs the previously generated CSR.
      void selfsign​(java.lang.String orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, 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 orgId, java.lang.String projectId, java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Self-signs the previously generated CSR.
      TlsCertificate selfsign0​(java.lang.String orgId, java.lang.String projectId, TlsCsrWithDaysValid tlsCsrWithDaysValid)
      Creates a new self-signed certificate.
      void selfsign0​(java.lang.String orgId, java.lang.String projectId, TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
      Creates a new self-signed certificate.
      void selfsign0​(java.lang.String orgId, java.lang.String projectId, 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​(java.lang.String orgId, java.lang.String projectId, TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Creates a new self-signed certificate.
    • Method Detail

      • create

        TlsCsr create​(java.lang.String orgId,
                      java.lang.String projectId,
                      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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • create

        TlsCsr create​(java.lang.String orgId,
                      java.lang.String projectId,
                      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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • create

        void create​(java.lang.String orgId,
                    java.lang.String projectId,
                    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.TlsCsr

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                    java.lang.String projectId,
                    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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCsr

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                    java.lang.String projectId,
                    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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        csrId - ID of CSR to delete (required)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        csrId - ID of CSR to delete (required)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        void delete​(java.lang.String orgId,
                    java.lang.String projectId,
                    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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                    java.lang.String projectId,
                    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. 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

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                   java.lang.String projectId,
                   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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        csrId - ID of CSR to read (required)
        Returns:
        com.vmware.nsx_policy.model.TlsCsr
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        TlsCsr get​(java.lang.String orgId,
                   java.lang.String projectId,
                   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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String orgId,
                 java.lang.String projectId,
                 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.TlsCsr

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                 java.lang.String projectId,
                 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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCsr

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                                 java.lang.String projectId,
                                 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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • importcsr

        TlsCertificate importcsr​(java.lang.String orgId,
                                 java.lang.String projectId,
                                 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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • importcsr

        void importcsr​(java.lang.String orgId,
                       java.lang.String projectId,
                       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.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                       java.lang.String projectId,
                       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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                              java.lang.String projectId,
                              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:
        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)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        TlsCsrListResult list​(java.lang.String orgId,
                              java.lang.String projectId,
                              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:
        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)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        void list​(java.lang.String orgId,
                  java.lang.String projectId,
                  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.TlsCsrListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        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)
        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 orgId,
                  java.lang.String projectId,
                  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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCsrListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        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)
        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 orgId,
                                java.lang.String projectId,
                                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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • selfsign

        TlsCertificate selfsign​(java.lang.String orgId,
                                java.lang.String projectId,
                                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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • selfsign

        void selfsign​(java.lang.String orgId,
                      java.lang.String projectId,
                      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.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 orgId,
                      java.lang.String projectId,
                      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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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​(java.lang.String orgId,
                                 java.lang.String projectId,
                                 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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        tlsCsrWithDaysValid - (required)
        Returns:
        com.vmware.nsx_policy.model.TlsCertificate
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • selfsign0

        TlsCertificate selfsign0​(java.lang.String orgId,
                                 java.lang.String projectId,
                                 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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        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 Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • selfsign0

        void selfsign0​(java.lang.String orgId,
                       java.lang.String projectId,
                       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.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        tlsCsrWithDaysValid - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • selfsign0

        void selfsign0​(java.lang.String orgId,
                       java.lang.String projectId,
                       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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.TlsCertificate

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        tlsCsrWithDaysValid - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.