你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FlowLog Class

A flow log resource.

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

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
str

Resource ID.

Default value: None
___location
str

Resource ___location.

Default value: None
tags

Resource tags.

Default value: None
identity

FlowLog resource Managed Identity.

Default value: None
target_resource_id
str

ID of network security group to which flow log will be applied.

Default value: None
storage_id
str

ID of the storage account which is used to store the flow log.

Default value: None
enabled_filtering_criteria
str

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.

Default value: None
enabled

Flag to enable/disable flow logging.

Default value: None
retention_policy

Parameters that define the retention policy for flow log.

Default value: None
format

Parameters that define the flow log format.

Default value: None
flow_analytics_configuration

Parameters that define the configuration of traffic analytics.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

___location
str

Resource ___location.

tags

Resource tags.

etag
str

A unique read-only string that changes whenever the resource is updated.

identity

FlowLog resource Managed Identity.

target_resource_id
str

ID of network security group to which flow log will be applied.

target_resource_guid
str

Guid of network security group to which flow log will be applied.

storage_id
str

ID of the storage account which is used to store the flow log.

enabled_filtering_criteria
str

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: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".