华为云命令行工具服务 KooCLI-自定义请求域名

时间:2025-02-12 14:54:22

自定义请求 域名

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"}}
support.huaweicloud.com/usermanual-hcli/hcli_05_18.html