CreateDrgRouteDistributionDetails

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

Bases: object

Details used to create a route distribution.

Attributes

DISTRIBUTION_TYPE_IMPORT A constant which can be used with the distribution_type property of a CreateDrgRouteDistributionDetails.
defined_tags Gets the defined_tags of this CreateDrgRouteDistributionDetails.
display_name Gets the display_name of this CreateDrgRouteDistributionDetails.
distribution_type [Required] Gets the distribution_type of this CreateDrgRouteDistributionDetails.
drg_id [Required] Gets the drg_id of this CreateDrgRouteDistributionDetails.
freeform_tags Gets the freeform_tags of this CreateDrgRouteDistributionDetails.

Methods

__init__(**kwargs) Initializes a new CreateDrgRouteDistributionDetails object with values from keyword arguments.
DISTRIBUTION_TYPE_IMPORT = 'IMPORT'

A constant which can be used with the distribution_type property of a CreateDrgRouteDistributionDetails. This constant has a value of “IMPORT”

__init__(**kwargs)

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

Parameters:
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDrgRouteDistributionDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateDrgRouteDistributionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDrgRouteDistributionDetails.
  • drg_id (str) – The value to assign to the drg_id property of this CreateDrgRouteDistributionDetails.
  • distribution_type (str) – The value to assign to the distribution_type property of this CreateDrgRouteDistributionDetails. Allowed values for this property are: “IMPORT”
defined_tags

Gets the defined_tags of this CreateDrgRouteDistributionDetails. 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 CreateDrgRouteDistributionDetails.
Return type:dict(str, dict(str, object))
display_name

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

Returns:The display_name of this CreateDrgRouteDistributionDetails.
Return type:str
distribution_type

[Required] Gets the distribution_type of this CreateDrgRouteDistributionDetails. Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.

Allowed values for this property are: “IMPORT”

Returns:The distribution_type of this CreateDrgRouteDistributionDetails.
Return type:str
drg_id

[Required] Gets the drg_id of this CreateDrgRouteDistributionDetails. The OCID of the DRG the DRG route table belongs to.

Returns:The drg_id of this CreateDrgRouteDistributionDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDrgRouteDistributionDetails. 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 CreateDrgRouteDistributionDetails.
Return type:dict(str, str)