ArmNetworkModelFactory.NextHopContent Method

Definition

Initializes a new instance of NextHopContent.

public static Azure.ResourceManager.Network.Models.NextHopContent NextHopContent (Azure.Core.ResourceIdentifier targetResourceId = default, string sourceIPAddress = default, string destinationIPAddress = default, Azure.Core.ResourceIdentifier targetNicResourceId = default);
static member NextHopContent : Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.NextHopContent
Public Shared Function NextHopContent (Optional targetResourceId As ResourceIdentifier = Nothing, Optional sourceIPAddress As String = Nothing, Optional destinationIPAddress As String = Nothing, Optional targetNicResourceId As ResourceIdentifier = Nothing) As NextHopContent

Parameters

targetResourceId
ResourceIdentifier

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

sourceIPAddress
String

The source IP address.

destinationIPAddress
String

The destination IP address.

targetNicResourceId
ResourceIdentifier

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

Returns

A new NextHopContent instance for mocking.

Applies to