Tag

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

Bases: object

Describes a tag.

Methods:

__init__(**kwargs)

Initializes a new Tag object with values from keyword arguments.

Attributes:

key

Gets the key of this Tag.

value

Gets the 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
  • key (str) – The value to assign to the key property of this Tag.

  • value (str) – The value to assign to the value property of this Tag.

property key

Gets the key of this Tag. The key of the tag.

Returns

The key of this Tag.

Return type

str

property value

Gets the value of this Tag. The value of the tag.

Returns

The value of this Tag.

Return type

str