ManagedList

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

Bases: object

A managed list is a reusable list of parameters that makes it easier to set the scope for detector and responder rules. A ManagedList resource contains the reusable list of parameters, plus metadata for the list.

Attributes:

FEED_PROVIDER_CUSTOMER

A constant which can be used with the feed_provider property of a ManagedList.

FEED_PROVIDER_ORACLE

A constant which can be used with the feed_provider property of a ManagedList.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a ManagedList.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a ManagedList.

LIST_TYPE_CIDR_BLOCK

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_CITY

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_COUNTRY

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_FUSION_APPS_PERMISSION

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_FUSION_APPS_ROLE

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_GENERIC

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_GROUPS

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_IPV4_ADDRESS

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_IPV6_ADDRESS

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_NAMESPACE_SELECTOR

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_POD_RESOURCE_SELECTOR

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_REGION

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_RESOURCE_OCID

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_STATE

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_TAGS

A constant which can be used with the list_type property of a ManagedList.

LIST_TYPE_USERS

A constant which can be used with the list_type property of a ManagedList.

compartment_id

[Required] Gets the compartment_id of this ManagedList.

defined_tags

Gets the defined_tags of this ManagedList.

description

Gets the description of this ManagedList.

display_name

[Required] Gets the display_name of this ManagedList.

feed_provider

Gets the feed_provider of this ManagedList.

freeform_tags

Gets the freeform_tags of this ManagedList.

group

Gets the group of this ManagedList.

id

[Required] Gets the id of this ManagedList.

is_editable

Gets the is_editable of this ManagedList.

lifecycle_state

Gets the lifecycle_state of this ManagedList.

lifecyle_details

Gets the lifecyle_details of this ManagedList.

list_items

Gets the list_items of this ManagedList.

list_type

[Required] Gets the list_type of this ManagedList.

source_managed_list_id

Gets the source_managed_list_id of this ManagedList.

system_tags

Gets the system_tags of this ManagedList.

time_created

Gets the time_created of this ManagedList.

time_updated

Gets the time_updated of this ManagedList.

Methods:

__init__(**kwargs)

Initializes a new ManagedList object with values from keyword arguments.

FEED_PROVIDER_CUSTOMER = 'CUSTOMER'

A constant which can be used with the feed_provider property of a ManagedList. This constant has a value of “CUSTOMER”

FEED_PROVIDER_ORACLE = 'ORACLE'

A constant which can be used with the feed_provider property of a ManagedList. This constant has a value of “ORACLE”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ManagedList. This constant has a value of “UPDATING”

LIST_TYPE_CIDR_BLOCK = 'CIDR_BLOCK'

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

LIST_TYPE_CITY = 'CITY'

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

LIST_TYPE_COUNTRY = 'COUNTRY'

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

LIST_TYPE_FUSION_APPS_PERMISSION = 'FUSION_APPS_PERMISSION'

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

LIST_TYPE_FUSION_APPS_ROLE = 'FUSION_APPS_ROLE'

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

LIST_TYPE_GENERIC = 'GENERIC'

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

LIST_TYPE_GROUPS = 'GROUPS'

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

LIST_TYPE_IPV4_ADDRESS = 'IPV4ADDRESS'

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

LIST_TYPE_IPV6_ADDRESS = 'IPV6ADDRESS'

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

LIST_TYPE_NAMESPACE_SELECTOR = 'NAMESPACE_SELECTOR'

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

LIST_TYPE_POD_RESOURCE_SELECTOR = 'POD_RESOURCE_SELECTOR'

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

LIST_TYPE_REGION = 'REGION'

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

LIST_TYPE_RESOURCE_OCID = 'RESOURCE_OCID'

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

LIST_TYPE_STATE = 'STATE'

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

LIST_TYPE_TAGS = 'TAGS'

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

LIST_TYPE_USERS = 'USERS'

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

__init__(**kwargs)

