CreateDrgRouteDistributionDetails¶
-
class
oci.vn_monitoring.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”
Gets the defined_tags of this CreateDrgRouteDistributionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
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
Gets the freeform_tags of this CreateDrgRouteDistributionDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateDrgRouteDistributionDetails. Return type: dict(str, str)
-