Interface FrontDoorsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<FrontDoorInner> list()
      Lists all of the Front Doors within an Azure subscription.
      Returns:
      result of the request to list Front Doors as paginated response with PagedIterable.
      Throws:
      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<FrontDoorInner> list(com.azure.core.util.Context context)
      Lists all of the Front Doors within an Azure subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      result of the request to list Front Doors 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<FrontDoorInner> listByResourceGroup(String resourceGroupName)
      Lists all of the Front Doors within a resource group under a subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      result of the request to list Front Doors 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<FrontDoorInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all of the Front Doors within a resource group under a subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      context - The context to associate with this operation.
      Returns:
      result of the request to list Front Doors 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<FrontDoorInner> getByResourceGroupWithResponse(String resourceGroupName, String frontDoorName, com.azure.core.util.Context context)
      Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      context - The context to associate with this operation.
      Returns:
      a Front Door with the specified Front Door name under the specified subscription and resource group 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.
    • getByResourceGroup

      FrontDoorInner getByResourceGroup(String resourceGroupName, String frontDoorName)
      Gets a Front Door with the specified Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      Returns:
      a Front Door with the specified Front Door name under the specified subscription and resource group.
      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<FrontDoorInner>,FrontDoorInner> beginCreateOrUpdate(String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters)
      Creates a new Front Door with a Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      frontDoorParameters - Front Door properties needed to create a new Front Door.
      Returns:
      the SyncPoller for polling of front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.
      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<FrontDoorInner>,FrontDoorInner> beginCreateOrUpdate(String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters, com.azure.core.util.Context context)
      Creates a new Front Door with a Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      frontDoorParameters - Front Door properties needed to create a new Front Door.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.
      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

      FrontDoorInner createOrUpdate(String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters)
      Creates a new Front Door with a Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      frontDoorParameters - Front Door properties needed to create a new Front Door.
      Returns:
      front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.
      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

      FrontDoorInner createOrUpdate(String resourceGroupName, String frontDoorName, FrontDoorInner frontDoorParameters, com.azure.core.util.Context context)
      Creates a new Front Door with a Front Door name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      frontDoorParameters - Front Door properties needed to create a new Front Door.
      context - The context to associate with this operation.
      Returns:
      front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.
      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 frontDoorName)
      Deletes an existing Front Door with the specified parameters.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      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 frontDoorName, com.azure.core.util.Context context)
      Deletes an existing Front Door with the specified parameters.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      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 frontDoorName)
      Deletes an existing Front Door with the specified parameters.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      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 frontDoorName, com.azure.core.util.Context context)
      Deletes an existing Front Door with the specified parameters.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      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.
    • validateCustomDomainWithResponse

      com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner> validateCustomDomainWithResponse(String resourceGroupName, String frontDoorName, ValidateCustomDomainInput customDomainProperties, com.azure.core.util.Context context)
      Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      customDomainProperties - Custom domain to be validated.
      context - The context to associate with this operation.
      Returns:
      output of custom domain validation 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.
    • validateCustomDomain

      ValidateCustomDomainOutputInner validateCustomDomain(String resourceGroupName, String frontDoorName, ValidateCustomDomainInput customDomainProperties)
      Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      frontDoorName - Name of the Front Door which is globally unique.
      customDomainProperties - Custom domain to be validated.
      Returns:
      output of custom domain validation.
      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.