Compartilhar via


ConnectionMonitorTestConfiguration Class

Describes a connection monitor test configuration.

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

Inheritance
azure.mgmt.network._serialization.Model
ConnectionMonitorTestConfiguration

Constructor

ConnectionMonitorTestConfiguration(*, name: str, protocol: str | _models.ConnectionMonitorTestConfigurationProtocol, test_frequency_sec: int | None = None, preferred_ip_version: str | _models.PreferredIPVersion | None = None, http_configuration: _models.ConnectionMonitorHttpConfiguration | None = None, tcp_configuration: _models.ConnectionMonitorTcpConfiguration | None = None, icmp_configuration: _models.ConnectionMonitorIcmpConfiguration | None = None, success_threshold: _models.ConnectionMonitorSuccessThreshold | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the connection monitor test configuration. Required.

test_frequency_sec
int

The frequency of test evaluation, in seconds.

protocol

The protocol to use in test evaluation. Required. Known values are: "Tcp", "Http", and "Icmp".

preferred_ip_version

The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Known values are: "IPv4" and "IPv6".

http_configuration

The parameters used to perform test evaluation over HTTP.

tcp_configuration

The parameters used to perform test evaluation over TCP.

icmp_configuration

The parameters used to perform test evaluation over ICMP.

success_threshold

The threshold for declaring a test successful.

Variables

Name Description
name
str

The name of the connection monitor test configuration. Required.

test_frequency_sec
int

The frequency of test evaluation, in seconds.

protocol

The protocol to use in test evaluation. Required. Known values are: "Tcp", "Http", and "Icmp".

preferred_ip_version

The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Known values are: "IPv4" and "IPv6".

http_configuration

The parameters used to perform test evaluation over HTTP.

tcp_configuration

The parameters used to perform test evaluation over TCP.

icmp_configuration

The parameters used to perform test evaluation over ICMP.

success_threshold

The threshold for declaring a test successful.