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

oci.Core.RemotePeeringConnection

Explore with Pulumi AI

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

    This resource provides the Remote Peering Connection resource in Oracle Cloud Infrastructure Core service.

    Creates a new remote peering connection (RPC) for the specified DRG.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testRemotePeeringConnection = new oci.core.RemotePeeringConnection("testRemotePeeringConnection", {
        compartmentId: _var.compartment_id,
        drgId: oci_core_drg.test_drg.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.remote_peering_connection_display_name,
        freeformTags: {
            Department: "Finance",
        },
        peerId: oci_core_remote_peering_connection.test_remote_peering_connection2.id,
        peerRegionName: _var.remote_peering_connection_peer_region_name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_remote_peering_connection = oci.core.RemotePeeringConnection("testRemotePeeringConnection",
        compartment_id=var["compartment_id"],
        drg_id=oci_core_drg["test_drg"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["remote_peering_connection_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        peer_id=oci_core_remote_peering_connection["test_remote_peering_connection2"]["id"],
        peer_region_name=var["remote_peering_connection_peer_region_name"])
    
    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.NewRemotePeeringConnection(ctx, "testRemotePeeringConnection", &Core.RemotePeeringConnectionArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DrgId:         pulumi.Any(oci_core_drg.Test_drg.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Remote_peering_connection_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			PeerId:         pulumi.Any(oci_core_remote_peering_connection.Test_remote_peering_connection2.Id),
    			PeerRegionName: pulumi.Any(_var.Remote_peering_connection_peer_region_name),
    		})
    		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 testRemotePeeringConnection = new Oci.Core.RemotePeeringConnection("testRemotePeeringConnection", new()
        {
            CompartmentId = @var.Compartment_id,
            DrgId = oci_core_drg.Test_drg.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Remote_peering_connection_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            PeerId = oci_core_remote_peering_connection.Test_remote_peering_connection2.Id,
            PeerRegionName = @var.Remote_peering_connection_peer_region_name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.RemotePeeringConnection;
    import com.pulumi.oci.Core.RemotePeeringConnectionArgs;
    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 testRemotePeeringConnection = new RemotePeeringConnection("testRemotePeeringConnection", RemotePeeringConnectionArgs.builder()        
                .compartmentId(var_.compartment_id())
                .drgId(oci_core_drg.test_drg().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.remote_peering_connection_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .peerId(oci_core_remote_peering_connection.test_remote_peering_connection2().id())
                .peerRegionName(var_.remote_peering_connection_peer_region_name())
                .build());
    
        }
    }
    
    resources:
      testRemotePeeringConnection:
        type: oci:Core:RemotePeeringConnection
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          drgId: ${oci_core_drg.test_drg.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.remote_peering_connection_display_name}
          freeformTags:
            Department: Finance
          peerId: ${oci_core_remote_peering_connection.test_remote_peering_connection2.id}
          peerRegionName: ${var.remote_peering_connection_peer_region_name}
    

    Create RemotePeeringConnection Resource

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

    Constructor syntax

    new RemotePeeringConnection(name: string, args: RemotePeeringConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def RemotePeeringConnection(resource_name: str,
                                args: RemotePeeringConnectionArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def RemotePeeringConnection(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                compartment_id: Optional[str] = None,
                                drg_id: Optional[str] = None,
                                defined_tags: Optional[Mapping[str, Any]] = None,
                                display_name: Optional[str] = None,
                                freeform_tags: Optional[Mapping[str, Any]] = None,
                                peer_id: Optional[str] = None,
                                peer_region_name: Optional[str] = None)
    func NewRemotePeeringConnection(ctx *Context, name string, args RemotePeeringConnectionArgs, opts ...ResourceOption) (*RemotePeeringConnection, error)
    public RemotePeeringConnection(string name, RemotePeeringConnectionArgs args, CustomResourceOptions? opts = null)
    public RemotePeeringConnection(String name, RemotePeeringConnectionArgs args)
    public RemotePeeringConnection(String name, RemotePeeringConnectionArgs args, CustomResourceOptions options)
    
    type: oci:Core:RemotePeeringConnection
    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 RemotePeeringConnectionArgs
    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 RemotePeeringConnectionArgs
    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 RemotePeeringConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RemotePeeringConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RemotePeeringConnectionArgs
    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 remotePeeringConnectionResource = new Oci.Core.RemotePeeringConnection("remotePeeringConnectionResource", new()
    {
        CompartmentId = "string",
        DrgId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        PeerId = "string",
        PeerRegionName = "string",
    });
    
    example, err := Core.NewRemotePeeringConnection(ctx, "remotePeeringConnectionResource", &Core.RemotePeeringConnectionArgs{
    	CompartmentId: pulumi.String("string"),
    	DrgId:         pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	PeerId:         pulumi.String("string"),
    	PeerRegionName: pulumi.String("string"),
    })
    
    var remotePeeringConnectionResource = new RemotePeeringConnection("remotePeeringConnectionResource", RemotePeeringConnectionArgs.builder()        
        .compartmentId("string")
        .drgId("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .peerId("string")
        .peerRegionName("string")
        .build());
    
    remote_peering_connection_resource = oci.core.RemotePeeringConnection("remotePeeringConnectionResource",
        compartment_id="string",
        drg_id="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        peer_id="string",
        peer_region_name="string")
    
    const remotePeeringConnectionResource = new oci.core.RemotePeeringConnection("remotePeeringConnectionResource", {
        compartmentId: "string",
        drgId: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        peerId: "string",
        peerRegionName: "string",
    });
    
    type: oci:Core:RemotePeeringConnection
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        drgId: string
        freeformTags:
            string: any
        peerId: string
        peerRegionName: string
    

    RemotePeeringConnection 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 RemotePeeringConnection resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the RPC.
    DrgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    PeerId string
    The OCID of the RPC you want to peer with.
    PeerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RPC.
    DrgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    PeerId string
    The OCID of the RPC you want to peer with.
    PeerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RPC.
    drgId String
    The OCID of the DRG the RPC belongs to.
    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"}
    peerId String
    The OCID of the RPC you want to peer with.
    peerRegionName String

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RPC.
    drgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    peerId string
    The OCID of the RPC you want to peer with.
    peerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RPC.
    drg_id str
    The OCID of the DRG the RPC belongs to.
    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"}
    peer_id str
    The OCID of the RPC you want to peer with.
    peer_region_name str

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RPC.
    drgId String
    The OCID of the DRG the RPC belongs to.
    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"}
    peerId String
    The OCID of the RPC you want to peer with.
    peerRegionName String

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

    ** 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 RemotePeeringConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsCrossTenancyPeering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    PeerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    PeeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    State string
    The RPC's current lifecycle state.
    TimeCreated string
    The date and time the RPC 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.
    IsCrossTenancyPeering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    PeerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    PeeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    State string
    The RPC's current lifecycle state.
    TimeCreated string
    The date and time the RPC 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.
    isCrossTenancyPeering Boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerTenancyId String
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus String
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state String
    The RPC's current lifecycle state.
    timeCreated String
    The date and time the RPC 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.
    isCrossTenancyPeering boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state string
    The RPC's current lifecycle state.
    timeCreated string
    The date and time the RPC 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.
    is_cross_tenancy_peering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peer_tenancy_id str
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peering_status str
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state str
    The RPC's current lifecycle state.
    time_created str
    The date and time the RPC 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.
    isCrossTenancyPeering Boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerTenancyId String
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus String
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state String
    The RPC's current lifecycle state.
    timeCreated String
    The date and time the RPC was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing RemotePeeringConnection Resource

    Get an existing RemotePeeringConnection 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?: RemotePeeringConnectionState, opts?: CustomResourceOptions): RemotePeeringConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            drg_id: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_cross_tenancy_peering: Optional[bool] = None,
            peer_id: Optional[str] = None,
            peer_region_name: Optional[str] = None,
            peer_tenancy_id: Optional[str] = None,
            peering_status: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> RemotePeeringConnection
    func GetRemotePeeringConnection(ctx *Context, name string, id IDInput, state *RemotePeeringConnectionState, opts ...ResourceOption) (*RemotePeeringConnection, error)
    public static RemotePeeringConnection Get(string name, Input<string> id, RemotePeeringConnectionState? state, CustomResourceOptions? opts = null)
    public static RemotePeeringConnection get(String name, Output<String> id, RemotePeeringConnectionState 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:
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the RPC.
    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.
    DrgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    IsCrossTenancyPeering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    PeerId string
    The OCID of the RPC you want to peer with.
    PeerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    PeerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    PeeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    State string
    The RPC's current lifecycle state.
    TimeCreated string
    The date and time the RPC 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 RPC.
    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.
    DrgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    IsCrossTenancyPeering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    PeerId string
    The OCID of the RPC you want to peer with.
    PeerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    PeerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    PeeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    State string
    The RPC's current lifecycle state.
    TimeCreated string
    The date and time the RPC 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 RPC.
    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.
    drgId String
    The OCID of the DRG the RPC belongs to.
    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"}
    isCrossTenancyPeering Boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerId String
    The OCID of the RPC you want to peer with.
    peerRegionName String

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    peerTenancyId String
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus String
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state String
    The RPC's current lifecycle state.
    timeCreated String
    The date and time the RPC 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 RPC.
    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.
    drgId string
    The OCID of the DRG the RPC belongs to.
    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"}
    isCrossTenancyPeering boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerId string
    The OCID of the RPC you want to peer with.
    peerRegionName string

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    peerTenancyId string
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus string
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state string
    The RPC's current lifecycle state.
    timeCreated string
    The date and time the RPC 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 RPC.
    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.
    drg_id str
    The OCID of the DRG the RPC belongs to.
    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"}
    is_cross_tenancy_peering bool
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peer_id str
    The OCID of the RPC you want to peer with.
    peer_region_name str

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    peer_tenancy_id str
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peering_status str
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state str
    The RPC's current lifecycle state.
    time_created str
    The date and time the RPC 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 RPC.
    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.
    drgId String
    The OCID of the DRG the RPC belongs to.
    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"}
    isCrossTenancyPeering Boolean
    Whether the VCN at the other end of the peering is in a different tenancy. Example: false
    peerId String
    The OCID of the RPC you want to peer with.
    peerRegionName String

    The name of the region that contains the RPC you want to peer with. Example: us-ashburn-1

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

    peerTenancyId String
    If this RPC is peered, this value is the OCID of the other RPC's tenancy.
    peeringStatus String
    Whether the RPC is peered with another RPC. NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.
    state String
    The RPC's current lifecycle state.
    timeCreated String
    The date and time the RPC was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Import

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

    $ pulumi import oci:Core/remotePeeringConnection:RemotePeeringConnection test_remote_peering_connection "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