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

PscConnection

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

Details of consumer resources in a PSC connection.

interface PscConnection {
address?: string;
readonly connectionType?:
| "CONNECTION_TYPE_UNSPECIFIED"
| "CONNECTION_TYPE_DISCOVERY"
| "CONNECTION_TYPE_PRIMARY"
| "CONNECTION_TYPE_READER";
forwardingRule?: string;
network?: string;
readonly port?: number;
projectId?: string;
pscConnectionId?: string;
readonly pscConnectionStatus?: "PSC_CONNECTION_STATUS_UNSPECIFIED" | "PSC_CONNECTION_STATUS_ACTIVE" | "PSC_CONNECTION_STATUS_NOT_FOUND";
serviceAttachment?: string;
}

§Properties

§
address?: string
[src]

Required. The IP allocated on the consumer network for the PSC forwarding rule.

§
readonly connectionType?: "CONNECTION_TYPE_UNSPECIFIED" | "CONNECTION_TYPE_DISCOVERY" | "CONNECTION_TYPE_PRIMARY" | "CONNECTION_TYPE_READER"
[src]

Output only. Type of the PSC connection.

§
forwardingRule?: string
[src]

Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

§
network?: string
[src]

Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

§
readonly port?: number
[src]

Output only. port will only be set for Primary/Reader or Discovery endpoint.

§
projectId?: string
[src]

Optional. Project ID of the consumer project where the forwarding rule is created in.

§
pscConnectionId?: string
[src]

Required. The PSC connection id of the forwarding rule connected to the service attachment.

§
readonly pscConnectionStatus?: "PSC_CONNECTION_STATUS_UNSPECIFIED" | "PSC_CONNECTION_STATUS_ACTIVE" | "PSC_CONNECTION_STATUS_NOT_FOUND"
[src]

Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.

§
serviceAttachment?: string
[src]

Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.