Compute Engine v1 API - Class AliasIpRange (2.3.0)

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

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

An alias IP range attached to an instance's network interface.

Inheritance

Object > AliasIpRange

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AliasIpRange()

public AliasIpRange()

AliasIpRange(AliasIpRange)

public AliasIpRange(AliasIpRange other)
Parameter
NameDescription
otherAliasIpRange

Properties

HasIpCidrRange

public bool HasIpCidrRange { get; }

Gets whether the "ip_cidr_range" field is set

Property Value
TypeDescription
Boolean

HasSubnetworkRangeName

public bool HasSubnetworkRangeName { get; }

Gets whether the "subnetwork_range_name" field is set

Property Value
TypeDescription
Boolean

IpCidrRange

public string IpCidrRange { get; set; }

The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24).

Property Value
TypeDescription
String

SubnetworkRangeName

public string SubnetworkRangeName { get; set; }

The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.

Property Value
TypeDescription
String