BasicConfigurationItemSummary

class oci.opsi.models.BasicConfigurationItemSummary(**kwargs)

Bases: oci.opsi.models.configuration_item_summary.ConfigurationItemSummary

Basic 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 Operations Insights.

Attributes

CONFIG_ITEM_TYPE_BASIC str(object=’’) -> str
VALUE_SOURCE_CONFIG_COMPARTMENT A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
VALUE_SOURCE_CONFIG_DEFAULT A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
VALUE_SOURCE_CONFIG_TENANT A constant which can be used with the value_source_config property of a BasicConfigurationItemSummary.
applicable_contexts Gets the applicable_contexts of this BasicConfigurationItemSummary.
config_item_type [Required] Gets the config_item_type of this ConfigurationItemSummary.
default_value Gets the default_value of this BasicConfigurationItemSummary.
metadata Gets the metadata of this BasicConfigurationItemSummary.
name Gets the name of this BasicConfigurationItemSummary.
value Gets the value of this BasicConfigurationItemSummary.
value_source_config 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'
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_type attribute of this class is BASIC and 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.
applicable_contexts

Gets the applicable_contexts of this BasicConfigurationItemSummary. List of contexts in Operations Insights where this configuration item is applicable.

Returns:The applicable_contexts of this BasicConfigurationItemSummary.
Return type:list[str]
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
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.

metadata

Gets the metadata of this BasicConfigurationItemSummary.

Returns:The metadata of this BasicConfigurationItemSummary.
Return type:oci.opsi.models.ConfigurationItemMetadata
name

Gets the name of this BasicConfigurationItemSummary. Name of configuration item.

Returns:The name of this BasicConfigurationItemSummary.
Return type:str
value

Gets the value of this BasicConfigurationItemSummary. Value of configuration item.

Returns:The value of this BasicConfigurationItemSummary.
Return type:str
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