fortios.system.Vdomdns
Explore with Pulumi AI
Configure DNS servers for a non-management VDOM.
Create Vdomdns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vdomdns(name: string, args?: VdomdnsArgs, opts?: CustomResourceOptions);@overload
def Vdomdns(resource_name: str,
            args: Optional[VdomdnsArgs] = None,
            opts: Optional[ResourceOptions] = None)
@overload
def Vdomdns(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            alt_primary: Optional[str] = None,
            alt_secondary: Optional[str] = None,
            dns_over_tls: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            interface: Optional[str] = None,
            interface_select_method: Optional[str] = None,
            ip6_primary: Optional[str] = None,
            ip6_secondary: Optional[str] = None,
            primary: Optional[str] = None,
            protocol: Optional[str] = None,
            secondary: Optional[str] = None,
            server_hostnames: Optional[Sequence[VdomdnsServerHostnameArgs]] = None,
            server_select_method: Optional[str] = None,
            source_ip: Optional[str] = None,
            ssl_certificate: Optional[str] = None,
            vdom_dns: Optional[str] = None,
            vdomparam: Optional[str] = None)func NewVdomdns(ctx *Context, name string, args *VdomdnsArgs, opts ...ResourceOption) (*Vdomdns, error)public Vdomdns(string name, VdomdnsArgs? args = null, CustomResourceOptions? opts = null)
public Vdomdns(String name, VdomdnsArgs args)
public Vdomdns(String name, VdomdnsArgs args, CustomResourceOptions options)
type: fortios:system:Vdomdns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VdomdnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VdomdnsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VdomdnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VdomdnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VdomdnsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vdomdnsResource = new Fortios.System.Vdomdns("vdomdnsResource", new()
{
    AltPrimary = "string",
    AltSecondary = "string",
    DnsOverTls = "string",
    DynamicSortSubtable = "string",
    GetAllTables = "string",
    Interface = "string",
    InterfaceSelectMethod = "string",
    Ip6Primary = "string",
    Ip6Secondary = "string",
    Primary = "string",
    Protocol = "string",
    Secondary = "string",
    ServerHostnames = new[]
    {
        new Fortios.System.Inputs.VdomdnsServerHostnameArgs
        {
            Hostname = "string",
        },
    },
    ServerSelectMethod = "string",
    SourceIp = "string",
    SslCertificate = "string",
    VdomDns = "string",
    Vdomparam = "string",
});
example, err := system.NewVdomdns(ctx, "vdomdnsResource", &system.VdomdnsArgs{
	AltPrimary:            pulumi.String("string"),
	AltSecondary:          pulumi.String("string"),
	DnsOverTls:            pulumi.String("string"),
	DynamicSortSubtable:   pulumi.String("string"),
	GetAllTables:          pulumi.String("string"),
	Interface:             pulumi.String("string"),
	InterfaceSelectMethod: pulumi.String("string"),
	Ip6Primary:            pulumi.String("string"),
	Ip6Secondary:          pulumi.String("string"),
	Primary:               pulumi.String("string"),
	Protocol:              pulumi.String("string"),
	Secondary:             pulumi.String("string"),
	ServerHostnames: system.VdomdnsServerHostnameArray{
		&system.VdomdnsServerHostnameArgs{
			Hostname: pulumi.String("string"),
		},
	},
	ServerSelectMethod: pulumi.String("string"),
	SourceIp:           pulumi.String("string"),
	SslCertificate:     pulumi.String("string"),
	VdomDns:            pulumi.String("string"),
	Vdomparam:          pulumi.String("string"),
})
var vdomdnsResource = new Vdomdns("vdomdnsResource", VdomdnsArgs.builder()
    .altPrimary("string")
    .altSecondary("string")
    .dnsOverTls("string")
    .dynamicSortSubtable("string")
    .getAllTables("string")
    .interface_("string")
    .interfaceSelectMethod("string")
    .ip6Primary("string")
    .ip6Secondary("string")
    .primary("string")
    .protocol("string")
    .secondary("string")
    .serverHostnames(VdomdnsServerHostnameArgs.builder()
        .hostname("string")
        .build())
    .serverSelectMethod("string")
    .sourceIp("string")
    .sslCertificate("string")
    .vdomDns("string")
    .vdomparam("string")
    .build());
