Interface AfdOriginsClient


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

      • listByOriginGroupAsync

        com.azure.core.http.rest.PagedFlux<AfdOriginInner> listByOriginGroupAsync​(String resourceGroupName,
                                                                                  String profileName,
                                                                                  String originGroupName)
        Lists all of the existing origins within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        Returns:
        result of the request to list origins.
        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.
      • listByOriginGroup

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

        com.azure.core.http.rest.PagedIterable<AfdOriginInner> listByOriginGroup​(String resourceGroupName,
                                                                                 String profileName,
                                                                                 String originGroupName,
                                                                                 com.azure.core.util.Context context)
        Lists all of the existing origins within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        context - The context to associate with this operation.
        Returns:
        result of the request to list origins.
        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<AfdOriginInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                     String profileName,
                                                                                     String originGroupName,
                                                                                     String originName)
        Gets an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        Returns:
        an existing origin within an origin group.
        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<AfdOriginInner> getAsync​(String resourceGroupName,
                                      String profileName,
                                      String originGroupName,
                                      String originName)
        Gets an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        Returns:
        an existing origin within an origin group.
        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

        AfdOriginInner get​(String resourceGroupName,
                           String profileName,
                           String originGroupName,
                           String originName)
        Gets an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        Returns:
        an existing origin within an origin group.
        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<AfdOriginInner> getWithResponse​(String resourceGroupName,
                                                                          String profileName,
                                                                          String originGroupName,
                                                                          String originName,
                                                                          com.azure.core.util.Context context)
        Gets an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        context - The context to associate with this operation.
        Returns:
        an existing origin within an origin group.
        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 originGroupName,
                                                                                          String originName,
                                                                                          AfdOriginInner origin)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                   String profileName,
                                                                                                                                                   String originGroupName,
                                                                                                                                                   String originName,
                                                                                                                                                   AfdOriginInner origin)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String originGroupName,
                                                                                                                                              String originName,
                                                                                                                                              AfdOriginInner origin)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String originGroupName,
                                                                                                                                              String originName,
                                                                                                                                              AfdOriginInner origin,
                                                                                                                                              com.azure.core.util.Context context)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        context - The context to associate with this operation.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner> createAsync​(String resourceGroupName,
                                         String profileName,
                                         String originGroupName,
                                         String originName,
                                         AfdOriginInner origin)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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

        AfdOriginInner create​(String resourceGroupName,
                              String profileName,
                              String originGroupName,
                              String originName,
                              AfdOriginInner origin)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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

        AfdOriginInner create​(String resourceGroupName,
                              String profileName,
                              String originGroupName,
                              String originName,
                              AfdOriginInner origin,
                              com.azure.core.util.Context context)
        Creates a new origin within the specified origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin that is unique within the profile.
        origin - Origin properties.
        context - The context to associate with this operation.
        Returns:
        cDN origin is the source of the content being delivered via 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 originGroupName,
                                                                                          String originName,
                                                                                          AfdOriginUpdateParameters originUpdateProperties)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                   String profileName,
                                                                                                                                                   String originGroupName,
                                                                                                                                                   String originName,
                                                                                                                                                   AfdOriginUpdateParameters originUpdateProperties)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String originGroupName,
                                                                                                                                              String originName,
                                                                                                                                              AfdOriginUpdateParameters originUpdateProperties)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner>,​AfdOriginInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String profileName,
                                                                                                                                              String originGroupName,
                                                                                                                                              String originName,
                                                                                                                                              AfdOriginUpdateParameters originUpdateProperties,
                                                                                                                                              com.azure.core.util.Context context)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        context - The context to associate with this operation.
        Returns:
        cDN origin is the source of the content being delivered via 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<AfdOriginInner> updateAsync​(String resourceGroupName,
                                         String profileName,
                                         String originGroupName,
                                         String originName,
                                         AfdOriginUpdateParameters originUpdateProperties)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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

        AfdOriginInner update​(String resourceGroupName,
                              String profileName,
                              String originGroupName,
                              String originName,
                              AfdOriginUpdateParameters originUpdateProperties)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        Returns:
        cDN origin is the source of the content being delivered via 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

        AfdOriginInner update​(String resourceGroupName,
                              String profileName,
                              String originGroupName,
                              String originName,
                              AfdOriginUpdateParameters originUpdateProperties,
                              com.azure.core.util.Context context)
        Updates an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        originUpdateProperties - Origin properties.
        context - The context to associate with this operation.
        Returns:
        cDN origin is the source of the content being delivered via 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 originGroupName,
                                                                                          String originName)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        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 originGroupName,
                                                                                                                               String originName)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        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 originGroupName,
                                                                                                                          String originName)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        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 originGroupName,
                                                                                                                          String originName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        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 originGroupName,
                               String originName)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the profile.
        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 originGroupName,
                    String originName)
        Deletes an existing origin within an origin group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        originGroupName - Name of the origin group which is unique within the profile.
        originName - Name of the origin which is unique within the 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.
      • delete

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