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

SingleQueryResult Class

SingleQueryResult.

Constructor

SingleQueryResult(*, signature_id: int | None = None, mode: int | _models.FirewallPolicyIDPSSignatureMode | None = None, severity: int | _models.FirewallPolicyIDPSSignatureSeverity | None = None, direction: int | _models.FirewallPolicyIDPSSignatureDirection | None = None, group: str | None = None, description: str | None = None, protocol: str | None = None, source_ports: List[str] | None = None, destination_ports: List[str] | None = None, last_updated: str | None = None, inherited_from_parent_policy: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
signature_id
int

The ID of the signature.

Default value: None
mode

The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny. Known values are: 0, 1, and 2.

Default value: None
severity

Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low. Known values are: 1, 2, and 3.

Default value: None
direction

Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound. Known values are: 0, 1, 2, 3, 4, and 5.

Default value: None
group
str

Describes the groups the signature belongs to.

Default value: None
description
str

Describes what is the signature enforces.

Default value: None
protocol
str

Describes the protocol the signatures is being enforced in.

Default value: None
source_ports

Describes the list of source ports related to this signature.

Default value: None
destination_ports

Describes the list of destination ports related to this signature.

Default value: None
last_updated
str

Describes the last updated time of the signature (provided from 3rd party vendor).

Default value: None
inherited_from_parent_policy

Describes if this override is inherited from base policy or not.

Default value: None

Variables

Name Description
signature_id
int

The ID of the signature.

mode

The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny. Known values are: 0, 1, and 2.

severity

Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low. Known values are: 1, 2, and 3.

direction

Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound. Known values are: 0, 1, 2, 3, 4, and 5.

group
str

Describes the groups the signature belongs to.

description
str

Describes what is the signature enforces.

protocol
str

Describes the protocol the signatures is being enforced in.

source_ports

Describes the list of source ports related to this signature.

destination_ports

Describes the list of destination ports related to this signature.

last_updated
str

Describes the last updated time of the signature (provided from 3rd party vendor).

inherited_from_parent_policy

Describes if this override is inherited from base policy or not.