OriginGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CdnManagementClient's

<xref:origin_groups> attribute.

Constructor

OriginGroupsOperations(*args, **kwargs)

Methods

begin_create

Creates a new origin group within the specified endpoint.

begin_delete

Deletes an existing origin group within an endpoint.

begin_update

Updates an existing origin group within an endpoint.

get

Gets an existing origin group within an endpoint.

list_by_endpoint

Lists all of the existing origin groups within an endpoint.

begin_create

Creates a new origin group within the specified endpoint.

begin_create(resource_group_name: str, profile_name: str, endpoint_name: str, origin_group_name: str, origin_group: _models.OriginGroup, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.OriginGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

profile_name
Required
str

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. Required.

endpoint_name
Required
str

Name of the endpoint under the profile which is unique globally. Required.

origin_group_name
Required
str

Name of the origin group which is unique within the endpoint. Required.

origin_group
Required

Origin group properties. Is either a OriginGroup type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns OriginGroup. The OriginGroup is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes an existing origin group within an endpoint.

begin_delete(resource_group_name: str, profile_name: str, endpoint_name: str, origin_group_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

profile_name
Required
str

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. Required.

endpoint_name
Required
str

Name of the endpoint under the profile which is unique globally. Required.

origin_group_name
Required
str

Name of the origin group which is unique within the endpoint. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_update

Updates an existing origin group within an endpoint.

begin_update(resource_group_name: str, profile_name: str, endpoint_name: str, origin_group_name: str, origin_group_update_properties: _models.OriginGroupUpdateParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.OriginGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

profile_name
Required
str

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. Required.

endpoint_name
Required
str

Name of the endpoint under the profile which is unique globally. Required.

origin_group_name
Required
str

Name of the origin group which is unique within the endpoint. Required.

origin_group_update_properties
Required

Origin group properties. Is either a OriginGroupUpdateParameters type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns OriginGroup. The OriginGroup is compatible with MutableMapping

Exceptions

Type Description

get

Gets an existing origin group within an endpoint.

get(resource_group_name: str, profile_name: str, endpoint_name: str, origin_group_name: str, **kwargs: Any) -> OriginGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

profile_name
Required
str

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. Required.

endpoint_name
Required
str

Name of the endpoint under the profile which is unique globally. Required.

origin_group_name
Required
str

Name of the origin group which is unique within the endpoint. Required.

Returns

Type Description

OriginGroup. The OriginGroup is compatible with MutableMapping

Exceptions

Type Description

list_by_endpoint

Lists all of the existing origin groups within an endpoint.

list_by_endpoint(resource_group_name: str, profile_name: str, endpoint_name: str, **kwargs: Any) -> ItemPaged[OriginGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

profile_name
Required
str

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. Required.

endpoint_name
Required
str

Name of the endpoint under the profile which is unique globally. Required.

Returns

Type Description

An iterator like instance of OriginGroup

Exceptions

Type Description