Share via


NextHopContent Class

Definition

Parameters that define the source and destination endpoint.

public class NextHopContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.NextHopContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.NextHopContent>
public class NextHopContent
type NextHopContent = class
    interface IJsonModel<NextHopContent>
    interface IPersistableModel<NextHopContent>
type NextHopContent = class
Public Class NextHopContent
Implements IJsonModel(Of NextHopContent), IPersistableModel(Of NextHopContent)
Public Class NextHopContent
Inheritance
NextHopContent
Implements

Constructors

NextHopContent(ResourceIdentifier, String, String)

Initializes a new instance of NextHopContent.

Properties

DestinationIPAddress

The destination IP address.

SourceIPAddress

The source IP address.

TargetNicResourceId

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

TargetResourceId

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

Explicit Interface Implementations

IJsonModel<NextHopContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NextHopContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NextHopContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NextHopContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NextHopContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to