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

RouteInfo

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

For display only. Metadata associated with a Compute Engine route.

interface RouteInfo {
destIpRange?: string;
destPortRanges?: string[];
displayName?: string;
instanceTags?: string[];
nccHubUri?: string;
nccSpokeUri?: string;
networkUri?: string;
nextHop?: string;
nextHopType?:
| "NEXT_HOP_TYPE_UNSPECIFIED"
| "NEXT_HOP_IP"
| "NEXT_HOP_INSTANCE"
| "NEXT_HOP_NETWORK"
| "NEXT_HOP_PEERING"
| "NEXT_HOP_INTERCONNECT"
| "NEXT_HOP_VPN_TUNNEL"
| "NEXT_HOP_VPN_GATEWAY"
| "NEXT_HOP_INTERNET_GATEWAY"
| "NEXT_HOP_BLACKHOLE"
| "NEXT_HOP_ILB"
| "NEXT_HOP_ROUTER_APPLIANCE"
| "NEXT_HOP_NCC_HUB";
priority?: number;
protocols?: string[];
routeScope?: "ROUTE_SCOPE_UNSPECIFIED" | "NETWORK" | "NCC_HUB";
routeType?:
| "ROUTE_TYPE_UNSPECIFIED"
| "SUBNET"
| "STATIC"
| "DYNAMIC"
| "PEERING_SUBNET"
| "PEERING_STATIC"
| "PEERING_DYNAMIC"
| "POLICY_BASED";
srcIpRange?: string;
srcPortRanges?: string[];
uri?: string;
}

§Properties

§
destIpRange?: string
[src]

Destination IP range of the route.

§
destPortRanges?: string[]
[src]

Destination port ranges of the route. Policy based routes only.

§
displayName?: string
[src]

Name of a route.

§
instanceTags?: string[]
[src]

Instance tags of the route.

§
nccHubUri?: string
[src]

URI of a NCC Hub. NCC_HUB routes only.

§
nccSpokeUri?: string
[src]

URI of a NCC Spoke. NCC_HUB routes only.

§
networkUri?: string
[src]

URI of a Compute Engine network. NETWORK routes only.

§
nextHop?: string
[src]

Next hop of the route.

§
nextHopType?: "NEXT_HOP_TYPE_UNSPECIFIED" | "NEXT_HOP_IP" | "NEXT_HOP_INSTANCE" | "NEXT_HOP_NETWORK" | "NEXT_HOP_PEERING" | "NEXT_HOP_INTERCONNECT" | "NEXT_HOP_VPN_TUNNEL" | "NEXT_HOP_VPN_GATEWAY" | "NEXT_HOP_INTERNET_GATEWAY" | "NEXT_HOP_BLACKHOLE" | "NEXT_HOP_ILB" | "NEXT_HOP_ROUTER_APPLIANCE" | "NEXT_HOP_NCC_HUB"
[src]

Type of next hop.

§
priority?: number
[src]

Priority of the route.

§
protocols?: string[]
[src]

Protocols of the route. Policy based routes only.

§
routeScope?: "ROUTE_SCOPE_UNSPECIFIED" | "NETWORK" | "NCC_HUB"
[src]

Indicates where route is applicable.

§
routeType?: "ROUTE_TYPE_UNSPECIFIED" | "SUBNET" | "STATIC" | "DYNAMIC" | "PEERING_SUBNET" | "PEERING_STATIC" | "PEERING_DYNAMIC" | "POLICY_BASED"
[src]

Type of route.

§
srcIpRange?: string
[src]

Source IP address range of the route. Policy based routes only.

§
srcPortRanges?: string[]
[src]

Source port ranges of the route. Policy based routes only.

§
uri?: string
[src]

URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.