检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ShowAsyncDeviceCommandRequest request = new ShowAsyncDeviceCommandRequest(); request.withDeviceId("{device_id}"); request.withCommandId("{command_id}");
build() try: request = ShowTargetsInDevicePolicyRequest() request.policy_id = "{policy_id}" request.body = ShowTargets
build() try: request = UpdateDeviceGroupRequest() request.group_id = "{group_id}" request.body = UpdateDeviceGroupDTO(
0.9.0 新功能 增加网关更新子设备状态接口 0.8.0 功能增强 更换新的接入域名(iot-mqtts.cn-north-4.myhuaweicloud.com)和根证书。 如果设备使用老域名(iot-acc.cn-north-4.myhuaweicloud.com)接入,请使用
request = DeleteApplicationRequest() request.app_id = "{app_id}" response = client.delete_application(request)
0.9.0 新功能 增加网关更新子设备状态接口 0.8.0 功能增强 更换新的接入域名(iot-mqtts.cn-north-4.myhuaweicloud.com)和根证书。 如果设备使用老域名(iot-acc.cn-north-4.myhuaweicloud.com)接入,请使用
ager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"add_sub_device_request"。 event_time 可选 String 参数解释: 事件时间。UTC时间,格式:yyyyMMdd'T'HHmmss'Z'。 设
try: request = UpdateRoutingBacklogPolicyRequest() request.policy_id = "{policy_id}" request.body = UpdateBacklogPolicy(
request = DeleteOtaPackageRequest() request.package_id = "{package_id}" response = client.delete_ota_package(request)
DeleteRoutingFlowControlPolicyRequest request = new DeleteRoutingFlowControlPolicyRequest(); request.withPolicyId("{policy_id}");
CountAsyncHistoryCommandsRequest request = new CountAsyncHistoryCommandsRequest(); request.withDeviceId("{device_id}"); try
AddQueueRequest request = new AddQueueRequest(); QueueInfo body = new QueueInfo(); body.withQueueName("myQueue"); request.withBody(body);
try: request = ShowApplicationRequest() request.app_id = "{app_id}" response = client.show_application(request) print(response)
图1 添加自定义策略 新增注册组 图2 新增注册组 图3 添加云证书自定义策略注册组 创建并下载设备证书 图4 创建云证书注册组设备证书 图5 创建云证书注册组设备证书详情 设备证书创建成功后,单击“下载”设备证书和私钥,并烧录到设备。 图6 下载云证书注册组设备证书 连接鉴权 MQTT
build(); DeleteDeviceAuthorizerRequest request = new DeleteDeviceAuthorizerRequest(); request.withAuthorizerId("{authorizer_id}");
request = DeleteDeviceTunnelRequest() request.tunnel_id = "{tunnel_id}" response = client.delete_device_tunnel(request)
DeleteProvisioningTemplateRequest request = new DeleteProvisioningTemplateRequest(); request.withTemplateId("{template_id}");
certificate 北京四基础版 设备侧证书 pem、jks、bks 用于设备校验平台的身份。该证书必须配合当前设备侧接入域名使用。 注:之前的老域名(iot-acc.cn-north-4.myhuaweicloud.com)必须要配合老证书使用。 证书文件 certificate
request = CloseDeviceTunnelRequest() request.tunnel_id = "{tunnel_id}" response = client.close_device_tunnel(request)
request = DeleteRuleActionRequest() request.action_id = "{action_id}" response = client.delete_rule_action(request)