Interface CertificatesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<CertificateInner>, InnerSupportsListing<CertificateInner>

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

    • 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 as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<CertificateInner> listAsync()
      Description for Get all certificates for a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<CertificateInner>
      Returns:
      collection of certificates as paginated response with PagedFlux.
      Throws:
      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()
      Description for Get all certificates for a subscription.
      Specified by:
      list in interface InnerSupportsListing<CertificateInner>
      Returns:
      collection of certificates as paginated response with PagedIterable.
      Throws:
      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 as paginated response with PagedIterable.
      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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<CertificateInner> listByResourceGroupAsync(String resourceGroupName)
      Description for Get all certificates in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<CertificateInner>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      Returns:
      collection of certificates as paginated response with PagedFlux.
      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)
      Description for Get all certificates in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<CertificateInner>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      Returns:
      collection of certificates as paginated response with PagedIterable.
      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 as paginated response with PagedIterable.
      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 along with Response on successful completion of Mono.
      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.
    • getByResourceGroupAsync

      Mono<CertificateInner> getByResourceGroupAsync(String resourceGroupName, String name)
      Description for Get a certificate.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<CertificateInner>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of the certificate.
      Returns:
      sSL certificate for an app on successful completion of Mono.
      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.
    • getByResourceGroup

      CertificateInner getByResourceGroup(String resourceGroupName, String name)
      Description for Get a certificate.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<CertificateInner>
      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 along with 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.
    • 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 along with Response on successful completion of Mono.
      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 on successful completion of Mono.
      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 along with 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.
    • 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 Response on successful completion of Mono.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String name)
      Description for Delete a certificate.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of the certificate.
      Returns:
      A Mono that completes when a successful response is received.
      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 along with Response on successful completion of Mono.
      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 on successful completion of Mono.
      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 along with 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.