TagNamespaceSummary

class oci.identity.models.TagNamespaceSummary(**kwargs)

Bases: object

A container for defined tags.

Methods

__init__(**kwargs) Initializes a new TagNamespaceSummary object with values from keyword arguments.

Attributes

compartment_id Gets the compartment_id of this TagNamespaceSummary.
defined_tags Gets the defined_tags of this TagNamespaceSummary.
description Gets the description of this TagNamespaceSummary.
freeform_tags Gets the freeform_tags of this TagNamespaceSummary.
id Gets the id of this TagNamespaceSummary.
is_retired Gets the is_retired of this TagNamespaceSummary.
lifecycle_state Gets the lifecycle_state of this TagNamespaceSummary.
locks Gets the locks of this TagNamespaceSummary.
name Gets the name of this TagNamespaceSummary.
time_created Gets the time_created of this TagNamespaceSummary.
__init__(**kwargs)

Initializes a new TagNamespaceSummary 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 TagNamespaceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this TagNamespaceSummary.
  • name (str) – The value to assign to the name property of this TagNamespaceSummary.
  • description (str) – The value to assign to the description property of this TagNamespaceSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this TagNamespaceSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this TagNamespaceSummary.
  • is_retired (bool) – The value to assign to the is_retired property of this TagNamespaceSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this TagNamespaceSummary.
  • time_created (datetime) – The value to assign to the time_created property of this TagNamespaceSummary.
  • locks (list[oci.identity.models.ResourceLock]) – The value to assign to the locks property of this TagNamespaceSummary.
compartment_id

Gets the compartment_id of this TagNamespaceSummary. The OCID of the compartment that contains the tag namespace.

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

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

Gets the description of this TagNamespaceSummary. The description you assign to the tag namespace.

Returns:The description of this TagNamespaceSummary.
Return type:str
freeform_tags

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

Gets the id of this TagNamespaceSummary. The OCID of the tag namespace.

Returns:The id of this TagNamespaceSummary.
Return type:str
is_retired

Gets the is_retired of this TagNamespaceSummary. Whether the tag namespace is retired. For more information, see Retiring Key Definitions and Namespace Definitions.

Returns:The is_retired of this TagNamespaceSummary.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this TagNamespaceSummary. The tagnamespace’s current state. After creating a tagnamespace, make sure its lifecycleState is ACTIVE before using it. After retiring a tagnamespace, make sure its lifecycleState is INACTIVE before using it.

Returns:The lifecycle_state of this TagNamespaceSummary.
Return type:str
locks

Gets the locks of this TagNamespaceSummary. Locks associated with this resource.

Returns:The locks of this TagNamespaceSummary.
Return type:list[oci.identity.models.ResourceLock]
name

Gets the name of this TagNamespaceSummary. The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed.

Returns:The name of this TagNamespaceSummary.
Return type:str
time_created

Gets the time_created of this TagNamespaceSummary. Date and time the tag namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this TagNamespaceSummary.
Return type:datetime