Interface OriginGroupsClient


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

      • listByEndpointAsync

        com.azure.core.http.rest.PagedFlux<OriginGroupInner> listByEndpointAsync​(String resourceGroupName,
                                                                                 String profileName,
                                                                                 String endpointName)
        Lists all of the existing origin groups within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list origin groups.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<OriginGroupInner> listByEndpoint​(String resourceGroupName,
                                                                                String profileName,
                                                                                String endpointName)
        Lists all of the existing origin groups within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list origin groups.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<OriginGroupInner> listByEndpoint​(String resourceGroupName,
                                                                                String profileName,
                                                                                String endpointName,
                                                                                com.azure.core.util.Context context)
        Lists all of the existing origin groups within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        result of the request to list origin groups.
        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<OriginGroupInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                       String profileName,
                                                                                       String endpointName,
                                                                                       String originGroupName)
        Gets an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        Returns:
        an existing origin group within an endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<OriginGroupInner> getAsync​(String resourceGroupName,
                                        String profileName,
                                        String endpointName,
                                        String originGroupName)
        Gets an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        Returns:
        an existing origin group within an endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        OriginGroupInner get​(String resourceGroupName,
                             String profileName,
                             String endpointName,
                             String originGroupName)
        Gets an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        Returns:
        an existing origin group within an endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<OriginGroupInner> getWithResponse​(String resourceGroupName,
                                                                            String profileName,
                                                                            String endpointName,
                                                                            String originGroupName,
                                                                            com.azure.core.util.Context context)
        Gets an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        context - The context to associate with this operation.
        Returns:
        an existing origin group within an endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String endpointName,
                                                                                          String originGroupName,
                                                                                          OriginGroupInner originGroup)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                       String profileName,
                                                                                                                                                       String endpointName,
                                                                                                                                                       String originGroupName,
                                                                                                                                                       OriginGroupInner originGroup)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginCreate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  String originGroupName,
                                                                                                                                                  OriginGroupInner originGroup)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginCreate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  String originGroupName,
                                                                                                                                                  OriginGroupInner originGroup,
                                                                                                                                                  com.azure.core.util.Context context)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        context - The context to associate with this operation.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner> createAsync​(String resourceGroupName,
                                           String profileName,
                                           String endpointName,
                                           String originGroupName,
                                           OriginGroupInner originGroup)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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

        OriginGroupInner create​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                String originGroupName,
                                OriginGroupInner originGroup)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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

        OriginGroupInner create​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                String originGroupName,
                                OriginGroupInner originGroup,
                                com.azure.core.util.Context context)
        Creates a new origin group within the specified 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.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroup - Origin group properties.
        context - The context to associate with this operation.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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,
                                                                                          String originGroupName,
                                                                                          OriginGroupUpdateParameters originGroupUpdateProperties)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                       String profileName,
                                                                                                                                                       String endpointName,
                                                                                                                                                       String originGroupName,
                                                                                                                                                       OriginGroupUpdateParameters originGroupUpdateProperties)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  String originGroupName,
                                                                                                                                                  OriginGroupUpdateParameters originGroupUpdateProperties)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner>,​OriginGroupInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                  String profileName,
                                                                                                                                                  String endpointName,
                                                                                                                                                  String originGroupName,
                                                                                                                                                  OriginGroupUpdateParameters originGroupUpdateProperties,
                                                                                                                                                  com.azure.core.util.Context context)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        context - The context to associate with this operation.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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<OriginGroupInner> updateAsync​(String resourceGroupName,
                                           String profileName,
                                           String endpointName,
                                           String originGroupName,
                                           OriginGroupUpdateParameters originGroupUpdateProperties)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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

        OriginGroupInner update​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                String originGroupName,
                                OriginGroupUpdateParameters originGroupUpdateProperties)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        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

        OriginGroupInner update​(String resourceGroupName,
                                String profileName,
                                String endpointName,
                                String originGroupName,
                                OriginGroupUpdateParameters originGroupUpdateProperties,
                                com.azure.core.util.Context context)
        Updates an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        originGroupUpdateProperties - Origin group properties.
        context - The context to associate with this operation.
        Returns:
        origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String endpointName,
                                                                                          String originGroupName)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        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,
                                                                                                                               String originGroupName)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        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,
                                                                                                                          String originGroupName)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        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,
                                                                                                                          String originGroupName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        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,
                               String originGroupName)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        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,
                    String originGroupName)
        Deletes an existing origin group within an endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        originGroupName - Name of the origin group which is unique within the endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

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