Show / Hide Table of Contents

Class DrgAttachment

A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, IPSec tunnel, remote peering connection, or virtual circuit.
For more information, see Overview of the Networking Service.

Inheritance
object
DrgAttachment
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 DrgAttachment

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 containing the DRG attachment.

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
[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.

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.

Remarks

Required

DrgRouteTableId

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

The OCID of the DRG route table that is assigned to this attachment.
The DRG route table manages traffic inside the DRG.

ExportDrgRouteDistributionId

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

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

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 DRG attachment's Oracle ID (OCID).

Remarks

Required

IsCrossTenancy

Declaration
[JsonProperty(PropertyName = "isCrossTenancy")]
public bool? IsCrossTenancy { get; set; }
Property Value
Type Description
bool?

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.
Example: false

LifecycleState

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

The DRG attachment's current state.

Remarks

Required

NetworkDetails

Declaration
[JsonProperty(PropertyName = "networkDetails")]
public DrgAttachmentNetworkDetails NetworkDetails { get; set; }
Property Value
Type Description
DrgAttachmentNetworkDetails

RouteTableId

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

The OCID of the route table the DRG attachment is using.
For information about why you would associate a route table with a DRG attachment, see:

  • Transit Routing: Access to Multiple VCNs in Same Region
  • Transit Routing: Private Access to Oracle Services
    This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

TimeCreated

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

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

VcnId

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

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

In this article
Back to top