AttributeSetSummary¶
- class oci.data_safe.models.AttributeSetSummary(**kwargs)¶
Bases:
objectSummary details of an attribute set.
Attributes:
A constant which can be used with the in_use property of a AttributeSetSummary.
A constant which can be used with the in_use property of a AttributeSetSummary.
[Required] Gets the attribute_set_type of this AttributeSetSummary.
[Required] Gets the compartment_id of this AttributeSetSummary.
Gets the defined_tags of this AttributeSetSummary.
Gets the description of this AttributeSetSummary.
[Required] Gets the display_name of this AttributeSetSummary.
Gets the freeform_tags of this AttributeSetSummary.
[Required] Gets the id of this AttributeSetSummary.
Gets the in_use of this AttributeSetSummary.
Gets the is_user_defined of this AttributeSetSummary.
[Required] Gets the lifecycle_state of this AttributeSetSummary.
Gets the system_tags of this AttributeSetSummary.
[Required] Gets the time_created of this AttributeSetSummary.
Gets the time_updated of this AttributeSetSummary.
Methods:
__init__(**kwargs)Initializes a new AttributeSetSummary object with values from keyword arguments.
- IN_USE_NO = 'NO'¶
A constant which can be used with the in_use property of a AttributeSetSummary. This constant has a value of “NO”
- IN_USE_YES = 'YES'¶
A constant which can be used with the in_use property of a AttributeSetSummary. This constant has a value of “YES”
- __init__(**kwargs)¶
Initializes a new AttributeSetSummary 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 AttributeSetSummary.
compartment_id (str) – The value to assign to the compartment_id property of this AttributeSetSummary.
display_name (str) – The value to assign to the display_name property of this AttributeSetSummary.
description (str) – The value to assign to the description property of this AttributeSetSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AttributeSetSummary.
time_created (datetime) – The value to assign to the time_created property of this AttributeSetSummary.
time_updated (datetime) – The value to assign to the time_updated property of this AttributeSetSummary.
attribute_set_type (str) – The value to assign to the attribute_set_type property of this AttributeSetSummary.
is_user_defined (bool) – The value to assign to the is_user_defined property of this AttributeSetSummary.
in_use (str) – The value to assign to the in_use property of this AttributeSetSummary. 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 AttributeSetSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AttributeSetSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AttributeSetSummary.
- property attribute_set_type¶
[Required] Gets the attribute_set_type of this AttributeSetSummary. The type of attribute set.
- Returns
The attribute_set_type of this AttributeSetSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this AttributeSetSummary. The OCID of the compartment that contains attribute set.
- Returns
The compartment_id of this AttributeSetSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AttributeSetSummary. 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 AttributeSetSummary.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this AttributeSetSummary. Description of an attribute set.
- Returns
The description of this AttributeSetSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this AttributeSetSummary. The display name of an attribute set. The name does not have to be unique, and is changeable.
- Returns
The display_name of this AttributeSetSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this AttributeSetSummary. 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 AttributeSetSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AttributeSetSummary. The OCID of an attribute set.
- Returns
The id of this AttributeSetSummary.
- Return type
str
- property in_use¶
Gets the in_use of this AttributeSetSummary. 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 AttributeSetSummary.
- Return type
str
- property is_user_defined¶
Gets the is_user_defined of this AttributeSetSummary. Indicates whether the attribute set is user defined or pre defined in Data Safe. Values can either be ‘true’ or ‘false’.
- Returns
The is_user_defined of this AttributeSetSummary.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AttributeSetSummary. The current state of an attribute set.
- Returns
The lifecycle_state of this AttributeSetSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this AttributeSetSummary. 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 AttributeSetSummary.
- Return type
dict(str, dict(str, object))