ComputeAutoActivatePluginConfigDetails¶
- class oci.stack_monitoring.models.ComputeAutoActivatePluginConfigDetails(**kwargs)¶
Bases:
ConfigA configuration of the COMPUTE_AUTO_ACTIVATE_PLUGIN type consists of a boolean value that determines if detection of new or terminated Compute instances should be enabled, and if the Management Agent as a plugin of Oracle Cloud Agent should automatically be activated.
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.
[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 ComputeAutoActivatePluginConfigDetails.
[Required] Gets the lifecycle_state of this Config.
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 ComputeAutoActivatePluginConfigDetails 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 ComputeAutoActivatePluginConfigDetails object with values from keyword arguments. The default value of the
config_typeattribute of this class isCOMPUTE_AUTO_ACTIVATE_PLUGINand 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 ComputeAutoActivatePluginConfigDetails.
compartment_id (str) – The value to assign to the compartment_id property of this ComputeAutoActivatePluginConfigDetails.
display_name (str) – The value to assign to the display_name property of this ComputeAutoActivatePluginConfigDetails.
time_created (datetime) – The value to assign to the time_created property of this ComputeAutoActivatePluginConfigDetails.
time_updated (datetime) – The value to assign to the time_updated property of this ComputeAutoActivatePluginConfigDetails.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeAutoActivatePluginConfigDetails. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”
config_type (str) – The value to assign to the config_type property of this ComputeAutoActivatePluginConfigDetails. Allowed values for this property are: “AUTO_PROMOTE”, “COMPUTE_AUTO_ACTIVATE_PLUGIN”, “LICENSE_AUTO_ASSIGN”, “LICENSE_ENTERPRISE_EXTENSIBILITY”, “ONBOARD”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComputeAutoActivatePluginConfigDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComputeAutoActivatePluginConfigDetails.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ComputeAutoActivatePluginConfigDetails.
is_enabled (bool) – The value to assign to the is_enabled property of this ComputeAutoActivatePluginConfigDetails.
- 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 ComputeAutoActivatePluginConfigDetails. True if automatic activation of the Management Agent plugin is enabled, false if it is not enabled.
- Returns
The is_enabled of this ComputeAutoActivatePluginConfigDetails.
- 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 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