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

AddDnsZoneRequest

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

Request to add a private managed DNS zone in the shared producer host project and a matching DNS peering zone in the consumer project.

interface AddDnsZoneRequest {
consumerNetwork?: string;
dnsSuffix?: string;
name?: string;
}

§Properties

§
consumerNetwork?: string
[src]

Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.

§
dnsSuffix?: string
[src]

Required. The DNS name suffix for the zones e.g. example.com.. Cloud DNS requires that a DNS suffix ends with a trailing dot.

§
name?: string
[src]

Required. The name for both the private zone in the shared producer host project and the peering zone in the consumer project. Must be unique within both projects. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.