DefaultAdminRule 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.BaseAdminRuleDefaultAdminRule
Constructor
DefaultAdminRule(*, flag: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
flag
|
Default rule flag. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
etag
|
A unique read-only string that changes whenever the resource is updated. |
kind
|
str or
AdminRuleKind
Whether the rule is custom or default. Required. Known values are: "Custom" and "Default". |
system_data
|
The system metadata related to this resource. |
description
|
A description for this rule. Restricted to 140 chars. |
flag
|
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
|
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
|
Unique identifier for this resource. |
Azure SDK for Python