AttributeSet¶
- class oci.data_safe.models.AttributeSet(**kwargs)¶
Bases:
objectRepresents an attribute set. An attribute set is a collection of data attributes defined by the user. i.e an attribute set of ip addresses, os user names or database privileged users.
Attributes:
A constant which can be used with the attribute_set_type property of a AttributeSet.
A constant which can be used with the attribute_set_type property of a AttributeSet.
A constant which can be used with the attribute_set_type property of a AttributeSet.
A constant which can be used with the attribute_set_type property of a AttributeSet.
A constant which can be used with the attribute_set_type property of a AttributeSet.
A constant which can be used with the in_use property of a AttributeSet.
A constant which can be used with the in_use property of a AttributeSet.
A constant which can be used with the lifecycle_state property of a AttributeSet.
A constant which can be used with the lifecycle_state property of a AttributeSet.
A constant which can be used with the lifecycle_state property of a AttributeSet.
A constant which can be used with the lifecycle_state property of a AttributeSet.
A constant which can be used with the lifecycle_state property of a AttributeSet.
[Required] Gets the attribute_set_type of this AttributeSet.
[Required] Gets the attribute_set_values of this AttributeSet.
[Required] Gets the compartment_id of this AttributeSet.
Gets the defined_tags of this AttributeSet.
Gets the description of this AttributeSet.
[Required] Gets the display_name of this AttributeSet.
Gets the freeform_tags of this AttributeSet.
[Required] Gets the id of this AttributeSet.
Gets the in_use of this AttributeSet.
Gets the is_user_defined of this AttributeSet.
[Required] Gets the lifecycle_state of this AttributeSet.
Gets the system_tags of this AttributeSet.
[Required] Gets the time_created of this AttributeSet.
Gets the time_updated of this AttributeSet.
Methods:
__init__(**kwargs)Initializes a new AttributeSet object with values from keyword arguments.
- ATTRIBUTE_SET_TYPE_CLIENT_PROGRAM = 'CLIENT_PROGRAM'¶
A constant which can be used with the attribute_set_type property of a AttributeSet. This constant has a value of “CLIENT_PROGRAM”
- ATTRIBUTE_SET_TYPE_DATABASE_OBJECT = 'DATABASE_OBJECT'¶
A constant which can be used with the attribute_set_type property of a AttributeSet. This constant has a value of “DATABASE_OBJECT”
- ATTRIBUTE_SET_TYPE_DATABASE_USER = 'DATABASE_USER'¶
A constant which can be used with the attribute_set_type property of a AttributeSet. This constant has a value of “DATABASE_USER”
- ATTRIBUTE_SET_TYPE_IP_ADDRESS = 'IP_ADDRESS'¶
A constant which can be used with the attribute_set_type property of a AttributeSet. This constant has a value of “IP_ADDRESS”
- ATTRIBUTE_SET_TYPE_OS_USER = 'OS_USER'¶
A constant which can be used with the attribute_set_type property of a AttributeSet. This constant has a value of “OS_USER”
- IN_USE_NO = 'NO'¶
A constant which can be used with the in_use property of a AttributeSet. This constant has a value of “NO”
- IN_USE_YES = 'YES'¶
A constant which can be used with the in_use property of a AttributeSet. This constant has a value of “YES”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a AttributeSet. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a AttributeSet. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a AttributeSet. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AttributeSet. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a AttributeSet. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new AttributeSet 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 AttributeSet.
compartment_id (str) – The value to assign to the compartment_id property of this AttributeSet.
display_name (str) – The value to assign to the display_name property of this AttributeSet.
description (str) – The value to assign to the description property of this AttributeSet.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AttributeSet. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “DELETING”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this AttributeSet.
time_updated (datetime) – The value to assign to the time_updated property of this AttributeSet.
attribute_set_type (str) – The value to assign to the attribute_set_type property of this AttributeSet. Allowed values for this property are: “IP_ADDRESS”, “CLIENT_PROGRAM”, “OS_USER”, “DATABASE_USER”, “DATABASE_OBJECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
attribute_set_values (list[str]) – The value to assign to the attribute_set_values property of this AttributeSet.
is_user_defined (bool) – The value to assign to the is_user_defined property of this AttributeSet.
in_use (str) – The value to assign to the in_use property of this AttributeSet. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AttributeSet.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AttributeSet.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AttributeSet.
- property attribute_set_type¶
[Required] Gets the attribute_set_type of this AttributeSet. The type of attribute set.
Allowed values for this property are: “IP_ADDRESS”, “CLIENT_PROGRAM”, “OS_USER”, “DATABASE_USER”, “DATABASE_OBJECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The attribute_set_type of this AttributeSet.
- Return type
str
- property attribute_set_values¶
[Required] Gets the attribute_set_values of this AttributeSet. The list of values in an attribute set
- Returns
The attribute_set_values of this AttributeSet.
- Return type
list[str]
- property compartment_id¶
[Required] Gets the compartment_id of this AttributeSet. The OCID of the compartment where the attribute set is stored.
- Returns
The compartment_id of this AttributeSet.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AttributeSet. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this AttributeSet.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this AttributeSet. Description of an attribute set.
- Returns
The description of this AttributeSet.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this AttributeSet. The display name of an attribute set. The name does not have to be unique, and is changeable.
- Returns
The display_name of this AttributeSet.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this AttributeSet. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this AttributeSet.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AttributeSet. The OCID of an attribute set.
- Returns
The id of this AttributeSet.
- Return type
str
- property in_use¶
Gets the in_use of this AttributeSet. Indicates whether the attribute set is in use by other resource.
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The in_use of this AttributeSet.
- Return type
str
- property is_user_defined¶
Gets the is_user_defined of this AttributeSet. A boolean flag indicating to list user defined or seeded attribute sets.
- Returns
The is_user_defined of this AttributeSet.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AttributeSet. The current state of an attribute set.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “DELETING”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this AttributeSet.
- Return type
str
- property system_tags¶
Gets the system_tags of this AttributeSet. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this AttributeSet.
- Return type
dict(str, dict(str, object))