RuleSetsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CdnManagementClient's

<xref:rule_sets> attribute.

Inheritance
builtins.object
RuleSetsOperations

Constructor

RuleSetsOperations(*args, **kwargs)

Methods

begin_delete

Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

create

Creates a new rule set within the specified profile.

get

Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

list_by_profile

Lists existing AzureFrontDoor rule sets within a profile.

list_resource_usage

Checks the quota and actual usage of endpoints under the given Azure Front Door profile..

begin_delete

Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

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

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

profile_name
Required
str

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

rule_set_name
Required
str

Name of the rule set under the profile which is unique globally. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

create

Creates a new rule set within the specified profile.

create(resource_group_name: str, profile_name: str, rule_set_name: str, **kwargs: Any) -> RuleSet

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

profile_name
Required
str

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

rule_set_name
Required
str

Name of the rule set under the profile which is unique globally. Required.

Returns

Type Description

RuleSet or the result of cls(response)

Exceptions

Type Description

get

Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.

get(resource_group_name: str, profile_name: str, rule_set_name: str, **kwargs: Any) -> RuleSet

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

profile_name
Required
str

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

rule_set_name
Required
str

Name of the rule set under the profile which is unique globally. Required.

Returns

Type Description

RuleSet or the result of cls(response)

Exceptions

Type Description

list_by_profile

Lists existing AzureFrontDoor rule sets within a profile.

list_by_profile(resource_group_name: str, profile_name: str, **kwargs: Any) -> Iterable[RuleSet]

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

profile_name
Required
str

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

Returns

Type Description

An iterator like instance of either RuleSet or the result of cls(response)

Exceptions

Type Description

list_resource_usage

Checks the quota and actual usage of endpoints under the given Azure Front Door profile..

list_resource_usage(resource_group_name: str, profile_name: str, rule_set_name: str, **kwargs: Any) -> Iterable[Usage]

Parameters

Name Description
resource_group_name
Required
str

Name of the Resource group within the Azure subscription. Required.

profile_name
Required
str

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

rule_set_name
Required
str

Name of the rule set under the profile which is unique globally. Required.

Returns

Type Description

An iterator like instance of either Usage or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.cdn.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cdn\\models\\__init__.py'>