1. Packages
  2. Megaport Provider
  3. API Docs
  4. getMcrPrefixFilterLists
megaport 1.4.5 published on Friday, Oct 31, 2025 by megaport

megaport.getMcrPrefixFilterLists

Get Started
megaport logo
megaport 1.4.5 published on Friday, Oct 31, 2025 by megaport

    Data source for listing all prefix filter lists associated with an MCR. This is particularly useful when migrating from inline prefix_filter_lists to standalone megaport.McrPrefixFilterList resources.

    Using getMcrPrefixFilterLists

    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 getMcrPrefixFilterLists(args: GetMcrPrefixFilterListsArgs, opts?: InvokeOptions): Promise<GetMcrPrefixFilterListsResult>
    function getMcrPrefixFilterListsOutput(args: GetMcrPrefixFilterListsOutputArgs, opts?: InvokeOptions): Output<GetMcrPrefixFilterListsResult>
    def get_mcr_prefix_filter_lists(mcr_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMcrPrefixFilterListsResult
    def get_mcr_prefix_filter_lists_output(mcr_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMcrPrefixFilterListsResult]
    func GetMcrPrefixFilterLists(ctx *Context, args *GetMcrPrefixFilterListsArgs, opts ...InvokeOption) (*GetMcrPrefixFilterListsResult, error)
    func GetMcrPrefixFilterListsOutput(ctx *Context, args *GetMcrPrefixFilterListsOutputArgs, opts ...InvokeOption) GetMcrPrefixFilterListsResultOutput

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

    public static class GetMcrPrefixFilterLists 
    {
        public static Task<GetMcrPrefixFilterListsResult> InvokeAsync(GetMcrPrefixFilterListsArgs args, InvokeOptions? opts = null)
        public static Output<GetMcrPrefixFilterListsResult> Invoke(GetMcrPrefixFilterListsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMcrPrefixFilterListsResult> getMcrPrefixFilterLists(GetMcrPrefixFilterListsArgs args, InvokeOptions options)
    public static Output<GetMcrPrefixFilterListsResult> getMcrPrefixFilterLists(GetMcrPrefixFilterListsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: megaport:index/getMcrPrefixFilterLists:getMcrPrefixFilterLists
      arguments:
        # arguments dictionary

    The following arguments are supported:

    McrId string
    The UID of the MCR instance to list prefix filter lists for.
    McrId string
    The UID of the MCR instance to list prefix filter lists for.
    mcrId String
    The UID of the MCR instance to list prefix filter lists for.
    mcrId string
    The UID of the MCR instance to list prefix filter lists for.
    mcr_id str
    The UID of the MCR instance to list prefix filter lists for.
    mcrId String
    The UID of the MCR instance to list prefix filter lists for.

    getMcrPrefixFilterLists Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    McrId string
    The UID of the MCR instance to list prefix filter lists for.
    PrefixFilterLists List<GetMcrPrefixFilterListsPrefixFilterList>
    List of all prefix filter lists for this MCR.
    Id string
    The provider-assigned unique ID for this managed resource.
    McrId string
    The UID of the MCR instance to list prefix filter lists for.
    PrefixFilterLists []GetMcrPrefixFilterListsPrefixFilterList
    List of all prefix filter lists for this MCR.
    id String
    The provider-assigned unique ID for this managed resource.
    mcrId String
    The UID of the MCR instance to list prefix filter lists for.
    prefixFilterLists List<GetMcrPrefixFilterListsPrefixFilterList>
    List of all prefix filter lists for this MCR.
    id string
    The provider-assigned unique ID for this managed resource.
    mcrId string
    The UID of the MCR instance to list prefix filter lists for.
    prefixFilterLists GetMcrPrefixFilterListsPrefixFilterList[]
    List of all prefix filter lists for this MCR.
    id str
    The provider-assigned unique ID for this managed resource.
    mcr_id str
    The UID of the MCR instance to list prefix filter lists for.
    prefix_filter_lists Sequence[GetMcrPrefixFilterListsPrefixFilterList]
    List of all prefix filter lists for this MCR.
    id String
    The provider-assigned unique ID for this managed resource.
    mcrId String
    The UID of the MCR instance to list prefix filter lists for.
    prefixFilterLists List<Property Map>
    List of all prefix filter lists for this MCR.

    Supporting Types

    GetMcrPrefixFilterListsPrefixFilterList

    AddressFamily string
    The IP address standard of the IP network addresses in the prefix filter list.
    Description string
    Description of the prefix filter list.
    Entries List<GetMcrPrefixFilterListsPrefixFilterListEntry>
    Entries in the prefix filter list.
    Id double
    Numeric ID of the prefix filter list.
    AddressFamily string
    The IP address standard of the IP network addresses in the prefix filter list.
    Description string
    Description of the prefix filter list.
    Entries []GetMcrPrefixFilterListsPrefixFilterListEntry
    Entries in the prefix filter list.
    Id float64
    Numeric ID of the prefix filter list.
    addressFamily String
    The IP address standard of the IP network addresses in the prefix filter list.
    description String
    Description of the prefix filter list.
    entries List<GetMcrPrefixFilterListsPrefixFilterListEntry>
    Entries in the prefix filter list.
    id Double
    Numeric ID of the prefix filter list.
    addressFamily string
    The IP address standard of the IP network addresses in the prefix filter list.
    description string
    Description of the prefix filter list.
    entries GetMcrPrefixFilterListsPrefixFilterListEntry[]
    Entries in the prefix filter list.
    id number
    Numeric ID of the prefix filter list.
    address_family str
    The IP address standard of the IP network addresses in the prefix filter list.
    description str
    Description of the prefix filter list.
    entries Sequence[GetMcrPrefixFilterListsPrefixFilterListEntry]
    Entries in the prefix filter list.
    id float
    Numeric ID of the prefix filter list.
    addressFamily String
    The IP address standard of the IP network addresses in the prefix filter list.
    description String
    Description of the prefix filter list.
    entries List<Property Map>
    Entries in the prefix filter list.
    id Number
    Numeric ID of the prefix filter list.

    GetMcrPrefixFilterListsPrefixFilterListEntry

    Action string
    The action to take for the network address in the filter list.
    Ge double
    The minimum starting prefix length to be matched.
    Le double
    The maximum ending prefix length to be matched.
    Prefix string
    The network address of the prefix filter list entry.
    Action string
    The action to take for the network address in the filter list.
    Ge float64
    The minimum starting prefix length to be matched.
    Le float64
    The maximum ending prefix length to be matched.
    Prefix string
    The network address of the prefix filter list entry.
    action String
    The action to take for the network address in the filter list.
    ge Double
    The minimum starting prefix length to be matched.
    le Double
    The maximum ending prefix length to be matched.
    prefix String
    The network address of the prefix filter list entry.
    action string
    The action to take for the network address in the filter list.
    ge number
    The minimum starting prefix length to be matched.
    le number
    The maximum ending prefix length to be matched.
    prefix string
    The network address of the prefix filter list entry.
    action str
    The action to take for the network address in the filter list.
    ge float
    The minimum starting prefix length to be matched.
    le float
    The maximum ending prefix length to be matched.
    prefix str
    The network address of the prefix filter list entry.
    action String
    The action to take for the network address in the filter list.
    ge Number
    The minimum starting prefix length to be matched.
    le Number
    The maximum ending prefix length to be matched.
    prefix String
    The network address of the prefix filter list entry.

    Package Details

    Repository
    megaport megaport/terraform-provider-megaport
    License
    Notes
    This Pulumi package is based on the megaport Terraform Provider.
    megaport logo
    megaport 1.4.5 published on Friday, Oct 31, 2025 by megaport
      Meet Neo: Your AI Platform Teammate