1. Packages
  2. Equinix
  3. API Docs
  4. metal
  5. VirtualCircuit
Equinix v0.8.0 published on Tuesday, Apr 2, 2024 by Equinix

equinix.metal.VirtualCircuit

Explore with Pulumi AI

equinix logo
Equinix v0.8.0 published on Tuesday, Apr 2, 2024 by Equinix

    Use this resource to associate VLAN with a Dedicated Port from Equinix Fabric - software-defined interconnections.

    VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Equinix = Pulumi.Equinix;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var projectId = config.Require("projectId");
        var connectionId = config.Require("connectionId");
        var vlanId = config.Require("vlanId");
        var portId = Equinix.Metal.GetInterconnection.Invoke(new()
        {
            ConnectionId = connectionId,
        }).Apply(invoke => invoke.Ports[0]?.Id);
    
        var vc = new Equinix.Metal.VirtualCircuit("vc", new()
        {
            ConnectionId = connectionId,
            ProjectId = projectId,
            PortId = portId,
            VlanId = vlanId,
            NniVlan = 1056,
        });
    
        return new Dictionary<string, object?>
        {
            ["vcStatus"] = vc.Status,
            ["vcVnid"] = vc.Vnid,
        };
    });
    
    package main
    
    import (
    	"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		projectId := cfg.Require("projectId")
    		connectionId := cfg.Require("connectionId")
    		vlanId := cfg.Require("vlanId")
    		portId := metal.LookupInterconnection(ctx, &metal.LookupInterconnectionArgs{
    			ConnectionId: connectionId,
    		}, nil).Ports[0].Id
    		vc, err := metal.NewVirtualCircuit(ctx, "vc", &metal.VirtualCircuitArgs{
    			ConnectionId: pulumi.String(connectionId),
    			ProjectId:    pulumi.String(projectId),
    			PortId:       *pulumi.String(portId),
    			VlanId:       pulumi.String(vlanId),
    			NniVlan:      pulumi.Int(1056),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("vcStatus", vc.Status)
    		ctx.Export("vcVnid", vc.Vnid)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.equinix.pulumi.metal.inputs.GetInterconnectionArgs;
    import com.equinix.pulumi.metal.MetalFunctions;
    import com.equinix.pulumi.metal.VirtualCircuit;
    import com.equinix.pulumi.metal.VirtualCircuitArgs;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var projectId = config.get("projectId").get();
            final var connectionId = config.get("connectionId").get();
            final var vlanId = config.get("vlanId").get();
            final var portId = MetalFunctions.getInterconnection(GetInterconnectionArgs.builder()
                .connectionId(connectionId)
                .build()).applyValue(data -> data.ports().get(0).id());
    
            var vc = new VirtualCircuit("vc", VirtualCircuitArgs.builder()        
                .connectionId(connectionId)
                .projectId(projectId)
                .portId(portId)
                .vlanId(vlanId)
                .nniVlan(1056)
                .build());
    
            ctx.export("vcStatus", vc.status());
            ctx.export("vcVnid", vc.vnid());
        }
    }
    
    import pulumi
    import pulumi_equinix as equinix
    
    config = pulumi.Config()
    project_id = config.require("projectId")
    connection_id = config.require("connectionId")
    vlan_id = config.require("vlanId")
    port_id = equinix.metal.get_interconnection(connection_id=connection_id).ports[0].id
    vc = equinix.metal.VirtualCircuit("vc",
        connection_id=connection_id,
        project_id=project_id,
        port_id=port_id,
        vlan_id=vlan_id,
        nni_vlan=1056)
    pulumi.export("vcStatus", vc.status)
    pulumi.export("vcVnid", vc.vnid)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as equinix from "@equinix-labs/pulumi-equinix";
    
    const config = new pulumi.Config();
    const projectId = config.require("projectId");
    const connectionId = config.require("connectionId");
    const vlanId = config.require("vlanId");
    const portId = equinix.metal.getInterconnection({
        connectionId: connectionId,
    }).then(invoke => invoke.ports?.[0]?.id);
    const vc = new equinix.metal.VirtualCircuit("vc", {
        connectionId: connectionId,
        projectId: projectId,
        portId: portId,
        vlanId: vlanId,
        nniVlan: 1056,
    });
    export const vcStatus = vc.status;
    export const vcVnid = vc.vnid;
    
    config:
      projectId:
        type: string
      connectionId:
        type: string
      vlanId:
        type: string
    variables:
      portId:
        fn::invoke:
          function: equinix:metal:getInterconnection
          arguments:
            connectionId: ${connectionId}
          return: ports[0].id
    resources:
      vc:
        type: equinix:metal:VirtualCircuit
        properties:
          connectionId: ${connectionId}
          projectId: ${projectId}
          portId: ${portId}
          vlanId: ${vlanId}
          nniVlan: 1056
    outputs:
      vcStatus: ${vc.status}
      vcVnid: ${vc.vnid}
    

    Create VirtualCircuit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VirtualCircuit(name: string, args: VirtualCircuitArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualCircuit(resource_name: str,
                       args: VirtualCircuitArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualCircuit(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       connection_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       port_id: Optional[str] = None,
                       md5: Optional[str] = None,
                       metal_ip: Optional[str] = None,
                       name: Optional[str] = None,
                       nni_vlan: Optional[int] = None,
                       peer_asn: Optional[int] = None,
                       description: Optional[str] = None,
                       customer_ip: Optional[str] = None,
                       speed: Optional[str] = None,
                       subnet: Optional[str] = None,
                       tags: Optional[Sequence[str]] = None,
                       vlan_id: Optional[str] = None,
                       vrf_id: Optional[str] = None)
    func NewVirtualCircuit(ctx *Context, name string, args VirtualCircuitArgs, opts ...ResourceOption) (*VirtualCircuit, error)
    public VirtualCircuit(string name, VirtualCircuitArgs args, CustomResourceOptions? opts = null)
    public VirtualCircuit(String name, VirtualCircuitArgs args)
    public VirtualCircuit(String name, VirtualCircuitArgs args, CustomResourceOptions options)
    
    type: equinix:metal:VirtualCircuit
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VirtualCircuitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualCircuitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualCircuitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualCircuitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualCircuitArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var virtualCircuitResource = new Equinix.Metal.VirtualCircuit("virtualCircuitResource", new()
    {
        ConnectionId = "string",
        ProjectId = "string",
        PortId = "string",
        Md5 = "string",
        MetalIp = "string",
        Name = "string",
        NniVlan = 0,
        PeerAsn = 0,
        Description = "string",
        CustomerIp = "string",
        Speed = "string",
        Subnet = "string",
        Tags = new[]
        {
            "string",
        },
        VlanId = "string",
        VrfId = "string",
    });
    
    example, err := metal.NewVirtualCircuit(ctx, "virtualCircuitResource", &metal.VirtualCircuitArgs{
    	ConnectionId: pulumi.String("string"),
    	ProjectId:    pulumi.String("string"),
    	PortId:       pulumi.String("string"),
    	Md5:          pulumi.String("string"),
    	MetalIp:      pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	NniVlan:      pulumi.Int(0),
    	PeerAsn:      pulumi.Int(0),
    	Description:  pulumi.String("string"),
    	CustomerIp:   pulumi.String("string"),
    	Speed:        pulumi.String("string"),
    	Subnet:       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VlanId: pulumi.String("string"),
    	VrfId:  pulumi.String("string"),
    })
    
    var virtualCircuitResource = new VirtualCircuit("virtualCircuitResource", VirtualCircuitArgs.builder()        
        .connectionId("string")
        .projectId("string")
        .portId("string")
        .md5("string")
        .metalIp("string")
        .name("string")
        .nniVlan(0)
        .peerAsn(0)
        .description("string")
        .customerIp("string")
        .speed("string")
        .subnet("string")
        .tags("string")
        .vlanId("string")
        .vrfId("string")
        .build());
    
    virtual_circuit_resource = equinix.metal.VirtualCircuit("virtualCircuitResource",
        connection_id="string",
        project_id="string",
        port_id="string",
        md5="string",
        metal_ip="string",
        name="string",
        nni_vlan=0,
        peer_asn=0,
        description="string",
        customer_ip="string",
        speed="string",
        subnet="string",
        tags=["string"],
        vlan_id="string",
        vrf_id="string")
    
    const virtualCircuitResource = new equinix.metal.VirtualCircuit("virtualCircuitResource", {
        connectionId: "string",
        projectId: "string",
        portId: "string",
        md5: "string",
        metalIp: "string",
        name: "string",
        nniVlan: 0,
        peerAsn: 0,
        description: "string",
        customerIp: "string",
        speed: "string",
        subnet: "string",
        tags: ["string"],
        vlanId: "string",
        vrfId: "string",
    });
    
    type: equinix:metal:VirtualCircuit
    properties:
        connectionId: string
        customerIp: string
        description: string
        md5: string
        metalIp: string
        name: string
        nniVlan: 0
        peerAsn: 0
        portId: string
        projectId: string
        speed: string
        subnet: string
        tags:
            - string
        vlanId: string
        vrfId: string
    

    VirtualCircuit Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VirtualCircuit resource accepts the following input properties:

    ConnectionId string
    UUID of Connection where the VC is scoped to.
    PortId string
    UUID of the Connection Port where the VC is scoped to.
    ProjectId string
    UUID of the Project where the VC is scoped to.
    CustomerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    Description string
    Description for the Virtual Circuit resource.
    Md5 string
    The password that can be set for the VRF BGP peer
    MetalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    Name string
    Name of the Virtual Circuit resource.
    NniVlan int
    Equinix Metal network-to-network VLAN ID.
    PeerAsn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    Speed string
    Speed of the Virtual Circuit resource.
    Subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    Tags List<string>
    Tags for the Virtual Circuit resource.
    VlanId string
    UUID of the VLAN to associate.
    VrfId string
    UUID of the VRF to associate.
    ConnectionId string
    UUID of Connection where the VC is scoped to.
    PortId string
    UUID of the Connection Port where the VC is scoped to.
    ProjectId string
    UUID of the Project where the VC is scoped to.
    CustomerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    Description string
    Description for the Virtual Circuit resource.
    Md5 string
    The password that can be set for the VRF BGP peer
    MetalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    Name string
    Name of the Virtual Circuit resource.
    NniVlan int
    Equinix Metal network-to-network VLAN ID.
    PeerAsn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    Speed string
    Speed of the Virtual Circuit resource.
    Subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    Tags []string
    Tags for the Virtual Circuit resource.
    VlanId string
    UUID of the VLAN to associate.
    VrfId string
    UUID of the VRF to associate.
    connectionId String
    UUID of Connection where the VC is scoped to.
    portId String
    UUID of the Connection Port where the VC is scoped to.
    projectId String
    UUID of the Project where the VC is scoped to.
    customerIp String
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description String
    Description for the Virtual Circuit resource.
    md5 String
    The password that can be set for the VRF BGP peer
    metalIp String
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name String
    Name of the Virtual Circuit resource.
    nniVlan Integer
    Equinix Metal network-to-network VLAN ID.
    peerAsn Integer
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    speed String
    Speed of the Virtual Circuit resource.
    subnet String
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags List<String>
    Tags for the Virtual Circuit resource.
    vlanId String
    UUID of the VLAN to associate.
    vrfId String
    UUID of the VRF to associate.
    connectionId string
    UUID of Connection where the VC is scoped to.
    portId string
    UUID of the Connection Port where the VC is scoped to.
    projectId string
    UUID of the Project where the VC is scoped to.
    customerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description string
    Description for the Virtual Circuit resource.
    md5 string
    The password that can be set for the VRF BGP peer
    metalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name string
    Name of the Virtual Circuit resource.
    nniVlan number
    Equinix Metal network-to-network VLAN ID.
    peerAsn number
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    speed string
    Speed of the Virtual Circuit resource.
    subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags string[]
    Tags for the Virtual Circuit resource.
    vlanId string
    UUID of the VLAN to associate.
    vrfId string
    UUID of the VRF to associate.
    connection_id str
    UUID of Connection where the VC is scoped to.
    port_id str
    UUID of the Connection Port where the VC is scoped to.
    project_id str
    UUID of the Project where the VC is scoped to.
    customer_ip str
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description str
    Description for the Virtual Circuit resource.
    md5 str
    The password that can be set for the VRF BGP peer
    metal_ip str
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name str
    Name of the Virtual Circuit resource.
    nni_vlan int
    Equinix Metal network-to-network VLAN ID.
    peer_asn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    speed str
    Speed of the Virtual Circuit resource.
    subnet str
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags Sequence[str]
    Tags for the Virtual Circuit resource.
    vlan_id str
    UUID of the VLAN to associate.
    vrf_id str
    UUID of the VRF to associate.
    connectionId String
    UUID of Connection where the VC is scoped to.
    portId String
    UUID of the Connection Port where the VC is scoped to.
    projectId String
    UUID of the Project where the VC is scoped to.
    customerIp String
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description String
    Description for the Virtual Circuit resource.
    md5 String
    The password that can be set for the VRF BGP peer
    metalIp String
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name String
    Name of the Virtual Circuit resource.
    nniVlan Number
    Equinix Metal network-to-network VLAN ID.
    peerAsn Number
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    speed String
    Speed of the Virtual Circuit resource.
    subnet String
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags List<String>
    Tags for the Virtual Circuit resource.
    vlanId String
    UUID of the VLAN to associate.
    vrfId String
    UUID of the VRF to associate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualCircuit resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    NniVnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    Status string
    Status of the virtal circuit.
    Vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    Id string
    The provider-assigned unique ID for this managed resource.
    NniVnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    Status string
    Status of the virtal circuit.
    Vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    id String
    The provider-assigned unique ID for this managed resource.
    nniVnid Integer
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    status String
    Status of the virtal circuit.
    vnid Integer
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    id string
    The provider-assigned unique ID for this managed resource.
    nniVnid number
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    status string
    Status of the virtal circuit.
    vnid number
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    id str
    The provider-assigned unique ID for this managed resource.
    nni_vnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    status str
    Status of the virtal circuit.
    vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    id String
    The provider-assigned unique ID for this managed resource.
    nniVnid Number
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    status String
    Status of the virtal circuit.
    vnid Number
    VNID VLAN parameter, see the documentation for Equinix Fabric.

    Look up Existing VirtualCircuit Resource

    Get an existing VirtualCircuit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VirtualCircuitState, opts?: CustomResourceOptions): VirtualCircuit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_id: Optional[str] = None,
            customer_ip: Optional[str] = None,
            description: Optional[str] = None,
            md5: Optional[str] = None,
            metal_ip: Optional[str] = None,
            name: Optional[str] = None,
            nni_vlan: Optional[int] = None,
            nni_vnid: Optional[int] = None,
            peer_asn: Optional[int] = None,
            port_id: Optional[str] = None,
            project_id: Optional[str] = None,
            speed: Optional[str] = None,
            status: Optional[str] = None,
            subnet: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            vlan_id: Optional[str] = None,
            vnid: Optional[int] = None,
            vrf_id: Optional[str] = None) -> VirtualCircuit
    func GetVirtualCircuit(ctx *Context, name string, id IDInput, state *VirtualCircuitState, opts ...ResourceOption) (*VirtualCircuit, error)
    public static VirtualCircuit Get(string name, Input<string> id, VirtualCircuitState? state, CustomResourceOptions? opts = null)
    public static VirtualCircuit get(String name, Output<String> id, VirtualCircuitState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ConnectionId string
    UUID of Connection where the VC is scoped to.
    CustomerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    Description string
    Description for the Virtual Circuit resource.
    Md5 string
    The password that can be set for the VRF BGP peer
    MetalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    Name string
    Name of the Virtual Circuit resource.
    NniVlan int
    Equinix Metal network-to-network VLAN ID.
    NniVnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    PeerAsn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    PortId string
    UUID of the Connection Port where the VC is scoped to.
    ProjectId string
    UUID of the Project where the VC is scoped to.
    Speed string
    Speed of the Virtual Circuit resource.
    Status string
    Status of the virtal circuit.
    Subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    Tags List<string>
    Tags for the Virtual Circuit resource.
    VlanId string
    UUID of the VLAN to associate.
    Vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    VrfId string
    UUID of the VRF to associate.
    ConnectionId string
    UUID of Connection where the VC is scoped to.
    CustomerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    Description string
    Description for the Virtual Circuit resource.
    Md5 string
    The password that can be set for the VRF BGP peer
    MetalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    Name string
    Name of the Virtual Circuit resource.
    NniVlan int
    Equinix Metal network-to-network VLAN ID.
    NniVnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    PeerAsn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    PortId string
    UUID of the Connection Port where the VC is scoped to.
    ProjectId string
    UUID of the Project where the VC is scoped to.
    Speed string
    Speed of the Virtual Circuit resource.
    Status string
    Status of the virtal circuit.
    Subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    Tags []string
    Tags for the Virtual Circuit resource.
    VlanId string
    UUID of the VLAN to associate.
    Vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    VrfId string
    UUID of the VRF to associate.
    connectionId String
    UUID of Connection where the VC is scoped to.
    customerIp String
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description String
    Description for the Virtual Circuit resource.
    md5 String
    The password that can be set for the VRF BGP peer
    metalIp String
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name String
    Name of the Virtual Circuit resource.
    nniVlan Integer
    Equinix Metal network-to-network VLAN ID.
    nniVnid Integer
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    peerAsn Integer
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    portId String
    UUID of the Connection Port where the VC is scoped to.
    projectId String
    UUID of the Project where the VC is scoped to.
    speed String
    Speed of the Virtual Circuit resource.
    status String
    Status of the virtal circuit.
    subnet String
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags List<String>
    Tags for the Virtual Circuit resource.
    vlanId String
    UUID of the VLAN to associate.
    vnid Integer
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    vrfId String
    UUID of the VRF to associate.
    connectionId string
    UUID of Connection where the VC is scoped to.
    customerIp string
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description string
    Description for the Virtual Circuit resource.
    md5 string
    The password that can be set for the VRF BGP peer
    metalIp string
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name string
    Name of the Virtual Circuit resource.
    nniVlan number
    Equinix Metal network-to-network VLAN ID.
    nniVnid number
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    peerAsn number
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    portId string
    UUID of the Connection Port where the VC is scoped to.
    projectId string
    UUID of the Project where the VC is scoped to.
    speed string
    Speed of the Virtual Circuit resource.
    status string
    Status of the virtal circuit.
    subnet string
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags string[]
    Tags for the Virtual Circuit resource.
    vlanId string
    UUID of the VLAN to associate.
    vnid number
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    vrfId string
    UUID of the VRF to associate.
    connection_id str
    UUID of Connection where the VC is scoped to.
    customer_ip str
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description str
    Description for the Virtual Circuit resource.
    md5 str
    The password that can be set for the VRF BGP peer
    metal_ip str
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name str
    Name of the Virtual Circuit resource.
    nni_vlan int
    Equinix Metal network-to-network VLAN ID.
    nni_vnid int
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    peer_asn int
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    port_id str
    UUID of the Connection Port where the VC is scoped to.
    project_id str
    UUID of the Project where the VC is scoped to.
    speed str
    Speed of the Virtual Circuit resource.
    status str
    Status of the virtal circuit.
    subnet str
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags Sequence[str]
    Tags for the Virtual Circuit resource.
    vlan_id str
    UUID of the VLAN to associate.
    vnid int
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    vrf_id str
    UUID of the VRF to associate.
    connectionId String
    UUID of Connection where the VC is scoped to.
    customerIp String
    The Customer IP address which the CSR switch will peer with. Will default to the other usable IP in the subnet.
    description String
    Description for the Virtual Circuit resource.
    md5 String
    The password that can be set for the VRF BGP peer
    metalIp String
    The Metal IP address for the SVI (Switch Virtual Interface) of the VirtualCircuit. Will default to the first usable IP in the subnet.
    name String
    Name of the Virtual Circuit resource.
    nniVlan Number
    Equinix Metal network-to-network VLAN ID.
    nniVnid Number
    NNI VLAN parameters, see the documentation for Equinix Fabric.
    peerAsn Number
    The BGP ASN of the peer. The same ASN may be the used across several VCs, but it cannot be the same as the local_asn of the VRF.
    portId String
    UUID of the Connection Port where the VC is scoped to.
    projectId String
    UUID of the Project where the VC is scoped to.
    speed String
    Speed of the Virtual Circuit resource.
    status String
    Status of the virtal circuit.
    subnet String
    A subnet from one of the IP blocks associated with the VRF that we will help create an IP reservation for. Can only be either a /30 or /31.

    • For a /31 block, it will only have two IP addresses, which will be used for the metal_ip and customer_ip.
    • For a /30 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip.
    tags List<String>
    Tags for the Virtual Circuit resource.
    vlanId String
    UUID of the VLAN to associate.
    vnid Number
    VNID VLAN parameter, see the documentation for Equinix Fabric.
    vrfId String
    UUID of the VRF to associate.

    Package Details

    Repository
    equinix equinix/pulumi-equinix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the equinix Terraform Provider.
    equinix logo
    Equinix v0.8.0 published on Tuesday, Apr 2, 2024 by Equinix