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

fortios.router.getPrefixlist

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 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:

    Comments string
    Comment.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name.
    Rules List<Pulumiverse.Fortios.Router.Outputs.GetPrefixlistRule>
    IPv4 prefix list rule. The structure of rule block is documented below.
    Vdomparam string
    Comments string
    Comment.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name.
    Rules []GetPrefixlistRule
    IPv4 prefix list rule. The structure of rule block is documented below.
    Vdomparam string
    comments String
    Comment.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name.
    rules List<GetPrefixlistRule>
    IPv4 prefix list rule. The structure of rule block is documented below.
    vdomparam String
    comments string
    Comment.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name.
    rules GetPrefixlistRule[]
    IPv4 prefix list rule. The structure of rule block is documented below.
    vdomparam string
    comments str
    Comment.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name.
    rules Sequence[GetPrefixlistRule]
    IPv4 prefix list rule. The structure of rule block is documented below.
    vdomparam str
    comments String
    Comment.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name.
    rules List<Property Map>
    IPv4 prefix list rule. The structure of rule block is documented below.
    vdomparam String

    Supporting Types

    GetPrefixlistRule

    Action string
    Permit or deny this IP address and netmask prefix.
    Flags int
    Flags.
    Ge int
    Minimum prefix length to be matched (0 - 32).
    Id int
    Rule ID.
    Le int
    Maximum prefix length to be matched (0 - 32).
    Prefix string
    IPv4 prefix to define regular filter criteria, such as "any" or subnets.
    Action string
    Permit or deny this IP address and netmask prefix.
    Flags int
    Flags.
    Ge int
    Minimum prefix length to be matched (0 - 32).
    Id int
    Rule ID.
    Le int
    Maximum prefix length to be matched (0 - 32).
    Prefix string
    IPv4 prefix to define regular filter criteria, such as "any" or subnets.
    action String
    Permit or deny this IP address and netmask prefix.
    flags Integer
    Flags.
    ge Integer
    Minimum prefix length to be matched (0 - 32).
    id Integer
    Rule ID.
    le Integer
    Maximum prefix length to be matched (0 - 32).
    prefix String
    IPv4 prefix to define regular filter criteria, such as "any" or subnets.
    action string
    Permit or deny this IP address and netmask prefix.
    flags number
    Flags.
    ge number
    Minimum prefix length to be matched (0 - 32).
    id number
    Rule ID.
    le number
    Maximum prefix length to be matched (0 - 32).
    prefix string
    IPv4 prefix to define regular filter criteria, such as "any" or subnets.
    action str
    Permit or deny this IP address and netmask prefix.
    flags int
    Flags.
    ge int
    Minimum prefix length to be matched (0 - 32).
    id int
    Rule ID.
    le int
    Maximum prefix length to be matched (0 - 32).
    prefix str
    IPv4 prefix to define regular filter criteria, such as "any" or subnets.
    action String
    Permit or deny this IP address and netmask prefix.
    flags Number
    Flags.
    ge Number
    Minimum prefix length to be matched (0 - 32).
    id Number
    Rule ID.
    le Number
    Maximum prefix length to be matched (0 - 32).
    prefix 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse