InternalRangeArgs

data class InternalRangeArgs(val createTime: Output<String>? = null, val description: Output<String>? = null, val internalRangeId: Output<String>? = null, val ipCidrRange: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val overlaps: Output<List<InternalRangeOverlapsItem>>? = null, val peering: Output<InternalRangePeering>? = null, val prefixLength: Output<Int>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val targetCidrRange: Output<List<String>>? = null, val updateTime: Output<String>? = null, val usage: Output<InternalRangeUsage>? = null) : ConvertibleToJava<InternalRangeArgs>

Creates a new internal range in a given project and location.

Constructors

Link copied to clipboard
fun InternalRangeArgs(createTime: Output<String>? = null, description: Output<String>? = null, internalRangeId: Output<String>? = null, ipCidrRange: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, network: Output<String>? = null, overlaps: Output<List<InternalRangeOverlapsItem>>? = null, peering: Output<InternalRangePeering>? = null, prefixLength: Output<Int>? = null, project: Output<String>? = null, requestId: Output<String>? = null, targetCidrRange: Output<List<String>>? = null, updateTime: Output<String>? = null, usage: Output<InternalRangeUsage>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InternalRangeArgs

Properties

Link copied to clipboard
val createTime: Output<String>? = null

Time when the internal range was created.

Link copied to clipboard
val description: Output<String>? = null

A description of this resource.

Link copied to clipboard
val internalRangeId: Output<String>? = null

Optional. Resource ID (i.e. 'foo' in '.../projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.

Link copied to clipboard
val ipCidrRange: Output<String>? = null

The IP range that this internal range defines.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

User-defined labels.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val network: Output<String>? = null

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. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123

Link copied to clipboard

Optional. Types of resources that are allowed to overlap with the current internal range.

Link copied to clipboard
val peering: Output<InternalRangePeering>? = null

The type of peering set for this internal range.

Link copied to clipboard
val prefixLength: Output<Int>? = null

An alternate to ip_cidr_range. Can be set when trying to create a 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.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val targetCidrRange: Output<List<String>>? = null

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.

Link copied to clipboard
val updateTime: Output<String>? = null

Time when the internal range was updated.

Link copied to clipboard
val usage: Output<InternalRangeUsage>? = null

The type of usage set for this InternalRange.