检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
request = DeleteDevicePolicyRequest() request.policy_id = "{policy_id}" response = client.delete_device_policy(request)
request = DeleteDeviceGroupRequest() request.group_id = "{group_id}" response = client.delete_device_group(request)
try: request = DeleteQueueRequest() request.queue_id = "{queue_id}" response = client.delete_queue(request) print(response)
是否必选 参数类型 描述 tag_key 是 String 参数说明:标签键,在同一资源下标签键唯一。绑定资源时,如果设置的键已存在,则将覆盖之前的标签值。如果设置的键值不存在,则新增标签。 tag_value 否 String 参数说明:标签值。 响应参数 无 请求示例 设备删除通知示例:
AT+HMCON 该指令用于设置MQTT协议连接参数。 指令 参数 参数缺省处理 AT响应结果 使用示例 AT+HMCON=bsmode,lifetime,serverip,serverport,deviceid,passwd,codec bsmode:0表示非bs模式,1表示bs模式。
建立连接 在com.iot.mqtt.example.demo.MqttConstants中设置接入地址及鉴权参数的值: // IoT平台mqtt接入地址,替换成"连接配置说明中"的"MQTT接入域名。 String HOST = "${HOST}"; // 接入凭证,替换成"获取MQTT接入凭证"中获取的接入凭证。
request = DeleteFunctionsRequest() request.function_id = "{function_id}" response = client.delete_functions(request)
try: request = DeleteBridgeRequest() request.bridge_id = "{bridge_id}" response = client.delete_bridge(request) print(response)
request = DeleteDeviceProxyRequest() request.proxy_id = "{proxy_id}" response = client.delete_device_proxy(request)
request = DeleteBatchTaskFileRequest() request.file_id = "{file_id}" response = client.delete_batch_task_file(request)
try: request = DeleteRuleRequest() request.rule_id = "{rule_id}" response = client.delete_rule(request) print(response)
request = UnfreezeDeviceRequest() request.device_id = "{device_id}" response = client.unfreeze_device(request)
request = DeleteRoutingRuleRequest() request.rule_id = "{rule_id}" response = client.delete_routing_rule(request)
build() try: request = ShowTargetsInDevicePolicyRequest() request.policy_id = "{policy_id}" request.body = ShowTargets
build() try: request = UpdateDeviceGroupRequest() request.group_id = "{group_id}" request.body = UpdateDeviceGroupDTO(
\ .build() try: request = CreateRoutingFlowControlPolicyRequest() request.body = AddFlowControlPolicy(
0.9.0 新功能 增加网关更新子设备状态接口 0.8.0 功能增强 更换新的接入域名(iot-mqtts.cn-north-4.myhuaweicloud.com)和根证书。 如果设备使用老域名(iot-acc.cn-north-4.myhuaweicloud.com)接入,请使用
request = DeleteOtaPackageRequest() request.package_id = "{package_id}" response = client.delete_ota_package(request)
DeleteRoutingFlowControlPolicyRequest request = new DeleteRoutingFlowControlPolicyRequest(); request.withPolicyId("{policy_id}");
DeleteRoutingBacklogPolicyRequest request = new DeleteRoutingBacklogPolicyRequest(); request.withPolicyId("{policy_id}");