Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace TagNamespace

A managed container for defined tags. A tag namespace is unique in a tenancy. For more information, see Managing Tags and Tag Namespaces.

*Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Properties

compartmentId

compartmentId: string

The OCID of the compartment that contains the tag namespace.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"Operations": {"CostCenter": "42"}}}

description

description: string

The description you assign to the tag namespace.

Optional freeformTags

freeformTags: undefined | object

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: {@code {"Department": "Finance"}}

id

id: string

The OCID of the tag namespace.

isRetired

isRetired: boolean

Whether the tag namespace is retired. See Retiring Key Definitions and Namespace Definitions.

Optional lifecycleState

lifecycleState: LifecycleState

The tagnamespace's current state. After creating a tagnamespace, make sure its {@code lifecycleState} is ACTIVE before using it. After retiring a tagnamespace, make sure its {@code lifecycleState} is INACTIVE before using it.

Optional locks

Locks associated with this resource.

name

name: string

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

timeCreated

timeCreated: Date

Date and time the tagNamespace was created, in the format defined by RFC3339. Example: {@code 2016-08-25T21:10:29.600Z}

Functions

getDeserializedJsonObj

getJsonObj