Config¶
- 
class oci.stack_monitoring.models.Config(**kwargs)¶
- Bases: - object- A configuration item that, for example defines whether resources of a specific type should be discovered automatically. - In this case, the ‘configType’ is set to ‘AUTO_PROMOTE’ and additional fields like ‘resourceType’ and ‘isEnabled’ determine if such resources are to be discovered automatically (also referred to as ‘Automatic Promotion’). - Attributes - CONFIG_TYPE_AUTO_PROMOTE- A constant which can be used with the config_type property of a Config. - CONFIG_TYPE_COMPUTE_AUTO_ACTIVATE_PLUGIN- A constant which can be used with the config_type property of a Config. - CONFIG_TYPE_LICENSE_AUTO_ASSIGN- A constant which can be used with the config_type property of a Config. - CONFIG_TYPE_LICENSE_ENTERPRISE_EXTENSIBILITY- A constant which can be used with the config_type property of a Config. - CONFIG_TYPE_ONBOARD- A constant which can be used with the config_type property of a Config. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a Config. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a Config. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a Config. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a Config. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a Config. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a Config. - compartment_id- [Required] Gets the compartment_id of this Config. - config_type- [Required] Gets the config_type of this Config. - defined_tags- Gets the defined_tags of this Config. - display_name- Gets the display_name of this Config. - freeform_tags- Gets the freeform_tags of this Config. - id- [Required] Gets the id of this Config. - lifecycle_state- [Required] Gets the lifecycle_state of this Config. - system_tags- Gets the system_tags of this Config. - time_created- Gets the time_created of this Config. - time_updated- Gets the time_updated of this Config. - Methods - __init__(**kwargs)- Initializes a new Config 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” 
 - 
__init__(**kwargs)¶
- Initializes a new Config object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: - OnboardConfigDetails
- LicenseEnterpriseExtensibilityConfigDetails
- ComputeAutoActivatePluginConfigDetails
- LicenseAutoAssignConfigDetails
- AutoPromoteConfigDetails
 - 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 Config.
- compartment_id (str) – The value to assign to the compartment_id property of this Config.
- display_name (str) – The value to assign to the display_name property of this Config.
- time_created (datetime) – The value to assign to the time_created property of this Config.
- time_updated (datetime) – The value to assign to the time_updated property of this Config.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Config. 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 Config. 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 Config.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Config.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Config.
 
 - 
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 
 - 
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 
 - 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)) 
 - 
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 
 - 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. 
 - 
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 
 - 
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 
 - 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)) 
 - 
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 
 - 
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 
 
-