Class 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.
Inheritance
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class TagNamespace : object
Properties
CompartmentId
Declaration
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the compartment that contains the tag namespace. |
Remarks
Required
DefinedTags
Declaration
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, System.Object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description you assign to the tag namespace. |
Remarks
Required
FreeformTags
Declaration
public System.Collections.Generic.Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | 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"} |
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the tag namespace. |
Remarks
Required
IsRetired
Declaration
public System.Nullable<bool> IsRetired { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Whether the tag namespace is retired. See Retiring Key Definitions and Namespace Definitions. |
Remarks
Required
LifecycleState
Declaration
public System.Nullable<TagNamespace.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TagNamespace.LifecycleStateEnum> | The tagnamespace's current state. After creating a tagnamespace, make sure its |
Locks
Declaration
public System.Collections.Generic.List<ResourceLock> Locks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ResourceLock> | Locks associated with this resource. |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed. |
Remarks
Required
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time the tagNamespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z |
Remarks
Required