CreateManagedListDetails

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

Bases: object

Create ManagedList

Attributes

LIST_TYPE_CIDR_BLOCK A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_CITY A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_COUNTRY A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_GENERIC A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_GROUPS A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_IPV4_ADDRESS A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_IPV6_ADDRESS A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_REGION A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_RESOURCE_OCID A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_STATE A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_TAGS A constant which can be used with the list_type property of a CreateManagedListDetails.
LIST_TYPE_USERS A constant which can be used with the list_type property of a CreateManagedListDetails.
compartment_id [Required] Gets the compartment_id of this CreateManagedListDetails.
defined_tags Gets the defined_tags of this CreateManagedListDetails.
description Gets the description of this CreateManagedListDetails.
display_name [Required] Gets the display_name of this CreateManagedListDetails.
freeform_tags Gets the freeform_tags of this CreateManagedListDetails.
list_items Gets the list_items of this CreateManagedListDetails.
list_type Gets the list_type of this CreateManagedListDetails.
source_managed_list_id Gets the source_managed_list_id of this CreateManagedListDetails.

Methods

__init__(**kwargs) Initializes a new CreateManagedListDetails object with values from keyword arguments.
LIST_TYPE_CIDR_BLOCK = 'CIDR_BLOCK'

A constant which can be used with the list_type property of a CreateManagedListDetails. 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 CreateManagedListDetails. This constant has a value of “CITY”

LIST_TYPE_COUNTRY = 'COUNTRY'

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

LIST_TYPE_GENERIC = 'GENERIC'

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

LIST_TYPE_GROUPS = 'GROUPS'

A constant which can be used with the list_type property of a CreateManagedListDetails. 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 CreateManagedListDetails. 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 CreateManagedListDetails. This constant has a value of “IPV6ADDRESS”

LIST_TYPE_REGION = 'REGION'

A constant which can be used with the list_type property of a CreateManagedListDetails. 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 CreateManagedListDetails. 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 CreateManagedListDetails. This constant has a value of “STATE”

LIST_TYPE_TAGS = 'TAGS'

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

LIST_TYPE_USERS = 'USERS'

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

__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateManagedListDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateManagedListDetails.
  • source_managed_list_id (str) – The value to assign to the source_managed_list_id property of this CreateManagedListDetails.
  • description (str) – The value to assign to the description property of this CreateManagedListDetails.
  • list_type (str) – The value to assign to the list_type property of this CreateManagedListDetails. Allowed values for this property are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”
  • list_items (list[str]) – The value to assign to the list_items property of this CreateManagedListDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateManagedListDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateManagedListDetails.
compartment_id

[Required] Gets the compartment_id of this CreateManagedListDetails. Compartment Identifier

Returns:The compartment_id of this CreateManagedListDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateManagedListDetails. 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 CreateManagedListDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateManagedListDetails. ManagedList description

Returns:The description of this CreateManagedListDetails.
Return type:str
display_name

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

Returns:The display_name of this CreateManagedListDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateManagedListDetails. 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 CreateManagedListDetails.
Return type:dict(str, str)
list_items

Gets the list_items of this CreateManagedListDetails. List of ManagedListItem

Returns:The list_items of this CreateManagedListDetails.
Return type:list[str]
list_type

Gets the list_type of this CreateManagedListDetails. type of the list

Allowed values for this property are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”

Returns:The list_type of this CreateManagedListDetails.
Return type:str
source_managed_list_id

Gets the source_managed_list_id of this CreateManagedListDetails. OCID of the Source ManagedList

Returns:The source_managed_list_id of this CreateManagedListDetails.
Return type:str