1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Vdomdns
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.Vdomdns

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    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=[fortios.system.VdomdnsServerHostnameArgs(
            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

    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.
    DnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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.
    InterfaceSelectMethod string
    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.VdomdnsServerHostname>
    DNS server host name list. The structure of server_hostname block is documented below.
    ServerSelectMethod string
    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.
    DnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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.
    InterfaceSelectMethod string
    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 []VdomdnsServerHostnameArgs
    DNS server host name list. The structure of server_hostname block is documented below.
    ServerSelectMethod string
    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.
    dnsOverTls String
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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.
    interfaceSelectMethod String
    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<VdomdnsServerHostname>
    DNS server host name list. The structure of server_hostname block is documented below.
    serverSelectMethod String
    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.
    dnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    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.
    interfaceSelectMethod string
    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 VdomdnsServerHostname[]
    DNS server host name list. The structure of server_hostname block is documented below.
    serverSelectMethod string
    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_tls str
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamic_sort_subtable str
    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_tables str
    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_method str
    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[VdomdnsServerHostnameArgs]
    DNS server host name list. The structure of server_hostname block is documented below.
    server_select_method str
    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.
    dnsOverTls String
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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.
    interfaceSelectMethod String
    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_hostname block is documented below.
    serverSelectMethod String
    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) -> Vdomdns
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    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.
    DnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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.
    InterfaceSelectMethod string
    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.VdomdnsServerHostname>
    DNS server host name list. The structure of server_hostname block is documented below.
    ServerSelectMethod string
    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.
    DnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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.
    InterfaceSelectMethod string
    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 []VdomdnsServerHostnameArgs
    DNS server host name list. The structure of server_hostname block is documented below.
    ServerSelectMethod string
    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.
    dnsOverTls String
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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.
    interfaceSelectMethod String
    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<VdomdnsServerHostname>
    DNS server host name list. The structure of server_hostname block is documented below.
    serverSelectMethod String
    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.
    dnsOverTls string
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    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.
    interfaceSelectMethod string
    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 VdomdnsServerHostname[]
    DNS server host name list. The structure of server_hostname block is documented below.
    serverSelectMethod string
    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_tls str
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamic_sort_subtable str
    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_tables str
    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_method str
    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[VdomdnsServerHostnameArgs]
    DNS server host name list. The structure of server_hostname block is documented below.
    server_select_method str
    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.
    dnsOverTls String
    Enable/disable/enforce DNS over TLS. Valid values: disable, enable, enforce.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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.
    interfaceSelectMethod String
    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_hostname block is documented below.
    serverSelectMethod String
    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 fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse