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

Endpoint

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

Source or destination of the Connectivity Test.

interface Endpoint {
appEngineVersion?: AppEngineVersionEndpoint;
cloudFunction?: CloudFunctionEndpoint;
cloudRunRevision?: CloudRunRevisionEndpoint;
cloudSqlInstance?: string;
forwardingRule?: string;
readonly forwardingRuleTarget?:
| "FORWARDING_RULE_TARGET_UNSPECIFIED"
| "INSTANCE"
| "LOAD_BALANCER"
| "VPN_GATEWAY"
| "PSC";
gkeMasterCluster?: string;
instance?: string;
ipAddress?: string;
readonly loadBalancerId?: string;
readonly loadBalancerType?:
| "LOAD_BALANCER_TYPE_UNSPECIFIED"
| "HTTPS_ADVANCED_LOAD_BALANCER"
| "HTTPS_LOAD_BALANCER"
| "REGIONAL_HTTPS_LOAD_BALANCER"
| "INTERNAL_HTTPS_LOAD_BALANCER"
| "SSL_PROXY_LOAD_BALANCER"
| "TCP_PROXY_LOAD_BALANCER"
| "INTERNAL_TCP_PROXY_LOAD_BALANCER"
| "NETWORK_LOAD_BALANCER"
| "LEGACY_NETWORK_LOAD_BALANCER"
| "TCP_UDP_INTERNAL_LOAD_BALANCER";
network?: string;
networkType?: "NETWORK_TYPE_UNSPECIFIED" | "GCP_NETWORK" | "NON_GCP_NETWORK";
port?: number;
projectId?: string;
}

§Properties

§
cloudSqlInstance?: string
[src]

A Cloud SQL instance URI.

§
forwardingRule?: string
[src]

A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}

§
readonly forwardingRuleTarget?: "FORWARDING_RULE_TARGET_UNSPECIFIED" | "INSTANCE" | "LOAD_BALANCER" | "VPN_GATEWAY" | "PSC"
[src]

Output only. Specifies the type of the target of the forwarding rule.

§
gkeMasterCluster?: string
[src]
§
instance?: string
[src]

A Compute Engine instance URI.

§
ipAddress?: string
[src]

The IP address of the endpoint, which can be an external or internal IP.

§
readonly loadBalancerId?: string
[src]

Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.

§
readonly loadBalancerType?: "LOAD_BALANCER_TYPE_UNSPECIFIED" | "HTTPS_ADVANCED_LOAD_BALANCER" | "HTTPS_LOAD_BALANCER" | "REGIONAL_HTTPS_LOAD_BALANCER" | "INTERNAL_HTTPS_LOAD_BALANCER" | "SSL_PROXY_LOAD_BALANCER" | "TCP_PROXY_LOAD_BALANCER" | "INTERNAL_TCP_PROXY_LOAD_BALANCER" | "NETWORK_LOAD_BALANCER" | "LEGACY_NETWORK_LOAD_BALANCER" | "TCP_UDP_INTERNAL_LOAD_BALANCER"
[src]

Output only. Type of the load balancer the forwarding rule points to.

§
network?: string
[src]

A Compute Engine network URI.

§
networkType?: "NETWORK_TYPE_UNSPECIFIED" | "GCP_NETWORK" | "NON_GCP_NETWORK"
[src]

Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.

§
port?: number
[src]

The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.

§
projectId?: string
[src]

Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.