Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.router.getPrefixlist
Explore with Pulumi AI
Use this data source to get information on an fortios router prefixlist
Using getPrefixlist
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 getPrefixlist(args: GetPrefixlistArgs, opts?: InvokeOptions): Promise<GetPrefixlistResult>
function getPrefixlistOutput(args: GetPrefixlistOutputArgs, opts?: InvokeOptions): Output<GetPrefixlistResult>
def get_prefixlist(name: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrefixlistResult
def get_prefixlist_output(name: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrefixlistResult]
func LookupPrefixlist(ctx *Context, args *LookupPrefixlistArgs, opts ...InvokeOption) (*LookupPrefixlistResult, error)
func LookupPrefixlistOutput(ctx *Context, args *LookupPrefixlistOutputArgs, opts ...InvokeOption) LookupPrefixlistResultOutput
> Note: This function is named LookupPrefixlist
in the Go SDK.
public static class GetPrefixlist
{
public static Task<GetPrefixlistResult> InvokeAsync(GetPrefixlistArgs args, InvokeOptions? opts = null)
public static Output<GetPrefixlistResult> Invoke(GetPrefixlistInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrefixlistResult> getPrefixlist(GetPrefixlistArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:router/getPrefixlist:getPrefixlist
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired router prefixlist.
- 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 router prefixlist.
- 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 router prefixlist.
- 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 router prefixlist.
- 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 router prefixlist.
- 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 router prefixlist.
- 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.
getPrefixlist Result
The following output properties are available:
Supporting Types
GetPrefixlistRule
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.