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

ConnectivitySource Class

Parameters that define the source of the connection.

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

Constructor

ConnectivitySource(*, resource_id: str, port: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resource_id
str

The ID of the resource from which a connectivity check will be initiated. Required.

port
int

The source port from which a connectivity check will be performed.

Default value: None

Variables

Name Description
resource_id
str

The ID of the resource from which a connectivity check will be initiated. Required.

port
int

The source port from which a connectivity check will be performed.