Interface AfdCustomDomainsClient


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

      • listByProfileAsync

        com.azure.core.http.rest.PagedFlux<AfdDomainInner> listByProfileAsync​(String resourceGroupName,
                                                                              String profileName)
        Lists existing AzureFrontDoor domains.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        Returns:
        result of the request to list domains.
        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.
      • listByProfile

        com.azure.core.http.rest.PagedIterable<AfdDomainInner> listByProfile​(String resourceGroupName,
                                                                             String profileName)
        Lists existing AzureFrontDoor domains.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        Returns:
        result of the request to list domains.
        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.
      • listByProfile

        com.azure.core.http.rest.PagedIterable<AfdDomainInner> listByProfile​(String resourceGroupName,
                                                                             String profileName,
                                                                             com.azure.core.util.Context context)
        Lists existing AzureFrontDoor domains.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        context - The context to associate with this operation.
        Returns:
        result of the request to list domains.
        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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<AfdDomainInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                     String profileName,
                                                                                     String customDomainName)
        Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        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.
      • getAsync

        Mono<AfdDomainInner> getAsync​(String resourceGroupName,
                                      String profileName,
                                      String customDomainName)
        Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        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

        AfdDomainInner get​(String resourceGroupName,
                           String profileName,
                           String customDomainName)
        Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        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<AfdDomainInner> getWithResponse​(String resourceGroupName,
                                                                          String profileName,
                                                                          String customDomainName,
                                                                          com.azure.core.util.Context context)
        Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        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.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String customDomainName,
                                                                                          AfdDomainInner customDomain)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                   String profileName,
                                                                                                                                                   String customDomainName,
                                                                                                                                                   AfdDomainInner customDomain)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String customDomainName,
                                                                                                                                              AfdDomainInner customDomain)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String customDomainName,
                                                                                                                                              AfdDomainInner customDomain,
                                                                                                                                              com.azure.core.util.Context context)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        context - The context to associate with this operation.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • createAsync

        Mono<AfdDomainInner> createAsync​(String resourceGroupName,
                                         String profileName,
                                         String customDomainName,
                                         AfdDomainInner customDomain)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • create

        AfdDomainInner create​(String resourceGroupName,
                              String profileName,
                              String customDomainName,
                              AfdDomainInner customDomain)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • create

        AfdDomainInner create​(String resourceGroupName,
                              String profileName,
                              String customDomainName,
                              AfdDomainInner customDomain,
                              com.azure.core.util.Context context)
        Creates a new domain within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        customDomain - Domain properties.
        context - The context to associate with this operation.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String customDomainName,
                                                                                          AfdDomainHttpsParameters tlsSettings,
                                                                                          ResourceReference azureDnsZone)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                   String profileName,
                                                                                                                                                   String customDomainName,
                                                                                                                                                   AfdDomainHttpsParameters tlsSettings,
                                                                                                                                                   ResourceReference azureDnsZone)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String customDomainName,
                                                                                                                                              AfdDomainHttpsParameters tlsSettings,
                                                                                                                                              ResourceReference azureDnsZone)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,​AfdDomainInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String customDomainName,
                                                                                                                                              AfdDomainHttpsParameters tlsSettings,
                                                                                                                                              ResourceReference azureDnsZone,
                                                                                                                                              com.azure.core.util.Context context)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        context - The context to associate with this operation.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • updateAsync

        Mono<AfdDomainInner> updateAsync​(String resourceGroupName,
                                         String profileName,
                                         String customDomainName,
                                         AfdDomainHttpsParameters tlsSettings,
                                         ResourceReference azureDnsZone)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • updateAsync

        Mono<AfdDomainInner> updateAsync​(String resourceGroupName,
                                         String profileName,
                                         String customDomainName)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • update

        AfdDomainInner update​(String resourceGroupName,
                              String profileName,
                              String customDomainName,
                              AfdDomainHttpsParameters tlsSettings,
                              ResourceReference azureDnsZone)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • update

        AfdDomainInner update​(String resourceGroupName,
                              String profileName,
                              String customDomainName)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • update

        AfdDomainInner update​(String resourceGroupName,
                              String profileName,
                              String customDomainName,
                              AfdDomainHttpsParameters tlsSettings,
                              ResourceReference azureDnsZone,
                              com.azure.core.util.Context context)
        Updates an existing domain within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        tlsSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
        azureDnsZone - Resource reference to the Azure DNS zone.
        context - The context to associate with this operation.
        Returns:
        friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.
        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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String customDomainName)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the completion.
        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.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String profileName,
                                                                                                                               String customDomainName)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the completion.
        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 profileName,
                                                                                                                          String customDomainName)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the completion.
        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 profileName,
                                                                                                                          String customDomainName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String profileName,
                               String customDomainName)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the completion.
        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 profileName,
                    String customDomainName)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        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 profileName,
                    String customDomainName,
                    com.azure.core.util.Context context)
        Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        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.
      • refreshValidationTokenWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> refreshValidationTokenWithResponseAsync​(String resourceGroupName,
                                                                                                          String profileName,
                                                                                                          String customDomainName)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the validation token.
        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.
      • beginRefreshValidationTokenAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ValidationTokenInner>,​ValidationTokenInner> beginRefreshValidationTokenAsync​(String resourceGroupName,
                                                                                                                                                                               String profileName,
                                                                                                                                                                               String customDomainName)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the validation token.
        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.
      • beginRefreshValidationToken

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidationTokenInner>,​ValidationTokenInner> beginRefreshValidationToken​(String resourceGroupName,
                                                                                                                                                                          String profileName,
                                                                                                                                                                          String customDomainName)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the validation token.
        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.
      • beginRefreshValidationToken

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidationTokenInner>,​ValidationTokenInner> beginRefreshValidationToken​(String resourceGroupName,
                                                                                                                                                                          String profileName,
                                                                                                                                                                          String customDomainName,
                                                                                                                                                                          com.azure.core.util.Context context)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        the validation token.
        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.
      • refreshValidationTokenAsync

        Mono<ValidationTokenInner> refreshValidationTokenAsync​(String resourceGroupName,
                                                               String profileName,
                                                               String customDomainName)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the validation token.
        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.
      • refreshValidationToken

        ValidationTokenInner refreshValidationToken​(String resourceGroupName,
                                                    String profileName,
                                                    String customDomainName)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        Returns:
        the validation token.
        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.
      • refreshValidationToken

        ValidationTokenInner refreshValidationToken​(String resourceGroupName,
                                                    String profileName,
                                                    String customDomainName,
                                                    com.azure.core.util.Context context)
        Updates the domain validation token.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        customDomainName - Name of the domain under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        the validation token.
        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.