Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UsableSubnetwork

import type { UsableSubnetwork } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Subnetwork which the current user has compute.subnetworks.use permission on.

interface UsableSubnetwork {
externalIpv6Prefix?: string;
internalIpv6Prefix?: string;
ipCidrRange?: string;
ipv6AccessType?: "EXTERNAL" | "INTERNAL";
network?: string;
purpose?:
| "GLOBAL_MANAGED_PROXY"
| "INTERNAL_HTTPS_LOAD_BALANCER"
| "PEER_MIGRATION"
| "PRIVATE"
| "PRIVATE_NAT"
| "PRIVATE_RFC_1918"
| "PRIVATE_SERVICE_CONNECT"
| "REGIONAL_MANAGED_PROXY";
role?: "ACTIVE" | "BACKUP";
secondaryIpRanges?: UsableSubnetworkSecondaryRange[];
stackType?: "IPV4_IPV6" | "IPV4_ONLY" | "IPV6_ONLY";
subnetwork?: string;
}

§Properties

§
externalIpv6Prefix?: string
[src]

[Output Only] The external IPv6 address range that is assigned to this subnetwork.

§
internalIpv6Prefix?: string
[src]

[Output Only] The internal IPv6 address range that is assigned to this subnetwork.

§
ipCidrRange?: string
[src]

The range of internal addresses that are owned by this subnetwork.

§
ipv6AccessType?: "EXTERNAL" | "INTERNAL"
[src]

The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.

§
network?: string
[src]

Network URL.

§
purpose?: "GLOBAL_MANAGED_PROXY" | "INTERNAL_HTTPS_LOAD_BALANCER" | "PEER_MIGRATION" | "PRIVATE" | "PRIVATE_NAT" | "PRIVATE_RFC_1918" | "PRIVATE_SERVICE_CONNECT" | "REGIONAL_MANAGED_PROXY"
[src]
§
role?: "ACTIVE" | "BACKUP"
[src]

The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.

§

Secondary IP ranges.

§
stackType?: "IPV4_IPV6" | "IPV4_ONLY" | "IPV6_ONLY"
[src]

The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.

§
subnetwork?: string
[src]

Subnetwork URL.