FlowLog Class
A flow log resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.models._models_py3.ResourceFlowLog
Constructor
FlowLog(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, identity: _models.ManagedServiceIdentity | None = None, target_resource_id: str | None = None, storage_id: str | None = None, enabled_filtering_criteria: str | None = None, enabled: bool | None = None, retention_policy: _models.RetentionPolicyParameters | None = None, format: _models.FlowLogFormatParameters | None = None, flow_analytics_configuration: _models.TrafficAnalyticsProperties | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource ID. |
location
|
Resource location. |
tags
|
Resource tags. |
identity
|
FlowLog resource Managed Identity. |
target_resource_id
|
ID of network security group to which flow log will be applied. |
storage_id
|
ID of the storage account which is used to store the flow log. |
enabled_filtering_criteria
|
Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. |
enabled
|
Flag to enable/disable flow logging. |
retention_policy
|
Parameters that define the retention policy for flow log. |
format
|
Parameters that define the flow log format. |
flow_analytics_configuration
|
Parameters that define the configuration of traffic analytics. |
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. |
identity
|
FlowLog resource Managed Identity. |
target_resource_id
|
ID of network security group to which flow log will be applied. |
target_resource_guid
|
Guid of network security group to which flow log will be applied. |
storage_id
|
ID of the storage account which is used to store the flow log. |
enabled_filtering_criteria
|
Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. |
enabled
|
Flag to enable/disable flow logging. |
retention_policy
|
Parameters that define the retention policy for flow log. |
format
|
Parameters that define the flow log format. |
flow_analytics_configuration
|
Parameters that define the configuration of traffic analytics. |
provisioning_state
|
The provisioning state of the flow log. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". |
Azure SDK for Python