华为乾坤-查询模板绑定:响应示例

时间:2025-02-17 11:38:51

响应示例

返回状态码为200:Successful operation

HTTP/1.1 200 OK
Date: Fri,03 Dec 2021 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
    "huawei-nce-aoc-config-template-binding:output": {
        "template-binding": [
            {
                "template-binding-id": "6be5dfb6-d051-4f09-a3a4-5672e07e68ce",
                "template-binding-name": "test222",
                "template-binding-description": "no5 descrition",
                "create-time": "2024-01-19T08:52:47Z",
                "create-time-ui": "2024-01-19 08:52:47",
                "device-count": 1,
                "deploying-device-count": 0,
                "deployed-lastest-success-device-count": 1,
                "unbound-status": false,
                "template": [
                    {
                        "template-id": "5da7950e-70dd-46a2-8653-f2f08afaa5b6",
                        "template-name": "campus",
                        "template-binding-status": "last-template-deployed",
                        "template-variable-status": "last-variable-deployed",
                        "deploy-last-version": true
                    }
                ]
            }
        ],
        "total-count": 1
    }
}

返回状态码为400:Bad Request

HTTP/1.1 400 Bad Request
Date: Fri,30 Dec 2022 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002159327229.html