zstackio / zstack

ZStack - the open-source IaaS software http://zstack.org (国内用户请至 http://zstack.io)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问如何通过 cli 和 http api 删除系统标签

ztj1993 opened this issue · comments

commented
admin >>>QuerySystemTag resourceUuid=4e112756c1c247eea0bb8662a76bad3e
{
    "inventories": [
        {
            "createDate": "Mar 30, 2022 9:07:54 PM",
            "inherent": false,
            "lastOpDate": "Mar 30, 2022 9:07:54 PM",
            "resourceType": "VolumeVO",
            "resourceUuid": "4e112756c1c247eea0bb8662a76bad3e",
            "tag": "kvm::volume::0x000f71194406d51a",
            "type": "System",
            "uuid": "e42e7bffffa843459c94fbaef3f0d452"
        },
        {
            "createDate": "Mar 31, 2022 9:42:32 AM",
            "inherent": false,
            "lastOpDate": "Mar 31, 2022 9:42:32 AM",
            "resourceType": "VolumeVO",
            "resourceUuid": "4e112756c1c247eea0bb8662a76bad3e",
            "tag": "capability::virtio-scsi",
            "type": "System",
            "uuid": "ea80bca7bea546f8b6ef12c71dcae320"
        }
    ],
    "success": true
}

请问如何通过 cli 命令或者 http api 接口删除 capability::virtio-scsi 标签,我看了文档,没有找到相关的命令和接口。

commented

参考 #1295