Partager via


OriginsClient Interface

public interface OriginsClient

An instance of this class provides access to all the operations defined in OriginsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<OriginInner>,OriginInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)

Creates a new origin within the specified endpoint.

abstract SyncPoller<PollResult<OriginInner>,OriginInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, Context context)

Creates a new origin within the specified endpoint.

abstract PollerFlux<PollResult<OriginInner>,OriginInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)

Creates a new origin within the specified endpoint.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, String originName)

Deletes an existing origin within an endpoint.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, String originName, Context context)

Deletes an existing origin within an endpoint.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName, String endpointName, String originName)

Deletes an existing origin within an endpoint.

abstract SyncPoller<PollResult<OriginInner>,OriginInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)

Updates an existing origin within an endpoint.

abstract SyncPoller<PollResult<OriginInner>,OriginInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, Context context)

Updates an existing origin within an endpoint.

abstract PollerFlux<PollResult<OriginInner>,OriginInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)

Updates an existing origin within an endpoint.

abstract OriginInner create(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)

Creates a new origin within the specified endpoint.

abstract OriginInner create(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, Context context)

Creates a new origin within the specified endpoint.

abstract Mono<OriginInner> createAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)

Creates a new origin within the specified endpoint.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin)

Creates a new origin within the specified endpoint.

abstract void delete(String resourceGroupName, String profileName, String endpointName, String originName)

Deletes an existing origin within an endpoint.

abstract void delete(String resourceGroupName, String profileName, String endpointName, String originName, Context context)

Deletes an existing origin within an endpoint.

abstract Mono<Void> deleteAsync(String resourceGroupName, String profileName, String endpointName, String originName)

Deletes an existing origin within an endpoint.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName)

Deletes an existing origin within an endpoint.

abstract OriginInner get(String resourceGroupName, String profileName, String endpointName, String originName)

Gets an existing origin within an endpoint.

abstract Mono<OriginInner> getAsync(String resourceGroupName, String profileName, String endpointName, String originName)

Gets an existing origin within an endpoint.

abstract Response<OriginInner> getWithResponse(String resourceGroupName, String profileName, String endpointName, String originName, Context context)

Gets an existing origin within an endpoint.

abstract Mono<Response<OriginInner>> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName)

Gets an existing origin within an endpoint.

abstract PagedIterable<OriginInner> listByEndpoint(String resourceGroupName, String profileName, String endpointName)

Lists all of the existing origins within an endpoint.

abstract PagedIterable<OriginInner> listByEndpoint(String resourceGroupName, String profileName, String endpointName, Context context)

Lists all of the existing origins within an endpoint.

abstract PagedFlux<OriginInner> listByEndpointAsync(String resourceGroupName, String profileName, String endpointName)

Lists all of the existing origins within an endpoint.

abstract OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)

Updates an existing origin within an endpoint.

abstract OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, Context context)

Updates an existing origin within an endpoint.

abstract Mono<OriginInner> updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)

Updates an existing origin within an endpoint.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties)

Updates an existing origin within an endpoint.

Method Details

beginCreate

public abstract SyncPoller,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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

beginCreate

public abstract SyncPoller,OriginInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, 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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

beginCreateAsync

public abstract PollerFlux,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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

beginDelete

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, String originName, 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<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

beginUpdate

public abstract SyncPoller,OriginInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, 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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

beginUpdateAsync

public abstract PollerFlux,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<T,U> for polling of cDN origin is the source of the content being delivered via CDN.

create

public abstract 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.

create

public abstract OriginInner create(String resourceGroupName, String profileName, String endpointName, String originName, OriginInner origin, 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.

createAsync

public abstract Mono 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.

createWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String profileName, String endpointName, String originName, 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.

deleteAsync

public abstract Mono 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.

deleteWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String profileName, String endpointName, String originName, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

listByEndpoint

public abstract PagedIterable 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<T>.

listByEndpoint

public abstract PagedIterable listByEndpoint(String resourceGroupName, String profileName, String endpointName, 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<T>.

listByEndpointAsync

public abstract PagedFlux 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<T>.

update

public abstract 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.

update

public abstract OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, 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.

updateAsync

public abstract Mono 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.

updateWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

Applies to