BasicConfigurationItemSummary¶
- class oci.opsi.models.BasicConfigurationItemSummary(**kwargs)¶
Bases:
ConfigurationItemSummaryBasic configuration item summary. Value field contain the most preferred value for the specified scope (compartmentId), which could be from any of the ConfigurationItemValueSourceConfigurationType. Default value field contains the default value from Ops Insights.
Attributes:
A constant which can be used with the config_item_type property of a ConfigurationItemSummary.
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
Gets the applicable_contexts of this BasicConfigurationItemSummary.
[Required] Gets the config_item_type of this ConfigurationItemSummary.
Gets the default_value of this BasicConfigurationItemSummary.
Gets the metadata of this BasicConfigurationItemSummary.
Gets the name of this BasicConfigurationItemSummary.
Gets the value of this BasicConfigurationItemSummary.
Gets the value_source_config of this BasicConfigurationItemSummary.
Methods:
__init__(**kwargs)Initializes a new BasicConfigurationItemSummary 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_ITEM_TYPE_BASIC = 'BASIC'¶
A constant which can be used with the config_item_type property of a ConfigurationItemSummary. This constant has a value of “BASIC”
- VALUE_SOURCE_CONFIG_COMPARTMENT = 'COMPARTMENT'¶
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary. This constant has a value of “COMPARTMENT”
- VALUE_SOURCE_CONFIG_DEFAULT = 'DEFAULT'¶
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary. This constant has a value of “DEFAULT”
- VALUE_SOURCE_CONFIG_TENANT = 'TENANT'¶
A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary. This constant has a value of “TENANT”
- __init__(**kwargs)¶
Initializes a new BasicConfigurationItemSummary object with values from keyword arguments. The default value of the
config_item_typeattribute of this class isBASICand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
config_item_type (str) – The value to assign to the config_item_type property of this BasicConfigurationItemSummary. Allowed values for this property are: “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
name (str) – The value to assign to the name property of this BasicConfigurationItemSummary.
value (str) – The value to assign to the value property of this BasicConfigurationItemSummary.
value_source_config (str) – The value to assign to the value_source_config property of this BasicConfigurationItemSummary. Allowed values for this property are: “DEFAULT”, “TENANT”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
default_value (str) – The value to assign to the default_value property of this BasicConfigurationItemSummary.
applicable_contexts (list[str]) – The value to assign to the applicable_contexts property of this BasicConfigurationItemSummary.
metadata (oci.opsi.models.ConfigurationItemMetadata) – The value to assign to the metadata property of this BasicConfigurationItemSummary.
- property applicable_contexts¶
Gets the applicable_contexts of this BasicConfigurationItemSummary. List of contexts in Ops Insights where this configuration item is applicable.
- Returns
The applicable_contexts of this BasicConfigurationItemSummary.
- Return type
list[str]
- property config_item_type¶
[Required] Gets the config_item_type of this ConfigurationItemSummary. Type of configuration item.
Allowed values for this property are: “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The config_item_type of this ConfigurationItemSummary.
- Return type
str
- property default_value¶
Gets the default_value of this BasicConfigurationItemSummary. Value of configuration item.
- Returns
The default_value of this BasicConfigurationItemSummary.
- Return type
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 metadata¶
Gets the metadata of this BasicConfigurationItemSummary.
- Returns
The metadata of this BasicConfigurationItemSummary.
- Return type
- property name¶
Gets the name of this BasicConfigurationItemSummary. Name of configuration item.
- Returns
The name of this BasicConfigurationItemSummary.
- Return type
str
- property value¶
Gets the value of this BasicConfigurationItemSummary. Value of configuration item.
- Returns
The value of this BasicConfigurationItemSummary.
- Return type
str
- property value_source_config¶
Gets the value_source_config of this BasicConfigurationItemSummary. Source configuration from where the value is taken for a configuration item.
Allowed values for this property are: “DEFAULT”, “TENANT”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The value_source_config of this BasicConfigurationItemSummary.
- Return type
str