Interface CertificatesClient

    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<CertificateInner> listAsync​(String filter)
        Description for Get all certificates for a subscription.
        Parameters:
        filter - Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.
        Returns:
        collection of certificates.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<CertificateInner> list​(String filter,
                                                                      com.azure.core.util.Context context)
        Description for Get all certificates for a subscription.
        Parameters:
        filter - Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.
        context - The context to associate with this operation.
        Returns:
        collection of certificates.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<CertificateInner> listByResourceGroup​(String resourceGroupName,
                                                                                     com.azure.core.util.Context context)
        Description for Get all certificates in a resource group.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        context - The context to associate with this operation.
        Returns:
        collection of certificates.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CertificateInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                      String name)
        Description for Get a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<CertificateInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                           String name,
                                                                                           com.azure.core.util.Context context)
        Description for Get a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        context - The context to associate with this operation.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<CertificateInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String name,
                                                                                                  CertificateInner certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<CertificateInner> createOrUpdateAsync​(String resourceGroupName,
                                                   String name,
                                                   CertificateInner certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        CertificateInner createOrUpdate​(String resourceGroupName,
                                        String name,
                                        CertificateInner certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                       String name,
                                                                                       CertificateInner certificateEnvelope,
                                                                                       com.azure.core.util.Context context)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        context - The context to associate with this operation.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<Void>> deleteWithResponseAsync​(String resourceGroupName,
                                                                              String name)
        Description for Delete a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 name)
        Description for Delete a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String name,
                                                                   com.azure.core.util.Context context)
        Description for Delete a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CertificateInner>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String name,
                                                                                          CertificatePatchResource certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAsync

        Mono<CertificateInner> updateAsync​(String resourceGroupName,
                                           String name,
                                           CertificatePatchResource certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        CertificateInner update​(String resourceGroupName,
                                String name,
                                CertificatePatchResource certificateEnvelope)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        com.azure.core.http.rest.Response<CertificateInner> updateWithResponse​(String resourceGroupName,
                                                                               String name,
                                                                               CertificatePatchResource certificateEnvelope,
                                                                               com.azure.core.util.Context context)
        Description for Create or update a certificate.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        name - Name of the certificate.
        certificateEnvelope - Details of certificate, if it exists already.
        context - The context to associate with this operation.
        Returns:
        sSL certificate for an app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.