Compartilhar via


NextHopParameters Class

Parameters that define the source and destination endpoint.

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

Inheritance
azure.mgmt.network._serialization.Model
NextHopParameters

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).

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).