1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. VirtualCircuit
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Core.VirtualCircuit

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Virtual Circuit resource in Oracle Cloud Infrastructure Core service.

    Creates a new virtual circuit to use with Oracle Cloud Infrastructure FastConnect. For more information, see FastConnect Overview.

    For the purposes of access control, you must provide the OCID of the compartment where you want the virtual circuit to reside. If you’re not sure which compartment to use, put the virtual circuit in the same compartment with the DRG it’s using. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.

    You may optionally specify a display name for the virtual circuit. It does not have to be unique, and you can change it. Avoid entering confidential information.

    Important: When creating a virtual circuit, you specify a DRG for the traffic to flow through. Make sure you attach the DRG to your VCN and confirm the VCN’s routing sends traffic to the DRG. Otherwise traffic will not flow. For more information, see Route Tables.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVirtualCircuit = new oci.core.VirtualCircuit("testVirtualCircuit", {
        compartmentId: _var.compartment_id,
        type: _var.virtual_circuit_type,
        bandwidthShapeName: _var.virtual_circuit_bandwidth_shape_name,
        bgpAdminState: _var.virtual_circuit_bgp_admin_state,
        crossConnectMappings: [{
            bgpMd5authKey: _var.virtual_circuit_cross_connect_mappings_bgp_md5auth_key,
            crossConnectOrCrossConnectGroupId: oci_core_cross_connect_or_cross_connect_group.test_cross_connect_or_cross_connect_group.id,
            customerBgpPeeringIp: _var.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip,
            customerBgpPeeringIpv6: _var.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6,
            oracleBgpPeeringIp: _var.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip,
            oracleBgpPeeringIpv6: _var.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6,
            vlan: _var.virtual_circuit_cross_connect_mappings_vlan,
        }],
        customerAsn: _var.virtual_circuit_customer_asn,
        customerBgpAsn: _var.virtual_circuit_customer_bgp_asn,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.virtual_circuit_display_name,
        freeformTags: {
            Department: "Finance",
        },
        ipMtu: _var.virtual_circuit_ip_mtu,
        isBfdEnabled: _var.virtual_circuit_is_bfd_enabled,
        isTransportMode: _var.virtual_circuit_is_transport_mode,
        gatewayId: oci_core_gateway.test_gateway.id,
        providerServiceId: data.oci_core_fast_connect_provider_services.test_fast_connect_provider_services.fast_connect_provider_services[0].id,
        providerServiceKeyName: _var.virtual_circuit_provider_service_key_name,
        publicPrefixes: [{
            cidrBlock: _var.virtual_circuit_public_prefixes_cidr_block,
        }],
        region: _var.virtual_circuit_region,
        routingPolicies: _var.virtual_circuit_routing_policy,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_virtual_circuit = oci.core.VirtualCircuit("testVirtualCircuit",
        compartment_id=var["compartment_id"],
        type=var["virtual_circuit_type"],
        bandwidth_shape_name=var["virtual_circuit_bandwidth_shape_name"],
        bgp_admin_state=var["virtual_circuit_bgp_admin_state"],
        cross_connect_mappings=[oci.core.VirtualCircuitCrossConnectMappingArgs(
            bgp_md5auth_key=var["virtual_circuit_cross_connect_mappings_bgp_md5auth_key"],
            cross_connect_or_cross_connect_group_id=oci_core_cross_connect_or_cross_connect_group["test_cross_connect_or_cross_connect_group"]["id"],
            customer_bgp_peering_ip=var["virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip"],
            customer_bgp_peering_ipv6=var["virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6"],
            oracle_bgp_peering_ip=var["virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip"],
            oracle_bgp_peering_ipv6=var["virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6"],
            vlan=var["virtual_circuit_cross_connect_mappings_vlan"],
        )],
        customer_asn=var["virtual_circuit_customer_asn"],
        customer_bgp_asn=var["virtual_circuit_customer_bgp_asn"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["virtual_circuit_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        ip_mtu=var["virtual_circuit_ip_mtu"],
        is_bfd_enabled=var["virtual_circuit_is_bfd_enabled"],
        is_transport_mode=var["virtual_circuit_is_transport_mode"],
        gateway_id=oci_core_gateway["test_gateway"]["id"],
        provider_service_id=data["oci_core_fast_connect_provider_services"]["test_fast_connect_provider_services"]["fast_connect_provider_services"][0]["id"],
        provider_service_key_name=var["virtual_circuit_provider_service_key_name"],
        public_prefixes=[oci.core.VirtualCircuitPublicPrefixArgs(
            cidr_block=var["virtual_circuit_public_prefixes_cidr_block"],
        )],
        region=var["virtual_circuit_region"],
        routing_policies=var["virtual_circuit_routing_policy"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewVirtualCircuit(ctx, "testVirtualCircuit", &Core.VirtualCircuitArgs{
    			CompartmentId:      pulumi.Any(_var.Compartment_id),
    			Type:               pulumi.Any(_var.Virtual_circuit_type),
    			BandwidthShapeName: pulumi.Any(_var.Virtual_circuit_bandwidth_shape_name),
    			BgpAdminState:      pulumi.Any(_var.Virtual_circuit_bgp_admin_state),
    			CrossConnectMappings: core.VirtualCircuitCrossConnectMappingArray{
    				&core.VirtualCircuitCrossConnectMappingArgs{
    					BgpMd5authKey:                     pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_bgp_md5auth_key),
    					CrossConnectOrCrossConnectGroupId: pulumi.Any(oci_core_cross_connect_or_cross_connect_group.Test_cross_connect_or_cross_connect_group.Id),
    					CustomerBgpPeeringIp:              pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip),
    					CustomerBgpPeeringIpv6:            pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6),
    					OracleBgpPeeringIp:                pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip),
    					OracleBgpPeeringIpv6:              pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6),
    					Vlan:                              pulumi.Any(_var.Virtual_circuit_cross_connect_mappings_vlan),
    				},
    			},
    			CustomerAsn:    pulumi.Any(_var.Virtual_circuit_customer_asn),
    			CustomerBgpAsn: pulumi.Any(_var.Virtual_circuit_customer_bgp_asn),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Virtual_circuit_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			IpMtu:                  pulumi.Any(_var.Virtual_circuit_ip_mtu),
    			IsBfdEnabled:           pulumi.Any(_var.Virtual_circuit_is_bfd_enabled),
    			IsTransportMode:        pulumi.Any(_var.Virtual_circuit_is_transport_mode),
    			GatewayId:              pulumi.Any(oci_core_gateway.Test_gateway.Id),
    			ProviderServiceId:      pulumi.Any(data.Oci_core_fast_connect_provider_services.Test_fast_connect_provider_services.Fast_connect_provider_services[0].Id),
    			ProviderServiceKeyName: pulumi.Any(_var.Virtual_circuit_provider_service_key_name),
    			PublicPrefixes: core.VirtualCircuitPublicPrefixArray{
    				&core.VirtualCircuitPublicPrefixArgs{
    					CidrBlock: pulumi.Any(_var.Virtual_circuit_public_prefixes_cidr_block),
    				},
    			},
    			Region:          pulumi.Any(_var.Virtual_circuit_region),
    			RoutingPolicies: pulumi.Any(_var.Virtual_circuit_routing_policy),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testVirtualCircuit = new Oci.Core.VirtualCircuit("testVirtualCircuit", new()
        {
            CompartmentId = @var.Compartment_id,
            Type = @var.Virtual_circuit_type,
            BandwidthShapeName = @var.Virtual_circuit_bandwidth_shape_name,
            BgpAdminState = @var.Virtual_circuit_bgp_admin_state,
            CrossConnectMappings = new[]
            {
                new Oci.Core.Inputs.VirtualCircuitCrossConnectMappingArgs
                {
                    BgpMd5authKey = @var.Virtual_circuit_cross_connect_mappings_bgp_md5auth_key,
                    CrossConnectOrCrossConnectGroupId = oci_core_cross_connect_or_cross_connect_group.Test_cross_connect_or_cross_connect_group.Id,
                    CustomerBgpPeeringIp = @var.Virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip,
                    CustomerBgpPeeringIpv6 = @var.Virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6,
                    OracleBgpPeeringIp = @var.Virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip,
                    OracleBgpPeeringIpv6 = @var.Virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6,
                    Vlan = @var.Virtual_circuit_cross_connect_mappings_vlan,
                },
            },
            CustomerAsn = @var.Virtual_circuit_customer_asn,
            CustomerBgpAsn = @var.Virtual_circuit_customer_bgp_asn,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Virtual_circuit_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IpMtu = @var.Virtual_circuit_ip_mtu,
            IsBfdEnabled = @var.Virtual_circuit_is_bfd_enabled,
            IsTransportMode = @var.Virtual_circuit_is_transport_mode,
            GatewayId = oci_core_gateway.Test_gateway.Id,
            ProviderServiceId = data.Oci_core_fast_connect_provider_services.Test_fast_connect_provider_services.Fast_connect_provider_services[0].Id,
            ProviderServiceKeyName = @var.Virtual_circuit_provider_service_key_name,
            PublicPrefixes = new[]
            {
                new Oci.Core.Inputs.VirtualCircuitPublicPrefixArgs
                {
                    CidrBlock = @var.Virtual_circuit_public_prefixes_cidr_block,
                },
            },
            Region = @var.Virtual_circuit_region,
            RoutingPolicies = @var.Virtual_circuit_routing_policy,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.VirtualCircuit;
    import com.pulumi.oci.Core.VirtualCircuitArgs;
    import com.pulumi.oci.Core.inputs.VirtualCircuitCrossConnectMappingArgs;
    import com.pulumi.oci.Core.inputs.VirtualCircuitPublicPrefixArgs;
    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) {
            var testVirtualCircuit = new VirtualCircuit("testVirtualCircuit", VirtualCircuitArgs.builder()        
                .compartmentId(var_.compartment_id())
                .type(var_.virtual_circuit_type())
                .bandwidthShapeName(var_.virtual_circuit_bandwidth_shape_name())
                .bgpAdminState(var_.virtual_circuit_bgp_admin_state())
                .crossConnectMappings(VirtualCircuitCrossConnectMappingArgs.builder()
                    .bgpMd5authKey(var_.virtual_circuit_cross_connect_mappings_bgp_md5auth_key())
                    .crossConnectOrCrossConnectGroupId(oci_core_cross_connect_or_cross_connect_group.test_cross_connect_or_cross_connect_group().id())
                    .customerBgpPeeringIp(var_.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip())
                    .customerBgpPeeringIpv6(var_.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6())
                    .oracleBgpPeeringIp(var_.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip())
                    .oracleBgpPeeringIpv6(var_.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6())
                    .vlan(var_.virtual_circuit_cross_connect_mappings_vlan())
                    .build())
                .customerAsn(var_.virtual_circuit_customer_asn())
                .customerBgpAsn(var_.virtual_circuit_customer_bgp_asn())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.virtual_circuit_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .ipMtu(var_.virtual_circuit_ip_mtu())
                .isBfdEnabled(var_.virtual_circuit_is_bfd_enabled())
                .isTransportMode(var_.virtual_circuit_is_transport_mode())
                .gatewayId(oci_core_gateway.test_gateway().id())
                .providerServiceId(data.oci_core_fast_connect_provider_services().test_fast_connect_provider_services().fast_connect_provider_services()[0].id())
                .providerServiceKeyName(var_.virtual_circuit_provider_service_key_name())
                .publicPrefixes(VirtualCircuitPublicPrefixArgs.builder()
                    .cidrBlock(var_.virtual_circuit_public_prefixes_cidr_block())
                    .build())
                .region(var_.virtual_circuit_region())
                .routingPolicies(var_.virtual_circuit_routing_policy())
                .build());
    
        }
    }
    
    resources:
      testVirtualCircuit:
        type: oci:Core:VirtualCircuit
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          type: ${var.virtual_circuit_type}
          #Optional
          bandwidthShapeName: ${var.virtual_circuit_bandwidth_shape_name}
          bgpAdminState: ${var.virtual_circuit_bgp_admin_state}
          crossConnectMappings:
            - bgpMd5authKey: ${var.virtual_circuit_cross_connect_mappings_bgp_md5auth_key}
              crossConnectOrCrossConnectGroupId: ${oci_core_cross_connect_or_cross_connect_group.test_cross_connect_or_cross_connect_group.id}
              customerBgpPeeringIp: ${var.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ip}
              customerBgpPeeringIpv6: ${var.virtual_circuit_cross_connect_mappings_customer_bgp_peering_ipv6}
              oracleBgpPeeringIp: ${var.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ip}
              oracleBgpPeeringIpv6: ${var.virtual_circuit_cross_connect_mappings_oracle_bgp_peering_ipv6}
              vlan: ${var.virtual_circuit_cross_connect_mappings_vlan}
          customerAsn: ${var.virtual_circuit_customer_asn}
          customerBgpAsn: ${var.virtual_circuit_customer_bgp_asn}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.virtual_circuit_display_name}
          freeformTags:
            Department: Finance
          ipMtu: ${var.virtual_circuit_ip_mtu}
          isBfdEnabled: ${var.virtual_circuit_is_bfd_enabled}
          isTransportMode: ${var.virtual_circuit_is_transport_mode}
          gatewayId: ${oci_core_gateway.test_gateway.id}
          providerServiceId: ${data.oci_core_fast_connect_provider_services.test_fast_connect_provider_services.fast_connect_provider_services[0].id}
          providerServiceKeyName: ${var.virtual_circuit_provider_service_key_name}
          publicPrefixes:
            - cidrBlock: ${var.virtual_circuit_public_prefixes_cidr_block}
          region: ${var.virtual_circuit_region}
          routingPolicies: ${var.virtual_circuit_routing_policy}
    

    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,
                       compartment_id: Optional[str] = None,
                       type: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       is_bfd_enabled: Optional[bool] = None,
                       customer_asn: Optional[str] = None,
                       customer_bgp_asn: Optional[int] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       display_name: Optional[str] = None,
                       bandwidth_shape_name: Optional[str] = None,
                       gateway_id: Optional[str] = None,
                       ip_mtu: Optional[str] = None,
                       cross_connect_mappings: Optional[Sequence[_core.VirtualCircuitCrossConnectMappingArgs]] = None,
                       is_transport_mode: Optional[bool] = None,
                       provider_service_id: Optional[str] = None,
                       provider_service_key_name: Optional[str] = None,
                       public_prefixes: Optional[Sequence[_core.VirtualCircuitPublicPrefixArgs]] = None,
                       region: Optional[str] = None,
                       routing_policies: Optional[Sequence[str]] = None,
                       bgp_admin_state: 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: oci:Core: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 Oci.Core.VirtualCircuit("virtualCircuitResource", new()
    {
        CompartmentId = "string",
        Type = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        IsBfdEnabled = false,
        CustomerAsn = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        BandwidthShapeName = "string",
        GatewayId = "string",
        IpMtu = "string",
        CrossConnectMappings = new[]
        {
            new Oci.Core.Inputs.VirtualCircuitCrossConnectMappingArgs
            {
                BgpMd5authKey = "string",
                CrossConnectOrCrossConnectGroupId = "string",
                CustomerBgpPeeringIp = "string",
                CustomerBgpPeeringIpv6 = "string",
                OracleBgpPeeringIp = "string",
                OracleBgpPeeringIpv6 = "string",
                Vlan = 0,
            },
        },
        IsTransportMode = false,
        ProviderServiceId = "string",
        ProviderServiceKeyName = "string",
        PublicPrefixes = new[]
        {
            new Oci.Core.Inputs.VirtualCircuitPublicPrefixArgs
            {
                CidrBlock = "string",
            },
        },
        Region = "string",
        RoutingPolicies = new[]
        {
            "string",
        },
        BgpAdminState = "string",
    });
    
    example, err := Core.NewVirtualCircuit(ctx, "virtualCircuitResource", &Core.VirtualCircuitArgs{
    	CompartmentId: pulumi.String("string"),
    	Type:          pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	IsBfdEnabled: pulumi.Bool(false),
    	CustomerAsn:  pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName:        pulumi.String("string"),
    	BandwidthShapeName: pulumi.String("string"),
    	GatewayId:          pulumi.String("string"),
    	IpMtu:              pulumi.String("string"),
    	CrossConnectMappings: core.VirtualCircuitCrossConnectMappingArray{
    		&core.VirtualCircuitCrossConnectMappingArgs{
    			BgpMd5authKey:                     pulumi.String("string"),
    			CrossConnectOrCrossConnectGroupId: pulumi.String("string"),
    			CustomerBgpPeeringIp:              pulumi.String("string"),
    			CustomerBgpPeeringIpv6:            pulumi.String("string"),
    			OracleBgpPeeringIp:                pulumi.String("string"),
    			OracleBgpPeeringIpv6:              pulumi.String("string"),
    			Vlan:                              pulumi.Int(0),
    		},
    	},
    	IsTransportMode:        pulumi.Bool(false),
    	ProviderServiceId:      pulumi.String("string"),
    	ProviderServiceKeyName: pulumi.String("string"),
    	PublicPrefixes: core.VirtualCircuitPublicPrefixArray{
    		&core.VirtualCircuitPublicPrefixArgs{
    			CidrBlock: pulumi.String("string"),
    		},
    	},
    	Region: pulumi.String("string"),
    	RoutingPolicies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BgpAdminState: pulumi.String("string"),
    })
    
    var virtualCircuitResource = new VirtualCircuit("virtualCircuitResource", VirtualCircuitArgs.builder()        
        .compartmentId("string")
        .type("string")
        .freeformTags(Map.of("string", "any"))
        .isBfdEnabled(false)
        .customerAsn("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .bandwidthShapeName("string")
        .gatewayId("string")
        .ipMtu("string")
        .crossConnectMappings(VirtualCircuitCrossConnectMappingArgs.builder()
            .bgpMd5authKey("string")
            .crossConnectOrCrossConnectGroupId("string")
            .customerBgpPeeringIp("string")
            .customerBgpPeeringIpv6("string")
            .oracleBgpPeeringIp("string")
            .oracleBgpPeeringIpv6("string")
            .vlan(0)
            .build())
        .isTransportMode(false)
        .providerServiceId("string")
        .providerServiceKeyName("string")
        .publicPrefixes(VirtualCircuitPublicPrefixArgs.builder()
            .cidrBlock("string")
            .build())
        .region("string")
        .routingPolicies("string")
        .bgpAdminState("string")
        .build());
    
    virtual_circuit_resource = oci.core.VirtualCircuit("virtualCircuitResource",
        compartment_id="string",
        type="string",
        freeform_tags={
            "string": "any",
        },
        is_bfd_enabled=False,
        customer_asn="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        bandwidth_shape_name="string",
        gateway_id="string",
        ip_mtu="string",
        cross_connect_mappings=[oci.core.VirtualCircuitCrossConnectMappingArgs(
            bgp_md5auth_key="string",
            cross_connect_or_cross_connect_group_id="string",
            customer_bgp_peering_ip="string",
            customer_bgp_peering_ipv6="string",
            oracle_bgp_peering_ip="string",
            oracle_bgp_peering_ipv6="string",
            vlan=0,
        )],
        is_transport_mode=False,
        provider_service_id="string",
        provider_service_key_name="string",
        public_prefixes=[oci.core.VirtualCircuitPublicPrefixArgs(
            cidr_block="string",
        )],
        region="string",
        routing_policies=["string"],
        bgp_admin_state="string")
    
    const virtualCircuitResource = new oci.core.VirtualCircuit("virtualCircuitResource", {
        compartmentId: "string",
        type: "string",
        freeformTags: {
            string: "any",
        },
        isBfdEnabled: false,
        customerAsn: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        bandwidthShapeName: "string",
        gatewayId: "string",
        ipMtu: "string",
        crossConnectMappings: [{
            bgpMd5authKey: "string",
            crossConnectOrCrossConnectGroupId: "string",
            customerBgpPeeringIp: "string",
            customerBgpPeeringIpv6: "string",
            oracleBgpPeeringIp: "string",
            oracleBgpPeeringIpv6: "string",
            vlan: 0,
        }],
        isTransportMode: false,
        providerServiceId: "string",
        providerServiceKeyName: "string",
        publicPrefixes: [{
            cidrBlock: "string",
        }],
        region: "string",
        routingPolicies: ["string"],
        bgpAdminState: "string",
    });
    
    type: oci:Core:VirtualCircuit
    properties:
        bandwidthShapeName: string
        bgpAdminState: string
        compartmentId: string
        crossConnectMappings:
            - bgpMd5authKey: string
              crossConnectOrCrossConnectGroupId: string
              customerBgpPeeringIp: string
              customerBgpPeeringIpv6: string
              oracleBgpPeeringIp: string
              oracleBgpPeeringIpv6: string
              vlan: 0
        customerAsn: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        gatewayId: string
        ipMtu: string
        isBfdEnabled: false
        isTransportMode: false
        providerServiceId: string
        providerServiceKeyName: string
        publicPrefixes:
            - cidrBlock: string
        region: string
        routingPolicies:
            - string
        type: 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:

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    Type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    BgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    CrossConnectMappings List<VirtualCircuitCrossConnectMapping>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    CustomerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    CustomerBgpAsn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    GatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    IpMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    IsBfdEnabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    IsTransportMode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    ProviderServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    ProviderServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    PublicPrefixes List<VirtualCircuitPublicPrefix>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    Region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    RoutingPolicies List<string>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    Type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    BgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    CrossConnectMappings []VirtualCircuitCrossConnectMappingArgs
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    CustomerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    CustomerBgpAsn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    GatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    IpMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    IsBfdEnabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    IsTransportMode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    ProviderServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    ProviderServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    PublicPrefixes []VirtualCircuitPublicPrefixArgs
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    Region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    RoutingPolicies []string
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    type String

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName String
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState String
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    crossConnectMappings List<VirtualCircuitCrossConnectMapping>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn String
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn Integer
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId String
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu String
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled Boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode Boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    providerServiceId String
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName String
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    publicPrefixes List<VirtualCircuitPublicPrefix>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    region String
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies List<String>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    crossConnectMappings VirtualCircuitCrossConnectMapping[]
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn number
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    providerServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    publicPrefixes VirtualCircuitPublicPrefix[]
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies string[]
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    type str

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidth_shape_name str
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgp_admin_state str
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    cross_connect_mappings Sequence[core.VirtualCircuitCrossConnectMappingArgs]
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customer_asn str
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customer_bgp_asn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gateway_id str
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ip_mtu str
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    is_bfd_enabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    is_transport_mode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    provider_service_id str
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    provider_service_key_name str
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    public_prefixes Sequence[core.VirtualCircuitPublicPrefixArgs]
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    region str
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routing_policies Sequence[str]
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    type String

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName String
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState String
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    crossConnectMappings List<Property Map>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn String
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn Number
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId String
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu String
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled Boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode Boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    providerServiceId String
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName String
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    publicPrefixes List<Property Map>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    region String
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies List<String>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.

    Outputs

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

    BgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    BgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    BgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    Id string
    The provider-assigned unique ID for this managed resource.
    OracleBgpAsn int
    The Oracle BGP ASN.
    ProviderState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    ReferenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    ServiceType string
    Provider service type.
    State string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    TimeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    BgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    BgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    BgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    Id string
    The provider-assigned unique ID for this managed resource.
    OracleBgpAsn int
    The Oracle BGP ASN.
    ProviderState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    ReferenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    ServiceType string
    Provider service type.
    State string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    TimeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    bgpIpv6sessionState String
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement String
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState String
    The state of the Ipv4 BGP session associated with the virtual circuit.
    id String
    The provider-assigned unique ID for this managed resource.
    oracleBgpAsn Integer
    The Oracle BGP ASN.
    providerState String
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    referenceComment String
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    serviceType String
    Provider service type.
    state String
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated String
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    bgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    id string
    The provider-assigned unique ID for this managed resource.
    oracleBgpAsn number
    The Oracle BGP ASN.
    providerState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    referenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    serviceType string
    Provider service type.
    state string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    bgp_ipv6session_state str
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgp_management str
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgp_session_state str
    The state of the Ipv4 BGP session associated with the virtual circuit.
    id str
    The provider-assigned unique ID for this managed resource.
    oracle_bgp_asn int
    The Oracle BGP ASN.
    provider_state str
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    reference_comment str
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    service_type str
    Provider service type.
    state str
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    time_created str
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    bgpIpv6sessionState String
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement String
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState String
    The state of the Ipv4 BGP session associated with the virtual circuit.
    id String
    The provider-assigned unique ID for this managed resource.
    oracleBgpAsn Number
    The Oracle BGP ASN.
    providerState String
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    referenceComment String
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    serviceType String
    Provider service type.
    state String
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated String
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    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,
            bandwidth_shape_name: Optional[str] = None,
            bgp_admin_state: Optional[str] = None,
            bgp_ipv6session_state: Optional[str] = None,
            bgp_management: Optional[str] = None,
            bgp_session_state: Optional[str] = None,
            compartment_id: Optional[str] = None,
            cross_connect_mappings: Optional[Sequence[_core.VirtualCircuitCrossConnectMappingArgs]] = None,
            customer_asn: Optional[str] = None,
            customer_bgp_asn: Optional[int] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            gateway_id: Optional[str] = None,
            ip_mtu: Optional[str] = None,
            is_bfd_enabled: Optional[bool] = None,
            is_transport_mode: Optional[bool] = None,
            oracle_bgp_asn: Optional[int] = None,
            provider_service_id: Optional[str] = None,
            provider_service_key_name: Optional[str] = None,
            provider_state: Optional[str] = None,
            public_prefixes: Optional[Sequence[_core.VirtualCircuitPublicPrefixArgs]] = None,
            reference_comment: Optional[str] = None,
            region: Optional[str] = None,
            routing_policies: Optional[Sequence[str]] = None,
            service_type: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            type: 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:
    BandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    BgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    BgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    BgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    BgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    CrossConnectMappings List<VirtualCircuitCrossConnectMapping>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    CustomerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    CustomerBgpAsn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    GatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    IpMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    IsBfdEnabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    IsTransportMode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    OracleBgpAsn int
    The Oracle BGP ASN.
    ProviderServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    ProviderServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    ProviderState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    PublicPrefixes List<VirtualCircuitPublicPrefix>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    ReferenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    Region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    RoutingPolicies List<string>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    ServiceType string
    Provider service type.
    State string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    TimeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    BgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    BgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    BgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    BgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    CrossConnectMappings []VirtualCircuitCrossConnectMappingArgs
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    CustomerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    CustomerBgpAsn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    GatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    IpMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    IsBfdEnabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    IsTransportMode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    OracleBgpAsn int
    The Oracle BGP ASN.
    ProviderServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    ProviderServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    ProviderState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    PublicPrefixes []VirtualCircuitPublicPrefixArgs
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    ReferenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    Region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    RoutingPolicies []string
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    ServiceType string
    Provider service type.
    State string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    TimeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName String
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState String
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    bgpIpv6sessionState String
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement String
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState String
    The state of the Ipv4 BGP session associated with the virtual circuit.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    crossConnectMappings List<VirtualCircuitCrossConnectMapping>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn String
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn Integer
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId String
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu String
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled Boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode Boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    oracleBgpAsn Integer
    The Oracle BGP ASN.
    providerServiceId String
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName String
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    providerState String
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    publicPrefixes List<VirtualCircuitPublicPrefix>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    referenceComment String
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    region String
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies List<String>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    serviceType String
    Provider service type.
    state String
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated String
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    type String

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName string
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState string
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    bgpIpv6sessionState string
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement string
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState string
    The state of the Ipv4 BGP session associated with the virtual circuit.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    crossConnectMappings VirtualCircuitCrossConnectMapping[]
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn string
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn number
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId string
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu string
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    oracleBgpAsn number
    The Oracle BGP ASN.
    providerServiceId string
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName string
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    providerState string
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    publicPrefixes VirtualCircuitPublicPrefix[]
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    referenceComment string
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    region string
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies string[]
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    serviceType string
    Provider service type.
    state string
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated string
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    type string

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidth_shape_name str
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgp_admin_state str
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    bgp_ipv6session_state str
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgp_management str
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgp_session_state str
    The state of the Ipv4 BGP session associated with the virtual circuit.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    cross_connect_mappings Sequence[core.VirtualCircuitCrossConnectMappingArgs]
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customer_asn str
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customer_bgp_asn int
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gateway_id str
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ip_mtu str
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    is_bfd_enabled bool
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    is_transport_mode bool
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    oracle_bgp_asn int
    The Oracle BGP ASN.
    provider_service_id str
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    provider_service_key_name str
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    provider_state str
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    public_prefixes Sequence[core.VirtualCircuitPublicPrefixArgs]
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    reference_comment str
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    region str
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routing_policies Sequence[str]
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    service_type str
    Provider service type.
    state str
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    time_created str
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    type str

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bandwidthShapeName String
    (Updatable) The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
    bgpAdminState String
    (Updatable) Set to ENABLED (the default) to activate the BGP session of the virtual circuit, set to DISABLED to deactivate the virtual circuit.
    bgpIpv6sessionState String
    The state of the Ipv6 BGP session associated with the virtual circuit.
    bgpManagement String
    Deprecated. Instead use the information in FastConnectProviderService.

    Deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.

    bgpSessionState String
    The state of the Ipv4 BGP session associated with the virtual circuit.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the virtual circuit.
    crossConnectMappings List<Property Map>
    (Updatable) Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
    customerAsn String
    (Updatable) Your BGP ASN (either public or private). Provide this value only if there's a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. Example: 12345 (2-byte) or 1587232876 (4-byte)
    customerBgpAsn Number
    (Updatable) Deprecated. Instead use customerAsn. If you specify values for both, the request will be rejected.

    Deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    gatewayId String
    (Updatable) For private virtual circuits only. The OCID of the dynamic routing gateway (DRG) that this virtual circuit uses.
    ipMtu String
    (Updatable) The layer 3 IP MTU to use with this virtual circuit.
    isBfdEnabled Boolean
    (Updatable) Set to true to enable BFD for IPv4 BGP peering, or set to false to disable BFD. If this is not set, the default is false.
    isTransportMode Boolean
    (Updatable) Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic. If this is not set, the default is false.
    oracleBgpAsn Number
    The Oracle BGP ASN.
    providerServiceId String
    The OCID of the service offered by the provider (if you're connecting via a provider). To get a list of the available service offerings, see ListFastConnectProviderServices.
    providerServiceKeyName String
    (Updatable) The service key name offered by the provider (if the customer is connecting via a provider).
    providerState String
    The provider's state in relation to this virtual circuit (if the customer is connecting via a provider). ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.
    publicPrefixes List<Property Map>
    (Updatable) For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection.
    referenceComment String
    Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider).
    region String
    The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: phx
    routingPolicies List<String>
    (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: ORACLE_SERVICE_NETWORK, REGIONAL, MARKET_LEVEL, and GLOBAL. See Route Filtering for details. By default, routing information is shared for all routes in the same market.
    serviceType String
    Provider service type.
    state String
    The virtual circuit's current state. For information about the different states, see FastConnect Overview.
    timeCreated String
    The date and time the virtual circuit was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    type String

    The type of IP addresses used in this virtual circuit. PRIVATE means RFC 1918 addresses (10.0.0.0/8, 172.16/12, and 192.168/16).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    VirtualCircuitCrossConnectMapping, VirtualCircuitCrossConnectMappingArgs

    BgpMd5authKey string
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    CrossConnectOrCrossConnectGroupId string
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    CustomerBgpPeeringIp string

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    CustomerBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    OracleBgpPeeringIp string

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    OracleBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    Vlan int
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200
    BgpMd5authKey string
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    CrossConnectOrCrossConnectGroupId string
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    CustomerBgpPeeringIp string

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    CustomerBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    OracleBgpPeeringIp string

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    OracleBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    Vlan int
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200
    bgpMd5authKey String
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    crossConnectOrCrossConnectGroupId String
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    customerBgpPeeringIp String

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    customerBgpPeeringIpv6 String

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    oracleBgpPeeringIp String

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    oracleBgpPeeringIpv6 String

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    vlan Integer
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200
    bgpMd5authKey string
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    crossConnectOrCrossConnectGroupId string
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    customerBgpPeeringIp string

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    customerBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    oracleBgpPeeringIp string

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    oracleBgpPeeringIpv6 string

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    vlan number
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200
    bgp_md5auth_key str
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    cross_connect_or_cross_connect_group_id str
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    customer_bgp_peering_ip str

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    customer_bgp_peering_ipv6 str

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    oracle_bgp_peering_ip str

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    oracle_bgp_peering_ipv6 str

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    vlan int
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200
    bgpMd5authKey String
    (Updatable) The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don't use BGP MD5 authentication.
    crossConnectOrCrossConnectGroupId String
    (Updatable) The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).
    customerBgpPeeringIp String

    (Updatable) The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask from /28 to /31.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.18/31

    customerBgpPeeringIpv6 String

    (Updatable) IPv6 is currently supported only in the Government Cloud. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from /64 up to /127 are allowed.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

    Example: 2001:db8::1/64

    oracleBgpPeeringIp String

    (Updatable) The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

    Example: 10.0.0.19/31

    oracleBgpPeeringIpv6 String

    (Updatable) IPv6 is currently supported only in the Government Cloud. The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this.

    There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

    Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

    Example: 2001:db8::2/64

    vlan Number
    (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: 200

    VirtualCircuitPublicPrefix, VirtualCircuitPublicPrefixArgs

    CidrBlock string
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.
    CidrBlock string
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.
    cidrBlock String
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.
    cidrBlock string
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.
    cidr_block str
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.
    cidrBlock String
    (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed.

    Import

    VirtualCircuits can be imported using the id, e.g.

    $ pulumi import oci:Core/virtualCircuit:VirtualCircuit test_virtual_circuit "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi