UpdateDrgAttachmentDetails

class oci.core.models.UpdateDrgAttachmentDetails(**kwargs)

Bases: object

UpdateDrgAttachmentDetails model.

Methods

__init__(**kwargs) Initializes a new UpdateDrgAttachmentDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateDrgAttachmentDetails.
display_name Gets the display_name of this UpdateDrgAttachmentDetails.
does_preserve_original_routes_with_nat Gets the does_preserve_original_routes_with_nat of this UpdateDrgAttachmentDetails.
drg_nat_policy_id Gets the drg_nat_policy_id of this UpdateDrgAttachmentDetails.
drg_route_table_id Gets the drg_route_table_id of this UpdateDrgAttachmentDetails.
export_drg_route_distribution_id Gets the export_drg_route_distribution_id of this UpdateDrgAttachmentDetails.
freeform_tags Gets the freeform_tags of this UpdateDrgAttachmentDetails.
network_details Gets the network_details of this UpdateDrgAttachmentDetails.
route_table_id Gets the route_table_id of this UpdateDrgAttachmentDetails.
__init__(**kwargs)

Initializes a new UpdateDrgAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateDrgAttachmentDetails.
  • drg_nat_policy_id (str) – The value to assign to the drg_nat_policy_id property of this UpdateDrgAttachmentDetails.
  • does_preserve_original_routes_with_nat (bool) – The value to assign to the does_preserve_original_routes_with_nat property of this UpdateDrgAttachmentDetails.
  • drg_route_table_id (str) – The value to assign to the drg_route_table_id property of this UpdateDrgAttachmentDetails.
  • network_details (oci.core.models.DrgAttachmentNetworkUpdateDetails) – The value to assign to the network_details property of this UpdateDrgAttachmentDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDrgAttachmentDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDrgAttachmentDetails.
  • export_drg_route_distribution_id (str) – The value to assign to the export_drg_route_distribution_id property of this UpdateDrgAttachmentDetails.
  • route_table_id (str) – The value to assign to the route_table_id property of this UpdateDrgAttachmentDetails.
defined_tags

Gets the defined_tags of this UpdateDrgAttachmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateDrgAttachmentDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateDrgAttachmentDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateDrgAttachmentDetails.
Return type:str
does_preserve_original_routes_with_nat

Gets the does_preserve_original_routes_with_nat of this UpdateDrgAttachmentDetails. 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: false

Returns:The does_preserve_original_routes_with_nat of this UpdateDrgAttachmentDetails.
Return type:bool
drg_nat_policy_id

Gets the drg_nat_policy_id of this UpdateDrgAttachmentDetails. The OCID of the DRG attachment’s DRG NAT policy.

Returns:The drg_nat_policy_id of this UpdateDrgAttachmentDetails.
Return type:str
drg_route_table_id

Gets the drg_route_table_id of this UpdateDrgAttachmentDetails. The OCID of the DRG route table that is assigned to this attachment.

The DRG route table manages traffic inside the DRG.

You can’t remove a DRG route table from a DRG attachment, but you can reassign which DRG route table it uses.

Returns:The drg_route_table_id of this UpdateDrgAttachmentDetails.
Return type:str
export_drg_route_distribution_id

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

Returns:The export_drg_route_distribution_id of this UpdateDrgAttachmentDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateDrgAttachmentDetails. 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”}

Returns:The freeform_tags of this UpdateDrgAttachmentDetails.
Return type:dict(str, str)
network_details

Gets the network_details of this UpdateDrgAttachmentDetails.

Returns:The network_details of this UpdateDrgAttachmentDetails.
Return type:oci.core.models.DrgAttachmentNetworkUpdateDetails
route_table_id

Gets the route_table_id of this UpdateDrgAttachmentDetails. This is the OCID of the route table that is used to route the traffic as it enters a VCN through this attachment.

For information about why you would associate a route table with a DRG attachment, see:

Returns:The route_table_id of this UpdateDrgAttachmentDetails.
Return type:str