forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
21 lines
3.0 KiB
HTML
21 lines
3.0 KiB
HTML
<a name="EN-US_TOPIC_0020092110"></a><a name="EN-US_TOPIC_0020092110"></a>
|
|
|
|
<h1 class="topictitle1">Image Tag Data Formats</h1>
|
|
<div id="body10796581"><div class="section" id="EN-US_TOPIC_0020092110__section45233201155329"><h4 class="sectiontitle">Description</h4><p id="EN-US_TOPIC_0020092110__p40010693155329">You can attach a custom tag to a private image to facilitate private image management. </p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020092110__section1440214081613"><h4 class="sectiontitle">Data Formats</h4><div class="p" id="EN-US_TOPIC_0020092110__p224011324188">Data format of <strong id="EN-US_TOPIC_0020092110__b84235270675647">tag</strong><ul id="EN-US_TOPIC_0020092110__ul8434154051616"><li id="EN-US_TOPIC_0020092110__li14341240201618">The data format is <em id="EN-US_TOPIC_0020092110__i842352697154139">key.value</em>. If a key is added, a tag is added. In other cases, the tag is modified.</li><li id="EN-US_TOPIC_0020092110__li12434154061614">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.</li><li id="EN-US_TOPIC_0020092110__li34341340161618">The tag can contain only digits, letters, underscores (_), and hyphens (-).</li></ul>
|
|
</div>
|
|
<div class="p" id="EN-US_TOPIC_0020092110__p3240632171810">Data format of <strong id="EN-US_TOPIC_0020092110__b9991126182810">image_tags</strong><ul id="EN-US_TOPIC_0020092110__ul202401732191814"><li id="EN-US_TOPIC_0020092110__li194341240181610">The data format is <em id="EN-US_TOPIC_0020092110__i8423526978533">{"key": "keyA", "value": "valueA"}</em>. If the added key A exists, the tag is updated.</li><li id="EN-US_TOPIC_0020092110__li192409321189">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.</li><li id="EN-US_TOPIC_0020092110__li13346195492816">If the first and last characters of the tag key and value are spaces, the system deletes the space by default.</li></ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0020092110__section159141650141610"><h4 class="sectiontitle">Data Formats (Native OpenStack)</h4><div class="p" id="EN-US_TOPIC_0020092110__p3525638162319">Data format of <strong id="EN-US_TOPIC_0020092110__b74420121283">tag</strong><ul id="EN-US_TOPIC_0020092110__ul1252543832312"><li id="EN-US_TOPIC_0020092110__li196878012349">The data format is <em id="EN-US_TOPIC_0020092110__i842352697154216">key</em>. If a key is added, a tag is added. In other cases, the tag is modified.</li><li id="EN-US_TOPIC_0020092110__li1368740183415">The tag key can contain a maximum of 255 characters.</li><li id="EN-US_TOPIC_0020092110__li752516388235">The tag can contain only digits, letters, underscores (_), and hyphens (-).</li></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0135481403.html">Common Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|