Class CreateDrgAttachmentDetails
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class CreateDrgAttachmentDetails
Properties
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. |
DoesPreserveOriginalRoutesWithNat
Declaration
[JsonProperty(PropertyName = "doesPreserveOriginalRoutesWithNat")]
public bool? DoesPreserveOriginalRoutesWithNat { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | By default, only translated DrgNatRule CIDRs are imported into the DrgRouteTable to prevent
routing complications. Enable this option to also preserve original CIDRs. The original source CIDRs is not advertised if this value is set to false, else it is advertised.
default: |
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
DrgNatPolicyId
Declaration
[JsonProperty(PropertyName = "drgNatPolicyId")]
public string DrgNatPolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the DRG attachment's DRG NAT policy. |
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.
|
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.
|
NetworkDetails
Declaration
[JsonProperty(PropertyName = "networkDetails")]
public DrgAttachmentNetworkCreateDetails NetworkDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| DrgAttachmentNetworkCreateDetails |
RouteTableId
Declaration
[JsonProperty(PropertyName = "routeTableId")]
public string RouteTableId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the route table used by the DRG attachment.
|
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 |