TrafficQuery Class

Parameters to compare with network configuration.

All required parameters must be populated in order to send to Azure.

Inheritance
TrafficQuery

Constructor

TrafficQuery(*, direction: typing.Union[str, _ForwardRef('Direction')], protocol: str, source: str, destination: str, destination_port: str, **kwargs)

Parameters

direction
str or Direction

Required. The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. Possible values include: "Inbound", "Outbound".

protocol
str

Required. Protocol to be verified on. Accepted values are '*', TCP, UDP.

source
str

Required. Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.

destination
str

Required. Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.

destination_port
str

Required. Traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).