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.v2020_05_01.models._models_py3.Resource
FlowLog

Constructor

FlowLog(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, target_resource_id: typing.Union[str, NoneType] = None, storage_id: typing.Union[str, NoneType] = None, enabled: typing.Union[bool, NoneType] = None, retention_policy: typing.Union[_ForwardRef('RetentionPolicyParameters'), NoneType] = None, format: typing.Union[_ForwardRef('FlowLogFormatParameters'), NoneType] = None, flow_analytics_configuration: typing.Union[_ForwardRef('TrafficAnalyticsProperties'), NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

target_resource_id
str

ID 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
bool

Flag to enable/disable flow logging.

retention_policy
RetentionPolicyParameters

Parameters that define the retention policy for flow log.

format
FlowLogFormatParameters

Parameters that define the flow log format.

flow_analytics_configuration
TrafficAnalyticsProperties

Parameters that define the configuration of traffic analytics.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

target_resource_guid
str

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

provisioning_state
str or ProvisioningState

The provisioning state of the flow log. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".