Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getDnsserverlist
Explore with Pulumi AI
Provides a list of fortios.system.Dnsserver
.
Using getDnsserverlist
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 getDnsserverlist(args: GetDnsserverlistArgs, opts?: InvokeOptions): Promise<GetDnsserverlistResult>
function getDnsserverlistOutput(args: GetDnsserverlistOutputArgs, opts?: InvokeOptions): Output<GetDnsserverlistResult>
def get_dnsserverlist(filter: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsserverlistResult
def get_dnsserverlist_output(filter: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsserverlistResult]
func GetDnsserverlist(ctx *Context, args *GetDnsserverlistArgs, opts ...InvokeOption) (*GetDnsserverlistResult, error)
func GetDnsserverlistOutput(ctx *Context, args *GetDnsserverlistOutputArgs, opts ...InvokeOption) GetDnsserverlistResultOutput
> Note: This function is named GetDnsserverlist
in the Go SDK.
public static class GetDnsserverlist
{
public static Task<GetDnsserverlistResult> InvokeAsync(GetDnsserverlistArgs args, InvokeOptions? opts = null)
public static Output<GetDnsserverlistResult> Invoke(GetDnsserverlistInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDnsserverlistResult> getDnsserverlist(GetDnsserverlistArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getDnsserverlist:getDnsserverlist
arguments:
# arguments dictionary
The following arguments are supported:
- Filter string
- A filter used to scope the list. See Filter results of datasource.
- 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.
- Filter string
- A filter used to scope the list. See Filter results of datasource.
- 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.
- filter String
- A filter used to scope the list. See Filter results of datasource.
- 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.
- filter string
- A filter used to scope the list. See Filter results of datasource.
- 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.
- filter str
- A filter used to scope the list. See Filter results of datasource.
- 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.
- filter String
- A filter used to scope the list. See Filter results of datasource.
- 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.
getDnsserverlist Result
The following output properties are available:
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.