Interface EndpointsClient


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

      • listByProfileAsync

        com.azure.core.http.rest.PagedFlux<EndpointInner> listByProfileAsync​(String resourceGroupName,
                                                                             String profileName)
        Lists existing CDN endpoints.
        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 endpoints.
        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<EndpointInner> listByProfile​(String resourceGroupName,
                                                                            String profileName)
        Lists existing CDN endpoints.
        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 endpoints.
        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<EndpointInner> listByProfile​(String resourceGroupName,
                                                                            String profileName,
                                                                            com.azure.core.util.Context context)
        Lists existing CDN endpoints.
        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 endpoints.
        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<EndpointInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                    String profileName,
                                                                                    String endpointName)
        Gets an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        an existing CDN endpoint with the specified endpoint 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<EndpointInner> getAsync​(String resourceGroupName,
                                     String profileName,
                                     String endpointName)
        Gets an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        an existing CDN endpoint with the specified endpoint 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

        EndpointInner get​(String resourceGroupName,
                          String profileName,
                          String endpointName)
        Gets an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        an existing CDN endpoint with the specified endpoint 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<EndpointInner> getWithResponse​(String resourceGroupName,
                                                                         String profileName,
                                                                         String endpointName,
                                                                         com.azure.core.util.Context context)
        Gets an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        an existing CDN endpoint with the specified endpoint 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 endpointName,
                                                                                          EndpointInner endpoint)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                 String profileName,
                                                                                                                                                 String endpointName,
                                                                                                                                                 EndpointInner endpoint)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String profileName,
                                                                                                                                            String endpointName,
                                                                                                                                            EndpointInner endpoint)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String profileName,
                                                                                                                                            String endpointName,
                                                                                                                                            EndpointInner endpoint,
                                                                                                                                            com.azure.core.util.Context context)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        context - The context to associate with this operation.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner> createAsync​(String resourceGroupName,
                                        String profileName,
                                        String endpointName,
                                        EndpointInner endpoint)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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

        EndpointInner create​(String resourceGroupName,
                             String profileName,
                             String endpointName,
                             EndpointInner endpoint)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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

        EndpointInner create​(String resourceGroupName,
                             String profileName,
                             String endpointName,
                             EndpointInner endpoint,
                             com.azure.core.util.Context context)
        Creates a new CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint under the profile which is unique globally.
        endpoint - Endpoint properties.
        context - The context to associate with this operation.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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 endpointName,
                                                                                          EndpointUpdateParameters endpointUpdateProperties)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                 String profileName,
                                                                                                                                                 String endpointName,
                                                                                                                                                 EndpointUpdateParameters endpointUpdateProperties)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String profileName,
                                                                                                                                            String endpointName,
                                                                                                                                            EndpointUpdateParameters endpointUpdateProperties)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner>,​EndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String profileName,
                                                                                                                                            String endpointName,
                                                                                                                                            EndpointUpdateParameters endpointUpdateProperties,
                                                                                                                                            com.azure.core.util.Context context)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        context - The context to associate with this operation.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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<EndpointInner> updateAsync​(String resourceGroupName,
                                        String profileName,
                                        String endpointName,
                                        EndpointUpdateParameters endpointUpdateProperties)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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

        EndpointInner update​(String resourceGroupName,
                             String profileName,
                             String endpointName,
                             EndpointUpdateParameters endpointUpdateProperties)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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

        EndpointInner update​(String resourceGroupName,
                             String profileName,
                             String endpointName,
                             EndpointUpdateParameters endpointUpdateProperties,
                             com.azure.core.util.Context context)
        Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
        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.
        endpointUpdateProperties - Endpoint update properties.
        context - The context to associate with this operation.
        Returns:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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 endpointName,
                    com.azure.core.util.Context context)
        Deletes an existing CDN endpoint with the specified endpoint 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.
        endpointName - Name of the endpoint 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.
      • startWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync​(String resourceGroupName,
                                                                                         String profileName,
                                                                                         String endpointName)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStartAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStartAsync​(String resourceGroupName,
                                                                                                                                                String profileName,
                                                                                                                                                String endpointName)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStart

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStart​(String resourceGroupName,
                                                                                                                                           String profileName,
                                                                                                                                           String endpointName)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStart

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStart​(String resourceGroupName,
                                                                                                                                           String profileName,
                                                                                                                                           String endpointName,
                                                                                                                                           com.azure.core.util.Context context)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • startAsync

        Mono<EndpointInner> startAsync​(String resourceGroupName,
                                       String profileName,
                                       String endpointName)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • start

        EndpointInner start​(String resourceGroupName,
                            String profileName,
                            String endpointName)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • start

        EndpointInner start​(String resourceGroupName,
                            String profileName,
                            String endpointName,
                            com.azure.core.util.Context context)
        Starts an existing CDN endpoint that is on a stopped state.
        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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • stopWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync​(String resourceGroupName,
                                                                                        String profileName,
                                                                                        String endpointName)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStopAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStopAsync​(String resourceGroupName,
                                                                                                                                               String profileName,
                                                                                                                                               String endpointName)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStop

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStop​(String resourceGroupName,
                                                                                                                                          String profileName,
                                                                                                                                          String endpointName)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • beginStop

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointInner>,​EndpointInner> beginStop​(String resourceGroupName,
                                                                                                                                          String profileName,
                                                                                                                                          String endpointName,
                                                                                                                                          com.azure.core.util.Context context)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • stopAsync

        Mono<EndpointInner> stopAsync​(String resourceGroupName,
                                      String profileName,
                                      String endpointName)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • stop

        EndpointInner stop​(String resourceGroupName,
                           String profileName,
                           String endpointName)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • stop

        EndpointInner stop​(String resourceGroupName,
                           String profileName,
                           String endpointName,
                           com.azure.core.util.Context context)
        Stops an existing running CDN 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:
        cDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior.
        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.
      • purgeContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeContentWithResponseAsync​(String resourceGroupName,
                                                                                                String profileName,
                                                                                                String endpointName,
                                                                                                List<String> contentPaths)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • beginPurgeContentAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginPurgeContentAsync​(String resourceGroupName,
                                                                                                                                     String profileName,
                                                                                                                                     String endpointName,
                                                                                                                                     List<String> contentPaths)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • beginPurgeContent

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginPurgeContent​(String resourceGroupName,
                                                                                                                                String profileName,
                                                                                                                                String endpointName,
                                                                                                                                List<String> contentPaths)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • beginPurgeContent

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginPurgeContent​(String resourceGroupName,
                                                                                                                                String profileName,
                                                                                                                                String endpointName,
                                                                                                                                List<String> contentPaths,
                                                                                                                                com.azure.core.util.Context context)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • purgeContentAsync

        Mono<Void> purgeContentAsync​(String resourceGroupName,
                                     String profileName,
                                     String endpointName,
                                     List<String> contentPaths)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • purgeContent

        void purgeContent​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          List<String> contentPaths)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • purgeContent

        void purgeContent​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          List<String> contentPaths,
                          com.azure.core.util.Context context)
        Removes a content from CDN.
        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.
        contentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
        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.
      • loadContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> loadContentWithResponseAsync​(String resourceGroupName,
                                                                                               String profileName,
                                                                                               String endpointName,
                                                                                               List<String> contentPaths)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • beginLoadContentAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginLoadContentAsync​(String resourceGroupName,
                                                                                                                                    String profileName,
                                                                                                                                    String endpointName,
                                                                                                                                    List<String> contentPaths)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • beginLoadContent

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginLoadContent​(String resourceGroupName,
                                                                                                                               String profileName,
                                                                                                                               String endpointName,
                                                                                                                               List<String> contentPaths)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • beginLoadContent

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginLoadContent​(String resourceGroupName,
                                                                                                                               String profileName,
                                                                                                                               String endpointName,
                                                                                                                               List<String> contentPaths,
                                                                                                                               com.azure.core.util.Context context)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • loadContentAsync

        Mono<Void> loadContentAsync​(String resourceGroupName,
                                    String profileName,
                                    String endpointName,
                                    List<String> contentPaths)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • loadContent

        void loadContent​(String resourceGroupName,
                         String profileName,
                         String endpointName,
                         List<String> contentPaths)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • loadContent

        void loadContent​(String resourceGroupName,
                         String profileName,
                         String endpointName,
                         List<String> contentPaths,
                         com.azure.core.util.Context context)
        Pre-loads a content to CDN. Available for Verizon Profiles.
        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.
        contentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
        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.
      • validateCustomDomainWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner>> validateCustomDomainWithResponseAsync​(String resourceGroupName,
                                                                                                                       String profileName,
                                                                                                                       String endpointName,
                                                                                                                       String hostname)
        Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
        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.
        hostname - The host name of the custom domain. Must be a domain name.
        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.
      • validateCustomDomainAsync

        Mono<ValidateCustomDomainOutputInner> validateCustomDomainAsync​(String resourceGroupName,
                                                                        String profileName,
                                                                        String endpointName,
                                                                        String hostname)
        Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
        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.
        hostname - The host name of the custom domain. Must be a domain name.
        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.
      • validateCustomDomain

        ValidateCustomDomainOutputInner validateCustomDomain​(String resourceGroupName,
                                                             String profileName,
                                                             String endpointName,
                                                             String hostname)
        Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
        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.
        hostname - The host name of the custom domain. Must be a domain name.
        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.
      • validateCustomDomainWithResponse

        com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner> validateCustomDomainWithResponse​(String resourceGroupName,
                                                                                                            String profileName,
                                                                                                            String endpointName,
                                                                                                            String hostname,
                                                                                                            com.azure.core.util.Context context)
        Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
        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.
        hostname - The host name of the custom domain. Must be a domain name.
        context - The context to associate with this operation.
        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.
      • listResourceUsageAsync

        com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listResourceUsageAsync​(String resourceGroupName,
                                                                                      String profileName,
                                                                                      String endpointName)
        Checks the quota and usage of geo filters and custom domains under the given 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:
        output of check resource usage API.
        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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage​(String resourceGroupName,
                                                                                     String profileName,
                                                                                     String endpointName)
        Checks the quota and usage of geo filters and custom domains under the given 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:
        output of check resource usage API.
        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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage​(String resourceGroupName,
                                                                                     String profileName,
                                                                                     String endpointName,
                                                                                     com.azure.core.util.Context context)
        Checks the quota and usage of geo filters and custom domains under the given 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:
        output of check resource usage API.
        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.