CreateDrgRouteDistributionDetails¶
- class oci.core.models.CreateDrgRouteDistributionDetails(**kwargs)¶
Bases:
objectDetails used to create an import route distribution. You can’t create a new export route distribution.
Attributes:
A constant which can be used with the distribution_type property of a CreateDrgRouteDistributionDetails.
Gets the defined_tags of this CreateDrgRouteDistributionDetails.
Gets the display_name of this CreateDrgRouteDistributionDetails.
[Required] Gets the distribution_type of this CreateDrgRouteDistributionDetails.
[Required] Gets the drg_id of this CreateDrgRouteDistributionDetails.
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”
- property 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))
- property 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
- property distribution_type¶
[Required] Gets the distribution_type of this CreateDrgRouteDistributionDetails. States that this distribution defines how routes get imported into route tables.
Allowed values for this property are: “IMPORT”
- Returns
The distribution_type of this CreateDrgRouteDistributionDetails.
- Return type
str
- property 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
- property 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)