Partilhar via


FirewallPolicyRuleCollectionGroupDraftsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:firewall_policy_rule_collection_group_drafts> attribute.

Inheritance
builtins.object
FirewallPolicyRuleCollectionGroupDraftsOperations

Constructor

FirewallPolicyRuleCollectionGroupDraftsOperations(*args, **kwargs)

Methods

create_or_update

Create or Update Rule Collection Group Draft.

delete

Delete Rule Collection Group Draft.

get

Get Rule Collection Group Draft.

create_or_update

Create or Update Rule Collection Group Draft.

create_or_update(resource_group_name: str, firewall_policy_name: str, rule_collection_group_name: str, parameters: _models.FirewallPolicyRuleCollectionGroupDraft, *, content_type: str = 'application/json', **kwargs: Any) -> _models.FirewallPolicyRuleCollectionGroupDraft

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

rule_collection_group_name
Required
str

The name of the FirewallPolicyRuleCollectionGroup. Required.

parameters
Required

Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. Is either a FirewallPolicyRuleCollectionGroupDraft type or a IO[bytes] type. Required.

Returns

Type Description

FirewallPolicyRuleCollectionGroupDraft or the result of cls(response)

Exceptions

Type Description

delete

Delete Rule Collection Group Draft.

delete(resource_group_name: str, firewall_policy_name: str, rule_collection_group_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

rule_collection_group_name
Required
str

The name of the FirewallPolicyRuleCollectionGroup. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get Rule Collection Group Draft.

get(resource_group_name: str, firewall_policy_name: str, rule_collection_group_name: str, **kwargs: Any) -> FirewallPolicyRuleCollectionGroupDraft

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

rule_collection_group_name
Required
str

The name of the FirewallPolicyRuleCollectionGroup. Required.

Returns

Type Description

FirewallPolicyRuleCollectionGroupDraft or the result of cls(response)

Exceptions

Type Description

Attributes

models

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