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

NetworkEndpointGroup

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

Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, seeNetwork endpoint groups overview. Note: Use the following APIs to manage network endpoint groups: - To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity NEGs): zonal API - To manage NEGs with regional scope (such as regional internet NEGs, serverless NEGs, Private Service Connect NEGs): regional API - To manage NEGs with global scope (such as global internet NEGs):global API

interface NetworkEndpointGroup {
annotations?: {
[key: string]: string;
}
;
readonly creationTimestamp?: string;
defaultPort?: number;
description?: string;
readonly id?: bigint;
readonly kind?: string;
name?: string;
network?: string;
networkEndpointType?:
| "GCE_VM_IP"
| "GCE_VM_IP_PORT"
| "GCE_VM_IP_PORTMAP"
| "INTERNET_FQDN_PORT"
| "INTERNET_IP_PORT"
| "NON_GCP_PRIVATE_IP_PORT"
| "PRIVATE_SERVICE_CONNECT"
| "SERVERLESS";
pscTargetService?: string;
readonly region?: string;
readonly selfLink?: string;
readonly size?: number;
subnetwork?: string;
readonly zone?: string;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. Metadata defined as annotations on the network endpoint group.

§

Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.

§

Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.

§

Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.

§
readonly creationTimestamp?: string
[src]

Output only. [Output Only] Creation timestamp inRFC3339 text format.

§
defaultPort?: number
[src]

The default port used if the port number is not specified in the network endpoint. Optional. If the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.

§
description?: string
[src]

An optional description of this resource. Provide this property when you create the resource.

§
readonly id?: bigint
[src]

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

§
readonly kind?: string
[src]

Output only. [Output Only] Type of the resource. Alwayscompute#networkEndpointGroup for network endpoint group.

§
name?: string
[src]

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

§
network?: string
[src]

The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified.

§
networkEndpointType?: "GCE_VM_IP" | "GCE_VM_IP_PORT" | "GCE_VM_IP_PORTMAP" | "INTERNET_FQDN_PORT" | "INTERNET_IP_PORT" | "NON_GCP_PRIVATE_IP_PORT" | "PRIVATE_SERVICE_CONNECT" | "SERVERLESS"
[src]

Type of network endpoints in this network endpoint group. Can be one ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.

§

Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.

§
pscTargetService?: string
[src]

The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com. Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.

§
readonly region?: string
[src]

Output only. [Output Only] The URL of theregion where the network endpoint group is located.

§
readonly size?: number
[src]

Output only. [Output only] Number of network endpoints in the network endpoint group.

§
subnetwork?: string
[src]

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

§
readonly zone?: string
[src]

Output only. [Output Only] The URL of thezone where the network endpoint group is located.