UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

101 lines (100 loc) 3.72 kB
import * as pulumi from "@pulumi/pulumi"; /** * `f5bigip.sys.Dns` Configures DNS Name server on F5 BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const dns1 = new f5bigip.sys.Dns("dns1", { * description: "/Common/DNS1", * nameServers: ["1.1.1.1"], * searches: ["f5.com"], * }); * ``` */ export declare class Dns extends pulumi.CustomResource { /** * Get an existing Dns 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<pulumi.ID>, state?: DnsState, opts?: pulumi.CustomResourceOptions): Dns; /** * Returns true if the given object is an instance of Dns. 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 Dns; /** * Provide description for your DNS server */ readonly description: pulumi.Output<string>; /** * Specifies the name servers that the system uses to validate DNS lookups, and resolve host names. */ readonly nameServers: pulumi.Output<string[]>; /** * Configures the number of dots needed in a name before an initial absolute query will be made. */ readonly numberOfDots: pulumi.Output<number>; /** * Specifies the domains that the system searches for local domain lookups, to resolve local host names. */ readonly searches: pulumi.Output<string[] | undefined>; /** * Create a Dns 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: DnsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Dns resources. */ export interface DnsState { /** * Provide description for your DNS server */ description?: pulumi.Input<string>; /** * Specifies the name servers that the system uses to validate DNS lookups, and resolve host names. */ nameServers?: pulumi.Input<pulumi.Input<string>[]>; /** * Configures the number of dots needed in a name before an initial absolute query will be made. */ numberOfDots?: pulumi.Input<number>; /** * Specifies the domains that the system searches for local domain lookups, to resolve local host names. */ searches?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a Dns resource. */ export interface DnsArgs { /** * Provide description for your DNS server */ description: pulumi.Input<string>; /** * Specifies the name servers that the system uses to validate DNS lookups, and resolve host names. */ nameServers: pulumi.Input<pulumi.Input<string>[]>; /** * Configures the number of dots needed in a name before an initial absolute query will be made. */ numberOfDots?: pulumi.Input<number>; /** * Specifies the domains that the system searches for local domain lookups, to resolve local host names. */ searches?: pulumi.Input<pulumi.Input<string>[]>; }