Updated on 2024-06-25 GMT+08:00

Image Tag Data Formats

Description

You can attach a custom tag to a private image to facilitate private image management.

Data Formats

Data format of tag
  • The data format is key.value. If a key is added, a tag is added. In other cases, the tag is modified.
  • When the tag contains multiple decimal points, the content before the first decimal point is the key, and that after the first decimal point is the value. If the content after the first decimal point still contains decimal points, the content as a whole is considered as the value. If the tag contains no decimal point, the value is regarded as an empty character string.
  • The tag key can contain a maximum of 36 characters, and the tag value can contain a maximum of 43 characters. The tag value can be an empty character string.
  • The tag key can only consist of digits, letters, underscores (_), and hyphens (-).
  • The tag key must be unique and cannot be empty.
  • The tag value can only consist of digits, letters, underscores (_), periods (.), and hyphens (-).
Data format of image_tags
  • The data format is {"key": "keyA", "value": "valueA"}. If the added key A exists, the tag is updated.
  • The tag key can contain a maximum of 36 characters, and the tag value can contain a maximum of 43 characters. The tag value can be an empty character string.
  • The tag key can only consist of digits, letters, underscores (_), and hyphens (-).
  • The tag key must be unique and cannot be empty.
  • The tag value can only consist of digits, letters, underscores (_), periods (.), and hyphens (-).

Data Formats (Native OpenStack)

Data format of tag
  • The data format is key. If a key is added, a tag is added. In other cases, the tag is modified.
  • The tag key can contain a maximum of 255 characters.
  • The character string cannot contain equal signs (=).