import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * DhcpInterface resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const dhcpServerExample = new scm.DhcpInterface("dhcp_server_example", { * folder: "ngfw-shared", * name: "$test-interface-must-exist", * server: { * ipPools: ["10.10.10.10-10.10.10.200"], * mode: "auto", * probeIp: true, * option: { * dns: { * primary: "8.8.8.8", * secondary: "1.1.1.1", * }, * dnsSuffix: "example.local", * gateway: "10.10.10.1", * subnetMask: "255.255.255.0", * pop3Server: "192.0.2.25", * smtpServer: "192.0.2.26", * lease: { * timeout: 3600, * }, * ntp: { * primary: "129.6.15.28", * secondary: "132.163.96.1", * }, * wins: { * primary: "192.168.1.1", * secondary: "192.168.1.2", * }, * nis: { * primary: "192.0.2.10", * secondary: "192.0.2.11", * }, * userDefineds: [{ * inherited: true, * name: "option-foo", * code: 224, * ip: ["192.0.2.10"], * }], * }, * reserveds: [{ * description: "Reserved lease for printer", * mac: "aa:bb:cc:dd:ee:ff", * name: "10.10.10.50", * }], * }, * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/dhcpInterface:DhcpInterface example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/dhcpInterface:DhcpInterface example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/dhcpInterface:DhcpInterface example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class DhcpInterface extends pulumi.CustomResource { /** * Get an existing DhcpInterface 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?: DhcpInterfaceState, opts?: pulumi.CustomResourceOptions): DhcpInterface; /** * Returns true if the given object is an instance of DhcpInterface. 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 DhcpInterface; /** * The device in which the resource is defined */ readonly device: pulumi.Output; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: pulumi.Output; /** * Interface name */ readonly name: pulumi.Output; /** * Relay * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ readonly relay: pulumi.Output; /** * Server * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ readonly server: pulumi.Output; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Create a DhcpInterface 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?: DhcpInterfaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DhcpInterface resources. */ export interface DhcpInterfaceState { /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Interface name */ name?: pulumi.Input; /** * Relay * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ relay?: pulumi.Input; /** * Server * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ server?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; /** * The Terraform ID. */ tfid?: pulumi.Input; } /** * The set of arguments for constructing a DhcpInterface resource. */ export interface DhcpInterfaceArgs { /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Interface name */ name?: pulumi.Input; /** * Relay * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ relay?: pulumi.Input; /** * Server * * > ℹ️ **Note:** You must specify exactly one of `relay` and `server`. */ server?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; } //# sourceMappingURL=dhcpInterface.d.ts.map