Updated on 2023-03-13 GMT+08:00

Specifying a Domain Name

Use cli-endpoint to specify a domain name of the target cloud service. By default, KooCLI sends requests to the target cloud service in the relevant region. You can also specify an endpoint of this cloud service.

hcloud IoTDA UpdateDevice --cli-region="ap-southeast-1" --description="test update device" --device_id="testz*********************0802" --cli-endpoint="iot-mqtts.ap-southeast-1.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"
	}
}