Class StandardTagDefinitionTemplate
The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class StandardTagDefinitionTemplate
Properties
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The default description of the tag namespace that users can use to create the tag definition |
Remarks
Required
EnumMutability
Declaration
[JsonProperty(PropertyName = "enumMutability")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StandardTagDefinitionTemplate.EnumMutabilityEnum? EnumMutability { get; set; }
Property Value
Type | Description |
---|---|
StandardTagDefinitionTemplate.EnumMutabilityEnum? | The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags |
IsCostTracking
Declaration
[Required(ErrorMessage = "IsCostTracking is required.")]
[JsonProperty(PropertyName = "isCostTracking")]
public bool? IsCostTracking { get; set; }
Property Value
Type | Description |
---|---|
bool? | Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated |
Remarks
Required
PossibleValues
Declaration
[JsonProperty(PropertyName = "possibleValues")]
public List<string> PossibleValues { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of possible values. An optional parameter that will be present if the type of definition is enum. |
TagDefinitionName
Declaration
[Required(ErrorMessage = "TagDefinitionName is required.")]
[JsonProperty(PropertyName = "tagDefinitionName")]
public string TagDefinitionName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of this standard tag definition |
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StandardTagDefinitionTemplate.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
StandardTagDefinitionTemplate.TypeEnum? | The type of tag definition. Enum or string. |
Remarks
Required