1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. Core
  6. CrossConnectGroup
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    This resource provides the Cross Connect Group resource in Oracle Cloud Infrastructure Core service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/CrossConnectGroup

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/

    Creates a new cross-connect group 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 cross-connect group to reside. If you’re not sure which compartment to use, put the cross-connect group in the same compartment with your VCN. 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 cross-connect group. It does not have to be unique, and you can change it. Avoid entering confidential information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCrossConnectGroup = new oci.core.CrossConnectGroup("test_cross_connect_group", {
        compartmentId: compartmentId,
        customerReferenceName: crossConnectGroupCustomerReferenceName,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: crossConnectGroupDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        interfaceDownTimerValueInMilliseconds: Number(crossConnectGroupInterfaceDownTimerValueInMilliseconds),
        isInterfaceHoldTimerEnabled: crossConnectGroupIsInterfaceHoldTimerEnabled === "true",
        isQosEnabled: crossConnectGroupIsQosEnabled === "true",
        macsecProperties: {
            state: crossConnectGroupMacsecPropertiesState,
            encryptionCipher: crossConnectGroupMacsecPropertiesEncryptionCipher,
            isUnprotectedTrafficAllowed: crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed === "true",
            primaryKey: {
                connectivityAssociationKeySecretId: testSecret.id,
                connectivityAssociationNameSecretId: testSecret.id,
            },
        },
        minimumLinks: Number(crossConnectGroupMinimumLinks),
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_cross_connect_group = oci.core.CrossConnectGroup("test_cross_connect_group",
        compartment_id=compartment_id,
        customer_reference_name=cross_connect_group_customer_reference_name,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=cross_connect_group_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        interface_down_timer_value_in_milliseconds=int(cross_connect_group_interface_down_timer_value_in_milliseconds),
        is_interface_hold_timer_enabled=cross_connect_group_is_interface_hold_timer_enabled == "true",
        is_qos_enabled=cross_connect_group_is_qos_enabled == "true",
        macsec_properties={
            "state": cross_connect_group_macsec_properties_state,
            "encryption_cipher": cross_connect_group_macsec_properties_encryption_cipher,
            "is_unprotected_traffic_allowed": cross_connect_group_macsec_properties_is_unprotected_traffic_allowed == "true",
            "primary_key": {
                "connectivity_association_key_secret_id": test_secret["id"],
                "connectivity_association_name_secret_id": test_secret["id"],
            },
        },
        minimum_links=int(cross_connect_group_minimum_links))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := core.NewCrossConnectGroup(ctx, "test_cross_connect_group", &core.CrossConnectGroupArgs{
    			CompartmentId:         pulumi.Any(compartmentId),
    			CustomerReferenceName: pulumi.Any(crossConnectGroupCustomerReferenceName),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(crossConnectGroupDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			InterfaceDownTimerValueInMilliseconds: pulumi.Any(crossConnectGroupInterfaceDownTimerValueInMilliseconds),
    			IsInterfaceHoldTimerEnabled:           pulumi.Any(crossConnectGroupIsInterfaceHoldTimerEnabled),
    			IsQosEnabled:                          pulumi.Any(crossConnectGroupIsQosEnabled),
    			MacsecProperties: &core.CrossConnectGroupMacsecPropertiesArgs{
    				State:                       pulumi.Any(crossConnectGroupMacsecPropertiesState),
    				EncryptionCipher:            pulumi.Any(crossConnectGroupMacsecPropertiesEncryptionCipher),
    				IsUnprotectedTrafficAllowed: pulumi.Any(crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed),
    				PrimaryKey: &core.CrossConnectGroupMacsecPropertiesPrimaryKeyArgs{
    					ConnectivityAssociationKeySecretId:  pulumi.Any(testSecret.Id),
    					ConnectivityAssociationNameSecretId: pulumi.Any(testSecret.Id),
    				},
    			},
    			MinimumLinks: pulumi.Any(crossConnectGroupMinimumLinks),
    		})
    		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 testCrossConnectGroup = new Oci.Core.CrossConnectGroup("test_cross_connect_group", new()
        {
            CompartmentId = compartmentId,
            CustomerReferenceName = crossConnectGroupCustomerReferenceName,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = crossConnectGroupDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            InterfaceDownTimerValueInMilliseconds = crossConnectGroupInterfaceDownTimerValueInMilliseconds,
            IsInterfaceHoldTimerEnabled = crossConnectGroupIsInterfaceHoldTimerEnabled,
            IsQosEnabled = crossConnectGroupIsQosEnabled,
            MacsecProperties = new Oci.Core.Inputs.CrossConnectGroupMacsecPropertiesArgs
            {
                State = crossConnectGroupMacsecPropertiesState,
                EncryptionCipher = crossConnectGroupMacsecPropertiesEncryptionCipher,
                IsUnprotectedTrafficAllowed = crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed,
                PrimaryKey = new Oci.Core.Inputs.CrossConnectGroupMacsecPropertiesPrimaryKeyArgs
                {
                    ConnectivityAssociationKeySecretId = testSecret.Id,
                    ConnectivityAssociationNameSecretId = testSecret.Id,
                },
            },
            MinimumLinks = crossConnectGroupMinimumLinks,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.CrossConnectGroup;
    import com.pulumi.oci.Core.CrossConnectGroupArgs;
    import com.pulumi.oci.Core.inputs.CrossConnectGroupMacsecPropertiesArgs;
    import com.pulumi.oci.Core.inputs.CrossConnectGroupMacsecPropertiesPrimaryKeyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testCrossConnectGroup = new CrossConnectGroup("testCrossConnectGroup", CrossConnectGroupArgs.builder()
                .compartmentId(compartmentId)
                .customerReferenceName(crossConnectGroupCustomerReferenceName)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(crossConnectGroupDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .interfaceDownTimerValueInMilliseconds(crossConnectGroupInterfaceDownTimerValueInMilliseconds)
                .isInterfaceHoldTimerEnabled(crossConnectGroupIsInterfaceHoldTimerEnabled)
                .isQosEnabled(crossConnectGroupIsQosEnabled)
                .macsecProperties(CrossConnectGroupMacsecPropertiesArgs.builder()
                    .state(crossConnectGroupMacsecPropertiesState)
                    .encryptionCipher(crossConnectGroupMacsecPropertiesEncryptionCipher)
                    .isUnprotectedTrafficAllowed(crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed)
                    .primaryKey(CrossConnectGroupMacsecPropertiesPrimaryKeyArgs.builder()
                        .connectivityAssociationKeySecretId(testSecret.id())
                        .connectivityAssociationNameSecretId(testSecret.id())
                        .build())
                    .build())
                .minimumLinks(crossConnectGroupMinimumLinks)
                .build());
    
        }
    }
    
    resources:
      testCrossConnectGroup:
        type: oci:Core:CrossConnectGroup
        name: test_cross_connect_group
        properties:
          compartmentId: ${compartmentId}
          customerReferenceName: ${crossConnectGroupCustomerReferenceName}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${crossConnectGroupDisplayName}
          freeformTags:
            Department: Finance
          interfaceDownTimerValueInMilliseconds: ${crossConnectGroupInterfaceDownTimerValueInMilliseconds}
          isInterfaceHoldTimerEnabled: ${crossConnectGroupIsInterfaceHoldTimerEnabled}
          isQosEnabled: ${crossConnectGroupIsQosEnabled}
          macsecProperties:
            state: ${crossConnectGroupMacsecPropertiesState}
            encryptionCipher: ${crossConnectGroupMacsecPropertiesEncryptionCipher}
            isUnprotectedTrafficAllowed: ${crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed}
            primaryKey:
              connectivityAssociationKeySecretId: ${testSecret.id}
              connectivityAssociationNameSecretId: ${testSecret.id}
          minimumLinks: ${crossConnectGroupMinimumLinks}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_core_crossconnectgroup" "test_cross_connect_group" {
      compartment_id          = compartmentId
      customer_reference_name = crossConnectGroupCustomerReferenceName
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      display_name = crossConnectGroupDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
      interface_down_timer_value_in_milliseconds = crossConnectGroupInterfaceDownTimerValueInMilliseconds
      is_interface_hold_timer_enabled            = crossConnectGroupIsInterfaceHoldTimerEnabled
      is_qos_enabled                             = crossConnectGroupIsQosEnabled
      macsec_properties = {
        state                          = crossConnectGroupMacsecPropertiesState
        encryption_cipher              = crossConnectGroupMacsecPropertiesEncryptionCipher
        is_unprotected_traffic_allowed = crossConnectGroupMacsecPropertiesIsUnprotectedTrafficAllowed
        primary_key = {
          connectivity_association_key_secret_id  = testSecret.id
          connectivity_association_name_secret_id = testSecret.id
        }
      }
      #Required
      #Optional
      #Required
      minimum_links = crossConnectGroupMinimumLinks
    }
    

    Create CrossConnectGroup Resource

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

    Constructor syntax

    new CrossConnectGroup(name: string, args: CrossConnectGroupArgs, opts?: CustomResourceOptions);
    @overload
    def CrossConnectGroup(resource_name: str,
                          args: CrossConnectGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CrossConnectGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          customer_reference_name: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, str]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, str]] = None,
                          interface_down_timer_value_in_milliseconds: Optional[int] = None,
                          is_interface_hold_timer_enabled: Optional[bool] = None,
                          is_qos_enabled: Optional[bool] = None,
                          macsec_properties: Optional[CrossConnectGroupMacsecPropertiesArgs] = None,
                          minimum_links: Optional[int] = None)
    func NewCrossConnectGroup(ctx *Context, name string, args CrossConnectGroupArgs, opts ...ResourceOption) (*CrossConnectGroup, error)
    public CrossConnectGroup(string name, CrossConnectGroupArgs args, CustomResourceOptions? opts = null)
    public CrossConnectGroup(String name, CrossConnectGroupArgs args)
    public CrossConnectGroup(String name, CrossConnectGroupArgs args, CustomResourceOptions options)
    
    type: oci:Core:CrossConnectGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_core_cross_connect_group" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CrossConnectGroupArgs
    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 CrossConnectGroupArgs
    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 CrossConnectGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CrossConnectGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CrossConnectGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var crossConnectGroupResource = new Oci.Core.CrossConnectGroup("crossConnectGroupResource", new()
    {
        CompartmentId = "string",
        CustomerReferenceName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        InterfaceDownTimerValueInMilliseconds = 0,
        IsInterfaceHoldTimerEnabled = false,
        IsQosEnabled = false,
        MacsecProperties = new Oci.Core.Inputs.CrossConnectGroupMacsecPropertiesArgs
        {
            State = "string",
            EncryptionCipher = "string",
            IsUnprotectedTrafficAllowed = false,
            PrimaryKey = new Oci.Core.Inputs.CrossConnectGroupMacsecPropertiesPrimaryKeyArgs
            {
                ConnectivityAssociationKeySecretId = "string",
                ConnectivityAssociationNameSecretId = "string",
                ConnectivityAssociationKeySecretVersion = "string",
                ConnectivityAssociationNameSecretVersion = "string",
            },
        },
        MinimumLinks = 0,
    });
    
    example, err := core.NewCrossConnectGroup(ctx, "crossConnectGroupResource", &core.CrossConnectGroupArgs{
    	CompartmentId:         pulumi.String("string"),
    	CustomerReferenceName: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	InterfaceDownTimerValueInMilliseconds: pulumi.Int(0),
    	IsInterfaceHoldTimerEnabled:           pulumi.Bool(false),
    	IsQosEnabled:                          pulumi.Bool(false),
    	MacsecProperties: &core.CrossConnectGroupMacsecPropertiesArgs{
    		State:                       pulumi.String("string"),
    		EncryptionCipher:            pulumi.String("string"),
    		IsUnprotectedTrafficAllowed: pulumi.Bool(false),
    		PrimaryKey: &core.CrossConnectGroupMacsecPropertiesPrimaryKeyArgs{
    			ConnectivityAssociationKeySecretId:       pulumi.String("string"),
    			ConnectivityAssociationNameSecretId:      pulumi.String("string"),
    			ConnectivityAssociationKeySecretVersion:  pulumi.String("string"),
    			ConnectivityAssociationNameSecretVersion: pulumi.String("string"),
    		},
    	},
    	MinimumLinks: pulumi.Int(0),
    })
    
    resource "oci_core_cross_connect_group" "crossConnectGroupResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id          = "string"
      customer_reference_name = "string"
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
      interface_down_timer_value_in_milliseconds = 0
      is_interface_hold_timer_enabled            = false
      is_qos_enabled                             = false
      macsec_properties = {
        state                          = "string"
        encryption_cipher              = "string"
        is_unprotected_traffic_allowed = false
        primary_key = {
          connectivity_association_key_secret_id       = "string"
          connectivity_association_name_secret_id      = "string"
          connectivity_association_key_secret_version  = "string"
          connectivity_association_name_secret_version = "string"
        }
      }
      minimum_links = 0
    }
    
    var crossConnectGroupResource = new CrossConnectGroup("crossConnectGroupResource", CrossConnectGroupArgs.builder()
        .compartmentId("string")
        .customerReferenceName("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .interfaceDownTimerValueInMilliseconds(0)
        .isInterfaceHoldTimerEnabled(false)
        .isQosEnabled(false)
        .macsecProperties(CrossConnectGroupMacsecPropertiesArgs.builder()
            .state("string")
            .encryptionCipher("string")
            .isUnprotectedTrafficAllowed(false)
            .primaryKey(CrossConnectGroupMacsecPropertiesPrimaryKeyArgs.builder()
                .connectivityAssociationKeySecretId("string")
                .connectivityAssociationNameSecretId("string")
                .connectivityAssociationKeySecretVersion("string")
                .connectivityAssociationNameSecretVersion("string")
                .build())
            .build())
        .minimumLinks(0)
        .build());
    
    cross_connect_group_resource = oci.core.CrossConnectGroup("crossConnectGroupResource",
        compartment_id="string",
        customer_reference_name="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        interface_down_timer_value_in_milliseconds=0,
        is_interface_hold_timer_enabled=False,
        is_qos_enabled=False,
        macsec_properties={
            "state": "string",
            "encryption_cipher": "string",
            "is_unprotected_traffic_allowed": False,
            "primary_key": {
                "connectivity_association_key_secret_id": "string",
                "connectivity_association_name_secret_id": "string",
                "connectivity_association_key_secret_version": "string",
                "connectivity_association_name_secret_version": "string",
            },
        },
        minimum_links=0)
    
    const crossConnectGroupResource = new oci.core.CrossConnectGroup("crossConnectGroupResource", {
        compartmentId: "string",
        customerReferenceName: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        interfaceDownTimerValueInMilliseconds: 0,
        isInterfaceHoldTimerEnabled: false,
        isQosEnabled: false,
        macsecProperties: {
            state: "string",
            encryptionCipher: "string",
            isUnprotectedTrafficAllowed: false,
            primaryKey: {
                connectivityAssociationKeySecretId: "string",
                connectivityAssociationNameSecretId: "string",
                connectivityAssociationKeySecretVersion: "string",
                connectivityAssociationNameSecretVersion: "string",
            },
        },
        minimumLinks: 0,
    });
    
    type: oci:Core:CrossConnectGroup
    properties:
        compartmentId: string
        customerReferenceName: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        interfaceDownTimerValueInMilliseconds: 0
        isInterfaceHoldTimerEnabled: false
        isQosEnabled: false
        macsecProperties:
            encryptionCipher: string
            isUnprotectedTrafficAllowed: false
            primaryKey:
                connectivityAssociationKeySecretId: string
                connectivityAssociationKeySecretVersion: string
                connectivityAssociationNameSecretId: string
                connectivityAssociationNameSecretVersion: string
            state: string
        minimumLinks: 0
    

    CrossConnectGroup Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CrossConnectGroup resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    CustomerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    DefinedTags Dictionary<string, string>
    (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, string>
    (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"}
    InterfaceDownTimerValueInMilliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    IsInterfaceHoldTimerEnabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    IsQosEnabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    MacsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    MinimumLinks int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    CustomerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    DefinedTags map[string]string
    (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]string
    (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"}
    InterfaceDownTimerValueInMilliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    IsInterfaceHoldTimerEnabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    IsQosEnabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    MacsecProperties CrossConnectGroupMacsecPropertiesArgs
    (Updatable) Properties used to configure MACsec (if capable).
    MinimumLinks int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    compartment_id string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customer_reference_name string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    defined_tags map(string)
    (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 string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (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"}
    interface_down_timer_value_in_milliseconds number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    is_interface_hold_timer_enabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    is_qos_enabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsec_properties object
    (Updatable) Properties used to configure MACsec (if capable).
    minimum_links number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName String
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags Map<String,String>
    (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,String>
    (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"}
    interfaceDownTimerValueInMilliseconds Integer
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled Boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled Boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks Integer

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    compartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags {[key: string]: string}
    (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]: string}
    (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"}
    interfaceDownTimerValueInMilliseconds number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    compartment_id str
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customer_reference_name str
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    defined_tags Mapping[str, str]
    (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, str]
    (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"}
    interface_down_timer_value_in_milliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    is_interface_hold_timer_enabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    is_qos_enabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsec_properties CrossConnectGroupMacsecPropertiesArgs
    (Updatable) Properties used to configure MACsec (if capable).
    minimum_links int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName String
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags Map<String>
    (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>
    (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"}
    interfaceDownTimerValueInMilliseconds Number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled Boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled Boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties Property Map
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks Number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    OciLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    OciPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    State string
    The cross-connect group's current state.
    TimeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    OciLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    OciPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    State string
    The cross-connect group's current state.
    TimeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    oci_logical_device_name string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    oci_physical_device_name string
    The FastConnect device that terminates the physical connection.
    state string
    The cross-connect group's current state.
    time_created string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    ociLogicalDeviceName String
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName String
    The FastConnect device that terminates the physical connection.
    state String
    The cross-connect group's current state.
    timeCreated String
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    ociLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    state string
    The cross-connect group's current state.
    timeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    oci_logical_device_name str
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    oci_physical_device_name str
    The FastConnect device that terminates the physical connection.
    state str
    The cross-connect group's current state.
    time_created str
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    ociLogicalDeviceName String
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName String
    The FastConnect device that terminates the physical connection.
    state String
    The cross-connect group's current state.
    timeCreated String
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing CrossConnectGroup Resource

    Get an existing CrossConnectGroup 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?: CrossConnectGroupState, opts?: CustomResourceOptions): CrossConnectGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            customer_reference_name: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            interface_down_timer_value_in_milliseconds: Optional[int] = None,
            is_interface_hold_timer_enabled: Optional[bool] = None,
            is_qos_enabled: Optional[bool] = None,
            macsec_properties: Optional[CrossConnectGroupMacsecPropertiesArgs] = None,
            minimum_links: Optional[int] = None,
            oci_logical_device_name: Optional[str] = None,
            oci_physical_device_name: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> CrossConnectGroup
    func GetCrossConnectGroup(ctx *Context, name string, id IDInput, state *CrossConnectGroupState, opts ...ResourceOption) (*CrossConnectGroup, error)
    public static CrossConnectGroup Get(string name, Input<string> id, CrossConnectGroupState? state, CustomResourceOptions? opts = null)
    public static CrossConnectGroup get(String name, Output<String> id, CrossConnectGroupState state, CustomResourceOptions options)
    resources:  _:    type: oci:Core:CrossConnectGroup    get:      id: ${id}
    import {
      to = oci_core_cross_connect_group.example
      id = "${id}"
    }
    
    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:
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    CustomerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    DefinedTags Dictionary<string, string>
    (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, string>
    (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"}
    InterfaceDownTimerValueInMilliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    IsInterfaceHoldTimerEnabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    IsQosEnabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    MacsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    MinimumLinks int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    OciLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    OciPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    State string
    The cross-connect group's current state.
    TimeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    CustomerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    DefinedTags map[string]string
    (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]string
    (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"}
    InterfaceDownTimerValueInMilliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    IsInterfaceHoldTimerEnabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    IsQosEnabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    MacsecProperties CrossConnectGroupMacsecPropertiesArgs
    (Updatable) Properties used to configure MACsec (if capable).
    MinimumLinks int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    OciLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    OciPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    State string
    The cross-connect group's current state.
    TimeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customer_reference_name string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    defined_tags map(string)
    (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 string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (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"}
    interface_down_timer_value_in_milliseconds number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    is_interface_hold_timer_enabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    is_qos_enabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsec_properties object
    (Updatable) Properties used to configure MACsec (if capable).
    minimum_links number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    oci_logical_device_name string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    oci_physical_device_name string
    The FastConnect device that terminates the physical connection.
    state string
    The cross-connect group's current state.
    time_created string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName String
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags Map<String,String>
    (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,String>
    (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"}
    interfaceDownTimerValueInMilliseconds Integer
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled Boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled Boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks Integer

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    ociLogicalDeviceName String
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName String
    The FastConnect device that terminates the physical connection.
    state String
    The cross-connect group's current state.
    timeCreated String
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName string
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags {[key: string]: string}
    (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]: string}
    (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"}
    interfaceDownTimerValueInMilliseconds number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties CrossConnectGroupMacsecProperties
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    ociLogicalDeviceName string
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName string
    The FastConnect device that terminates the physical connection.
    state string
    The cross-connect group's current state.
    timeCreated string
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customer_reference_name str
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    defined_tags Mapping[str, str]
    (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, str]
    (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"}
    interface_down_timer_value_in_milliseconds int
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    is_interface_hold_timer_enabled bool
    (Updatable) The flag to enable or disable the down timer for the interface.
    is_qos_enabled bool
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsec_properties CrossConnectGroupMacsecPropertiesArgs
    (Updatable) Properties used to configure MACsec (if capable).
    minimum_links int

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    oci_logical_device_name str
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    oci_physical_device_name str
    The FastConnect device that terminates the physical connection.
    state str
    The cross-connect group's current state.
    time_created str
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the compartment to contain the cross-connect group.
    customerReferenceName String
    (Updatable) A reference name or identifier for the physical fiber connection that this cross-connect group uses.
    definedTags Map<String>
    (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>
    (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"}
    interfaceDownTimerValueInMilliseconds Number
    (Updatable) The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
    isInterfaceHoldTimerEnabled Boolean
    (Updatable) The flag to enable or disable the down timer for the interface.
    isQosEnabled Boolean
    (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
    macsecProperties Property Map
    (Updatable) Properties used to configure MACsec (if capable).
    minimumLinks Number

    (Updatable) (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered operational. During create cross-connect-group operation this value can only be set to 1 (If not specified, this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not exceed the total number of cross-connects in the cross-connect group.

    ** 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

    ociLogicalDeviceName String
    The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection.
    ociPhysicalDeviceName String
    The FastConnect device that terminates the physical connection.
    state String
    The cross-connect group's current state.
    timeCreated String
    The date and time the cross-connect group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    CrossConnectGroupMacsecProperties, CrossConnectGroupMacsecPropertiesArgs

    State string
    (Updatable) Indicates whether or not MACsec is enabled.
    EncryptionCipher string
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    IsUnprotectedTrafficAllowed bool
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    PrimaryKey CrossConnectGroupMacsecPropertiesPrimaryKey
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    State string
    (Updatable) Indicates whether or not MACsec is enabled.
    EncryptionCipher string
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    IsUnprotectedTrafficAllowed bool
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    PrimaryKey CrossConnectGroupMacsecPropertiesPrimaryKey
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    state string
    (Updatable) Indicates whether or not MACsec is enabled.
    encryption_cipher string
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    is_unprotected_traffic_allowed bool
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    primary_key object
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    state String
    (Updatable) Indicates whether or not MACsec is enabled.
    encryptionCipher String
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    isUnprotectedTrafficAllowed Boolean
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    primaryKey CrossConnectGroupMacsecPropertiesPrimaryKey
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    state string
    (Updatable) Indicates whether or not MACsec is enabled.
    encryptionCipher string
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    isUnprotectedTrafficAllowed boolean
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    primaryKey CrossConnectGroupMacsecPropertiesPrimaryKey
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    state str
    (Updatable) Indicates whether or not MACsec is enabled.
    encryption_cipher str
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    is_unprotected_traffic_allowed bool
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    primary_key CrossConnectGroupMacsecPropertiesPrimaryKey
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.
    state String
    (Updatable) Indicates whether or not MACsec is enabled.
    encryptionCipher String
    (Updatable) Type of encryption cipher suite to use for the MACsec connection.
    isUnprotectedTrafficAllowed Boolean
    (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
    primaryKey Property Map
    (Updatable) Defines the secret OCIDs held in Vault that represent the MACsec key.

    CrossConnectGroupMacsecPropertiesPrimaryKey, CrossConnectGroupMacsecPropertiesPrimaryKeyArgs

    ConnectivityAssociationKeySecretId string
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    ConnectivityAssociationNameSecretId string
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    ConnectivityAssociationKeySecretVersion string

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    ConnectivityAssociationNameSecretVersion string

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    ConnectivityAssociationKeySecretId string
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    ConnectivityAssociationNameSecretId string
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    ConnectivityAssociationKeySecretVersion string

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    ConnectivityAssociationNameSecretVersion string

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivity_association_key_secret_id string
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    connectivity_association_name_secret_id string
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    connectivity_association_key_secret_version string

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivity_association_name_secret_version string

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationKeySecretId String
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    connectivityAssociationNameSecretId String
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    connectivityAssociationKeySecretVersion String

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationNameSecretVersion String

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationKeySecretId string
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    connectivityAssociationNameSecretId string
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    connectivityAssociationKeySecretVersion string

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationNameSecretVersion string

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivity_association_key_secret_id str
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    connectivity_association_name_secret_id str
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    connectivity_association_key_secret_version str

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivity_association_name_secret_version str

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationKeySecretId String
    (Updatable) Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
    connectivityAssociationNameSecretId String
    (Updatable) Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
    connectivityAssociationKeySecretVersion String

    (Updatable) The secret version of the connectivityAssociationKeySecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    connectivityAssociationNameSecretVersion String

    (Updatable) The secret version of the connectivityAssociationNameSecretId secret in Vault.

    NOTE: Only the latest secret version will be used.

    Import

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

    $ pulumi import oci:Core/crossConnectGroup:CrossConnectGroup test_cross_connect_group "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 oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial