Compartilhar via


ActiveDefaultSecurityAdminRule Class

Network default admin rule.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network.models._models_py3.ActiveBaseSecurityAdminRule
ActiveDefaultSecurityAdminRule

Constructor

ActiveDefaultSecurityAdminRule(*, id: str | None = None, commit_time: datetime | None = None, region: str | None = None, configuration_description: str | None = None, rule_collection_description: str | None = None, rule_collection_applies_to_groups: List[_models.NetworkManagerSecurityGroupItem] | None = None, rule_groups: List[_models.ConfigurationGroup] | None = None, flag: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

commit_time

Deployment time string.

region
str

Deployment region.

configuration_description
str

A description of the security admin configuration.

rule_collection_description
str

A description of the rule collection.

rule_collection_applies_to_groups

Groups for rule collection.

rule_groups

Effective configuration groups.

flag
str

Default rule flag.

Variables

Name Description
id
str

Resource ID.

commit_time

Deployment time string.

region
str

Deployment region.

configuration_description
str

A description of the security admin configuration.

rule_collection_description
str

A description of the rule collection.

rule_collection_applies_to_groups

Groups for rule collection.

rule_groups

Effective configuration groups.

kind

Whether the rule is custom or default. Required. Known values are: "Custom" and "Default".

description
str

A description for this rule. Restricted to 140 chars.

flag
str

Default rule flag.

protocol

Network protocol this rule applies to. Known values are: "Tcp", "Udp", "Icmp", "Esp", "Any", and "Ah".

sources

The CIDR or source IP ranges.

destinations

The destination address prefixes. CIDR or destination IP ranges.

source_port_ranges

The source port ranges.

destination_port_ranges

The destination port ranges.

access

Indicates the access allowed for this particular rule. Known values are: "Allow", "Deny", and "AlwaysAllow".

priority
int

The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.

direction

Indicates if the traffic matched against the rule in inbound or outbound. Known values are: "Inbound" and "Outbound".

provisioning_state

The provisioning state of the resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

resource_guid
str

Unique identifier for this resource.