Interface AfdOriginsClient


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

    • 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 Azure Front Door Standard or Azure Front Door Premium 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 as paginated response with PagedFlux.
      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 Azure Front Door Standard or Azure Front Door Premium 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 as paginated response with PagedIterable.
      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 Azure Front Door Standard or Azure Front Door Premium 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 as paginated response with PagedIterable.
      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 Azure Front Door Standard or Azure Front Door Premium 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 along with Response on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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 on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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 along with 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.
    • 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 Azure Front Door Standard or Azure Front Door Premium 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.
    • 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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door along with Response on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the PollerFlux for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the SyncPoller for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the SyncPoller for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door along with Response on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the PollerFlux for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the SyncPoller for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      the SyncPoller for polling of azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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:
      azure Front Door origin is the source of the content being delivered via Azure Front Door.
      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 Azure Front Door Standard or Azure Front Door Premium 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 Response on successful completion of Mono.
      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 Azure Front Door Standard or Azure Front Door Premium 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 PollerFlux for polling of long-running 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.
    • 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 Azure Front Door Standard or Azure Front Door Premium 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 SyncPoller for polling of long-running 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.
    • 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 Azure Front Door Standard or Azure Front Door Premium 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 SyncPoller for polling of long-running 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.
    • 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 Azure Front Door Standard or Azure Front Door Premium 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:
      A Mono that completes when a successful response is received.
      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 Azure Front Door Standard or Azure Front Door Premium 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 Azure Front Door Standard or Azure Front Door Premium 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.