Updated on 2023-05-05 GMT+08:00

Image Tag Data Formats

Description

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

Image Tag 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.
  • A tag key consists of up to 36 characters. Character set: A-Z, a-z, 0-9, '-', '_', and Unicode characters (\u4E00-\u9FFF)
  • A tag value consists of 0 to 43 characters, Character set: A-Z, a-z, 0-9, '.', '-', '_', and Unicode characters (\u4E00-\u9FFF)

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