Interface AfdEndpointsClient


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

      • listByProfileAsync

        com.azure.core.http.rest.PagedFlux<AfdEndpointInner> listByProfileAsync​(String resourceGroupName,
                                                                                String profileName)
        Lists existing AzureFrontDoor 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<AfdEndpointInner> listByProfile​(String resourceGroupName,
                                                                               String profileName)
        Lists existing AzureFrontDoor 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<AfdEndpointInner> listByProfile​(String resourceGroupName,
                                                                               String profileName,
                                                                               com.azure.core.util.Context context)
        Lists existing AzureFrontDoor 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<AfdEndpointInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                       String profileName,
                                                                                       String endpointName)
        Gets an existing AzureFrontDoor 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 AzureFrontDoor 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<AfdEndpointInner> getAsync​(String resourceGroupName,
                                        String profileName,
                                        String endpointName)
        Gets an existing AzureFrontDoor 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 AzureFrontDoor 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

        AfdEndpointInner get​(String resourceGroupName,
                             String profileName,
                             String endpointName)
        Gets an existing AzureFrontDoor 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 AzureFrontDoor 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<AfdEndpointInner> getWithResponse​(String resourceGroupName,
                                                                            String profileName,
                                                                            String endpointName,
                                                                            com.azure.core.util.Context context)
        Gets an existing AzureFrontDoor 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 AzureFrontDoor 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,
                                                                                          AfdEndpointInner endpoint)
        Creates a new AzureFrontDoor 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<AfdEndpointInner>,​AfdEndpointInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                       String profileName,
                                                                                                                                                       String endpointName,
                                                                                                                                                       AfdEndpointInner endpoint)
        Creates a new AzureFrontDoor 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<AfdEndpointInner>,​AfdEndpointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  AfdEndpointInner endpoint)
        Creates a new AzureFrontDoor 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<AfdEndpointInner>,​AfdEndpointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  AfdEndpointInner endpoint,
                                                                                                                                                  com.azure.core.util.Context context)
        Creates a new AzureFrontDoor 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<AfdEndpointInner> createAsync​(String resourceGroupName,
                                           String profileName,
                                           String endpointName,
                                           AfdEndpointInner endpoint)
        Creates a new AzureFrontDoor 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

        AfdEndpointInner create​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                AfdEndpointInner endpoint)
        Creates a new AzureFrontDoor 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

        AfdEndpointInner create​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                AfdEndpointInner endpoint,
                                com.azure.core.util.Context context)
        Creates a new AzureFrontDoor 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,
                                                                                          AfdEndpointUpdateParameters endpointUpdateProperties)
        Updates an existing AzureFrontDoor 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 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<AfdEndpointInner>,​AfdEndpointInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                       String profileName,
                                                                                                                                                       String endpointName,
                                                                                                                                                       AfdEndpointUpdateParameters endpointUpdateProperties)
        Updates an existing AzureFrontDoor 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 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<AfdEndpointInner>,​AfdEndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  AfdEndpointUpdateParameters endpointUpdateProperties)
        Updates an existing AzureFrontDoor 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 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<AfdEndpointInner>,​AfdEndpointInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  AfdEndpointUpdateParameters endpointUpdateProperties,
                                                                                                                                                  com.azure.core.util.Context context)
        Updates an existing AzureFrontDoor 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 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<AfdEndpointInner> updateAsync​(String resourceGroupName,
                                           String profileName,
                                           String endpointName,
                                           AfdEndpointUpdateParameters endpointUpdateProperties)
        Updates an existing AzureFrontDoor 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 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

        AfdEndpointInner update​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                AfdEndpointUpdateParameters endpointUpdateProperties)
        Updates an existing AzureFrontDoor 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 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

        AfdEndpointInner update​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                AfdEndpointUpdateParameters endpointUpdateProperties,
                                com.azure.core.util.Context context)
        Updates an existing AzureFrontDoor 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 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 AzureFrontDoor 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 AzureFrontDoor 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 AzureFrontDoor 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 AzureFrontDoor 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 AzureFrontDoor 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 AzureFrontDoor 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 AzureFrontDoor 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.
      • purgeContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeContentWithResponseAsync​(String resourceGroupName,
                                                                                                String profileName,
                                                                                                String endpointName,
                                                                                                List<String> contentPaths,
                                                                                                List<String> domains)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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,
                                                                                                                                     List<String> domains)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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,
                                                                                                                                List<String> domains)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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,
                                                                                                                                List<String> domains,
                                                                                                                                com.azure.core.util.Context context)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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,
                                     List<String> domains)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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 AzureFrontDoor.
        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,
                          List<String> domains)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of 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.
      • purgeContent

        void purgeContent​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          List<String> contentPaths)
        Removes a content from AzureFrontDoor.
        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,
                          List<String> domains,
                          com.azure.core.util.Context context)
        Removes a content from AzureFrontDoor.
        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.
        domains - List of domains.
        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.
      • listResourceUsageAsync

        com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync​(String resourceGroupName,
                                                                              String profileName,
                                                                              String endpointName)
        Checks the quota and actual usage of endpoints under the given CDN 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 list usages operation 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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName,
                                                                             String profileName,
                                                                             String endpointName)
        Checks the quota and actual usage of endpoints under the given CDN 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 list usages operation 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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName,
                                                                             String profileName,
                                                                             String endpointName,
                                                                             com.azure.core.util.Context context)
        Checks the quota and actual usage of endpoints under the given CDN 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 list usages operation 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.
      • 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.