Fortios v0.0.6 published on Tuesday, Jul 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)
public static Output<GetPrefixlistResult> getPrefixlist(GetPrefixlistArgs args, InvokeOptions options)
fn::invoke:
function: fortios:router/getPrefixlist:getPrefixlist
arguments:
# arguments dictionary
The following arguments are supported:
- Name
This property is required. string - Specify the name of the desired router prefixlist.
- Vdomparam
Changes to this property will trigger replacement.
- 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
This property is required. string - Specify the name of the desired router prefixlist.
- Vdomparam
Changes to this property will trigger replacement.
- 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
This property is required. String - Specify the name of the desired router prefixlist.
- vdomparam
Changes to this property will trigger replacement.
- 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
This property is required. string - Specify the name of the desired router prefixlist.
- vdomparam
Changes to this property will trigger replacement.
- 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
This property is required. str - Specify the name of the desired router prefixlist.
- vdomparam
Changes to this property will trigger replacement.
- 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
This property is required. String - Specify the name of the desired router prefixlist.
- vdomparam
Changes to this property will trigger replacement.
- 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
- Action
This property is required. string - Permit or deny this IP address and netmask prefix.
- Flags
This property is required. int - Flags.
- Ge
This property is required. int - Minimum prefix length to be matched (0 - 32).
- Id
This property is required. int - Rule ID.
- Le
This property is required. int - Maximum prefix length to be matched (0 - 32).
- Prefix
This property is required. string - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
- Action
This property is required. string - Permit or deny this IP address and netmask prefix.
- Flags
This property is required. int - Flags.
- Ge
This property is required. int - Minimum prefix length to be matched (0 - 32).
- Id
This property is required. int - Rule ID.
- Le
This property is required. int - Maximum prefix length to be matched (0 - 32).
- Prefix
This property is required. string - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
- action
This property is required. String - Permit or deny this IP address and netmask prefix.
- flags
This property is required. Integer - Flags.
- ge
This property is required. Integer - Minimum prefix length to be matched (0 - 32).
- id
This property is required. Integer - Rule ID.
- le
This property is required. Integer - Maximum prefix length to be matched (0 - 32).
- prefix
This property is required. String - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
- action
This property is required. string - Permit or deny this IP address and netmask prefix.
- flags
This property is required. number - Flags.
- ge
This property is required. number - Minimum prefix length to be matched (0 - 32).
- id
This property is required. number - Rule ID.
- le
This property is required. number - Maximum prefix length to be matched (0 - 32).
- prefix
This property is required. string - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
- action
This property is required. str - Permit or deny this IP address and netmask prefix.
- flags
This property is required. int - Flags.
- ge
This property is required. int - Minimum prefix length to be matched (0 - 32).
- id
This property is required. int - Rule ID.
- le
This property is required. int - Maximum prefix length to be matched (0 - 32).
- prefix
This property is required. str - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
- action
This property is required. String - Permit or deny this IP address and netmask prefix.
- flags
This property is required. Number - Flags.
- ge
This property is required. Number - Minimum prefix length to be matched (0 - 32).
- id
This property is required. Number - Rule ID.
- le
This property is required. Number - Maximum prefix length to be matched (0 - 32).
- prefix
This property is required. String - IPv4 prefix to define regular filter criteria, such as "any" or subnets.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.