AutoPromoteConfigSummary¶
-
class
oci.stack_monitoring.models.
AutoPromoteConfigSummary
(**kwargs)¶ Bases:
oci.stack_monitoring.models.config_summary.ConfigSummary
Summary of an AUTO_PROMOTE config.
Attributes
RESOURCE_TYPE_HOST
A constant which can be used with the resource_type property of a AutoPromoteConfigSummary. compartment_id
[Required] Gets the compartment_id of this ConfigSummary. config_type
[Required] Gets the config_type of this ConfigSummary. defined_tags
Gets the defined_tags of this ConfigSummary. display_name
Gets the display_name of this ConfigSummary. freeform_tags
Gets the freeform_tags of this ConfigSummary. id
[Required] Gets the id of this ConfigSummary. is_enabled
[Required] Gets the is_enabled of this AutoPromoteConfigSummary. lifecycle_state
[Required] Gets the lifecycle_state of this ConfigSummary. resource_type
[Required] Gets the resource_type of this AutoPromoteConfigSummary. system_tags
Gets the system_tags of this ConfigSummary. time_created
Gets the time_created of this ConfigSummary. time_updated
Gets the time_updated of this ConfigSummary. Methods
__init__
(**kwargs)Initializes a new AutoPromoteConfigSummary object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
RESOURCE_TYPE_HOST
= 'HOST'¶ A constant which can be used with the resource_type property of a AutoPromoteConfigSummary. This constant has a value of “HOST”
-
__init__
(**kwargs)¶ Initializes a new AutoPromoteConfigSummary object with values from keyword arguments. The default value of the
config_type
attribute of this class isAUTO_PROMOTE
and it should not be changed. 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 AutoPromoteConfigSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this AutoPromoteConfigSummary.
- display_name (str) – The value to assign to the display_name property of this AutoPromoteConfigSummary.
- time_created (datetime) – The value to assign to the time_created property of this AutoPromoteConfigSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this AutoPromoteConfigSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutoPromoteConfigSummary.
- config_type (str) – The value to assign to the config_type property of this AutoPromoteConfigSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutoPromoteConfigSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutoPromoteConfigSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutoPromoteConfigSummary.
- resource_type (str) – The value to assign to the resource_type property of this AutoPromoteConfigSummary. Allowed values for this property are: “HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_enabled (bool) – The value to assign to the is_enabled property of this AutoPromoteConfigSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this ConfigSummary. Compartment Identifier.
Returns: The compartment_id of this ConfigSummary. Return type: str
-
config_type
¶ [Required] Gets the config_type of this ConfigSummary. The type of configuration.
Returns: The config_type of this ConfigSummary. Return type: str
Gets the defined_tags of this ConfigSummary. 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 ConfigSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this ConfigSummary. Config Identifier, can be renamed.
Returns: The display_name of this ConfigSummary. Return type: str
Gets the freeform_tags of this ConfigSummary. 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 ConfigSummary. Return type: dict(str, str)
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
id
¶ [Required] Gets the id of this ConfigSummary. Unique identifier that is immutable on creation.
Returns: The id of this ConfigSummary. Return type: str
-
is_enabled
¶ [Required] Gets the is_enabled of this AutoPromoteConfigSummary. True if automatic promotion is enabled, false if it is not enabled.
Returns: The is_enabled of this AutoPromoteConfigSummary. Return type: bool
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ConfigSummary. The current state of the configuration.
Returns: The lifecycle_state of this ConfigSummary. Return type: str
-
resource_type
¶ [Required] Gets the resource_type of this AutoPromoteConfigSummary. The type of resource to configure for automatic promotion.
Allowed values for this property are: “HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this AutoPromoteConfigSummary. Return type: str
Gets the system_tags of this ConfigSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ConfigSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ Gets the time_created of this ConfigSummary. The time the the configuration was created. An RFC3339 formatted datetime string.
Returns: The time_created of this ConfigSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this ConfigSummary. The time the configuration was updated.
Returns: The time_updated of this ConfigSummary. Return type: datetime
-