AutoPromoteConfigDetails¶
- class oci.stack_monitoring.models.AutoPromoteConfigDetails(**kwargs)¶
Bases:
ConfigA configuration of the AUTO_PROMOTE type, consists of a resource type and a boolean value that determines if this resource needs to be automatically promoted/discovered. For example, when a Management Agent registration event occurs and if isEnabled is TRUE for a HOST resource type, a HOST resource will be automatically discovered using that Management Agent.
Attributes:
A constant which can be used with the config_type property of a Config.
A constant which can be used with the config_type property of a Config.
A constant which can be used with the config_type property of a Config.
A constant which can be used with the config_type property of a Config.
A constant which can be used with the config_type property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the lifecycle_state property of a Config.
A constant which can be used with the resource_type property of a AutoPromoteConfigDetails.
[Required] Gets the compartment_id of this Config.
[Required] Gets the config_type of this Config.
Gets the defined_tags of this Config.
Gets the display_name of this Config.
Gets the freeform_tags of this Config.
[Required] Gets the id of this Config.
[Required] Gets the is_enabled of this AutoPromoteConfigDetails.
[Required] Gets the lifecycle_state of this Config.
[Required] Gets the resource_type of this AutoPromoteConfigDetails.
Gets the system_tags of this Config.
Gets the time_created of this Config.
Gets the time_updated of this Config.
Methods:
__init__(**kwargs)Initializes a new AutoPromoteConfigDetails 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.
- CONFIG_TYPE_AUTO_PROMOTE = 'AUTO_PROMOTE'¶
A constant which can be used with the config_type property of a Config. This constant has a value of “AUTO_PROMOTE”
- CONFIG_TYPE_COMPUTE_AUTO_ACTIVATE_PLUGIN = 'COMPUTE_AUTO_ACTIVATE_PLUGIN'¶
A constant which can be used with the config_type property of a Config. This constant has a value of “COMPUTE_AUTO_ACTIVATE_PLUGIN”
- CONFIG_TYPE_LICENSE_AUTO_ASSIGN = 'LICENSE_AUTO_ASSIGN'¶
A constant which can be used with the config_type property of a Config. This constant has a value of “LICENSE_AUTO_ASSIGN”
- CONFIG_TYPE_LICENSE_ENTERPRISE_EXTENSIBILITY = 'LICENSE_ENTERPRISE_EXTENSIBILITY'¶
A constant which can be used with the config_type property of a Config. This constant has a value of “LICENSE_ENTERPRISE_EXTENSIBILITY”
- CONFIG_TYPE_ONBOARD = 'ONBOARD'¶
A constant which can be used with the config_type property of a Config. This constant has a value of “ONBOARD”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a Config. This constant has a value of “UPDATING”
- RESOURCE_TYPE_HOST = 'HOST'¶
A constant which can be used with the resource_type property of a AutoPromoteConfigDetails. This constant has a value of “HOST”
- __init__(**kwargs)¶
Initializes a new AutoPromoteConfigDetails object with values from keyword arguments. The default value of the
config_typeattribute of this class isAUTO_PROMOTEand 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 AutoPromoteConfigDetails.
compartment_id (str) – The value to assign to the compartment_id property of this AutoPromoteConfigDetails.
display_name (str) – The value to assign to the display_name property of this AutoPromoteConfigDetails.
time_created (datetime) – The value to assign to the time_created property of this AutoPromoteConfigDetails.
time_updated (datetime) – The value to assign to the time_updated property of this AutoPromoteConfigDetails.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutoPromoteConfigDetails. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
config_type (str) – The value to assign to the config_type property of this AutoPromoteConfigDetails. Allowed values for this property are: “AUTO_PROMOTE”, “COMPUTE_AUTO_ACTIVATE_PLUGIN”, “LICENSE_AUTO_ASSIGN”, “LICENSE_ENTERPRISE_EXTENSIBILITY”, “ONBOARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutoPromoteConfigDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutoPromoteConfigDetails.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutoPromoteConfigDetails.
resource_type (str) – The value to assign to the resource_type property of this AutoPromoteConfigDetails. 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 AutoPromoteConfigDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this Config. The OCID of the compartment containing the configuration.
- Returns
The compartment_id of this Config.
- Return type
str
- property config_type¶
[Required] Gets the config_type of this Config. The type of configuration.
Allowed values for this property are: “AUTO_PROMOTE”, “COMPUTE_AUTO_ACTIVATE_PLUGIN”, “LICENSE_AUTO_ASSIGN”, “LICENSE_ENTERPRISE_EXTENSIBILITY”, “ONBOARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The config_type of this Config.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this Config. 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 Config.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this Config. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this Config.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this Config. 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 Config.
- 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.
- property id¶
[Required] Gets the id of this Config. The Unique Oracle ID (OCID) that is immutable on creation.
- Returns
The id of this Config.
- Return type
str
- property is_enabled¶
[Required] Gets the is_enabled of this AutoPromoteConfigDetails. True if automatic promotion is enabled, false if it is not enabled.
- Returns
The is_enabled of this AutoPromoteConfigDetails.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this Config. The current state of the configuration.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Config.
- Return type
str
- property resource_type¶
[Required] Gets the resource_type of this AutoPromoteConfigDetails. 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 AutoPromoteConfigDetails.
- Return type
str
- property system_tags¶
Gets the system_tags of this Config. 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 Config.
- Return type
dict(str, dict(str, object))
- property time_created¶
Gets the time_created of this Config. The time the configuration was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this Config.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this Config. The time the Config was updated.
- Returns
The time_updated of this Config.
- Return type
datetime