Viewing docs for megaport 1.6.0
published on Friday, Apr 3, 2026 by megaport
published on Friday, Apr 3, 2026 by megaport
Viewing docs for megaport 1.6.0
published on Friday, Apr 3, 2026 by megaport
published on Friday, Apr 3, 2026 by megaport
Looks up MCRs in the Megaport API. Optionally filter by product_uid to retrieve a specific MCR.
Using getMcrs
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 getMcrs(args: GetMcrsArgs, opts?: InvokeOptions): Promise<GetMcrsResult>
function getMcrsOutput(args: GetMcrsOutputArgs, opts?: InvokeOptions): Output<GetMcrsResult>def get_mcrs(product_uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMcrsResult
def get_mcrs_output(product_uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMcrsResult]func GetMcrs(ctx *Context, args *GetMcrsArgs, opts ...InvokeOption) (*GetMcrsResult, error)
func GetMcrsOutput(ctx *Context, args *GetMcrsOutputArgs, opts ...InvokeOption) GetMcrsResultOutput> Note: This function is named GetMcrs in the Go SDK.
public static class GetMcrs
{
public static Task<GetMcrsResult> InvokeAsync(GetMcrsArgs args, InvokeOptions? opts = null)
public static Output<GetMcrsResult> Invoke(GetMcrsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMcrsResult> getMcrs(GetMcrsArgs args, InvokeOptions options)
public static Output<GetMcrsResult> getMcrs(GetMcrsArgs args, InvokeOptions options)
fn::invoke:
function: megaport:index/getMcrs:getMcrs
arguments:
# arguments dictionaryThe following arguments are supported:
- Product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- Product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- product
Uid String - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- product_
uid str - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- product
Uid String - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
getMcrs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcrs
List<Get
Mcrs Mcr> - List of MCRs with detailed information.
- Product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcrs
[]Get
Mcrs Mcr - List of MCRs with detailed information.
- Product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- id String
- The provider-assigned unique ID for this managed resource.
- mcrs
List<Get
Mcrs Mcr> - List of MCRs with detailed information.
- product
Uid String - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- id string
- The provider-assigned unique ID for this managed resource.
- mcrs
Get
Mcrs Mcr[] - List of MCRs with detailed information.
- product
Uid string - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- id str
- The provider-assigned unique ID for this managed resource.
- mcrs
Sequence[Get
Mcrs Mcr] - List of MCRs with detailed information.
- product_
uid str - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
- id String
- The provider-assigned unique ID for this managed resource.
- mcrs List<Property Map>
- List of MCRs with detailed information.
- product
Uid String - The unique identifier of a specific MCR to look up. If not provided, all active MCRs are returned.
Supporting Types
GetMcrsMcr
- Admin
Locked bool - Whether the MCR is admin locked.
- Asn double
- The Autonomous System Number (ASN) of the MCR.
- Dictionary<string, string>
- The attribute tags of the MCR.
- Cancelable bool
- Whether the MCR can be cancelled.
- Company
Name string - The name of the company that owns the MCR.
- Company
Uid string - The Megaport Company UID of the MCR owner.
- Contract
End stringDate - The contract end date of the MCR.
- Contract
Start stringDate - The contract start date of the MCR.
- Contract
Term doubleMonths - The contract term of the MCR in months.
- Cost
Centre string - The cost centre of the MCR for billing purposes.
- Create
Date string - The date the MCR was created.
- Created
By string - The user who created the MCR.
- Diversity
Zone string - The diversity zone of the MCR.
- Live
Date string - The date the MCR went live.
- Location
Id double - The numeric location ID of the MCR.
- Locked bool
- Whether the MCR is locked.
- Market string
- The market the MCR is in.
- Marketplace
Visibility bool - Whether the MCR is visible in the Marketplace.
- Port
Speed double - The bandwidth speed of the MCR in Mbps.
- Product
Name string - The name of the MCR.
- Product
Uid string - The unique identifier of the MCR.
- Provisioning
Status string - The provisioning status of the MCR.
- Dictionary<string, string>
- The resource tags associated with the MCR.
- Secondary
Name string - The secondary name of the MCR.
- Terminate
Date string - The date the MCR will be terminated.
- Vxc
Auto boolApproval - Whether VXC connections are auto-approved on this MCR.
- Vxc
Permitted bool - Whether VXC connections are permitted on this MCR.
- Admin
Locked bool - Whether the MCR is admin locked.
- Asn float64
- The Autonomous System Number (ASN) of the MCR.
- map[string]string
- The attribute tags of the MCR.
- Cancelable bool
- Whether the MCR can be cancelled.
- Company
Name string - The name of the company that owns the MCR.
- Company
Uid string - The Megaport Company UID of the MCR owner.
- Contract
End stringDate - The contract end date of the MCR.
- Contract
Start stringDate - The contract start date of the MCR.
- Contract
Term float64Months - The contract term of the MCR in months.
- Cost
Centre string - The cost centre of the MCR for billing purposes.
- Create
Date string - The date the MCR was created.
- Created
By string - The user who created the MCR.
- Diversity
Zone string - The diversity zone of the MCR.
- Live
Date string - The date the MCR went live.
- Location
Id float64 - The numeric location ID of the MCR.
- Locked bool
- Whether the MCR is locked.
- Market string
- The market the MCR is in.
- Marketplace
Visibility bool - Whether the MCR is visible in the Marketplace.
- Port
Speed float64 - The bandwidth speed of the MCR in Mbps.
- Product
Name string - The name of the MCR.
- Product
Uid string - The unique identifier of the MCR.
- Provisioning
Status string - The provisioning status of the MCR.
- map[string]string
- The resource tags associated with the MCR.
- Secondary
Name string - The secondary name of the MCR.
- Terminate
Date string - The date the MCR will be terminated.
- Vxc
Auto boolApproval - Whether VXC connections are auto-approved on this MCR.
- Vxc
Permitted bool - Whether VXC connections are permitted on this MCR.
- admin
Locked Boolean - Whether the MCR is admin locked.
- asn Double
- The Autonomous System Number (ASN) of the MCR.
- Map<String,String>
- The attribute tags of the MCR.
- cancelable Boolean
- Whether the MCR can be cancelled.
- company
Name String - The name of the company that owns the MCR.
- company
Uid String - The Megaport Company UID of the MCR owner.
- contract
End StringDate - The contract end date of the MCR.
- contract
Start StringDate - The contract start date of the MCR.
- contract
Term DoubleMonths - The contract term of the MCR in months.
- cost
Centre String - The cost centre of the MCR for billing purposes.
- create
Date String - The date the MCR was created.
- created
By String - The user who created the MCR.
- diversity
Zone String - The diversity zone of the MCR.
- live
Date String - The date the MCR went live.
- location
Id Double - The numeric location ID of the MCR.
- locked Boolean
- Whether the MCR is locked.
- market String
- The market the MCR is in.
- marketplace
Visibility Boolean - Whether the MCR is visible in the Marketplace.
- port
Speed Double - The bandwidth speed of the MCR in Mbps.
- product
Name String - The name of the MCR.
- product
Uid String - The unique identifier of the MCR.
- provisioning
Status String - The provisioning status of the MCR.
- Map<String,String>
- The resource tags associated with the MCR.
- secondary
Name String - The secondary name of the MCR.
- terminate
Date String - The date the MCR will be terminated.
- vxc
Auto BooleanApproval - Whether VXC connections are auto-approved on this MCR.
- vxc
Permitted Boolean - Whether VXC connections are permitted on this MCR.
- admin
Locked boolean - Whether the MCR is admin locked.
- asn number
- The Autonomous System Number (ASN) of the MCR.
- {[key: string]: string}
- The attribute tags of the MCR.
- cancelable boolean
- Whether the MCR can be cancelled.
- company
Name string - The name of the company that owns the MCR.
- company
Uid string - The Megaport Company UID of the MCR owner.
- contract
End stringDate - The contract end date of the MCR.
- contract
Start stringDate - The contract start date of the MCR.
- contract
Term numberMonths - The contract term of the MCR in months.
- cost
Centre string - The cost centre of the MCR for billing purposes.
- create
Date string - The date the MCR was created.
- created
By string - The user who created the MCR.
- diversity
Zone string - The diversity zone of the MCR.
- live
Date string - The date the MCR went live.
- location
Id number - The numeric location ID of the MCR.
- locked boolean
- Whether the MCR is locked.
- market string
- The market the MCR is in.
- marketplace
Visibility boolean - Whether the MCR is visible in the Marketplace.
- port
Speed number - The bandwidth speed of the MCR in Mbps.
- product
Name string - The name of the MCR.
- product
Uid string - The unique identifier of the MCR.
- provisioning
Status string - The provisioning status of the MCR.
- {[key: string]: string}
- The resource tags associated with the MCR.
- secondary
Name string - The secondary name of the MCR.
- terminate
Date string - The date the MCR will be terminated.
- vxc
Auto booleanApproval - Whether VXC connections are auto-approved on this MCR.
- vxc
Permitted boolean - Whether VXC connections are permitted on this MCR.
- admin_
locked bool - Whether the MCR is admin locked.
- asn float
- The Autonomous System Number (ASN) of the MCR.
- Mapping[str, str]
- The attribute tags of the MCR.
- cancelable bool
- Whether the MCR can be cancelled.
- company_
name str - The name of the company that owns the MCR.
- company_
uid str - The Megaport Company UID of the MCR owner.
- contract_
end_ strdate - The contract end date of the MCR.
- contract_
start_ strdate - The contract start date of the MCR.
- contract_
term_ floatmonths - The contract term of the MCR in months.
- cost_
centre str - The cost centre of the MCR for billing purposes.
- create_
date str - The date the MCR was created.
- created_
by str - The user who created the MCR.
- diversity_
zone str - The diversity zone of the MCR.
- live_
date str - The date the MCR went live.
- location_
id float - The numeric location ID of the MCR.
- locked bool
- Whether the MCR is locked.
- market str
- The market the MCR is in.
- marketplace_
visibility bool - Whether the MCR is visible in the Marketplace.
- port_
speed float - The bandwidth speed of the MCR in Mbps.
- product_
name str - The name of the MCR.
- product_
uid str - The unique identifier of the MCR.
- provisioning_
status str - The provisioning status of the MCR.
- Mapping[str, str]
- The resource tags associated with the MCR.
- secondary_
name str - The secondary name of the MCR.
- terminate_
date str - The date the MCR will be terminated.
- vxc_
auto_ boolapproval - Whether VXC connections are auto-approved on this MCR.
- vxc_
permitted bool - Whether VXC connections are permitted on this MCR.
- admin
Locked Boolean - Whether the MCR is admin locked.
- asn Number
- The Autonomous System Number (ASN) of the MCR.
- Map<String>
- The attribute tags of the MCR.
- cancelable Boolean
- Whether the MCR can be cancelled.
- company
Name String - The name of the company that owns the MCR.
- company
Uid String - The Megaport Company UID of the MCR owner.
- contract
End StringDate - The contract end date of the MCR.
- contract
Start StringDate - The contract start date of the MCR.
- contract
Term NumberMonths - The contract term of the MCR in months.
- cost
Centre String - The cost centre of the MCR for billing purposes.
- create
Date String - The date the MCR was created.
- created
By String - The user who created the MCR.
- diversity
Zone String - The diversity zone of the MCR.
- live
Date String - The date the MCR went live.
- location
Id Number - The numeric location ID of the MCR.
- locked Boolean
- Whether the MCR is locked.
- market String
- The market the MCR is in.
- marketplace
Visibility Boolean - Whether the MCR is visible in the Marketplace.
- port
Speed Number - The bandwidth speed of the MCR in Mbps.
- product
Name String - The name of the MCR.
- product
Uid String - The unique identifier of the MCR.
- provisioning
Status String - The provisioning status of the MCR.
- Map<String>
- The resource tags associated with the MCR.
- secondary
Name String - The secondary name of the MCR.
- terminate
Date String - The date the MCR will be terminated.
- vxc
Auto BooleanApproval - Whether VXC connections are auto-approved on this MCR.
- vxc
Permitted Boolean - Whether VXC connections are permitted on this MCR.
Package Details
- Repository
- megaport megaport/terraform-provider-megaport
- License
- Notes
- This Pulumi package is based on the
megaportTerraform Provider.
Viewing docs for megaport 1.6.0
published on Friday, Apr 3, 2026 by megaport
published on Friday, Apr 3, 2026 by megaport
