DirectVpcNetworkInterface
import type { DirectVpcNetworkInterface } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";The Direct VPC network interface. This is mutually exclusive with VPC Connector.
interface DirectVpcNetworkInterface {
network?: string;
subnetwork?: string;
tags?: string[];
}§Properties
§
network?: string
[src]Optional. The name of the VPC network to which the function will be connected. Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.
§
subnetwork?: string
[src]Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from. Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.