Interface OriginsClient


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

    • listByEndpointAsync

      com.azure.core.http.rest.PagedFlux<OriginInner> listByEndpointAsync(String resourceGroupName, String profileName, String endpointName)
      Lists all of the existing origins 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 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.
    • listByEndpoint

      com.azure.core.http.rest.PagedIterable<OriginInner> listByEndpoint(String resourceGroupName, String profileName, String endpointName)
      Lists all of the existing origins 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 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.
    • listByEndpoint

      com.azure.core.http.rest.PagedIterable<OriginInner> listByEndpoint(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)
      Lists all of the existing origins 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 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<OriginInner>> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName)
      Gets an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      Returns:
      an existing origin within an endpoint 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<OriginInner> getAsync(String resourceGroupName, String profileName, String endpointName, String originName)
      Gets an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      Returns:
      an existing origin within an endpoint 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<OriginInner> getWithResponse(String resourceGroupName, String profileName, String endpointName, String originName, com.azure.core.util.Context context)
      Gets an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      context - The context to associate with this operation.
      Returns:
      an existing origin within an endpoint 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

      OriginInner get(String resourceGroupName, String profileName, String endpointName, String originName)
      Gets an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      Returns:
      an existing origin 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 originName, OriginInner origin)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      origin - Origin properties.
      Returns:
      cDN origin is the source of the content being delivered via CDN 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<OriginInner>, OriginInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      origin - Origin properties.
      Returns:
      the PollerFlux for polling of 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<OriginInner>, OriginInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      origin - Origin properties.
      Returns:
      the SyncPoller for polling of 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<OriginInner>, OriginInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, com.azure.core.util.Context context)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      origin - Origin properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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<OriginInner> createAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      origin - Origin properties.
      Returns:
      cDN origin is the source of the content being delivered via CDN 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

      OriginInner create(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      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

      OriginInner create(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, com.azure.core.util.Context context)
      Creates a new origin 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.
      originName - Name of the origin that is unique within the endpoint.
      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 endpointName, String originName, OriginUpdateParameters originUpdateProperties)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      originUpdateProperties - Origin properties.
      Returns:
      cDN origin is the source of the content being delivered via CDN 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<OriginInner>, OriginInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      originUpdateProperties - Origin properties.
      Returns:
      the PollerFlux for polling of 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<OriginInner>, OriginInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      originUpdateProperties - Origin properties.
      Returns:
      the SyncPoller for polling of 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<OriginInner>, OriginInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, com.azure.core.util.Context context)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      originUpdateProperties - Origin properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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<OriginInner> updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      originUpdateProperties - Origin properties.
      Returns:
      cDN origin is the source of the content being delivered via CDN 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

      OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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

      OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, com.azure.core.util.Context context)
      Updates an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName)
      Deletes an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName)
      Deletes an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName)
      Deletes an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName, com.azure.core.util.Context context)
      Deletes an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName)
      Deletes an existing origin 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.
      originName - Name of the origin which is unique within the endpoint.
      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 endpointName, String originName)
      Deletes an existing origin 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.
      originName - Name of the origin 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 originName, com.azure.core.util.Context context)
      Deletes an existing origin 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.
      originName - Name of the origin 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.