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.
Implements
IMessageAliasIpRange, IEquatableAliasIpRange, IDeepCloneableAliasIpRange, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
AliasIpRange()
public AliasIpRange()
AliasIpRange(AliasIpRange)
public AliasIpRange(AliasIpRange other)
Parameter | |
---|---|
Name | Description |
other | AliasIpRange |
Properties
HasIpCidrRange
public bool HasIpCidrRange { get; }
Gets whether the "ip_cidr_range" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSubnetworkRangeName
public bool HasSubnetworkRangeName { get; }
Gets whether the "subnetwork_range_name" field is set
Property Value | |
---|---|
Type | Description |
bool |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |