NetworkSecurityGroup Class
NetworkSecurityGroup resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.models._models_py3.ResourceNetworkSecurityGroup
Constructor
NetworkSecurityGroup(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, flush_connection: bool | None = None, security_rules: List[_models.SecurityRule] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource ID. |
location
|
Resource location. |
tags
|
Resource tags. |
flush_connection
|
When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. |
security_rules
|
A collection of security rules of the network security group. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. |
tags
|
Resource tags. |
etag
|
A unique read-only string that changes whenever the resource is updated. |
flush_connection
|
When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. |
security_rules
|
A collection of security rules of the network security group. |
default_security_rules
|
The default security rules of network security group. |
network_interfaces
|
A collection of references to network interfaces. |
subnets
|
A collection of references to subnets. |
flow_logs
|
A collection of references to flow log resources. |
resource_guid
|
The resource GUID property of the network security group resource. |
provisioning_state
|
The provisioning state of the network security group resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". |
Azure SDK for Python