Compute Engine v1 API - Class RouterNatRuleAction (2.12.0)

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

Inheritance

object > RouterNatRuleAction

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterNatRuleAction()

public RouterNatRuleAction()

RouterNatRuleAction(RouterNatRuleAction)

public RouterNatRuleAction(RouterNatRuleAction other)
Parameter
NameDescription
otherRouterNatRuleAction

Properties

SourceNatActiveIps

public RepeatedField<string> SourceNatActiveIps { get; }

A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.

Property Value
TypeDescription
RepeatedFieldstring

SourceNatActiveRanges

public RepeatedField<string> SourceNatActiveRanges { get; }

A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.

Property Value
TypeDescription
RepeatedFieldstring

SourceNatDrainIps

public RepeatedField<string> SourceNatDrainIps { get; }

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.

Property Value
TypeDescription
RepeatedFieldstring

SourceNatDrainRanges

public RepeatedField<string> SourceNatDrainRanges { get; }

A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.

Property Value
TypeDescription
RepeatedFieldstring