Class InternalRange
The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
Implements
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1alpha1.Data
Assembly: Google.Apis.Networkconnectivity.v1alpha1.dll
Syntax
public class InternalRange : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Time when the internal range was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
A description of this resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Immutable
Optional. Immutable ranges cannot have their fields modified, except for labels and description.
Declaration
[JsonProperty("immutable")]
public virtual bool? Immutable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IpCidrRange
IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly.
Declaration
[JsonProperty("ipCidrRange")]
public virtual string IpCidrRange { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
User-defined labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Migration
Optional. Must be present if usage is set to FOR_MIGRATION. This field is for internal use.
Declaration
[JsonProperty("migration")]
public virtual Migration Migration { get; set; }
Property Value
Type | Description |
---|---|
Migration |
Name
Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Network
The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network}
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
Overlaps
Optional. Types of resources that are allowed to overlap with the current internal range.
Declaration
[JsonProperty("overlaps")]
public virtual IList<string> Overlaps { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Peering
The type of peering set for this internal range.
Declaration
[JsonProperty("peering")]
public virtual string Peering { get; set; }
Property Value
Type | Description |
---|---|
string |
PrefixLength
An alternative to ip_cidr_range. Can be set when trying to create an IPv4 reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and both fields must match. In other words, with IPv6 this field only works as a redundant parameter.
Declaration
[JsonProperty("prefixLength")]
public virtual int? PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
TargetCidrRange
Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
Declaration
[JsonProperty("targetCidrRange")]
public virtual IList<string> TargetCidrRange { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Time when the internal range was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Usage
The type of usage set for this internal range.
Declaration
[JsonProperty("usage")]
public virtual string Usage { get; set; }
Property Value
Type | Description |
---|---|
string |
Users
Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.
Declaration
[JsonProperty("users")]
public virtual IList<string> Users { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |