Compute Engine v1 API - Class InterconnectAttachmentL2ForwardingApplianceMapping (3.22.0)

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

Reference documentation and code samples for the Compute Engine v1 API class InterconnectAttachmentL2ForwardingApplianceMapping.

Two-level VLAN-to-Appliance mapping rule.

Inheritance

object > InterconnectAttachmentL2ForwardingApplianceMapping

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectAttachmentL2ForwardingApplianceMapping()

public InterconnectAttachmentL2ForwardingApplianceMapping()

InterconnectAttachmentL2ForwardingApplianceMapping(InterconnectAttachmentL2ForwardingApplianceMapping)

public InterconnectAttachmentL2ForwardingApplianceMapping(InterconnectAttachmentL2ForwardingApplianceMapping other)
Parameter
Name Description
other InterconnectAttachmentL2ForwardingApplianceMapping

Properties

ApplianceIpAddress

public string ApplianceIpAddress { get; set; }

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

Property Value
Type Description
string

HasApplianceIpAddress

public bool HasApplianceIpAddress { get; }

Gets whether the "appliance_ip_address" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

InnerVlanToApplianceMappings

public RepeatedField<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping> InnerVlanToApplianceMappings { get; }

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

Property Value
Type Description
RepeatedFieldInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

Name

public string Name { get; set; }

Optional. The name of this appliance mapping rule.

Property Value
Type Description
string