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

NetworkAttachment

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

NetworkAttachments A network attachment resource ...

interface NetworkAttachment {
connectionEndpoints?: NetworkAttachmentConnectedEndpoint[];
connectionPreference?: "ACCEPT_AUTOMATIC" | "ACCEPT_MANUAL" | "INVALID";
creationTimestamp?: string;
description?: string;
fingerprint?: Uint8Array;
id?: bigint;
kind?: string;
name?: string;
network?: string;
producerAcceptLists?: string[];
producerRejectLists?: string[];
region?: string;
selfLink?: string;
selfLinkWithId?: string;
subnetworks?: string[];
}

§Properties

§

[Output Only] An array of connections for all the producers connected to this network attachment.

§
connectionPreference?: "ACCEPT_AUTOMATIC" | "ACCEPT_MANUAL" | "INVALID"
[src]
§
creationTimestamp?: string
[src]

[Output Only] Creation timestamp in RFC3339 text format.

§
description?: string
[src]

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

§
fingerprint?: Uint8Array
[src]

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.

§
id?: bigint
[src]

[Output Only] The unique identifier for the resource type. The server generates this identifier.

§
kind?: string
[src]

[Output Only] Type of the resource.

§
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 with RFC1035. 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]

[Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.

§
producerAcceptLists?: string[]
[src]

Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.

§
producerRejectLists?: string[]
[src]

Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.

§
region?: string
[src]

[Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

§
selfLinkWithId?: string
[src]

[Output Only] Server-defined URL for this resource's resource id.

§
subnetworks?: string[]
[src]

An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.