import * as pulumi from "@pulumi/pulumi"; /** * Manages the DNS configuration for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const firstNodeDnsConfiguration = proxmoxve.getDnsLegacy({ * nodeName: "first-node", * }); * const firstNodeDnsConfigurationDnsLegacy = new proxmoxve.DnsLegacy("first_node_dns_configuration", { * domain: firstNodeDnsConfiguration.then(firstNodeDnsConfiguration => firstNodeDnsConfiguration.domain), * nodeName: firstNodeDnsConfiguration.then(firstNodeDnsConfiguration => firstNodeDnsConfiguration.nodeName), * servers: [ * "1.1.1.1", * "1.0.0.1", * ], * }); * ``` * * ## Important Notes * * Be careful not to use this resource multiple times for the same node. * * ## Import * * Instances can be imported using the `nodeName`, e.g., * * ```sh * $ pulumi import proxmoxve:index/dnsLegacy:DnsLegacy first_node first-node * ``` */ export declare class DnsLegacy extends pulumi.CustomResource { /** * Get an existing DnsLegacy 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?: DnsLegacyState, opts?: pulumi.CustomResourceOptions): DnsLegacy; /** * Returns true if the given object is an instance of DnsLegacy. 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 DnsLegacy; /** * The DNS search domain. */ readonly domain: pulumi.Output; /** * A node name. */ readonly nodeName: pulumi.Output; /** * The DNS servers. */ readonly servers: pulumi.Output; /** * Create a DnsLegacy 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: DnsLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsLegacy resources. */ export interface DnsLegacyState { /** * The DNS search domain. */ domain?: pulumi.Input; /** * A node name. */ nodeName?: pulumi.Input; /** * The DNS servers. */ servers?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a DnsLegacy resource. */ export interface DnsLegacyArgs { /** * The DNS search domain. */ domain: pulumi.Input; /** * A node name. */ nodeName: pulumi.Input; /** * The DNS servers. */ servers?: pulumi.Input[] | undefined>; } //# sourceMappingURL=dnsLegacy.d.ts.map