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

fortios.router.getAspathlist

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 router aspathlist

    Using getAspathlist

    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 getAspathlist(args: GetAspathlistArgs, opts?: InvokeOptions): Promise<GetAspathlistResult>
    function getAspathlistOutput(args: GetAspathlistOutputArgs, opts?: InvokeOptions): Output<GetAspathlistResult>
    def get_aspathlist(name: Optional[str] = None,
                       vdomparam: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAspathlistResult
    def get_aspathlist_output(name: Optional[pulumi.Input[str]] = None,
                       vdomparam: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAspathlistResult]
    func LookupAspathlist(ctx *Context, args *LookupAspathlistArgs, opts ...InvokeOption) (*LookupAspathlistResult, error)
    func LookupAspathlistOutput(ctx *Context, args *LookupAspathlistOutputArgs, opts ...InvokeOption) LookupAspathlistResultOutput

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

    public static class GetAspathlist 
    {
        public static Task<GetAspathlistResult> InvokeAsync(GetAspathlistArgs args, InvokeOptions? opts = null)
        public static Output<GetAspathlistResult> Invoke(GetAspathlistInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAspathlistResult> getAspathlist(GetAspathlistArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:router/getAspathlist:getAspathlist
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getAspathlist Result

    The following output properties are available:

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

    Supporting Types

    GetAspathlistRule

    Action string
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    Id int
    ID.
    Regexp string
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.
    Action string
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    Id int
    ID.
    Regexp string
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.
    action String
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    id Integer
    ID.
    regexp String
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.
    action string
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    id number
    ID.
    regexp string
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.
    action str
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    id int
    ID.
    regexp str
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.
    action String
    Permit or deny route-based operations, based on the route's AS_PATH attribute.
    id Number
    ID.
    regexp String
    Regular-expression to match the Border Gateway Protocol (BGP) AS paths.

    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