Interface WebPubSubCustomDomainsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<CustomDomainInner> list(String resourceGroupName, String resourceName)
      List all custom domains.
      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 domains 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<CustomDomainInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      List all custom domains.
      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 domains 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<CustomDomainInner> getWithResponse(String resourceGroupName, String resourceName, String name, com.azure.core.util.Context context)
      Get a custom domain.
      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.
      name - Custom domain name.
      context - The context to associate with this operation.
      Returns:
      a custom domain 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

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

      CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName, String name, CustomDomainInner parameters)
      Create or update a custom domain.
      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.
      name - Custom domain name.
      parameters - A custom domain.
      Returns:
      a custom domain.
      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

      CustomDomainInner createOrUpdate(String resourceGroupName, String resourceName, String name, CustomDomainInner parameters, com.azure.core.util.Context context)
      Create or update a custom domain.
      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.
      name - Custom domain name.
      parameters - A custom domain.
      context - The context to associate with this operation.
      Returns:
      a custom domain.
      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 resourceName, String name)
      Delete a custom domain.
      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.
      name - Custom domain name.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String name, com.azure.core.util.Context context)
      Delete a custom domain.
      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.
      name - Custom domain name.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String resourceName, String name)
      Delete a custom domain.
      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.
      name - Custom domain 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.
    • delete

      void delete(String resourceGroupName, String resourceName, String name, com.azure.core.util.Context context)
      Delete a custom domain.
      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.
      name - Custom domain name.
      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.