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

PscAutoConnection

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

Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.

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

§Properties

§
readonly address?: string
[src]

Output only. 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.

§
readonly forwardingRule?: string
[src]

Output only. 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}.

§
projectId?: string
[src]

Required. The consumer project_id where the forwarding rule is created from.

§
readonly pscConnectionId?: string
[src]

Output only. 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. Please use Private Service Connect APIs for the latest status.

§
readonly serviceAttachment?: string
[src]

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