专属主机 DEH-按标签查询专属主机列表:请求示例

时间:2024-04-16 09:01:32

请求示例

按标签查询专属主机列表,按标签过滤专属主机,从第一条数据开始查询,搜索名称为resource1的专属主机,标签键为key1值为value1。
POST https://{Endpoint}/v1.0/9c53a566cb3443ab910cf0daebca90c4/dedicated-host-tags/resource_instances/action 
{ 
    "offset": "0",
    "limit": "100",
    "action": "filter",
    "matches": [
        {
            "key": "resource_name",
            "value": "resource1"
        }
    ],
    "tags": [
        {
            "key": "key1",
            "values": ["value1"]
        }
    ]
}
support.huaweicloud.com/api-deh/deh_05_0904.html