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

FirewallPacketCaptureParameters Class

Azure Firewall Packet Capture Parameters.

Constructor

FirewallPacketCaptureParameters(*, duration_in_seconds: int = 60, number_of_packets_to_capture: int = 1000, sas_url: str | None = None, file_name: str | None = None, protocol: str | _models.AzureFirewallNetworkRuleProtocol | None = None, flags: list['_models.AzureFirewallPacketCaptureFlags'] | None = None, filters: list['_models.AzureFirewallPacketCaptureRule'] | None = None, operation: str | _models.AzureFirewallPacketCaptureOperationType = 'Start', **kwargs: Any)

Keyword-Only Parameters

Name Description
duration_in_seconds
int

Duration of packet capture in seconds. If the field is not provided, the default value is 60.

Default value: 60
number_of_packets_to_capture
int

Number of packets to be captured. If the field is not provided, the default value is 1000.

Default value: 1000
sas_url
str

Upload capture location.

Default value: None
file_name
str

Name of file to be uploaded to sasURL.

Default value: None
protocol

The protocol of packets to capture. Known values are: "TCP", "UDP", "Any", and "ICMP".

Default value: None
flags

The tcp-flag type to be captured. Used with protocol TCP.

Default value: None
filters

Rules to filter packet captures.

Default value: None
operation

The Azure Firewall packet capture operation to perform. Known values are: "Start", "Status", and "Stop".

Default value: Start

Variables

Name Description
duration_in_seconds
int

Duration of packet capture in seconds. If the field is not provided, the default value is 60.

number_of_packets_to_capture
int

Number of packets to be captured. If the field is not provided, the default value is 1000.

sas_url
str

Upload capture location.

file_name
str

Name of file to be uploaded to sasURL.

protocol

The protocol of packets to capture. Known values are: "TCP", "UDP", "Any", and "ICMP".

flags

The tcp-flag type to be captured. Used with protocol TCP.

filters

Rules to filter packet captures.

operation

The Azure Firewall packet capture operation to perform. Known values are: "Start", "Status", and "Stop".