@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
91 lines (90 loc) • 3.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to configure DNS of FortiOS.
*
* !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.system.Dns`, we recommend that you use the new resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const test1 = new fortios.system.SettingDns("test1", {
* dnsOverTls: "disable",
* primary: "208.91.112.53",
* secondary: "208.91.112.22",
* });
* ```
*/
export declare class SettingDns extends pulumi.CustomResource {
/**
* Get an existing SettingDns 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?: SettingDnsState, opts?: pulumi.CustomResourceOptions): SettingDns;
/**
* Returns true if the given object is an instance of SettingDns. 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 SettingDns;
/**
* Enable/disable/enforce DNS over TLS(available since v6.2.0). Enum: [ disable, enable, enforce ]
*/
readonly dnsOverTls: pulumi.Output<string>;
/**
* Primary DNS server IP address.
*/
readonly primary: pulumi.Output<string>;
/**
* Secondary DNS server IP address.
*/
readonly secondary: pulumi.Output<string>;
/**
* Create a SettingDns 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?: SettingDnsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SettingDns resources.
*/
export interface SettingDnsState {
/**
* Enable/disable/enforce DNS over TLS(available since v6.2.0). Enum: [ disable, enable, enforce ]
*/
dnsOverTls?: pulumi.Input<string>;
/**
* Primary DNS server IP address.
*/
primary?: pulumi.Input<string>;
/**
* Secondary DNS server IP address.
*/
secondary?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SettingDns resource.
*/
export interface SettingDnsArgs {
/**
* Enable/disable/enforce DNS over TLS(available since v6.2.0). Enum: [ disable, enable, enforce ]
*/
dnsOverTls?: pulumi.Input<string>;
/**
* Primary DNS server IP address.
*/
primary?: pulumi.Input<string>;
/**
* Secondary DNS server IP address.
*/
secondary?: pulumi.Input<string>;
}