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

ConnectivityParameters Class

Parameters that determine how the connectivity check will be performed.

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

Constructor

ConnectivityParameters(*, source: _models.ConnectivitySource, destination: _models.ConnectivityDestination, protocol: str | _models.Protocol | None = None, protocol_configuration: _models.ProtocolConfiguration | None = None, preferred_ip_version: str | _models.IPVersion | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
source

The source of the connection. Required.

destination

The destination of connection. Required.

protocol

Network protocol. Known values are: "Tcp", "Http", "Https", and "Icmp".

Default value: None
protocol_configuration

Configuration of the protocol.

Default value: None
preferred_ip_version

Preferred IP version of the connection. Known values are: "IPv4" and "IPv6".

Default value: None

Variables

Name Description
source

The source of the connection. Required.

destination

The destination of connection. Required.

protocol

Network protocol. Known values are: "Tcp", "Http", "Https", and "Icmp".

protocol_configuration

Configuration of the protocol.

preferred_ip_version

Preferred IP version of the connection. Known values are: "IPv4" and "IPv6".