Tag

class oci.governance_rules_control_plane.models.Tag(**kwargs)

Bases: object

Details of the tag that is being created.

Methods

__init__(**kwargs) Initializes a new Tag object with values from keyword arguments.

Attributes

description Gets the description of this Tag.
is_cost_tracking Gets the is_cost_tracking of this Tag.
name [Required] Gets the name of this Tag.
validator Gets the validator of this Tag.
__init__(**kwargs)

Initializes a new Tag object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this Tag.
  • description (str) – The value to assign to the description property of this Tag.
  • is_cost_tracking (bool) – The value to assign to the is_cost_tracking property of this Tag.
  • validator (oci.governance_rules_control_plane.models.BaseTagDefinitionValidator) – The value to assign to the validator property of this Tag.
description

Gets the description of this Tag. The description assigned to the tag during creation.

Returns:The description of this Tag.
Return type:str
is_cost_tracking

Gets the is_cost_tracking of this Tag. Indicates whether the tag is enabled for cost tracking.

Returns:The is_cost_tracking of this Tag.
Return type:bool
name

[Required] Gets the name of this Tag. 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.

Returns:The name of this Tag.
Return type:str
validator

Gets the validator of this Tag.

Returns:The validator of this Tag.
Return type:oci.governance_rules_control_plane.models.BaseTagDefinitionValidator