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=[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:
- Alt
Primary string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- Interface
Select 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.
- Server
Hostnames List<Pulumiverse.Fortios. System. Inputs. Vdomdns Server Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - Source
Ip string - Source IP for communications with the DNS server.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Vdom
Dns 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 string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- Interface
Select 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.
- Server
Hostnames []VdomdnsServer Hostname Args - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - Source
Ip string - Source IP for communications with the DNS server.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Vdom
Dns 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 String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over StringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface
Select 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.
- server
Hostnames List<VdomdnsServer Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip String - Source IP for communications with the DNS server.
- ssl
Certificate String - Name of local certificate for SSL connections.
- vdom
Dns 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 string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- interface
Select 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.
- server
Hostnames VdomdnsServer Hostname[] - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip string - Source IP for communications with the DNS server.
- ssl
Certificate string - Name of local certificate for SSL connections.
- vdom
Dns 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, otherwish 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_hostname
block 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.
- alt
Primary String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over StringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- interface
Select 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.
- server
Hostnames List<Property Map> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip String - Source IP for communications with the DNS server.
- ssl
Certificate String - Name of local certificate for SSL connections.
- vdom
Dns 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.
- Alt
Primary string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- Interface
Select 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.
- Server
Hostnames List<Pulumiverse.Fortios. System. Inputs. Vdomdns Server Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - Source
Ip string - Source IP for communications with the DNS server.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Vdom
Dns 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 string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - Dynamic
Sort 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 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- Interface
Select 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.
- Server
Hostnames []VdomdnsServer Hostname Args - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - Source
Ip string - Source IP for communications with the DNS server.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Vdom
Dns 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 String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over StringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface
Select 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.
- server
Hostnames List<VdomdnsServer Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip String - Source IP for communications with the DNS server.
- ssl
Certificate String - Name of local certificate for SSL connections.
- vdom
Dns 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 string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over stringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- interface
Select 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.
- server
Hostnames VdomdnsServer Hostname[] - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select stringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip string - Source IP for communications with the DNS server.
- ssl
Certificate string - Name of local certificate for SSL connections.
- vdom
Dns 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, otherwish 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_hostname
block 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.
- alt
Primary String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- dns
Over StringTls - Enable/disable/enforce DNS over TLS. Valid values:
disable
,enable
,enforce
. - dynamic
Sort 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 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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.
- interface
Select 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.
- server
Hostnames List<Property Map> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized. Valid values:
least-rtt
,failover
. - source
Ip String - Source IP for communications with the DNS server.
- ssl
Certificate String - Name of local certificate for SSL connections.
- vdom
Dns 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.