Class Tag
Details of the tag that is being created.
Inherited Members
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 |