Initializes a new ManagedList object with values from keyword arguments. 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 ManagedList.

  • display_name (str) – The value to assign to the display_name property of this ManagedList.

  • description (str) – The value to assign to the description property of this ManagedList.

  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedList.

  • source_managed_list_id (str) – The value to assign to the source_managed_list_id property of this ManagedList.

  • list_type (str) – The value to assign to the list_type property of this ManagedList. Allowed values for this property are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”, “FUSION_APPS_ROLE”, “FUSION_APPS_PERMISSION”, “NAMESPACE_SELECTOR”, “POD_RESOURCE_SELECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • list_items (list[str]) – The value to assign to the list_items property of this ManagedList.

  • group (str) – The value to assign to the group property of this ManagedList.

  • feed_provider (str) – The value to assign to the feed_provider property of this ManagedList. Allowed values for this property are: “CUSTOMER”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • is_editable (bool) – The value to assign to the is_editable property of this ManagedList.

  • time_created (datetime) – The value to assign to the time_created property of this ManagedList.

  • time_updated (datetime) – The value to assign to the time_updated property of this ManagedList.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ManagedList. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecyle_details (str) – The value to assign to the lifecyle_details property of this ManagedList.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ManagedList.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ManagedList.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ManagedList.

property compartment_id

[Required] Gets the compartment_id of this ManagedList. Compartment OCID where the resource is created

Returns

The compartment_id of this ManagedList.

Return type

str

property defined_tags

Gets the defined_tags of this ManagedList. 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 ManagedList.

Return type

dict(str, dict(str, object))

property description

Gets the description of this ManagedList. Managed list description

Returns

The description of this ManagedList.

Return type

str

property display_name

[Required] Gets the display_name of this ManagedList. Managed list display name

Returns

The display_name of this ManagedList.

Return type

str

property feed_provider

Gets the feed_provider of this ManagedList. Provider of the managed list feed

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

Returns

The feed_provider of this ManagedList.

Return type

str

property freeform_tags

Gets the freeform_tags of this ManagedList. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Avoid entering confidential information.

Returns

The freeform_tags of this ManagedList.

Return type

dict(str, str)

property group

Gets the group of this ManagedList. Managed list type group

Returns

The group of this ManagedList.

Return type

str

property id

[Required] Gets the id of this ManagedList. Unique identifier that can’t be changed after creation

Returns

The id of this ManagedList.

Return type

str

property is_editable

Gets the is_editable of this ManagedList. Is this list editable?

Returns

The is_editable of this ManagedList.

Return type

bool

property lifecycle_state

Gets the lifecycle_state of this ManagedList. The current lifecycle state of the resource

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “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 ManagedList.

Return type

str

property lifecyle_details

Gets the lifecyle_details of this ManagedList. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]

Returns

The lifecyle_details of this ManagedList.

Return type

str

property list_items

Gets the list_items of this ManagedList. List of items in the managed list

Returns

The list_items of this ManagedList.

Return type

list[str]

property list_type

[Required] Gets the list_type of this ManagedList. Type of information contained in the managed list

Allowed values for this property are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”, “FUSION_APPS_ROLE”, “FUSION_APPS_PERMISSION”, “NAMESPACE_SELECTOR”, “POD_RESOURCE_SELECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The list_type of this ManagedList.

Return type

str

property source_managed_list_id

Gets the source_managed_list_id of this ManagedList. OCID of the source managed list

Returns

The source_managed_list_id of this ManagedList.

Return type

str

property system_tags

Gets the system_tags of this ManagedList. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ManagedList.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this ManagedList. The date and time the managed list was created. Format defined by RFC3339.

Returns

The time_created of this ManagedList.

Return type

datetime

property time_updated

Gets the time_updated of this ManagedList. The date and time the managed list was last updated. Format defined by RFC3339.

Returns

The time_updated of this ManagedList.

Return type

datetime