Compute Engine v1 API - Class SubnetworkSecondaryRange (2.4.0)

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

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

Represents a secondary IP range of a subnetwork.

Inheritance

Object > SubnetworkSecondaryRange

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SubnetworkSecondaryRange()

public SubnetworkSecondaryRange()

SubnetworkSecondaryRange(SubnetworkSecondaryRange)

public SubnetworkSecondaryRange(SubnetworkSecondaryRange other)
Parameter
NameDescription
otherSubnetworkSecondaryRange

Properties

HasIpCidrRange

public bool HasIpCidrRange { get; }

Gets whether the "ip_cidr_range" field is set

Property Value
TypeDescription
Boolean

HasRangeName

public bool HasRangeName { get; }

Gets whether the "range_name" field is set

Property Value
TypeDescription
Boolean

IpCidrRange

public string IpCidrRange { get; set; }

The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.

Property Value
TypeDescription
String

RangeName

public string RangeName { get; set; }

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

Property Value
TypeDescription
String