vdomdns_resource = fortios.system.Vdomdns("vdomdnsResource",
    alt_primary="string",
    alt_secondary="string",
    dns_over_tls="string",
    dynamic_sort_subtable="string",
    get_all_tables="string",
    interface="string",
    interface_select_method="string",
    ip6_primary="string",
    ip6_secondary="string",
    primary="string",
    protocol="string",
    secondary="string",
    server_hostnames=[{
        "hostname": "string",
    }],
    server_select_method="string",
    source_ip="string",
    ssl_certificate="string",
    vdom_dns="string",
    vdomparam="string")
const vdomdnsResource = new fortios.system.Vdomdns("vdomdnsResource", {
    altPrimary: "string",
    altSecondary: "string",
    dnsOverTls: "string",
    dynamicSortSubtable: "string",
    getAllTables: "string",
    "interface": "string",
    interfaceSelectMethod: "string",
    ip6Primary: "string",
    ip6Secondary: "string",
    primary: "string",
    protocol: "string",
    secondary: "string",
    serverHostnames: [{
        hostname: "string",
    }],
    serverSelectMethod: "string",
    sourceIp: "string",
    sslCertificate: "string",
    vdomDns: "string",
    vdomparam: "string",
});
type: fortios:system:Vdomdns
properties:
    altPrimary: string
    altSecondary: string
    dnsOverTls: string
    dynamicSortSubtable: string
    getAllTables: string
    interface: string
    interfaceSelectMethod: string
    ip6Primary: string
    ip6Secondary: string
    primary: string
    protocol: string
    secondary: string
    serverHostnames:
        - hostname: string
    serverSelectMethod: string
    sourceIp: string
    sslCertificate: string
    vdomDns: string
    vdomparam: string
