oci.Core.RemotePeeringConnection
Explore with Pulumi AI
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("test_remote_peering_connection", {
compartmentId: compartmentId,
drgId: testDrg.id,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: remotePeeringConnectionDisplayName,
freeformTags: {
Department: "Finance",
},
peerId: testRemotePeeringConnection2.id,
peerRegionName: remotePeeringConnectionPeerRegionName,
});
import pulumi
import pulumi_oci as oci
test_remote_peering_connection = oci.core.RemotePeeringConnection("test_remote_peering_connection",
compartment_id=compartment_id,
drg_id=test_drg["id"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=remote_peering_connection_display_name,
freeform_tags={
"Department": "Finance",
},
peer_id=test_remote_peering_connection2["id"],
peer_region_name=remote_peering_connection_peer_region_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.NewRemotePeeringConnection(ctx, "test_remote_peering_connection", &Core.RemotePeeringConnectionArgs{
CompartmentId: pulumi.Any(compartmentId),
DrgId: pulumi.Any(testDrg.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(remotePeeringConnectionDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
PeerId: pulumi.Any(testRemotePeeringConnection2.Id),
PeerRegionName: pulumi.Any(remotePeeringConnectionPeerRegionName),
})
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("test_remote_peering_connection", new()
{
CompartmentId = compartmentId,
DrgId = testDrg.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = remotePeeringConnectionDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
PeerId = testRemotePeeringConnection2.Id,
PeerRegionName = remotePeeringConnectionPeerRegionName,
});
});
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(compartmentId)
.drgId(testDrg.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(remotePeeringConnectionDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.peerId(testRemotePeeringConnection2.id())
.peerRegionName(remotePeeringConnectionPeerRegionName)
.build());
}
}
resources:
testRemotePeeringConnection:
type: oci:Core:RemotePeeringConnection
name: test_remote_peering_connection
properties:
compartmentId: ${compartmentId}
drgId: ${testDrg.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${remotePeeringConnectionDisplayName}
freeformTags:
Department: Finance
peerId: ${testRemotePeeringConnection2.id}
peerRegionName: ${remotePeeringConnectionPeerRegionName}
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, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
Constructor 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", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
PeerId = "string",
PeerRegionName = "string",
});
example, err := Core.NewRemotePeeringConnection(ctx, "remotePeeringConnectionResource", &Core.RemotePeeringConnectionArgs{
CompartmentId: pulumi.String("string"),
DrgId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PeerId: pulumi.String("string"),
PeerRegionName: pulumi.String("string"),
})
var remotePeeringConnectionResource = new RemotePeeringConnection("remotePeeringConnectionResource", RemotePeeringConnectionArgs.builder()
.compartmentId("string")
.drgId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.peerId("string")
.peerRegionName("string")
.build());
remote_peering_connection_resource = oci.core.RemotePeeringConnection("remotePeeringConnectionResource",
compartment_id="string",
drg_id="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
peer_id="string",
peer_region_name="string")
const remotePeeringConnectionResource = new oci.core.RemotePeeringConnection("remotePeeringConnectionResource", {
compartmentId: "string",
drgId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
peerId: "string",
peerRegionName: "string",
});
type: oci:Core:RemotePeeringConnection
properties:
compartmentId: string
definedTags:
string: string
displayName: string
drgId: string
freeformTags:
string: string
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:
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the RPC.
- Drg
Id string - The OCID of the DRG the RPC belongs to.
- 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- Peer
Id string - The OCID of the RPC you want to peer with.
- Peer
Region stringName 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 string - (Updatable) The OCID of the compartment to contain the RPC.
- Drg
Id string - The OCID of the DRG the RPC belongs to.
- 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- Peer
Id string - The OCID of the RPC you want to peer with.
- Peer
Region stringName 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 String - (Updatable) The OCID of the compartment to contain the RPC.
- drg
Id String - The OCID of the DRG the RPC belongs to.
- 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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- peer
Id String - The OCID of the RPC you want to peer with.
- peer
Region StringName 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 string - (Updatable) The OCID of the compartment to contain the RPC.
- drg
Id string - The OCID of the DRG the RPC belongs to.
- {[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"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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"}
- peer
Id string - The OCID of the RPC you want to peer with.
- peer
Region stringName 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.
- 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.
- 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"}
- peer_
id str - The OCID of the RPC you want to peer with.
- peer_
region_ strname 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 String - (Updatable) The OCID of the compartment to contain the RPC.
- drg
Id String - The OCID of the DRG the RPC belongs to.
- 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.
- 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"}
- peer
Id String - The OCID of the RPC you want to peer with.
- peer
Region StringName 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.
- Is
Cross boolTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- Peer
Tenancy stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- Peering
Status 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.
- Time
Created 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.
- Is
Cross boolTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- Peer
Tenancy stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- Peering
Status 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.
- Time
Created 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.
- is
Cross BooleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Tenancy StringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created 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.
- is
Cross booleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Tenancy stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created 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_ booltenancy_ peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer_
tenancy_ strid - 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.
- is
Cross BooleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Tenancy StringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created 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, str]] = None,
display_name: Optional[str] = None,
drg_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the RPC.
- 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Drg
Id string - The OCID of the DRG the RPC belongs to.
- 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"}
- Is
Cross boolTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- Peer
Id string - The OCID of the RPC you want to peer with.
- Peer
Region stringName 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 stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- Peering
Status 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.
- Time
Created string - The date and time the RPC 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 RPC.
- 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Drg
Id string - The OCID of the DRG the RPC belongs to.
- 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"}
- Is
Cross boolTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- Peer
Id string - The OCID of the RPC you want to peer with.
- Peer
Region stringName 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 stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- Peering
Status 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.
- Time
Created string - The date and time the RPC 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 RPC.
- 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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- drg
Id String - The OCID of the DRG the RPC belongs to.
- 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"}
- is
Cross BooleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Id String - The OCID of the RPC you want to peer with.
- peer
Region StringName 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 StringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created String - The date and time the RPC 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 RPC.
- {[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"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- drg
Id string - The OCID of the DRG the RPC belongs to.
- {[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"}
- is
Cross booleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Id string - The OCID of the RPC you want to peer with.
- peer
Region stringName 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 stringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created 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.
- 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.
- drg_
id str - The OCID of the DRG the RPC belongs to.
- 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"}
- is_
cross_ booltenancy_ peering - 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_ strname 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_ strid - 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
- compartment
Id String - (Updatable) The OCID of the compartment to contain the RPC.
- 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.
- drg
Id String - The OCID of the DRG the RPC belongs to.
- 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"}
- is
Cross BooleanTenancy Peering - Whether the VCN at the other end of the peering is in a different tenancy. Example:
false
- peer
Id String - The OCID of the RPC you want to peer with.
- peer
Region StringName 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 StringId - If this RPC is peered, this value is the OCID of the other RPC's tenancy.
- peering
Status 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.
- time
Created 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.