megaport 1.4.5 published on Friday, Oct 31, 2025 by megaport
megaport.getMcrPrefixFilterLists
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 dictionaryThe following arguments are supported:
- Mcr
Id string - The UID of the MCR instance to list prefix filter lists for.
- Mcr
Id string - The UID of the MCR instance to list prefix filter lists for.
- mcr
Id String - The UID of the MCR instance to list prefix filter lists for.
- mcr
Id 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.
- mcr
Id 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.
- Mcr
Id string - The UID of the MCR instance to list prefix filter lists for.
- Prefix
Filter List<GetLists Mcr Prefix Filter Lists Prefix Filter List> - List of all prefix filter lists for this MCR.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcr
Id string - The UID of the MCR instance to list prefix filter lists for.
- Prefix
Filter []GetLists Mcr Prefix Filter Lists Prefix Filter List - List of all prefix filter lists for this MCR.
- id String
- The provider-assigned unique ID for this managed resource.
- mcr
Id String - The UID of the MCR instance to list prefix filter lists for.
- prefix
Filter List<GetLists Mcr Prefix Filter Lists Prefix Filter List> - List of all prefix filter lists for this MCR.
- id string
- The provider-assigned unique ID for this managed resource.
- mcr
Id string - The UID of the MCR instance to list prefix filter lists for.
- prefix
Filter GetLists Mcr Prefix Filter Lists Prefix Filter List[] - 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_ Sequence[Getlists Mcr Prefix Filter Lists Prefix Filter List] - List of all prefix filter lists for this MCR.
- id String
- The provider-assigned unique ID for this managed resource.
- mcr
Id String - The UID of the MCR instance to list prefix filter lists for.
- prefix
Filter List<Property Map>Lists - List of all prefix filter lists for this MCR.
Supporting Types
GetMcrPrefixFilterListsPrefixFilterList
- Address
Family 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<Get
Mcr Prefix Filter Lists Prefix Filter List Entry> - Entries in the prefix filter list.
- Id double
- Numeric ID of the prefix filter list.
- Address
Family string - The IP address standard of the IP network addresses in the prefix filter list.
- Description string
- Description of the prefix filter list.
- Entries
[]Get
Mcr Prefix Filter Lists Prefix Filter List Entry - Entries in the prefix filter list.
- Id float64
- Numeric ID of the prefix filter list.
- address
Family 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<Get
Mcr Prefix Filter Lists Prefix Filter List Entry> - Entries in the prefix filter list.
- id Double
- Numeric ID of the prefix filter list.
- address
Family string - The IP address standard of the IP network addresses in the prefix filter list.
- description string
- Description of the prefix filter list.
- entries
Get
Mcr Prefix Filter Lists Prefix Filter List Entry[] - 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[Get
Mcr Prefix Filter Lists Prefix Filter List Entry] - Entries in the prefix filter list.
- id float
- Numeric ID of the prefix filter list.
- address
Family 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
Package Details
- Repository
- megaport megaport/terraform-provider-megaport
- License
- Notes
- This Pulumi package is based on the
megaportTerraform Provider.
