UpdateDrgRouteRuleDetails

class oci.vn_monitoring.models.UpdateDrgRouteRuleDetails(**kwargs)

Bases: object

Details used to update a route rule in the DRG route table.

Attributes:

DESTINATION_TYPE_CIDR_BLOCK

A constant which can be used with the destination_type property of a UpdateDrgRouteRuleDetails.

destination

Gets the destination of this UpdateDrgRouteRuleDetails.

destination_type

Gets the destination_type of this UpdateDrgRouteRuleDetails. Type of destination for the rule. Allowed values: * CIDR_BLOCK: If the rule's destination is an IP address range in CIDR notation.

id

[Required] Gets the id of this UpdateDrgRouteRuleDetails.

next_hop_drg_attachment_id

Gets the next_hop_drg_attachment_id of this UpdateDrgRouteRuleDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDrgRouteRuleDetails object with values from keyword arguments.

DESTINATION_TYPE_CIDR_BLOCK = 'CIDR_BLOCK'

A constant which can be used with the destination_type property of a UpdateDrgRouteRuleDetails. This constant has a value of “CIDR_BLOCK”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this UpdateDrgRouteRuleDetails.

  • destination (str) – The value to assign to the destination property of this UpdateDrgRouteRuleDetails.

  • destination_type (str) – The value to assign to the destination_type property of this UpdateDrgRouteRuleDetails. Allowed values for this property are: “CIDR_BLOCK”

  • next_hop_drg_attachment_id (str) – The value to assign to the next_hop_drg_attachment_id property of this UpdateDrgRouteRuleDetails.

property destination

Gets the destination of this UpdateDrgRouteRuleDetails. The range of IP addresses used for matching when routing traffic.

Potential values:
  • IP address range in CIDR notation. Can be an IPv4 CIDR block or IPv6 prefix. For example: 192.168.1.0/24

or 2001:0db8:0123:45::/56.

Returns

The destination of this UpdateDrgRouteRuleDetails.

Return type

str

property destination_type

Gets the destination_type of this UpdateDrgRouteRuleDetails. Type of destination for the rule. Allowed values:

  • CIDR_BLOCK: If the rule’s destination is an IP address range in CIDR notation.

Allowed values for this property are: “CIDR_BLOCK”

Returns

The destination_type of this UpdateDrgRouteRuleDetails.

Return type

str

property id

[Required] Gets the id of this UpdateDrgRouteRuleDetails. The Oracle-assigned ID of each DRG route rule to update.

Returns

The id of this UpdateDrgRouteRuleDetails.

Return type

str

property next_hop_drg_attachment_id

Gets the next_hop_drg_attachment_id of this UpdateDrgRouteRuleDetails. The OCID of the next hop DRG attachment. The next hop DRG attachment is responsible for reaching the network destination.

Returns

The next_hop_drg_attachment_id of this UpdateDrgRouteRuleDetails.

Return type

str