Partilhar via


OriginGroupsClient Interface

public interface OriginGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<OriginGroupInner>,OriginGroupInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

abstract SyncPoller<PollResult<OriginGroupInner>,OriginGroupInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup, Context context)

Creates a new origin group within the specified endpoint.

abstract PollerFlux<PollResult<OriginGroupInner>,OriginGroupInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

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

Deletes an existing origin group within an endpoint.

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

Deletes an existing origin group within an endpoint.

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

Deletes an existing origin group within an endpoint.

abstract SyncPoller<PollResult<OriginGroupInner>,OriginGroupInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

abstract SyncPoller<PollResult<OriginGroupInner>,OriginGroupInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties, Context context)

Updates an existing origin group within an endpoint.

abstract PollerFlux<PollResult<OriginGroupInner>,OriginGroupInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

abstract OriginGroupInner create(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

abstract OriginGroupInner create(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup, Context context)

Creates a new origin group within the specified endpoint.

abstract Mono<OriginGroupInner> createAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

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

Deletes an existing origin group within an endpoint.

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

Deletes an existing origin group within an endpoint.

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

Deletes an existing origin group within an endpoint.

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

Deletes an existing origin group within an endpoint.

abstract OriginGroupInner get(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

abstract Mono<OriginGroupInner> getAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

abstract Response<OriginGroupInner> getWithResponse(String resourceGroupName, String profileName, String endpointName, String originGroupName, Context context)

Gets an existing origin group within an endpoint.

abstract Mono<Response<OriginGroupInner>> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

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

Lists all of the existing origin groups within an endpoint.

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

Lists all of the existing origin groups within an endpoint.

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

Lists all of the existing origin groups within an endpoint.

abstract OriginGroupInner update(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

abstract OriginGroupInner update(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties, Context context)

Updates an existing origin group within an endpoint.

abstract Mono<OriginGroupInner> updateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Method Details

beginCreate

public abstract SyncPoller,OriginGroupInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.

Returns:

the SyncPoller<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

beginCreate

public abstract SyncPoller,OriginGroupInner> beginCreate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup, Context context)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

beginCreateAsync

public abstract PollerFlux,OriginGroupInner> beginCreateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.

Returns:

the PollerFlux<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String profileName, String endpointName, String originGroupName, Context context)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,OriginGroupInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.

Returns:

the SyncPoller<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

beginUpdate

public abstract SyncPoller,OriginGroupInner> beginUpdate(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties, Context context)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

beginUpdateAsync

public abstract PollerFlux,OriginGroupInner> beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.

Returns:

the PollerFlux<T,U> for polling of origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

create

public abstract OriginGroupInner create(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

create

public abstract OriginGroupInner create(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup, Context context)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.
context - The context to associate with this operation.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

createAsync

public abstract Mono createAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN on successful completion of Mono.

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupInner originGroup)

Creates a new origin group within the specified endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroup - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

delete

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

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Deletes an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract OriginGroupInner get(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

an existing origin group within an endpoint.

getAsync

public abstract Mono getAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

an existing origin group within an endpoint on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String profileName, String endpointName, String originGroupName, Context context)

Gets an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
context - The context to associate with this operation.

Returns:

an existing origin group within an endpoint along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName)

Gets an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.

Returns:

an existing origin group within an endpoint 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 origin groups within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.

Returns:

result of the request to list origin groups as paginated response with PagedIterable<T>.

listByEndpoint

public abstract PagedIterable listByEndpoint(String resourceGroupName, String profileName, String endpointName, Context context)

Lists all of the existing origin groups within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
context - The context to associate with this operation.

Returns:

result of the request to list origin groups as paginated response with PagedIterable<T>.

listByEndpointAsync

public abstract PagedFlux listByEndpointAsync(String resourceGroupName, String profileName, String endpointName)

Lists all of the existing origin groups within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.

Returns:

result of the request to list origin groups as paginated response with PagedFlux<T>.

update

public abstract OriginGroupInner update(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

update

public abstract OriginGroupInner update(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties, Context context)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.
context - The context to associate with this operation.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String profileName, String endpointName, String originGroupName, OriginGroupUpdateParameters originGroupUpdateProperties)

Updates an existing origin group within an endpoint.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the CDN profile which is unique within the resource group.
endpointName - Name of the endpoint under the profile which is unique globally.
originGroupName - Name of the origin group which is unique within the endpoint.
originGroupUpdateProperties - Origin group properties.

Returns:

origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN along with Response<T> on successful completion of Mono.

Applies to