Class CrlsStub

  • All Implemented Interfaces:
    Crls, CrlsTypes, com.vmware.vapi.bindings.Service

    public class CrlsStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Crls
    Remote stub implementation of the Crls API service.

    WARNING: Internal class, subject to change in future versions.

    • Constructor Summary

      Constructors 
      Constructor Description
      CrlsStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      CrlsStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId)
      Deletes an existing CRL.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deletes an existing CRL.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes an existing CRL.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes an existing CRL.
      TlsCrl get​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, java.lang.Boolean details)
      Returns information about the specified CRL.
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback)
      Returns information about the specified CRL.
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, java.lang.Boolean details, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about the specified CRL.
      TlsCrl get​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, java.lang.Boolean details, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about the specified CRL.
      TlsCrlListResult importcrl​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl)
      Adds a new certificate revocation list (CRLs).
      void importcrl​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback)
      Adds a new certificate revocation list (CRLs).
      void importcrl​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds a new certificate revocation list (CRLs).
      TlsCrlListResult importcrl​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds a new certificate revocation list (CRLs).
      TlsCrlListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Returns information about all CRLs.
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback)
      Returns information about all CRLs.
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about all CRLs.
      TlsCrlListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about all CRLs.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl)
      Create or patch a Certificate Revocation List for the given id.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Create or patch a Certificate Revocation List for the given id.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or patch a Certificate Revocation List for the given id.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or patch a Certificate Revocation List for the given id.
      TlsCrl update​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl)
      Create or replace a Certificate Revocation List for the given id.
      void update​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback)
      Create or replace a Certificate Revocation List for the given id.
      void update​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or replace a Certificate Revocation List for the given id.
      TlsCrl update​(java.lang.String orgId, java.lang.String projectId, java.lang.String crlId, TlsCrl tlsCrl, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or replace a Certificate Revocation List for the given id.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CrlsStub

        public CrlsStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                        com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                        com.vmware.vapi.bindings.StubConfigurationBase config)
      • CrlsStub

        public CrlsStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                        com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId)
        Description copied from interface: Crls
        Deletes an existing CRL.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Deletes an existing CRL.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        delete in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Crls
        Deletes an existing CRL.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Specified by:
        delete in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Deletes an existing CRL.

        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

        Specified by:
        delete in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public TlsCrl get​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          java.lang.Boolean details)
        Description copied from interface: Crls
        Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        details - whether to expand the pem data and show all its details (optional, default to false)
        Returns:
        com.vmware.nsx_policy.model.TlsCrl
      • get

        public TlsCrl get​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          java.lang.Boolean details,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        details - whether to expand the pem data and show all its details (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.TlsCrl
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.String crlId,
                        java.lang.Boolean details,
                        com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback)
        Description copied from interface: Crls
        Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        get in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        details - whether to expand the pem data and show all its details (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.String crlId,
                        java.lang.Boolean details,
                        com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Returns information about the specified CRL. For additional information, include the ?details=true modifier at the end of the request URI.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

        Specified by:
        get in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (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.
      • importcrl

        public TlsCrlListResult importcrl​(java.lang.String orgId,
                                          java.lang.String projectId,
                                          java.lang.String crlId,
                                          TlsCrl tlsCrl)
        Description copied from interface: Crls
        Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl. An X.509 CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        importcrl in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        Returns:
        com.vmware.nsx_policy.model.TlsCrlListResult
      • importcrl

        public TlsCrlListResult importcrl​(java.lang.String orgId,
                                          java.lang.String projectId,
                                          java.lang.String crlId,
                                          TlsCrl tlsCrl,
                                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl. An X.509 CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        importcrl in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.TlsCrlListResult
      • importcrl

        public void importcrl​(java.lang.String orgId,
                              java.lang.String projectId,
                              java.lang.String crlId,
                              TlsCrl tlsCrl,
                              com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback)
        Description copied from interface: Crls
        Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl. An X.509 CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        importcrl in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • importcrl

        public void importcrl​(java.lang.String orgId,
                              java.lang.String projectId,
                              java.lang.String crlId,
                              TlsCrl tlsCrl,
                              com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Adds a new certificate revocation list (CRLs). The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl. An X.509 CRL can contain a single CRL or multiple CRLs depending on the PEM data. - Single CRL: a single CRL is created with the given id. - Composite CRL: multiple CRLs are generated. Each of the CRL is created with an id generated based on the given id. First CRL is created with crl-id, second with crl-id-1, third with crl-id-2, etc.

        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.TlsCrlListResult

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

        Specified by:
        importcrl in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public TlsCrlListResult list​(java.lang.String orgId,
                                     java.lang.String projectId,
                                     java.lang.String cursor,
                                     java.lang.Boolean details,
                                     java.lang.String includedFields,
                                     java.lang.String nodeId,
                                     java.lang.Long pageSize,
                                     java.lang.Boolean sortAscending,
                                     java.lang.String sortBy,
                                     java.lang.String type)
        Description copied from interface: Crls
        Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type of certificate to return (optional)
        Returns:
        com.vmware.nsx_policy.model.TlsCrlListResult
      • list

        public TlsCrlListResult list​(java.lang.String orgId,
                                     java.lang.String projectId,
                                     java.lang.String cursor,
                                     java.lang.Boolean details,
                                     java.lang.String includedFields,
                                     java.lang.String nodeId,
                                     java.lang.Long pageSize,
                                     java.lang.Boolean sortAscending,
                                     java.lang.String sortBy,
                                     java.lang.String type,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        list in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type of certificate to return (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.TlsCrlListResult
      • list

        public void list​(java.lang.String orgId,
                         java.lang.String projectId,
                         java.lang.String cursor,
                         java.lang.Boolean details,
                         java.lang.String includedFields,
                         java.lang.String nodeId,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback)
        Description copied from interface: Crls
        Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        list in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type of certificate to return (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String orgId,
                         java.lang.String projectId,
                         java.lang.String cursor,
                         java.lang.Boolean details,
                         java.lang.String includedFields,
                         java.lang.String nodeId,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<TlsCrlListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Returns information about all CRLs. For additional information, include the ?details=true modifier at the end of the request URI.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

        Specified by:
        list in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type of certificate to return (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          TlsCrl tlsCrl)
        Description copied from interface: Crls
        Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          TlsCrl tlsCrl,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        patch in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          TlsCrl tlsCrl,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Crls
        Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

        Specified by:
        patch in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String crlId,
                          TlsCrl tlsCrl,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Create or patch a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        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

        Specified by:
        patch in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public TlsCrl update​(java.lang.String orgId,
                             java.lang.String projectId,
                             java.lang.String crlId,
                             TlsCrl tlsCrl)
        Description copied from interface: Crls
        Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        Returns:
        com.vmware.nsx_policy.model.TlsCrl
      • update

        public TlsCrl update​(java.lang.String orgId,
                             java.lang.String projectId,
                             java.lang.String crlId,
                             TlsCrl tlsCrl,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        update in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.TlsCrl
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId,
                           TlsCrl tlsCrl,
                           com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback)
        Description copied from interface: Crls
        Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        update in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String crlId,
                           TlsCrl tlsCrl,
                           com.vmware.vapi.bindings.client.AsyncCallback<TlsCrl> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Crls
        Create or replace a Certificate Revocation List for the given id. The CRL is used to verify the client certificate status against the revocation lists published by the CA. For this reason, the administrator needs to add the CRL in certificate repository as well. The CRL must contain PEM data for a single CRL. Revision is required. A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL (crl_type=OneCRL). If crl_type is not specified, it is auto-detected based on the presence of fields pem_encoded or one_crl.

        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.TlsCrl

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

        Specified by:
        update in interface Crls
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        crlId - (required)
        tlsCrl - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.