Interface WebPubSubCustomCertificatesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<CustomCertificateInner> list(String resourceGroupName, String resourceName)
      List all custom certificates.
      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.
      resourceName - The name of the resource.
      Returns:
      custom certificates list as paginated response with PagedIterable.
      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<CustomCertificateInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List all custom certificates.
      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.
      resourceName - The name of the resource.
      context - The context to associate with this operation.
      Returns:
      custom certificates list as paginated response with PagedIterable.
      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<CustomCertificateInner> getWithResponse(String resourceGroupName, String resourceName, String certificateName, com.azure.core.util.Context context)
      Get a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      context - The context to associate with this operation.
      Returns:
      a custom certificate along with Response.
      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

      CustomCertificateInner get(String resourceGroupName, String resourceName, String certificateName)
      Get a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      Returns:
      a custom certificate.
      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<CustomCertificateInner>,CustomCertificateInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters)
      Create or update a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      parameters - A custom certificate.
      Returns:
      the SyncPoller for polling of a custom certificate.
      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<CustomCertificateInner>,CustomCertificateInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters, com.azure.core.util.Context context)
      Create or update a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      parameters - A custom certificate.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a custom certificate.
      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

      CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters)
      Create or update a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      parameters - A custom certificate.
      Returns:
      a custom certificate.
      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

      CustomCertificateInner createOrUpdate(String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters, com.azure.core.util.Context context)
      Create or update a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      parameters - A custom certificate.
      context - The context to associate with this operation.
      Returns:
      a custom certificate.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String certificateName, com.azure.core.util.Context context)
      Delete a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      context - The context to associate with this operation.
      Returns:
      the Response.
      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 resourceName, String certificateName)
      Delete a custom certificate.
      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.
      resourceName - The name of the resource.
      certificateName - Custom certificate name.
      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.