Compute Engine v1 API - Class SubnetworkSecondaryRange (2.15.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
bool

HasRangeName

public bool HasRangeName { get; }

Gets whether the "range_name" field is set

Property Value
TypeDescription
bool

HasReservedInternalRange

public bool HasReservedInternalRange { get; }

Gets whether the "reserved_internal_range" field is set

Property Value
TypeDescription
bool

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

ReservedInternalRange

public string ReservedInternalRange { get; set; }

The URL of the reserved internal range.

Property Value
TypeDescription
string