Show / Hide Table of Contents

Class Tag

Details of the tag that is being created.

Inheritance
object
Tag
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GovernancerulescontrolplaneService.Models
Assembly: OCI.DotNetSDK.Governancerulescontrolplane.dll
Syntax
public class Tag

Properties

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description assigned to the tag during creation.

IsCostTracking

Declaration
[JsonProperty(PropertyName = "isCostTracking")]
public bool? IsCostTracking { get; set; }
Property Value
Type Description
bool?

Indicates whether the tag is enabled for cost tracking.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name you assign to the tag during creation. This is the tag key definition. The name must be unique within the tag namespace and cannot be changed.

Remarks

Required

Validator

Declaration
[JsonProperty(PropertyName = "validator")]
public BaseTagDefinitionValidator Validator { get; set; }
Property Value
Type Description
BaseTagDefinitionValidator
In this article
Back to top