Class Drg
A dynamic routing gateway (DRG) is a virtual router that provides a path for private
network traffic between networks. You use it with other Networking
Service components to create a connection to your on-premises network using Site-to-Site VPN or a connection that uses
FastConnect. For more information, see
Networking Overview.
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.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class Drg
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. |
Remarks
Required
DefaultDrgRouteTables
Declaration
[JsonProperty(PropertyName = "defaultDrgRouteTables")]
public DefaultDrgRouteTables DefaultDrgRouteTables { get; set; }
Property Value
Type | Description |
---|---|
DefaultDrgRouteTables |
DefaultExportDrgRouteDistributionId
Declaration
[JsonProperty(PropertyName = "defaultExportDrgRouteDistributionId")]
public string DefaultExportDrgRouteDistributionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of this DRG's default export route distribution for the DRG attachments. |
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.
|
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. |
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.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The DRG's Oracle ID (OCID). |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Drg.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Drg.LifecycleStateEnum? | The DRG's current state. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the DRG was created, in the format defined by RFC3339.
|