Interface CustomDomainsClient


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

      • listByEndpointAsync

        com.azure.core.http.rest.PagedFlux<CustomDomainInner> listByEndpointAsync​(String resourceGroupName,
                                                                                  String profileName,
                                                                                  String endpointName)
        Lists all of the existing custom domains within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list custom 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.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<CustomDomainInner> listByEndpoint​(String resourceGroupName,
                                                                                 String profileName,
                                                                                 String endpointName)
        Lists all of the existing custom domains within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list custom 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.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<CustomDomainInner> listByEndpoint​(String resourceGroupName,
                                                                                 String profileName,
                                                                                 String endpointName,
                                                                                 com.azure.core.util.Context context)
        Lists all of the existing custom domains within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        result of the request to list custom 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<CustomDomainInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                        String profileName,
                                                                                        String endpointName,
                                                                                        String customDomainName)
        Gets an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        Returns:
        an existing custom domain within an endpoint.
        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<CustomDomainInner> getAsync​(String resourceGroupName,
                                         String profileName,
                                         String endpointName,
                                         String customDomainName)
        Gets an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        Returns:
        an existing custom domain within an endpoint.
        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 profileName,
                              String endpointName,
                              String customDomainName)
        Gets an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        Returns:
        an existing custom domain within an endpoint.
        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 profileName,
                                                                             String endpointName,
                                                                             String customDomainName,
                                                                             com.azure.core.util.Context context)
        Gets an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        context - The context to associate with this operation.
        Returns:
        an existing custom domain within an endpoint.
        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 endpointName,
                                                                                          String customDomainName,
                                                                                          String hostname)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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<CustomDomainInner>,​CustomDomainInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                         String profileName,
                                                                                                                                                         String endpointName,
                                                                                                                                                         String customDomainName,
                                                                                                                                                         String hostname)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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<CustomDomainInner>,​CustomDomainInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String profileName,
                                                                                                                                                    String endpointName,
                                                                                                                                                    String customDomainName,
                                                                                                                                                    String hostname)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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<CustomDomainInner>,​CustomDomainInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String profileName,
                                                                                                                                                    String endpointName,
                                                                                                                                                    String customDomainName,
                                                                                                                                                    String hostname,
                                                                                                                                                    com.azure.core.util.Context context)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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<CustomDomainInner> createAsync​(String resourceGroupName,
                                            String profileName,
                                            String endpointName,
                                            String customDomainName,
                                            String hostname)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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<CustomDomainInner> createAsync​(String resourceGroupName,
                                            String profileName,
                                            String endpointName,
                                            String customDomainName)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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

        CustomDomainInner create​(String resourceGroupName,
                                 String profileName,
                                 String endpointName,
                                 String customDomainName,
                                 String hostname)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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

        CustomDomainInner create​(String resourceGroupName,
                                 String profileName,
                                 String endpointName,
                                 String customDomainName)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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

        CustomDomainInner create​(String resourceGroupName,
                                 String profileName,
                                 String endpointName,
                                 String customDomainName,
                                 String hostname,
                                 com.azure.core.util.Context context)
        Creates a new custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        hostname - The host name of the custom domain. Must be a domain name.
        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 endpointName,
                                                                                          String customDomainName)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CustomDomainInner>,​CustomDomainInner> beginDeleteAsync​(String resourceGroupName,
                                                                                                                                                         String profileName,
                                                                                                                                                         String endpointName,
                                                                                                                                                         String customDomainName)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomDomainInner>,​CustomDomainInner> beginDelete​(String resourceGroupName,
                                                                                                                                                    String profileName,
                                                                                                                                                    String endpointName,
                                                                                                                                                    String customDomainName)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CustomDomainInner>,​CustomDomainInner> beginDelete​(String resourceGroupName,
                                                                                                                                                    String profileName,
                                                                                                                                                    String endpointName,
                                                                                                                                                    String customDomainName,
                                                                                                                                                    com.azure.core.util.Context context)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • deleteAsync

        Mono<CustomDomainInner> deleteAsync​(String resourceGroupName,
                                            String profileName,
                                            String endpointName,
                                            String customDomainName)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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

        CustomDomainInner delete​(String resourceGroupName,
                                 String profileName,
                                 String endpointName,
                                 String customDomainName)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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

        CustomDomainInner delete​(String resourceGroupName,
                                 String profileName,
                                 String endpointName,
                                 String customDomainName,
                                 com.azure.core.util.Context context)
        Deletes an existing custom domain within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • disableCustomHttpsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CustomDomainInner>> disableCustomHttpsWithResponseAsync​(String resourceGroupName,
                                                                                                       String profileName,
                                                                                                       String endpointName,
                                                                                                       String customDomainName)
        Disable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • disableCustomHttpsAsync

        Mono<CustomDomainInner> disableCustomHttpsAsync​(String resourceGroupName,
                                                        String profileName,
                                                        String endpointName,
                                                        String customDomainName)
        Disable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • disableCustomHttps

        CustomDomainInner disableCustomHttps​(String resourceGroupName,
                                             String profileName,
                                             String endpointName,
                                             String customDomainName)
        Disable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • disableCustomHttpsWithResponse

        com.azure.core.http.rest.Response<CustomDomainInner> disableCustomHttpsWithResponse​(String resourceGroupName,
                                                                                            String profileName,
                                                                                            String endpointName,
                                                                                            String customDomainName,
                                                                                            com.azure.core.util.Context context)
        Disable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • enableCustomHttpsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CustomDomainInner>> enableCustomHttpsWithResponseAsync​(String resourceGroupName,
                                                                                                      String profileName,
                                                                                                      String endpointName,
                                                                                                      String customDomainName,
                                                                                                      CustomDomainHttpsParameters customDomainHttpsParameters)
        Enable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        customDomainHttpsParameters - The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.
        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.
      • enableCustomHttpsAsync

        Mono<CustomDomainInner> enableCustomHttpsAsync​(String resourceGroupName,
                                                       String profileName,
                                                       String endpointName,
                                                       String customDomainName,
                                                       CustomDomainHttpsParameters customDomainHttpsParameters)
        Enable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        customDomainHttpsParameters - The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.
        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.
      • enableCustomHttpsAsync

        Mono<CustomDomainInner> enableCustomHttpsAsync​(String resourceGroupName,
                                                       String profileName,
                                                       String endpointName,
                                                       String customDomainName)
        Enable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • enableCustomHttps

        CustomDomainInner enableCustomHttps​(String resourceGroupName,
                                            String profileName,
                                            String endpointName,
                                            String customDomainName)
        Enable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        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.
      • enableCustomHttpsWithResponse

        com.azure.core.http.rest.Response<CustomDomainInner> enableCustomHttpsWithResponse​(String resourceGroupName,
                                                                                           String profileName,
                                                                                           String endpointName,
                                                                                           String customDomainName,
                                                                                           CustomDomainHttpsParameters customDomainHttpsParameters,
                                                                                           com.azure.core.util.Context context)
        Enable https delivery of the custom domain.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        customDomainName - Name of the custom domain within an endpoint.
        customDomainHttpsParameters - The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.
        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.