Updated on 2022-02-22 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 cannot contain equal signs (=), asterisks (*), angle brackets (< and >), backslashes (\), commas (,), vertical bars (|), or slashes (/), and the first and last characters cannot be spaces.
  • The tag key must be unique and cannot be empty.
  • The tag value cannot contain equal signs (=), asterisks (*), angle brackets (< and >), backslashes (\), commas (,), vertical bars (|), or slashes (/), and the first and last characters cannot be spaces.
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 cannot contain equal signs (=), asterisks (*), angle brackets (< and >), backslashes (\), commas (,), vertical bars (|), or slashes (/), and the first and last characters cannot be spaces.
  • The tag key must be unique and cannot be empty.
  • The tag value cannot contain equal signs (=), asterisks (*), angle brackets (< and >), backslashes (\), commas (,), vertical bars (|), or slashes (/), and the first and last characters cannot be spaces.

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 (=).