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

NextHopParameters Class

Parameters that define the source and destination endpoint.

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

Constructor

NextHopParameters(*, target_resource_id: str, source_ip_address: str, destination_ip_address: str, target_nic_resource_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
target_resource_id
str

The resource identifier of the target resource against which the action is to be performed. Required.

source_ip_address
str

The source IP address. Required.

destination_ip_address
str

The destination IP address. Required.

target_nic_resource_id
str

The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).

Default value: None

Variables

Name Description
target_resource_id
str

The resource identifier of the target resource against which the action is to be performed. Required.

source_ip_address
str

The source IP address. Required.

destination_ip_address
str

The destination IP address. Required.

target_nic_resource_id
str

The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).