Viewing docs for megaport 1.7.0
published on Thursday, Apr 30, 2026 by megaport
published on Thursday, Apr 30, 2026 by megaport
Viewing docs for megaport 1.7.0
published on Thursday, Apr 30, 2026 by megaport
published on Thursday, Apr 30, 2026 by megaport
Looks up VXCs in the Megaport API. Optionally filter by product_uid to retrieve a specific VXC.
Using getVxcs
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 getVxcs(args: GetVxcsArgs, opts?: InvokeOptions): Promise<GetVxcsResult>
function getVxcsOutput(args: GetVxcsOutputArgs, opts?: InvokeOptions): Output<GetVxcsResult>def get_vxcs(include_resource_tags: Optional[bool] = None,
product_uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVxcsResult
def get_vxcs_output(include_resource_tags: Optional[pulumi.Input[bool]] = None,
product_uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVxcsResult]func GetVxcs(ctx *Context, args *GetVxcsArgs, opts ...InvokeOption) (*GetVxcsResult, error)
func GetVxcsOutput(ctx *Context, args *GetVxcsOutputArgs, opts ...InvokeOption) GetVxcsResultOutput> Note: This function is named GetVxcs in the Go SDK.
public static class GetVxcs
{
public static Task<GetVxcsResult> InvokeAsync(GetVxcsArgs args, InvokeOptions? opts = null)
public static Output<GetVxcsResult> Invoke(GetVxcsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVxcsResult> getVxcs(GetVxcsArgs args, InvokeOptions options)
public static Output<GetVxcsResult> getVxcs(GetVxcsArgs args, InvokeOptions options)
fn::invoke:
function: megaport:index/getVxcs:getVxcs
arguments:
# arguments dictionaryThe following arguments are supported:
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- Product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- Product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- Boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid String - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product_
uid str - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- Boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid String - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
getVxcs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Vxcs
List<Get
Vxcs Vxc> - List of VXCs with detailed information.
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- Product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vxcs
[]Get
Vxcs Vxc - List of VXCs with detailed information.
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- Product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- id String
- The provider-assigned unique ID for this managed resource.
- vxcs
List<Get
Vxcs Vxc> - List of VXCs with detailed information.
- Boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid String - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- id string
- The provider-assigned unique ID for this managed resource.
- vxcs
Get
Vxcs Vxc[] - List of VXCs with detailed information.
- boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid string - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- id str
- The provider-assigned unique ID for this managed resource.
- vxcs
Sequence[Get
Vxcs Vxc] - List of VXCs with detailed information.
- bool
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product_
uid str - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
- id String
- The provider-assigned unique ID for this managed resource.
- vxcs List<Property Map>
- List of VXCs with detailed information.
- Boolean
- Whether to fetch resource tags for each VXC. Enabling this causes an additional API call per VXC, which may be slow for accounts with many VXCs.
- product
Uid String - The unique identifier of a specific VXC to look up. If not provided, all active VXCs are returned.
Supporting Types
GetVxcsVxc
- AEnd
Location doubleId - The location ID of the A-End of the VXC.
- AEnd
Name string - The product name of the A-End of the VXC.
- AEnd
Uid string - The product UID of the A-End of the VXC.
- AEnd
Vlan double - The VLAN of the A-End of the VXC.
- Admin
Locked bool - Whether the VXC is admin locked.
- Dictionary<string, string>
- The attribute tags of the VXC.
- BEnd
Location doubleId - The location ID of the B-End of the VXC.
- BEnd
Name string - The product name of the B-End of the VXC.
- BEnd
Uid string - The product UID of the B-End of the VXC.
- BEnd
Vlan double - The VLAN of the B-End of the VXC.
- Cancelable bool
- Whether the VXC can be cancelled.
- Company
Name string - The name of the company that owns the VXC.
- Company
Uid string - The Megaport Company UID of the VXC owner.
- Contract
End stringDate - The contract end date of the VXC.
- Contract
Start stringDate - The contract start date of the VXC.
- Contract
Term doubleMonths - The contract term of the VXC in months.
- Cost
Centre string - The cost centre of the VXC for billing purposes.
- Create
Date string - The date the VXC was created.
- Created
By string - The user who created the VXC.
- Distance
Band string - The distance band of the VXC.
- Live
Date string - The date the VXC went live.
- Locked bool
- Whether the VXC is locked.
- Product
Name string - The name of the VXC.
- Product
Uid string - The unique identifier of the VXC.
- Provisioning
Status string - The provisioning status of the VXC.
- Rate
Limit double - The rate limit of the VXC in Mbps.
- Dictionary<string, string>
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- Secondary
Name string - The secondary name of the VXC.
- Shutdown bool
- Whether the VXC is shut down.
- AEnd
Location float64Id - The location ID of the A-End of the VXC.
- AEnd
Name string - The product name of the A-End of the VXC.
- AEnd
Uid string - The product UID of the A-End of the VXC.
- AEnd
Vlan float64 - The VLAN of the A-End of the VXC.
- Admin
Locked bool - Whether the VXC is admin locked.
- map[string]string
- The attribute tags of the VXC.
- BEnd
Location float64Id - The location ID of the B-End of the VXC.
- BEnd
Name string - The product name of the B-End of the VXC.
- BEnd
Uid string - The product UID of the B-End of the VXC.
- BEnd
Vlan float64 - The VLAN of the B-End of the VXC.
- Cancelable bool
- Whether the VXC can be cancelled.
- Company
Name string - The name of the company that owns the VXC.
- Company
Uid string - The Megaport Company UID of the VXC owner.
- Contract
End stringDate - The contract end date of the VXC.
- Contract
Start stringDate - The contract start date of the VXC.
- Contract
Term float64Months - The contract term of the VXC in months.
- Cost
Centre string - The cost centre of the VXC for billing purposes.
- Create
Date string - The date the VXC was created.
- Created
By string - The user who created the VXC.
- Distance
Band string - The distance band of the VXC.
- Live
Date string - The date the VXC went live.
- Locked bool
- Whether the VXC is locked.
- Product
Name string - The name of the VXC.
- Product
Uid string - The unique identifier of the VXC.
- Provisioning
Status string - The provisioning status of the VXC.
- Rate
Limit float64 - The rate limit of the VXC in Mbps.
- map[string]string
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- Secondary
Name string - The secondary name of the VXC.
- Shutdown bool
- Whether the VXC is shut down.
- a
End DoubleLocation Id - The location ID of the A-End of the VXC.
- a
End StringName - The product name of the A-End of the VXC.
- a
End StringUid - The product UID of the A-End of the VXC.
- a
End DoubleVlan - The VLAN of the A-End of the VXC.
- admin
Locked Boolean - Whether the VXC is admin locked.
- Map<String,String>
- The attribute tags of the VXC.
- b
End DoubleLocation Id - The location ID of the B-End of the VXC.
- b
End StringName - The product name of the B-End of the VXC.
- b
End StringUid - The product UID of the B-End of the VXC.
- b
End DoubleVlan - The VLAN of the B-End of the VXC.
- cancelable Boolean
- Whether the VXC can be cancelled.
- company
Name String - The name of the company that owns the VXC.
- company
Uid String - The Megaport Company UID of the VXC owner.
- contract
End StringDate - The contract end date of the VXC.
- contract
Start StringDate - The contract start date of the VXC.
- contract
Term DoubleMonths - The contract term of the VXC in months.
- cost
Centre String - The cost centre of the VXC for billing purposes.
- create
Date String - The date the VXC was created.
- created
By String - The user who created the VXC.
- distance
Band String - The distance band of the VXC.
- live
Date String - The date the VXC went live.
- locked Boolean
- Whether the VXC is locked.
- product
Name String - The name of the VXC.
- product
Uid String - The unique identifier of the VXC.
- provisioning
Status String - The provisioning status of the VXC.
- rate
Limit Double - The rate limit of the VXC in Mbps.
- Map<String,String>
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- secondary
Name String - The secondary name of the VXC.
- shutdown Boolean
- Whether the VXC is shut down.
- a
End numberLocation Id - The location ID of the A-End of the VXC.
- a
End stringName - The product name of the A-End of the VXC.
- a
End stringUid - The product UID of the A-End of the VXC.
- a
End numberVlan - The VLAN of the A-End of the VXC.
- admin
Locked boolean - Whether the VXC is admin locked.
- {[key: string]: string}
- The attribute tags of the VXC.
- b
End numberLocation Id - The location ID of the B-End of the VXC.
- b
End stringName - The product name of the B-End of the VXC.
- b
End stringUid - The product UID of the B-End of the VXC.
- b
End numberVlan - The VLAN of the B-End of the VXC.
- cancelable boolean
- Whether the VXC can be cancelled.
- company
Name string - The name of the company that owns the VXC.
- company
Uid string - The Megaport Company UID of the VXC owner.
- contract
End stringDate - The contract end date of the VXC.
- contract
Start stringDate - The contract start date of the VXC.
- contract
Term numberMonths - The contract term of the VXC in months.
- cost
Centre string - The cost centre of the VXC for billing purposes.
- create
Date string - The date the VXC was created.
- created
By string - The user who created the VXC.
- distance
Band string - The distance band of the VXC.
- live
Date string - The date the VXC went live.
- locked boolean
- Whether the VXC is locked.
- product
Name string - The name of the VXC.
- product
Uid string - The unique identifier of the VXC.
- provisioning
Status string - The provisioning status of the VXC.
- rate
Limit number - The rate limit of the VXC in Mbps.
- {[key: string]: string}
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- secondary
Name string - The secondary name of the VXC.
- shutdown boolean
- Whether the VXC is shut down.
- a_
end_ floatlocation_ id - The location ID of the A-End of the VXC.
- a_
end_ strname - The product name of the A-End of the VXC.
- a_
end_ struid - The product UID of the A-End of the VXC.
- a_
end_ floatvlan - The VLAN of the A-End of the VXC.
- admin_
locked bool - Whether the VXC is admin locked.
- Mapping[str, str]
- The attribute tags of the VXC.
- b_
end_ floatlocation_ id - The location ID of the B-End of the VXC.
- b_
end_ strname - The product name of the B-End of the VXC.
- b_
end_ struid - The product UID of the B-End of the VXC.
- b_
end_ floatvlan - The VLAN of the B-End of the VXC.
- cancelable bool
- Whether the VXC can be cancelled.
- company_
name str - The name of the company that owns the VXC.
- company_
uid str - The Megaport Company UID of the VXC owner.
- contract_
end_ strdate - The contract end date of the VXC.
- contract_
start_ strdate - The contract start date of the VXC.
- contract_
term_ floatmonths - The contract term of the VXC in months.
- cost_
centre str - The cost centre of the VXC for billing purposes.
- create_
date str - The date the VXC was created.
- created_
by str - The user who created the VXC.
- distance_
band str - The distance band of the VXC.
- live_
date str - The date the VXC went live.
- locked bool
- Whether the VXC is locked.
- product_
name str - The name of the VXC.
- product_
uid str - The unique identifier of the VXC.
- provisioning_
status str - The provisioning status of the VXC.
- rate_
limit float - The rate limit of the VXC in Mbps.
- Mapping[str, str]
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- secondary_
name str - The secondary name of the VXC.
- shutdown bool
- Whether the VXC is shut down.
- a
End NumberLocation Id - The location ID of the A-End of the VXC.
- a
End StringName - The product name of the A-End of the VXC.
- a
End StringUid - The product UID of the A-End of the VXC.
- a
End NumberVlan - The VLAN of the A-End of the VXC.
- admin
Locked Boolean - Whether the VXC is admin locked.
- Map<String>
- The attribute tags of the VXC.
- b
End NumberLocation Id - The location ID of the B-End of the VXC.
- b
End StringName - The product name of the B-End of the VXC.
- b
End StringUid - The product UID of the B-End of the VXC.
- b
End NumberVlan - The VLAN of the B-End of the VXC.
- cancelable Boolean
- Whether the VXC can be cancelled.
- company
Name String - The name of the company that owns the VXC.
- company
Uid String - The Megaport Company UID of the VXC owner.
- contract
End StringDate - The contract end date of the VXC.
- contract
Start StringDate - The contract start date of the VXC.
- contract
Term NumberMonths - The contract term of the VXC in months.
- cost
Centre String - The cost centre of the VXC for billing purposes.
- create
Date String - The date the VXC was created.
- created
By String - The user who created the VXC.
- distance
Band String - The distance band of the VXC.
- live
Date String - The date the VXC went live.
- locked Boolean
- Whether the VXC is locked.
- product
Name String - The name of the VXC.
- product
Uid String - The unique identifier of the VXC.
- provisioning
Status String - The provisioning status of the VXC.
- rate
Limit Number - The rate limit of the VXC in Mbps.
- Map<String>
- The resource tags associated with the VXC. Only populated when includeresourcetags is enabled; otherwise null.
- secondary
Name String - The secondary name of the VXC.
- shutdown Boolean
- Whether the VXC is shut down.
Package Details
- Repository
- megaport megaport/terraform-provider-megaport
- License
- Notes
- This Pulumi package is based on the
megaportTerraform Provider.
Viewing docs for megaport 1.7.0
published on Thursday, Apr 30, 2026 by megaport
published on Thursday, Apr 30, 2026 by megaport