Vdomdns Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Vdomdns resource accepts the following input properties:
- AltPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- AltSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- DnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- DynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- Ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- Ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- Primary string
- Primary DNS server IP address for the VDOM.
- Protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- Secondary string
- Secondary DNS server IP address for the VDOM.
- ServerHostnames List<Pulumiverse.Fortios. System. Inputs. Vdomdns Server Hostname> 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- ServerSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- SourceIp string
- Source IP for communications with the DNS server.
- SslCertificate string
- Name of local certificate for SSL connections.
- VdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- AltPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- AltSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- DnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- DynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- Ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- Ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- Primary string
- Primary DNS server IP address for the VDOM.
- Protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- Secondary string
- Secondary DNS server IP address for the VDOM.
- ServerHostnames []VdomdnsServer Hostname Args 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- ServerSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- SourceIp string
- Source IP for communications with the DNS server.
- SslCertificate string
- Name of local certificate for SSL connections.
- VdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary String
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary String
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver StringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort StringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interfaceSelect StringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- interface_ String
- Specify outgoing interface to reach server.
- ip6Primary String
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary String
- Secondary IPv6 DNS server IP address for the VDOM.
- primary String
- Primary DNS server IP address for the VDOM.
- protocol String
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary String
- Secondary DNS server IP address for the VDOM.
- serverHostnames List<VdomdnsServer Hostname> 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect StringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp String
- Source IP for communications with the DNS server.
- sslCertificate String
- Name of local certificate for SSL connections.
- vdomDns String
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface string
- Specify outgoing interface to reach server.
- interfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- primary string
- Primary DNS server IP address for the VDOM.
- protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary string
- Secondary DNS server IP address for the VDOM.
- serverHostnames VdomdnsServer Hostname[] 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp string
- Source IP for communications with the DNS server.
- sslCertificate string
- Name of local certificate for SSL connections.
- vdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- alt_primary str
- Alternate primary DNS server. This is not used as a failover DNS server.
- alt_secondary str
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dns_over_ strtls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamic_sort_ strsubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_all_ strtables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface str
- Specify outgoing interface to reach server.
- interface_select_ strmethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6_primary str
- Primary IPv6 DNS server IP address for the VDOM.
- ip6_secondary str
- Secondary IPv6 DNS server IP address for the VDOM.
- primary str
- Primary DNS server IP address for the VDOM.
- protocol str
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary str
- Secondary DNS server IP address for the VDOM.
- server_hostnames Sequence[VdomdnsServer Hostname Args] 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- server_select_ strmethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- source_ip str
- Source IP for communications with the DNS server.
- ssl_certificate str
- Name of local certificate for SSL connections.
- vdom_dns str
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary String
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary String
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver StringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort StringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface String
- Specify outgoing interface to reach server.
- interfaceSelect StringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6Primary String
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary String
- Secondary IPv6 DNS server IP address for the VDOM.
- primary String
- Primary DNS server IP address for the VDOM.
- protocol String
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary String
- Secondary DNS server IP address for the VDOM.
- serverHostnames List<Property Map>
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect StringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp String
- Source IP for communications with the DNS server.
- sslCertificate String
- Name of local certificate for SSL connections.
- vdomDns String
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Vdomdns resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Vdomdns Resource
Get an existing Vdomdns resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VdomdnsState, opts?: CustomResourceOptions): Vdomdns@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alt_primary: Optional[str] = None,
        alt_secondary: Optional[str] = None,
        dns_over_tls: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        get_all_tables: Optional[str] = None,
        interface: Optional[str] = None,
        interface_select_method: Optional[str] = None,
        ip6_primary: Optional[str] = None,
        ip6_secondary: Optional[str] = None,
        primary: Optional[str] = None,
        protocol: Optional[str] = None,
        secondary: Optional[str] = None,
        server_hostnames: Optional[Sequence[VdomdnsServerHostnameArgs]] = None,
        server_select_method: Optional[str] = None,
        source_ip: Optional[str] = None,
        ssl_certificate: Optional[str] = None,
        vdom_dns: Optional[str] = None,
        vdomparam: Optional[str] = None) -> Vdomdnsfunc GetVdomdns(ctx *Context, name string, id IDInput, state *VdomdnsState, opts ...ResourceOption) (*Vdomdns, error)public static Vdomdns Get(string name, Input<string> id, VdomdnsState? state, CustomResourceOptions? opts = null)public static Vdomdns get(String name, Output<String> id, VdomdnsState state, CustomResourceOptions options)resources:  _:    type: fortios:system:Vdomdns    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AltPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- AltSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- DnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- DynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- Ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- Ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- Primary string
