import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Fastly DNS Zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const example = new fastly.DnsZone("example", { * name: "example.com.", * description: "My secondary DNS zone", * xfrConfigInbound: { * inboundTsigKeyId: exampleFastlyTsigKey.id, * primaries: [ * { * address: "192.0.2.1", * description: "Primary nameserver #1", * }, * { * address: "192.0.2.2", * description: "Primary nameserver #1", * }, * ], * }, * }); * ``` * * ## Import * * Fastly DNS Zones can be imported using their Zone ID, e.g. * * ```sh * $ pulumi import fastly:index/dnsZone:DnsZone example xxxxxxxxxxxxxxxxxxxx * ``` */ export declare class DnsZone extends pulumi.CustomResource { /** * Get an existing DnsZone resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DnsZoneState, opts?: pulumi.CustomResourceOptions): DnsZone; /** * Returns true if the given object is an instance of DnsZone. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsZone; /** * A freeform descriptive note. */ readonly description: pulumi.Output; /** * The domain name for your zone in FQDN format (e.g. `example.com.`). Must include a trailing dot. */ readonly name: pulumi.Output; /** * All attributes associated with inbound zone transfers. */ readonly xfrConfigInbound: pulumi.Output; /** * Create a DnsZone resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: DnsZoneArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsZone resources. */ export interface DnsZoneState { /** * A freeform descriptive note. */ description?: pulumi.Input; /** * The domain name for your zone in FQDN format (e.g. `example.com.`). Must include a trailing dot. */ name?: pulumi.Input; /** * All attributes associated with inbound zone transfers. */ xfrConfigInbound?: pulumi.Input; } /** * The set of arguments for constructing a DnsZone resource. */ export interface DnsZoneArgs { /** * A freeform descriptive note. */ description?: pulumi.Input; /** * The domain name for your zone in FQDN format (e.g. `example.com.`). Must include a trailing dot. */ name?: pulumi.Input; /** * All attributes associated with inbound zone transfers. */ xfrConfigInbound?: pulumi.Input; } //# sourceMappingURL=dnsZone.d.ts.map