Show / Hide Table of Contents

Class RemotePeeringConnection

A remote peering connection (RPC) is an object on a DRG that lets the VCN that is attached to the DRG peer with a VCN in a different region. Peering means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see VCN Peering.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.

Inheritance
object
RemotePeeringConnection
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class RemotePeeringConnection

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the RPC.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Remarks

Required

DrgId

Declaration
[Required(ErrorMessage = "DrgId is required.")]
[JsonProperty(PropertyName = "drgId")]
public string DrgId { get; set; }
Property Value
Type Description
string

The OCID of the DRG that this RPC belongs to.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the RPC.

Remarks

Required

IsCrossTenancyPeering

Declaration
[Required(ErrorMessage = "IsCrossTenancyPeering is required.")]
[JsonProperty(PropertyName = "isCrossTenancyPeering")]
public bool? IsCrossTenancyPeering { get; set; }
Property Value
Type Description
bool?

Whether the VCN at the other end of the peering is in a different tenancy.
Example: false

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemotePeeringConnection.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
RemotePeeringConnection.LifecycleStateEnum?

The RPC's current lifecycle state.

Remarks

Required

PeerId

Declaration
[JsonProperty(PropertyName = "peerId")]
public string PeerId { get; set; }
Property Value
Type Description
string

If this RPC is peered, this value is the OCID of the other RPC.

PeerRegionName

Declaration
[JsonProperty(PropertyName = "peerRegionName")]
public string PeerRegionName { get; set; }
Property Value
Type Description
string

If this RPC is peered, this value is the region that contains the other RPC.
Example: us-ashburn-1

PeerTenancyId

Declaration
[JsonProperty(PropertyName = "peerTenancyId")]
public string PeerTenancyId { get; set; }
Property Value
Type Description
string

If this RPC is peered, this value is the OCID of the other RPC's tenancy.

PeeringStatus

Declaration
[Required(ErrorMessage = "PeeringStatus is required.")]
[JsonProperty(PropertyName = "peeringStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemotePeeringConnection.PeeringStatusEnum? PeeringStatus { get; set; }
Property Value
Type Description
RemotePeeringConnection.PeeringStatusEnum?

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.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the RPC was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

Remarks

Required

In this article
Back to top