- Primary DNS server IP address for the VDOM.
- Protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- Secondary string
- Secondary DNS server IP address for the VDOM.
- ServerHostnames List<Pulumiverse.Fortios. System. Inputs. Vdomdns Server Hostname> 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- ServerSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- SourceIp string
- Source IP for communications with the DNS server.
- SslCertificate string
- Name of local certificate for SSL connections.
- VdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- AltPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- AltSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- DnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- DynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- Ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- Ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- Primary string
- Primary DNS server IP address for the VDOM.
- Protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- Secondary string
- Secondary DNS server IP address for the VDOM.
- ServerHostnames []VdomdnsServer Hostname Args 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- ServerSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- SourceIp string
- Source IP for communications with the DNS server.
- SslCertificate string
- Name of local certificate for SSL connections.
- VdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary String
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary String
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver StringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort StringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interfaceSelect StringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- interface_ String
- Specify outgoing interface to reach server.
- ip6Primary String
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary String
- Secondary IPv6 DNS server IP address for the VDOM.
- primary String
- Primary DNS server IP address for the VDOM.
- protocol String
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary String
- Secondary DNS server IP address for the VDOM.
- serverHostnames List<VdomdnsServer Hostname> 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect StringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp String
- Source IP for communications with the DNS server.
- sslCertificate String
- Name of local certificate for SSL connections.
- vdomDns String
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary string
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary string
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver stringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort stringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface string
- Specify outgoing interface to reach server.
- interfaceSelect stringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6Primary string
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary string
- Secondary IPv6 DNS server IP address for the VDOM.
- primary string
- Primary DNS server IP address for the VDOM.
- protocol string
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary string
- Secondary DNS server IP address for the VDOM.
- serverHostnames VdomdnsServer Hostname[] 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect stringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp string
- Source IP for communications with the DNS server.
- sslCertificate string
- Name of local certificate for SSL connections.
- vdomDns string
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- alt_primary str
- Alternate primary DNS server. This is not used as a failover DNS server.
- alt_secondary str
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dns_over_ strtls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamic_sort_ strsubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_all_ strtables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface str
- Specify outgoing interface to reach server.
- interface_select_ strmethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6_primary str
- Primary IPv6 DNS server IP address for the VDOM.
- ip6_secondary str
- Secondary IPv6 DNS server IP address for the VDOM.
- primary str
- Primary DNS server IP address for the VDOM.
- protocol str
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary str
- Secondary DNS server IP address for the VDOM.
- server_hostnames Sequence[VdomdnsServer Hostname Args] 
- DNS server host name list. The structure of server_hostnameblock is documented below.
- server_select_ strmethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- source_ip str
- Source IP for communications with the DNS server.
- ssl_certificate str
- Name of local certificate for SSL connections.
- vdom_dns str
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- altPrimary String
- Alternate primary DNS server. This is not used as a failover DNS server.
- altSecondary String
- Alternate secondary DNS server. This is not used as a failover DNS server.
- dnsOver StringTls 
- Enable/disable/enforce DNS over TLS. Valid values: disable,enable,enforce.
- dynamicSort StringSubtable 
- Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface String
- Specify outgoing interface to reach server.
- interfaceSelect StringMethod 
- Specify how to select outgoing interface to reach server. Valid values: auto,sdwan,specify.
- ip6Primary String
- Primary IPv6 DNS server IP address for the VDOM.
- ip6Secondary String
- Secondary IPv6 DNS server IP address for the VDOM.
- primary String
- Primary DNS server IP address for the VDOM.
- protocol String
- DNS protocols. Valid values: cleartext,dot,doh.
- secondary String
- Secondary DNS server IP address for the VDOM.
- serverHostnames List<Property Map>
- DNS server host name list. The structure of server_hostnameblock is documented below.
- serverSelect StringMethod 
- Specify how configured servers are prioritized. Valid values: least-rtt,failover.
- sourceIp String
- Source IP for communications with the DNS server.
- sslCertificate String
- Name of local certificate for SSL connections.
- vdomDns String
- Enable/disable configuring DNS servers for the current VDOM. Valid values: enable,disable.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
VdomdnsServerHostname, VdomdnsServerHostnameArgs      
- Hostname string
- DNS server host name list separated by space (maximum 4 domains).
- Hostname string
- DNS server host name list separated by space (maximum 4 domains).
- hostname String
- DNS server host name list separated by space (maximum 4 domains).
- hostname string
- DNS server host name list separated by space (maximum 4 domains).
- hostname str
- DNS server host name list separated by space (maximum 4 domains).
- hostname String
- DNS server host name list separated by space (maximum 4 domains).
Import
System VdomDns can be imported using any of these accepted formats:
$ pulumi import fortios:system/vdomdns:Vdomdns labelname SystemVdomDns
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/vdomdns:Vdomdns labelname SystemVdomDns
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the fortiosTerraform Provider.
