ConfigValue

class oci.cloud_guard.models.ConfigValue(**kwargs)

Bases: object

Details for a configuration value for a managed list.

Attributes

LIST_TYPE_CUSTOM A constant which can be used with the list_type property of a ConfigValue.
LIST_TYPE_MANAGED A constant which can be used with the list_type property of a ConfigValue.
list_type [Required] Gets the list_type of this ConfigValue.
managed_list_type [Required] Gets the managed_list_type of this ConfigValue.
value [Required] Gets the value of this ConfigValue.

Methods

__init__(**kwargs) Initializes a new ConfigValue object with values from keyword arguments.
LIST_TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the list_type property of a ConfigValue. This constant has a value of “CUSTOM”

LIST_TYPE_MANAGED = 'MANAGED'

A constant which can be used with the list_type property of a ConfigValue. This constant has a value of “MANAGED”

__init__(**kwargs)

Initializes a new ConfigValue object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • list_type (str) – The value to assign to the list_type property of this ConfigValue. Allowed values for this property are: “MANAGED”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • managed_list_type (str) – The value to assign to the managed_list_type property of this ConfigValue.
  • value (str) – The value to assign to the value property of this ConfigValue.
list_type

[Required] Gets the list_type of this ConfigValue. Configuration list item type (CUSTOM or MANAGED)

Allowed values for this property are: “MANAGED”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The list_type of this ConfigValue.
Return type:str
managed_list_type

[Required] Gets the managed_list_type of this ConfigValue. Type of content in the managed list

Returns:The managed_list_type of this ConfigValue.
Return type:str
value

[Required] Gets the value of this ConfigValue. Configuration value

Returns:The value of this ConfigValue.
Return type:str