Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getDnsdatabase
Explore with Pulumi AI
Use this data source to get information on an fortios system dnsdatabase
Using getDnsdatabase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDnsdatabase(args: GetDnsdatabaseArgs, opts?: InvokeOptions): Promise<GetDnsdatabaseResult>
function getDnsdatabaseOutput(args: GetDnsdatabaseOutputArgs, opts?: InvokeOptions): Output<GetDnsdatabaseResult>
def get_dnsdatabase(name: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsdatabaseResult
def get_dnsdatabase_output(name: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsdatabaseResult]
func LookupDnsdatabase(ctx *Context, args *LookupDnsdatabaseArgs, opts ...InvokeOption) (*LookupDnsdatabaseResult, error)
func LookupDnsdatabaseOutput(ctx *Context, args *LookupDnsdatabaseOutputArgs, opts ...InvokeOption) LookupDnsdatabaseResultOutput
> Note: This function is named LookupDnsdatabase
in the Go SDK.
public static class GetDnsdatabase
{
public static Task<GetDnsdatabaseResult> InvokeAsync(GetDnsdatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetDnsdatabaseResult> Invoke(GetDnsdatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDnsdatabaseResult> getDnsdatabase(GetDnsdatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getDnsdatabase:getDnsdatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired system dnsdatabase.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- Name string
- Specify the name of the desired system dnsdatabase.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system dnsdatabase.
- vdomparam String
- Specifies the vdom to which the data source 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.
- name string
- Specify the name of the desired system dnsdatabase.
- vdomparam string
- Specifies the vdom to which the data source 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.
- name str
- Specify the name of the desired system dnsdatabase.
- vdomparam str
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system dnsdatabase.
- vdomparam String
- Specifies the vdom to which the data source 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.
getDnsdatabase Result
The following output properties are available:
- Allow
Transfer string - DNS zone transfer IP address list.
- string
- Enable/disable authoritative zone.
- Contact string
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- Dns
Entries List<Pulumiverse.Fortios. System. Outputs. Get Dnsdatabase Dns Entry> - DNS entry. The structure of
dns_entry
block is documented below. - Domain string
- Domain name.
- Forwarder string
- DNS zone forwarder IP address list.
- Forwarder6 string
- Forwarder IPv6 address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Master string - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- Ip
Primary string - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- Name string
- Zone name.
- Primary
Name string - Domain name of the default DNS server for this zone.
- Rr
Max int - Maximum number of resource records (10 - 65536, 0 means infinite).
- Source
Ip string - Source IP for forwarding to DNS server.
- Source
Ip6 string - IPv6 source IP address for forwarding to DNS server.
- Status string
- Enable/disable resource record status.
- Ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- Type string
- Resource record type.
- View string
- Zone view (public to serve public clients, shadow to serve internal clients).
- Vdomparam string
- Allow
Transfer string - DNS zone transfer IP address list.
- string
- Enable/disable authoritative zone.
- Contact string
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- Dns
Entries []GetDnsdatabase Dns Entry - DNS entry. The structure of
dns_entry
block is documented below. - Domain string
- Domain name.
- Forwarder string
- DNS zone forwarder IP address list.
- Forwarder6 string
- Forwarder IPv6 address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Master string - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- Ip
Primary string - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- Name string
- Zone name.
- Primary
Name string - Domain name of the default DNS server for this zone.
- Rr
Max int - Maximum number of resource records (10 - 65536, 0 means infinite).
- Source
Ip string - Source IP for forwarding to DNS server.
- Source
Ip6 string - IPv6 source IP address for forwarding to DNS server.
- Status string
- Enable/disable resource record status.
- Ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- Type string
- Resource record type.
- View string
- Zone view (public to serve public clients, shadow to serve internal clients).
- Vdomparam string
- allow
Transfer String - DNS zone transfer IP address list.
- String
- Enable/disable authoritative zone.
- contact String
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- dns
Entries List<GetDnsdatabase Dns Entry> - DNS entry. The structure of
dns_entry
block is documented below. - domain String
- Domain name.
- forwarder String
- DNS zone forwarder IP address list.
- forwarder6 String
- Forwarder IPv6 address.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Master String - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- ip
Primary String - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- name String
- Zone name.
- primary
Name String - Domain name of the default DNS server for this zone.
- rr
Max Integer - Maximum number of resource records (10 - 65536, 0 means infinite).
- source
Ip String - Source IP for forwarding to DNS server.
- source
Ip6 String - IPv6 source IP address for forwarding to DNS server.
- status String
- Enable/disable resource record status.
- ttl Integer
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type String
- Resource record type.
- view String
- Zone view (public to serve public clients, shadow to serve internal clients).
- vdomparam String
- allow
Transfer string - DNS zone transfer IP address list.
- string
- Enable/disable authoritative zone.
- contact string
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- dns
Entries GetDnsdatabase Dns Entry[] - DNS entry. The structure of
dns_entry
block is documented below. - domain string
- Domain name.
- forwarder string
- DNS zone forwarder IP address list.
- forwarder6 string
- Forwarder IPv6 address.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Master string - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- ip
Primary string - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- name string
- Zone name.
- primary
Name string - Domain name of the default DNS server for this zone.
- rr
Max number - Maximum number of resource records (10 - 65536, 0 means infinite).
- source
Ip string - Source IP for forwarding to DNS server.
- source
Ip6 string - IPv6 source IP address for forwarding to DNS server.
- status string
- Enable/disable resource record status.
- ttl number
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type string
- Resource record type.
- view string
- Zone view (public to serve public clients, shadow to serve internal clients).
- vdomparam string
- allow_
transfer str - DNS zone transfer IP address list.
- str
- Enable/disable authoritative zone.
- contact str
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- dns_
entries Sequence[GetDnsdatabase Dns Entry] - DNS entry. The structure of
dns_entry
block is documented below. - domain str
- Domain name.
- forwarder str
- DNS zone forwarder IP address list.
- forwarder6 str
- Forwarder IPv6 address.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
master str - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- ip_
primary str - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- name str
- Zone name.
- primary_
name str - Domain name of the default DNS server for this zone.
- rr_
max int - Maximum number of resource records (10 - 65536, 0 means infinite).
- source_
ip str - Source IP for forwarding to DNS server.
- source_
ip6 str - IPv6 source IP address for forwarding to DNS server.
- status str
- Enable/disable resource record status.
- ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type str
- Resource record type.
- view str
- Zone view (public to serve public clients, shadow to serve internal clients).
- vdomparam str
- allow
Transfer String - DNS zone transfer IP address list.
- String
- Enable/disable authoritative zone.
- contact String
- Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone.
- dns
Entries List<Property Map> - DNS entry. The structure of
dns_entry
block is documented below. - domain String
- Domain name.
- forwarder String
- DNS zone forwarder IP address list.
- forwarder6 String
- Forwarder IPv6 address.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Master String - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
- ip
Primary String - IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
- name String
- Zone name.
- primary
Name String - Domain name of the default DNS server for this zone.
- rr
Max Number - Maximum number of resource records (10 - 65536, 0 means infinite).
- source
Ip String - Source IP for forwarding to DNS server.
- source
Ip6 String - IPv6 source IP address for forwarding to DNS server.
- status String
- Enable/disable resource record status.
- ttl Number
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type String
- Resource record type.
- view String
- Zone view (public to serve public clients, shadow to serve internal clients).
- vdomparam String
Supporting Types
GetDnsdatabaseDnsEntry
- Canonical
Name string - Canonical name of the host.
- Hostname string
- Name of the host.
- Id int
- DNS entry ID.
- Ip string
- IPv4 address of the host.
- Ipv6 string
- IPv6 address of the host.
- Preference int
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- Status string
- Enable/disable resource record status.
- Ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- Type string
- Resource record type.
- Canonical
Name string - Canonical name of the host.
- Hostname string
- Name of the host.
- Id int
- DNS entry ID.
- Ip string
- IPv4 address of the host.
- Ipv6 string
- IPv6 address of the host.
- Preference int
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- Status string
- Enable/disable resource record status.
- Ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- Type string
- Resource record type.
- canonical
Name String - Canonical name of the host.
- hostname String
- Name of the host.
- id Integer
- DNS entry ID.
- ip String
- IPv4 address of the host.
- ipv6 String
- IPv6 address of the host.
- preference Integer
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- status String
- Enable/disable resource record status.
- ttl Integer
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type String
- Resource record type.
- canonical
Name string - Canonical name of the host.
- hostname string
- Name of the host.
- id number
- DNS entry ID.
- ip string
- IPv4 address of the host.
- ipv6 string
- IPv6 address of the host.
- preference number
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- status string
- Enable/disable resource record status.
- ttl number
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type string
- Resource record type.
- canonical_
name str - Canonical name of the host.
- hostname str
- Name of the host.
- id int
- DNS entry ID.
- ip str
- IPv4 address of the host.
- ipv6 str
- IPv6 address of the host.
- preference int
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- status str
- Enable/disable resource record status.
- ttl int
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type str
- Resource record type.
- canonical
Name String - Canonical name of the host.
- hostname String
- Name of the host.
- id Number
- DNS entry ID.
- ip String
- IPv4 address of the host.
- ipv6 String
- IPv6 address of the host.
- preference Number
- DNS entry preference, 0 is the highest preference (0 - 65535, default = 10)
- status String
- Enable/disable resource record status.
- ttl Number
- Time-to-live for this entry (0 to 2147483647 sec, default = 0).
- type String
- Resource record type.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.