Equinix v0.8.0 published on Tuesday, Apr 2, 2024 by Equinix
equinix.fabric.getCloudRouter
Explore with Pulumi AI
Fabric V4 API compatible data resource that allow user to fetch Fabric Cloud Router for a given UUID
API documentation can be found here - https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const cloudRouterDataName = equinix.fabric.getCloudRouter({
uuid: "<uuid_of_cloud_router>",
});
import pulumi
import pulumi_equinix as equinix
cloud_router_data_name = equinix.fabric.get_cloud_router(uuid="<uuid_of_cloud_router>")
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fabric.LookupCloudRouter(ctx, &fabric.LookupCloudRouterArgs{
Uuid: "<uuid_of_cloud_router>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var cloudRouterDataName = Equinix.Fabric.GetCloudRouter.Invoke(new()
{
Uuid = "<uuid_of_cloud_router>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.FabricFunctions;
import com.pulumi.equinix.fabric.inputs.GetCloudRouterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var cloudRouterDataName = FabricFunctions.getCloudRouter(GetCloudRouterArgs.builder()
.uuid("<uuid_of_cloud_router>")
.build());
}
}
variables:
cloudRouterDataName:
fn::invoke:
Function: equinix:fabric:getCloudRouter
Arguments:
uuid: <uuid_of_cloud_router>
Using getCloudRouter
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 getCloudRouter(args: GetCloudRouterArgs, opts?: InvokeOptions): Promise<GetCloudRouterResult>
function getCloudRouterOutput(args: GetCloudRouterOutputArgs, opts?: InvokeOptions): Output<GetCloudRouterResult>
def get_cloud_router(uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudRouterResult
def get_cloud_router_output(uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudRouterResult]
func LookupCloudRouter(ctx *Context, args *LookupCloudRouterArgs, opts ...InvokeOption) (*LookupCloudRouterResult, error)
func LookupCloudRouterOutput(ctx *Context, args *LookupCloudRouterOutputArgs, opts ...InvokeOption) LookupCloudRouterResultOutput
> Note: This function is named LookupCloudRouter
in the Go SDK.
public static class GetCloudRouter
{
public static Task<GetCloudRouterResult> InvokeAsync(GetCloudRouterArgs args, InvokeOptions? opts = null)
public static Output<GetCloudRouterResult> Invoke(GetCloudRouterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudRouterResult> getCloudRouter(GetCloudRouterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: equinix:fabric/getCloudRouter:getCloudRouter
arguments:
# arguments dictionary
The following arguments are supported:
- Uuid string
- Equinix-assigned Fabric Cloud Router identifier
- Uuid string
- Equinix-assigned Fabric Cloud Router identifier
- uuid String
- Equinix-assigned Fabric Cloud Router identifier
- uuid string
- Equinix-assigned Fabric Cloud Router identifier
- uuid str
- Equinix-assigned Fabric Cloud Router identifier
- uuid String
- Equinix-assigned Fabric Cloud Router identifier
getCloudRouter Result
The following output properties are available:
- Accounts
List<Get
Cloud Router Account> - Customer account information that is associated with this Fabric Cloud Router
- Bgp
Ipv4Routes intCount - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- Bgp
Ipv6Routes intCount - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- Change
Logs List<GetCloud Router Change Log> - Captures Fabric Cloud Router lifecycle change information
- Connections
Count int - Number of connections associated with this Fabric Cloud Router instance
- Description string
- Customer-provided Fabric Cloud Router description
- Distinct
Ipv4Prefixes intCount - Number of distinct IPv4 routes
- Distinct
Ipv6Prefixes intCount - Number of distinct IPv6 routes
- Equinix
Asn int - Equinix ASN
- Href string
- Fabric Cloud Router URI information
- Id string
- The provider-assigned unique ID for this managed resource.
- Locations
List<Get
Cloud Router Location> - Fabric Cloud Router location
- Name string
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- Notifications
List<Get
Cloud Router Notification> - Preferences for notifications on Fabric Cloud Router configuration or status changes
- Orders
List<Get
Cloud Router Order> - Order information related to this Fabric Cloud Router
- Packages
List<Get
Cloud Router Package> - Fabric Cloud Router Package Type
- Projects
List<Get
Cloud Router Project> - Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- State string
- Fabric Cloud Router overall state
- Type string
- Defines the FCR type like; XF_ROUTER
- Uuid string
- Equinix-assigned Fabric Cloud Router identifier
- Accounts
[]Get
Cloud Router Account - Customer account information that is associated with this Fabric Cloud Router
- Bgp
Ipv4Routes intCount - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- Bgp
Ipv6Routes intCount - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- Change
Logs []GetCloud Router Change Log - Captures Fabric Cloud Router lifecycle change information
- Connections
Count int - Number of connections associated with this Fabric Cloud Router instance
- Description string
- Customer-provided Fabric Cloud Router description
- Distinct
Ipv4Prefixes intCount - Number of distinct IPv4 routes
- Distinct
Ipv6Prefixes intCount - Number of distinct IPv6 routes
- Equinix
Asn int - Equinix ASN
- Href string
- Fabric Cloud Router URI information
- Id string
- The provider-assigned unique ID for this managed resource.
- Locations
[]Get
Cloud Router Location - Fabric Cloud Router location
- Name string
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- Notifications
[]Get
Cloud Router Notification - Preferences for notifications on Fabric Cloud Router configuration or status changes
- Orders
[]Get
Cloud Router Order - Order information related to this Fabric Cloud Router
- Packages
[]Get
Cloud Router Package - Fabric Cloud Router Package Type
- Projects
[]Get
Cloud Router Project - Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- State string
- Fabric Cloud Router overall state
- Type string
- Defines the FCR type like; XF_ROUTER
- Uuid string
- Equinix-assigned Fabric Cloud Router identifier
- accounts
List<Get
Cloud Router Account> - Customer account information that is associated with this Fabric Cloud Router
- bgp
Ipv4Routes IntegerCount - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- bgp
Ipv6Routes IntegerCount - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- change
Logs List<GetCloud Router Change Log> - Captures Fabric Cloud Router lifecycle change information
- connections
Count Integer - Number of connections associated with this Fabric Cloud Router instance
- description String
- Customer-provided Fabric Cloud Router description
- distinct
Ipv4Prefixes IntegerCount - Number of distinct IPv4 routes
- distinct
Ipv6Prefixes IntegerCount - Number of distinct IPv6 routes
- equinix
Asn Integer - Equinix ASN
- href String
- Fabric Cloud Router URI information
- id String
- The provider-assigned unique ID for this managed resource.
- locations
List<Get
Cloud Router Location> - Fabric Cloud Router location
- name String
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- notifications
List<Get
Cloud Router Notification> - Preferences for notifications on Fabric Cloud Router configuration or status changes
- orders
List<Get
Cloud Router Order> - Order information related to this Fabric Cloud Router
- packages
List<Get
Cloud Router Package> - Fabric Cloud Router Package Type
- projects
List<Get
Cloud Router Project> - Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- state String
- Fabric Cloud Router overall state
- type String
- Defines the FCR type like; XF_ROUTER
- uuid String
- Equinix-assigned Fabric Cloud Router identifier
- accounts
Get
Cloud Router Account[] - Customer account information that is associated with this Fabric Cloud Router
- bgp
Ipv4Routes numberCount - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- bgp
Ipv6Routes numberCount - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- change
Logs GetCloud Router Change Log[] - Captures Fabric Cloud Router lifecycle change information
- connections
Count number - Number of connections associated with this Fabric Cloud Router instance
- description string
- Customer-provided Fabric Cloud Router description
- distinct
Ipv4Prefixes numberCount - Number of distinct IPv4 routes
- distinct
Ipv6Prefixes numberCount - Number of distinct IPv6 routes
- equinix
Asn number - Equinix ASN
- href string
- Fabric Cloud Router URI information
- id string
- The provider-assigned unique ID for this managed resource.
- locations
Get
Cloud Router Location[] - Fabric Cloud Router location
- name string
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- notifications
Get
Cloud Router Notification[] - Preferences for notifications on Fabric Cloud Router configuration or status changes
- orders
Get
Cloud Router Order[] - Order information related to this Fabric Cloud Router
- packages
Get
Cloud Router Package[] - Fabric Cloud Router Package Type
- projects
Get
Cloud Router Project[] - Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- state string
- Fabric Cloud Router overall state
- type string
- Defines the FCR type like; XF_ROUTER
- uuid string
- Equinix-assigned Fabric Cloud Router identifier
- accounts
Sequence[Get
Cloud Router Account] - Customer account information that is associated with this Fabric Cloud Router
- bgp_
ipv4_ introutes_ count - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- bgp_
ipv6_ introutes_ count - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- change_
logs Sequence[GetCloud Router Change Log] - Captures Fabric Cloud Router lifecycle change information
- connections_
count int - Number of connections associated with this Fabric Cloud Router instance
- description str
- Customer-provided Fabric Cloud Router description
- distinct_
ipv4_ intprefixes_ count - Number of distinct IPv4 routes
- distinct_
ipv6_ intprefixes_ count - Number of distinct IPv6 routes
- equinix_
asn int - Equinix ASN
- href str
- Fabric Cloud Router URI information
- id str
- The provider-assigned unique ID for this managed resource.
- locations
Sequence[Get
Cloud Router Location] - Fabric Cloud Router location
- name str
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- notifications
Sequence[Get
Cloud Router Notification] - Preferences for notifications on Fabric Cloud Router configuration or status changes
- orders
Sequence[Get
Cloud Router Order] - Order information related to this Fabric Cloud Router
- packages
Sequence[Get
Cloud Router Package] - Fabric Cloud Router Package Type
- projects
Sequence[Get
Cloud Router Project] - Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- state str
- Fabric Cloud Router overall state
- type str
- Defines the FCR type like; XF_ROUTER
- uuid str
- Equinix-assigned Fabric Cloud Router identifier
- accounts List<Property Map>
- Customer account information that is associated with this Fabric Cloud Router
- bgp
Ipv4Routes NumberCount - Number of IPv4 BGP routes in use (including non-distinct prefixes)
- bgp
Ipv6Routes NumberCount - Number of IPv6 BGP routes in use (including non-distinct prefixes)
- change
Logs List<Property Map> - Captures Fabric Cloud Router lifecycle change information
- connections
Count Number - Number of connections associated with this Fabric Cloud Router instance
- description String
- Customer-provided Fabric Cloud Router description
- distinct
Ipv4Prefixes NumberCount - Number of distinct IPv4 routes
- distinct
Ipv6Prefixes NumberCount - Number of distinct IPv6 routes
- equinix
Asn Number - Equinix ASN
- href String
- Fabric Cloud Router URI information
- id String
- The provider-assigned unique ID for this managed resource.
- locations List<Property Map>
- Fabric Cloud Router location
- name String
- Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- notifications List<Property Map>
- Preferences for notifications on Fabric Cloud Router configuration or status changes
- orders List<Property Map>
- Order information related to this Fabric Cloud Router
- packages List<Property Map>
- Fabric Cloud Router Package Type
- projects List<Property Map>
- Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
- state String
- Fabric Cloud Router overall state
- type String
- Defines the FCR type like; XF_ROUTER
- uuid String
- Equinix-assigned Fabric Cloud Router identifier
Supporting Types
GetCloudRouterAccount
- Account
Number int - Account Number
- Account
Number int - Account Number
- account
Number Integer - Account Number
- account
Number number - Account Number
- account_
number int - Account Number
- account
Number Number - Account Number
GetCloudRouterChangeLog
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
- created
By string - Created by User Key
- created
By stringEmail - Created by User Email Address
- created
By stringFull Name - Created by User Full Name
- created
Date stringTime - Created by Date and Time
- deleted
By string - Deleted by User Key
- deleted
By stringEmail - Deleted by User Email Address
- deleted
By stringFull Name - Deleted by User Full Name
- deleted
Date stringTime - Deleted by Date and Time
- updated
By string - Updated by User Key
- updated
By stringEmail - Updated by User Email Address
- updated
By stringFull Name - Updated by User Full Name
- updated
Date stringTime - Updated by Date and Time
- created_
by str - Created by User Key
- created_
by_ stremail - Created by User Email Address
- created_
by_ strfull_ name - Created by User Full Name
- created_
date_ strtime - Created by Date and Time
- deleted_
by str - Deleted by User Key
- deleted_
by_ stremail - Deleted by User Email Address
- deleted_
by_ strfull_ name - Deleted by User Full Name
- deleted_
date_ strtime - Deleted by Date and Time
- updated_
by str - Updated by User Key
- updated_
by_ stremail - Updated by User Email Address
- updated_
by_ strfull_ name - Updated by User Full Name
- updated_
date_ strtime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
GetCloudRouterLocation
- ibx str
- IBX Code
- metro_
code str - Access point metro code
- metro_
name str - Access point metro name
- region str
- Access point region
GetCloudRouterNotification
- Emails List<string>
- Array of contact emails
- Type string
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- Send
Interval string - Send interval
- Emails []string
- Array of contact emails
- Type string
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- Send
Interval string - Send interval
- emails List<String>
- Array of contact emails
- type String
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- send
Interval String - Send interval
- emails string[]
- Array of contact emails
- type string
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- send
Interval string - Send interval
- emails Sequence[str]
- Array of contact emails
- type str
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- send_
interval str - Send interval
- emails List<String>
- Array of contact emails
- type String
- Notification Type - ALL,CONNECTION_APPROVAL,SALES_REP_NOTIFICATIONS, NOTIFICATIONS
- send
Interval String - Send interval
GetCloudRouterOrder
- Billing
Tier string - Billing tier for connection bandwidth
- Order
Id string - Order Identification
- Order
Number string - Order Reference Number
- Purchase
Order stringNumber - Purchase order number
- Billing
Tier string - Billing tier for connection bandwidth
- Order
Id string - Order Identification
- Order
Number string - Order Reference Number
- Purchase
Order stringNumber - Purchase order number
- billing
Tier String - Billing tier for connection bandwidth
- order
Id String - Order Identification
- order
Number String - Order Reference Number
- purchase
Order StringNumber - Purchase order number
- billing
Tier string - Billing tier for connection bandwidth
- order
Id string - Order Identification
- order
Number string - Order Reference Number
- purchase
Order stringNumber - Purchase order number
- billing_
tier str - Billing tier for connection bandwidth
- order_
id str - Order Identification
- order_
number str - Order Reference Number
- purchase_
order_ strnumber - Purchase order number
- billing
Tier String - Billing tier for connection bandwidth
- order
Id String - Order Identification
- order
Number String - Order Reference Number
- purchase
Order StringNumber - Purchase order number
GetCloudRouterPackage
- Code string
- Fabric Cloud Router package code
- Code string
- Fabric Cloud Router package code
- code String
- Fabric Cloud Router package code
- code string
- Fabric Cloud Router package code
- code str
- Fabric Cloud Router package code
- code String
- Fabric Cloud Router package code
GetCloudRouterProject
- href str
- Unique Resource URL
- project_
id str - Project Id
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.