Network Management v1 API - Class NatInfo (2.12.0)

public sealed class NatInfo : IMessage<NatInfo>, IEquatable<NatInfo>, IDeepCloneable<NatInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Management v1 API class NatInfo.

For display only. Metadata associated with NAT.

Inheritance

object > NatInfo

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

NatInfo()

public NatInfo()

NatInfo(NatInfo)

public NatInfo(NatInfo other)
Parameter
Name Description
other NatInfo

Properties

NatGatewayName

public string NatGatewayName { get; set; }

The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

Property Value
Type Description
string

NetworkUri

public string NetworkUri { get; set; }

URI of the network where NAT translation takes place.

Property Value
Type Description
string

NewDestinationIp

public string NewDestinationIp { get; set; }

Destination IP address after NAT translation.

Property Value
Type Description
string

NewDestinationPort

public int NewDestinationPort { get; set; }

Destination port after NAT translation. Only valid when protocol is TCP or UDP.

Property Value
Type Description
int

NewSourceIp

public string NewSourceIp { get; set; }

Source IP address after NAT translation.

Property Value
Type Description
string

NewSourcePort

public int NewSourcePort { get; set; }

Source port after NAT translation. Only valid when protocol is TCP or UDP.

Property Value
Type Description
int

OldDestinationIp

public string OldDestinationIp { get; set; }

Destination IP address before NAT translation.

Property Value
Type Description
string

OldDestinationPort

public int OldDestinationPort { get; set; }

Destination port before NAT translation. Only valid when protocol is TCP or UDP.

Property Value
Type Description
int

OldSourceIp

public string OldSourceIp { get; set; }

Source IP address before NAT translation.

Property Value
Type Description
string

OldSourcePort

public int OldSourcePort { get; set; }

Source port before NAT translation. Only valid when protocol is TCP or UDP.

Property Value
Type Description
int

Protocol

public string Protocol { get; set; }

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

Property Value
Type Description
string

RouterUri

public string RouterUri { get; set; }

Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

Property Value
Type Description
string

Type

public NatInfo.Types.Type Type { get; set; }

Type of NAT.

Property Value
Type Description
NatInfoTypesType