1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getDnsdatabase
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.getDnsdatabase

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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:

    AllowTransfer string
    DNS zone transfer IP address list.
    Authoritative 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.
    DnsEntries List<Pulumiverse.Fortios.System.Outputs.GetDnsdatabaseDnsEntry>
    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.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax int
    Maximum number of resource records (10 - 65536, 0 means infinite).
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 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
    AllowTransfer string
    DNS zone transfer IP address list.
    Authoritative 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.
    DnsEntries []GetDnsdatabaseDnsEntry
    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.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax int
    Maximum number of resource records (10 - 65536, 0 means infinite).
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 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
    allowTransfer String
    DNS zone transfer IP address list.
    authoritative 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.
    dnsEntries List<GetDnsdatabaseDnsEntry>
    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.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Integer
    Maximum number of resource records (10 - 65536, 0 means infinite).
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 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
    allowTransfer string
    DNS zone transfer IP address list.
    authoritative 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.
    dnsEntries GetDnsdatabaseDnsEntry[]
    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.
    ipMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name string
    Zone name.
    primaryName string
    Domain name of the default DNS server for this zone.
    rrMax number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    sourceIp string
    Source IP for forwarding to DNS server.
    sourceIp6 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.
    authoritative 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[GetDnsdatabaseDnsEntry]
    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
    allowTransfer String
    DNS zone transfer IP address list.
    authoritative 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.
    dnsEntries 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.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 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

    CanonicalName 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.
    CanonicalName 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.
    canonicalName 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.
    canonicalName 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.
    canonicalName 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse