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";
fqdn?: string;
gkeMasterCluster?: string;
gkePod?: 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"
| "INTERNET";
port?: number;
projectId?: string;
redisCluster?: string;
redisInstance?: string;
}

§Properties

§

An App Engine service version. Applicable only to source endpoint.

§

A Cloud Function. Applicable only to source endpoint.

§

A Cloud Run revision Applicable only to source endpoint.

§
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. Applicable only to destination endpoint. 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.

§
fqdn?: string
[src]

DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.

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

A GKE Pod URI.

§
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 VPC network URI. For source endpoints, used according to the network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.

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

For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.

§
port?: number
[src]

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

§
projectId?: string
[src]

For source endpoints, endpoint project ID. Used according to the network_type. Not relevant for destination endpoints.

§
redisCluster?: string
[src]

A Redis Cluster URI. Applicable only to destination endpoint.

§
redisInstance?: string
[src]

A Redis Instance URI. Applicable only to destination endpoint.