更新时间:2023-03-08 GMT+08:00
自定义请求域名
cli-endpoint用于自定义请求云服务的域名。KooCLI默认会请求对应区域的目标云服务,您也可以针对该云服务指定Endpoint:
hcloud IoTDA UpdateDevice --cli-region="cn-north-4" --description="test update device" --device_id="testz*********************0802" --cli-endpoint="iot-mqtts.cn-north-4.myhuaweicloud.com"
{
"app_id" : "103b************************6202",
"app_name" : "DefaultApp_********",
"device_id" : "testz*********************0802",
"node_id" : "testz*********************0802",
"gateway_id" : "testz*********************0802",
"device_name" : "test********************************************0802",
"node_type" : "CATEWAY",
"description" : "test update device",
"fw_version" : null,
"sw_version" : null,
"device_sdk_version" : null,
"auth_info" : {
"auth_type" : "CERTIFICATES"
"secret" : null,
"fingerprint" : "e30db21************************b1772929c",
"secure_access" : true,
"timeout" : 0
}
"product_id" : "50c1************************588e",
"product_name" : "50c1************************588e",
"status" : "INACTIVE",
"create time" : "20220801T085024z",
"tags" : [],
"extension_info" : {
"shal_fingerprint" : "82cd23e2************************e089d59d",
"sha256_fingerprint" : "396ldb************************************************4a5f88ccb7"
}
}
父主题: 选项说明