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

fortios.system.getDnsserver

Explore with Pulumi AI

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

    Use this data source to get information on an fortios system dnsserver

    Using getDnsserver

    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 getDnsserver(args: GetDnsserverArgs, opts?: InvokeOptions): Promise<GetDnsserverResult>
    function getDnsserverOutput(args: GetDnsserverOutputArgs, opts?: InvokeOptions): Output<GetDnsserverResult>
    def get_dnsserver(name: Optional[str] = None,
                      vdomparam: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDnsserverResult
    def get_dnsserver_output(name: Optional[pulumi.Input[str]] = None,
                      vdomparam: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDnsserverResult]
    func LookupDnsserver(ctx *Context, args *LookupDnsserverArgs, opts ...InvokeOption) (*LookupDnsserverResult, error)
    func LookupDnsserverOutput(ctx *Context, args *LookupDnsserverOutputArgs, opts ...InvokeOption) LookupDnsserverResultOutput

    > Note: This function is named LookupDnsserver in the Go SDK.

    public static class GetDnsserver 
    {
        public static Task<GetDnsserverResult> InvokeAsync(GetDnsserverArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsserverResult> Invoke(GetDnsserverInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsserverResult> getDnsserver(GetDnsserverArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:system/getDnsserver:getDnsserver
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Specify the name of the desired system dnsserver.
    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 dnsserver.
    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 dnsserver.
    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 dnsserver.
    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 dnsserver.
    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 dnsserver.
    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.

    getDnsserver Result

    The following output properties are available:

    DnsfilterProfile string
    DNS filter profile.
    Doh string
    DNS over HTTPS.
    Doh3 string
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    Doq string
    Enable/disable DNS over QUIC/853 (default = disable).
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    DNS server mode.
    Name string
    DNS server name.
    Vdomparam string
    DnsfilterProfile string
    DNS filter profile.
    Doh string
    DNS over HTTPS.
    Doh3 string
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    Doq string
    Enable/disable DNS over QUIC/853 (default = disable).
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    DNS server mode.
    Name string
    DNS server name.
    Vdomparam string
    dnsfilterProfile String
    DNS filter profile.
    doh String
    DNS over HTTPS.
    doh3 String
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    doq String
    Enable/disable DNS over QUIC/853 (default = disable).
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    DNS server mode.
    name String
    DNS server name.
    vdomparam String
    dnsfilterProfile string
    DNS filter profile.
    doh string
    DNS over HTTPS.
    doh3 string
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    doq string
    Enable/disable DNS over QUIC/853 (default = disable).
    id string
    The provider-assigned unique ID for this managed resource.
    mode string
    DNS server mode.
    name string
    DNS server name.
    vdomparam string
    dnsfilter_profile str
    DNS filter profile.
    doh str
    DNS over HTTPS.
    doh3 str
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    doq str
    Enable/disable DNS over QUIC/853 (default = disable).
    id str
    The provider-assigned unique ID for this managed resource.
    mode str
    DNS server mode.
    name str
    DNS server name.
    vdomparam str
    dnsfilterProfile String
    DNS filter profile.
    doh String
    DNS over HTTPS.
    doh3 String
    Enable/disable DNS over QUIC/HTTP3/443 (default = disable).
    doq String
    Enable/disable DNS over QUIC/853 (default = disable).
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    DNS server mode.
    name String
    DNS server name.
    vdomparam String

    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