Interface CertificatesClient


  • public interface CertificatesClient
    An instance of this class provides access to all the operations defined in CertificatesClient.
    • Method Detail

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CertificateResourceInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                               String serviceName,
                                                                                               String certificateName)
        Get the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the certificate resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<CertificateResourceInner> getAsync​(String resourceGroupName,
                                                String serviceName,
                                                String certificateName)
        Get the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the certificate resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        CertificateResourceInner get​(String resourceGroupName,
                                     String serviceName,
                                     String certificateName)
        Get the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the certificate resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<CertificateResourceInner> getWithResponse​(String resourceGroupName,
                                                                                    String serviceName,
                                                                                    String certificateName,
                                                                                    com.azure.core.util.Context context)
        Get the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        context - The context to associate with this operation.
        Returns:
        the certificate resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String serviceName,
                                                                                                  String certificateName,
                                                                                                  CertificateProperties properties)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CertificateResourceInner>,​CertificateResourceInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                               String serviceName,
                                                                                                                                                                               String certificateName,
                                                                                                                                                                               CertificateProperties properties)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CertificateResourceInner>,​CertificateResourceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String serviceName,
                                                                                                                                                                          String certificateName,
                                                                                                                                                                          CertificateProperties properties)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CertificateResourceInner>,​CertificateResourceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String serviceName,
                                                                                                                                                                          String certificateName,
                                                                                                                                                                          CertificateProperties properties,
                                                                                                                                                                          com.azure.core.util.Context context)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        context - The context to associate with this operation.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<CertificateResourceInner> createOrUpdateAsync​(String resourceGroupName,
                                                           String serviceName,
                                                           String certificateName,
                                                           CertificateProperties properties)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<CertificateResourceInner> createOrUpdateAsync​(String resourceGroupName,
                                                           String serviceName,
                                                           String certificateName)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        CertificateResourceInner createOrUpdate​(String resourceGroupName,
                                                String serviceName,
                                                String certificateName,
                                                CertificateProperties properties)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        CertificateResourceInner createOrUpdate​(String resourceGroupName,
                                                String serviceName,
                                                String certificateName)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        CertificateResourceInner createOrUpdate​(String resourceGroupName,
                                                String serviceName,
                                                String certificateName,
                                                CertificateProperties properties,
                                                com.azure.core.util.Context context)
        Create or update certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        properties - Properties of the certificate resource payload.
        context - The context to associate with this operation.
        Returns:
        certificate resource payload.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String serviceName,
                                                                                          String certificateName)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String serviceName,
                                                                                                                               String certificateName)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String serviceName,
                                                                                                                          String certificateName)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String serviceName,
                                                                                                                          String certificateName,
                                                                                                                          com.azure.core.util.Context context)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        context - The context to associate with this operation.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String serviceName,
                               String certificateName)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String serviceName,
                    String certificateName)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String serviceName,
                    String certificateName,
                    com.azure.core.util.Context context)
        Delete the certificate resource.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        certificateName - The name of the certificate resource.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAsync

        com.azure.core.http.rest.PagedFlux<CertificateResourceInner> listAsync​(String resourceGroupName,
                                                                               String serviceName)
        List all the certificates of one user.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        Returns:
        collection compose of certificate resources list and a possible link for next page.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<CertificateResourceInner> list​(String resourceGroupName,
                                                                              String serviceName)
        List all the certificates of one user.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        Returns:
        collection compose of certificate resources list and a possible link for next page.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<CertificateResourceInner> list​(String resourceGroupName,
                                                                              String serviceName,
                                                                              com.azure.core.util.Context context)
        List all the certificates of one user.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serviceName - The name of the Service resource.
        context - The context to associate with this operation.
        Returns:
        collection compose of certificate resources list and a possible link for next page.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.