Tag

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

Bases: object

Definition of a tag which is a key value pair.

Methods

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

Attributes

tag_name [Required] Gets the tag_name of this Tag.
tag_value [Required] Gets the tag_value 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:
  • tag_name (str) – The value to assign to the tag_name property of this Tag.
  • tag_value (str) – The value to assign to the tag_value property of this Tag.
tag_name

[Required] Gets the tag_name of this Tag. Key that specifies the tag name.

Returns:The tag_name of this Tag.
Return type:str
tag_value

[Required] Gets the tag_value of this Tag. Value associated with the tag key.

Returns:The tag_value of this Tag.
Return type:str