tccli 3.0.1294.1__py2.py3-none-any.whl → 3.0.1296.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/v20200309/api.json +123 -116
  3. tccli/services/bi/v20220105/api.json +17 -17
  4. tccli/services/bi/v20220105/examples.json +16 -16
  5. tccli/services/cam/v20190116/api.json +2 -2
  6. tccli/services/cam/v20190116/examples.json +1 -1
  7. tccli/services/captcha/v20190722/api.json +49 -39
  8. tccli/services/cbs/v20170312/api.json +16 -16
  9. tccli/services/ccc/v20200210/api.json +124 -23
  10. tccli/services/ccc/v20200210/examples.json +1 -1
  11. tccli/services/cdc/v20201214/api.json +1 -1
  12. tccli/services/cdn/v20180606/api.json +61 -55
  13. tccli/services/cdn/v20180606/examples.json +11 -11
  14. tccli/services/cdwpg/v20201230/api.json +21 -21
  15. tccli/services/cdwpg/v20201230/examples.json +6 -6
  16. tccli/services/cfw/v20190904/api.json +1 -1
  17. tccli/services/chc/v20230418/api.json +1 -1
  18. tccli/services/ckafka/v20190819/api.json +3 -3
  19. tccli/services/clb/v20180317/api.json +1 -1
  20. tccli/services/cme/v20191029/api.json +522 -501
  21. tccli/services/cme/v20191029/examples.json +138 -138
  22. tccli/services/cvm/v20170312/api.json +1 -1
  23. tccli/services/cwp/v20180228/api.json +40 -0
  24. tccli/services/cynosdb/v20190107/api.json +15 -15
  25. tccli/services/dbdc/v20201029/api.json +42 -42
  26. tccli/services/dlc/v20210125/api.json +212 -17
  27. tccli/services/domain/v20180808/api.json +5 -5
  28. tccli/services/dts/v20180330/api.json +2 -2
  29. tccli/services/dts/v20211206/api.json +14 -14
  30. tccli/services/ecdn/v20191012/api.json +4 -4
  31. tccli/services/emr/v20190103/api.json +2 -2
  32. tccli/services/ess/v20201111/api.json +13 -4
  33. tccli/services/essbasic/v20210526/api.json +3 -3
  34. tccli/services/essbasic/v20210526/examples.json +2 -2
  35. tccli/services/gs/v20191118/api.json +9 -0
  36. tccli/services/hai/v20230812/api.json +53 -53
  37. tccli/services/hunyuan/v20230901/api.json +3 -3
  38. tccli/services/iotcloud/v20210408/api.json +64 -60
  39. tccli/services/iotcloud/v20210408/examples.json +13 -13
  40. tccli/services/iotexplorer/v20190423/api.json +20 -0
  41. tccli/services/iotvideo/v20191126/api.json +35 -34
  42. tccli/services/iotvideo/v20191126/examples.json +2 -2
  43. tccli/services/iotvideo/v20201215/api.json +314 -296
  44. tccli/services/iotvideo/v20201215/examples.json +56 -56
  45. tccli/services/iotvideo/v20211125/api.json +309 -281
  46. tccli/services/iotvideo/v20211125/examples.json +68 -68
  47. tccli/services/live/v20180801/api.json +39 -10
  48. tccli/services/live/v20180801/examples.json +1 -1
  49. tccli/services/lkeap/v20240522/api.json +11 -1
  50. tccli/services/mariadb/v20170312/api.json +5 -5
  51. tccli/services/mmps/v20200710/api.json +8 -8
  52. tccli/services/monitor/v20180724/api.json +59 -3
  53. tccli/services/monitor/v20180724/examples.json +2 -2
  54. tccli/services/mps/v20190612/api.json +123 -4
  55. tccli/services/mqtt/v20240516/api.json +144 -105
  56. tccli/services/mqtt/v20240516/examples.json +9 -9
  57. tccli/services/ocr/ocr_client.py +16 -175
  58. tccli/services/ocr/v20181119/api.json +15 -245
  59. tccli/services/ocr/v20181119/examples.json +1 -25
  60. tccli/services/partners/partners_client.py +118 -65
  61. tccli/services/partners/v20180321/api.json +93 -0
  62. tccli/services/partners/v20180321/examples.json +8 -0
  63. tccli/services/privatedns/v20201028/api.json +32 -32
  64. tccli/services/sqlserver/v20180328/api.json +37 -0
  65. tccli/services/taf/taf_client.py +53 -0
  66. tccli/services/taf/v20200210/api.json +138 -0
  67. tccli/services/taf/v20200210/examples.json +8 -0
  68. tccli/services/tag/v20180813/api.json +77 -75
  69. tccli/services/tag/v20180813/examples.json +10 -10
  70. tccli/services/tbaas/v20180416/api.json +21 -16
  71. tccli/services/tcr/v20190924/api.json +41 -23
  72. tccli/services/tdid/v20210519/api.json +12 -12
  73. tccli/services/tdmq/tdmq_client.py +0 -53
  74. tccli/services/tdmq/v20200217/api.json +2 -54
  75. tccli/services/tdmq/v20200217/examples.json +0 -8
  76. tccli/services/thpc/v20230321/api.json +10 -0
  77. tccli/services/tke/tke_client.py +61 -8
  78. tccli/services/tke/v20180525/api.json +355 -245
  79. tccli/services/tke/v20180525/examples.json +14 -0
  80. tccli/services/trtc/v20190722/api.json +19 -0
  81. tccli/services/tsf/v20180326/api.json +44 -12
  82. tccli/services/vod/v20180717/api.json +1486 -1415
  83. tccli/services/vod/v20180717/examples.json +50 -50
  84. tccli/services/vpc/v20170312/api.json +137 -56
  85. tccli/services/vpc/v20170312/examples.json +5 -5
  86. tccli/services/waf/v20180125/api.json +2 -2
  87. tccli/services/waf/v20180125/examples.json +2 -2
  88. {tccli-3.0.1294.1.dist-info → tccli-3.0.1296.1.dist-info}/METADATA +2 -2
  89. {tccli-3.0.1294.1.dist-info → tccli-3.0.1296.1.dist-info}/RECORD +92 -92
  90. {tccli-3.0.1294.1.dist-info → tccli-3.0.1296.1.dist-info}/WHEEL +0 -0
  91. {tccli-3.0.1294.1.dist-info → tccli-3.0.1296.1.dist-info}/entry_points.txt +0 -0
  92. {tccli-3.0.1294.1.dist-info → tccli-3.0.1296.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatCompletions": {
4
- "document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为5。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
4
+ "document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为5。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
5
5
  "input": "ChatCompletionsRequest",
6
6
  "name": "DeepSeek API 接口",
7
7
  "output": "ChatCompletionsResponse",
@@ -1032,6 +1032,16 @@
1032
1032
  "output_required": false,
1033
1033
  "type": "string",
1034
1034
  "value_allowed_null": false
1035
+ },
1036
+ {
1037
+ "disabled": false,
1038
+ "document": "思维链内容。 ReasoningConent参数仅支持出参,且只有deepseek-r1模型会返回。",
1039
+ "example": "无",
1040
+ "member": "string",
1041
+ "name": "ReasoningContent",
1042
+ "output_required": false,
1043
+ "type": "string",
1044
+ "value_allowed_null": false
1035
1045
  }
1036
1046
  ],
1037
1047
  "usage": "out"
@@ -1767,7 +1767,7 @@
1767
1767
  },
1768
1768
  {
1769
1769
  "disabled": false,
1770
- "document": "数据库引擎版本,当前可选:8.0,5.7,10.1,10.0。",
1770
+ "document": "数据库引擎版本,当前可选:8.0,5.7,10.1。",
1771
1771
  "example": "5.7",
1772
1772
  "member": "string",
1773
1773
  "name": "DbVersionId",
@@ -1882,23 +1882,23 @@
1882
1882
  },
1883
1883
  {
1884
1884
  "disabled": false,
1885
- "document": "订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。\n注意:此字段可能返回 null,表示取不到有效值。",
1885
+ "document": "订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。",
1886
1886
  "example": "[\"tdsql-dup8gl6t\"]",
1887
1887
  "member": "string",
1888
1888
  "name": "InstanceIds",
1889
1889
  "output_required": true,
1890
1890
  "type": "list",
1891
- "value_allowed_null": true
1891
+ "value_allowed_null": false
1892
1892
  },
1893
1893
  {
1894
1894
  "disabled": false,
1895
- "document": "异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。\n注意:此字段可能返回 null,表示取不到有效值。",
1895
+ "document": "异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)",
1896
1896
  "example": "22051110000",
1897
1897
  "member": "int64",
1898
1898
  "name": "FlowId",
1899
1899
  "output_required": true,
1900
1900
  "type": "int",
1901
- "value_allowed_null": true
1901
+ "value_allowed_null": false
1902
1902
  },
1903
1903
  {
1904
1904
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -1678,7 +1678,7 @@
1678
1678
  "example": "0",
1679
1679
  "member": "int64",
1680
1680
  "name": "Result",
1681
- "required": true,
1681
+ "output_required": true,
1682
1682
  "type": "int",
1683
1683
  "value_allowed_null": false
1684
1684
  },
@@ -1688,29 +1688,29 @@
1688
1688
  "example": "4",
1689
1689
  "member": "int64",
1690
1690
  "name": "Status",
1691
- "required": true,
1691
+ "output_required": true,
1692
1692
  "type": "int",
1693
1693
  "value_allowed_null": false
1694
1694
  },
1695
1695
  {
1696
1696
  "disabled": false,
1697
- "document": "诊断失败的错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
1697
+ "document": "诊断失败的错误信息",
1698
1698
  "example": "内部原因",
1699
1699
  "member": "string",
1700
1700
  "name": "ErrMsg",
1701
- "required": true,
1701
+ "output_required": false,
1702
1702
  "type": "string",
1703
- "value_allowed_null": true
1703
+ "value_allowed_null": false
1704
1704
  },
1705
1705
  {
1706
1706
  "disabled": false,
1707
- "document": "任务流详情\n注意:此字段可能返回 null,表示取不到有效值。",
1707
+ "document": "任务流详情",
1708
1708
  "example": "无",
1709
1709
  "member": "TaskFlowStepsInfo",
1710
1710
  "name": "FlowSteps",
1711
- "required": true,
1711
+ "output_required": false,
1712
1712
  "type": "list",
1713
- "value_allowed_null": true
1713
+ "value_allowed_null": false
1714
1714
  },
1715
1715
  {
1716
1716
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -2175,7 +2175,7 @@
2175
2175
  {
2176
2176
  "disabled": false,
2177
2177
  "document": "策略关联的过滤维度信息\n注意:此字段可能返回 null,表示取不到有效值。",
2178
- "example": "\"\"",
2178
+ "example": "",
2179
2179
  "member": "string",
2180
2180
  "name": "FilterDimensionsParam",
2181
2181
  "output_required": true,
@@ -2261,6 +2261,36 @@
2261
2261
  "output_required": false,
2262
2262
  "type": "list",
2263
2263
  "value_allowed_null": false
2264
+ },
2265
+ {
2266
+ "disabled": false,
2267
+ "document": "模板通知的等级\n注意:此字段可能返回 null,表示取不到有效值。",
2268
+ "example": "无",
2269
+ "member": "AlarmHierarchicalNotice",
2270
+ "name": "HierarchicalNotices",
2271
+ "output_required": false,
2272
+ "type": "list",
2273
+ "value_allowed_null": true
2274
+ },
2275
+ {
2276
+ "disabled": false,
2277
+ "document": "通知模板绑定内容模板信息,同NoticeTmplBindInfos\n注意:此字段可能返回 null,表示取不到有效值。",
2278
+ "example": "无",
2279
+ "member": "NoticeContentTmplBindInfo",
2280
+ "name": "NoticeContentTmplBindInfos",
2281
+ "output_required": false,
2282
+ "type": "list",
2283
+ "value_allowed_null": true
2284
+ },
2285
+ {
2286
+ "disabled": false,
2287
+ "document": "预设配置id\n注意:此字段可能返回 null,表示取不到有效值。",
2288
+ "example": "pre-sss",
2289
+ "member": "string",
2290
+ "name": "PredefinedConfigID",
2291
+ "output_required": false,
2292
+ "type": "string",
2293
+ "value_allowed_null": true
2264
2294
  }
2265
2295
  ],
2266
2296
  "usage": "out"
@@ -7064,7 +7094,7 @@
7064
7094
  },
7065
7095
  {
7066
7096
  "disabled": false,
7067
- "document": "告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:\n`[ {\"Dimensions\": {\"unInstanceId\": \"ins-qr8d555g\"}}, {\"Dimensions\": {\"unInstanceId\": \"ins-qr8d555h\"}} ]`\n具体也可以参考下方的示例 2。\n\n不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)\n\n注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时",
7097
+ "document": "告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:`[[{\"name\":\"unInstanceId\",\"value\":\"ins-qr888845g\"}]]`具体也可以参考下方的示例 2。不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时",
7068
7098
  "example": "[[{\"name\":\"unInstanceId\",\"value\":\"ins-qr888845g\"}]]",
7069
7099
  "member": "string",
7070
7100
  "name": "Dimensions",
@@ -7250,6 +7280,15 @@
7250
7280
  "name": "NoticeContentTmplIDs",
7251
7281
  "required": false,
7252
7282
  "type": "list"
7283
+ },
7284
+ {
7285
+ "disabled": false,
7286
+ "document": "是否为预设策略,1是,0否",
7287
+ "example": "1",
7288
+ "member": "int64",
7289
+ "name": "IsPredefined",
7290
+ "required": false,
7291
+ "type": "int"
7253
7292
  }
7254
7293
  ],
7255
7294
  "type": "object"
@@ -20891,6 +20930,7 @@
20891
20930
  "example": "http://www.123.com",
20892
20931
  "member": "string",
20893
20932
  "name": "URL",
20933
+ "output_required": true,
20894
20934
  "required": true,
20895
20935
  "type": "string",
20896
20936
  "value_allowed_null": true
@@ -20901,6 +20941,7 @@
20901
20941
  "example": "1",
20902
20942
  "member": "int64",
20903
20943
  "name": "IsValid",
20944
+ "output_required": true,
20904
20945
  "required": false,
20905
20946
  "type": "int",
20906
20947
  "value_allowed_null": true
@@ -20911,6 +20952,7 @@
20911
20952
  "example": "82hf8t",
20912
20953
  "member": "string",
20913
20954
  "name": "ValidationCode",
20955
+ "output_required": true,
20914
20956
  "required": false,
20915
20957
  "type": "string",
20916
20958
  "value_allowed_null": true
@@ -20921,6 +20963,7 @@
20921
20963
  "example": "0",
20922
20964
  "member": "int64",
20923
20965
  "name": "StartTime",
20966
+ "output_required": true,
20924
20967
  "required": false,
20925
20968
  "type": "int",
20926
20969
  "value_allowed_null": true
@@ -20931,6 +20974,7 @@
20931
20974
  "example": "86399",
20932
20975
  "member": "int64",
20933
20976
  "name": "EndTime",
20977
+ "output_required": true,
20934
20978
  "required": false,
20935
20979
  "type": "int",
20936
20980
  "value_allowed_null": true
@@ -20941,9 +20985,21 @@
20941
20985
  "example": "[1,2,5]",
20942
20986
  "member": "int64",
20943
20987
  "name": "Weekday",
20988
+ "output_required": true,
20944
20989
  "required": false,
20945
20990
  "type": "list",
20946
20991
  "value_allowed_null": true
20992
+ },
20993
+ {
20994
+ "disabled": false,
20995
+ "document": "组名\n注意:此字段可能返回 null,表示取不到有效值。",
20996
+ "example": "udo",
20997
+ "member": "string",
20998
+ "name": "GroupMembers",
20999
+ "output_required": false,
21000
+ "required": false,
21001
+ "type": "string",
21002
+ "value_allowed_null": true
20947
21003
  }
20948
21004
  ],
20949
21005
  "usage": "both"
@@ -22342,7 +22398,7 @@
22342
22398
  "example": "SYNC",
22343
22399
  "member": "string",
22344
22400
  "name": "PhoneCallType",
22345
- "output_required": true,
22401
+ "output_required": false,
22346
22402
  "required": false,
22347
22403
  "type": "string",
22348
22404
  "value_allowed_null": true
@@ -572,13 +572,13 @@
572
572
  {
573
573
  "document": "根据接收组搜索",
574
574
  "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmPolicies\n<公共请求参数>\n\n{\n \"Module\": \"monitor\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
575
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0,\n \"TagOperation\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
575
+ "output": "{\n \"Response\": {\n \"Policies\": [\n {\n \"AdvancedMetricNumber\": 0,\n \"CanSetDefault\": 1,\n \"Condition\": {\n \"ComplexExpression\": \"\",\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"CPU利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"CpuUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"外网出带宽使用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"Outratio\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"内存利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"MemUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"磁盘利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"CvmDiskUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"基础CPU利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"BaseCpuUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"0\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n }\n ]\n },\n \"ConditionTemplateId\": \"\",\n \"ConditionsTemp\": {\n \"Condition\": null,\n \"EventCondition\": null,\n \"TemplateName\": \"\"\n },\n \"Enable\": 0,\n \"EventCondition\": {\n \"Rules\": [\n {\n \"ContinuePeriod\": 0,\n \"Description\": \"机器重启\",\n \"Filter\": null,\n \"HierarchicalValue\": null,\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"cvm:ErrorEvent:GuestReboot\",\n \"NoticeFrequency\": 0,\n \"Operator\": \"\",\n \"Period\": 0,\n \"ProductId\": \"\",\n \"RuleType\": \"\",\n \"Unit\": \"\",\n \"Value\": \"\",\n \"ValueMax\": null,\n \"ValueMin\": null\n }\n ]\n },\n \"Filter\": null,\n \"FilterDimensionsParam\": \"\",\n \"GroupBy\": null,\n \"HierarchicalNotices\": [\n {\n \"Classification\": [\n \"\"\n ],\n \"NoticeId\": \"notice-lnrxepp7\",\n \"PolicyId\": \"policy-s5yso1am\"\n },\n {\n \"Classification\": [\n \"\"\n ],\n \"NoticeId\": \"notice-lzpys7tu\",\n \"PolicyId\": \"policy-s5yso1am\"\n }\n ],\n \"InsertTime\": 1739863161,\n \"InstanceGroupId\": 0,\n \"InstanceGroupName\": \"\",\n \"InstanceSum\": 0,\n \"IsBindAll\": 0,\n \"IsDefault\": 0,\n \"IsOneClick\": 0,\n \"IsSupportAlarmTag\": 1,\n \"LastEditUin\": \"700000233161\",\n \"MonitorType\": \"MT_QCE\",\n \"Namespace\": \"cvm_device\",\n \"NamespaceShowName\": \"云服务器-基础监控\",\n \"NoticeContentTmplBindInfos\": null,\n \"NoticeIds\": [\n \"notice-lnrxepp7\",\n \"notice-lzpys7tu\"\n ],\n \"Notices\": [\n {\n \"AMPConsumerId\": \"\",\n \"CLSNotices\": [],\n \"Id\": \"notice-lnrxepp7\",\n \"IsPreset\": 1,\n \"Name\": \"系统预设通知模板\",\n \"NoticeLanguage\": \"zh-CN\",\n \"NoticeType\": \"ALL\",\n \"PolicyIds\": null,\n \"Tags\": null,\n \"URLNotices\": [],\n \"UpdatedAt\": \"2020-11-13 17:02:44\",\n \"UpdatedBy\": \"1500000685\",\n \"UserNotices\": [\n {\n \"EndTime\": 86399,\n \"GroupIds\": [],\n \"NeedPhoneArriveNotice\": 0,\n \"NoticeWay\": [\n \"SMS\",\n \"EMAIL\"\n ],\n \"OnCallFormIDs\": [\n \"\"\n ],\n \"PhoneCircleInterval\": 0,\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneOrder\": [],\n \"ReceiverType\": \"USER\",\n \"StartTime\": 0,\n \"UserIds\": [\n 1000909\n ],\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n }\n ]\n },\n {\n \"AMPConsumerId\": \"\",\n \"CLSNotices\": [],\n \"Id\": \"notice-lzpys7tu\",\n \"IsPreset\": 0,\n \"Name\": \"Eric-告警回调\",\n \"NoticeLanguage\": \"zh-CN\",\n \"NoticeType\": \"ALL\",\n \"PolicyIds\": null,\n \"Tags\": null,\n \"URLNotices\": [\n {\n \"EndTime\": 86399,\n \"IsValid\": 0,\n \"StartTime\": 0,\n \"URL\": \"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=47483435-2b48-4706-b76e-ac56e98be374\",\n \"ValidationCode\": \"\",\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n },\n {\n \"EndTime\": 86399,\n \"IsValid\": 0,\n \"StartTime\": 0,\n \"URL\": \"http://123.com\",\n \"ValidationCode\": \"\",\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n }\n ],\n \"UpdatedAt\": \"2023-05-08 20:47:39\",\n \"UpdatedBy\": \"700000233161\",\n \"UserNotices\": []\n }\n ],\n \"OneClickStatus\": 0,\n \"OriginId\": \"2963911\",\n \"PolicyId\": \"policy-s5yso1am\",\n \"PolicyName\": \"Eric-新增收敛测试\",\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\",\n \"Region\": [\n \"bj\",\n \"bjjr\",\n \"cd\",\n \"cgoec\",\n \"cq\",\n \"csec\",\n \"de\",\n \"fzec\",\n \"gz\",\n \"gzopen\",\n \"gzwxzf\",\n \"hfeec\",\n \"hk\",\n \"hzec\",\n \"in\",\n \"jkt\",\n \"jnec\",\n \"jp\",\n \"kr\",\n \"nj\",\n \"qy\",\n \"qyxa\",\n \"sao\",\n \"sg\",\n \"sh\",\n \"shadc\",\n \"sheec\",\n \"shhqcft\",\n \"shjr\",\n \"shwxzf\",\n \"sjwec\",\n \"szjr\",\n \"szjxcft\",\n \"szsycft\",\n \"szx\",\n \"th\",\n \"tpe\",\n \"tsn\",\n \"use\",\n \"usw\",\n \"whec\",\n \"xbec\",\n \"xiyec\"\n ],\n \"Remark\": \"\",\n \"RuleType\": \"STATIC\",\n \"TagInstances\": [],\n \"TagOperation\": \"\",\n \"Tags\": [],\n \"TriggerTasks\": [],\n \"UpdateTime\": 1741072433,\n \"UseSum\": 4\n }\n ],\n \"RequestId\": \"cd403f27-3cea-4565-8856-36907e07a026\",\n \"TotalCount\": 216\n }\n}",
576
576
  "title": "根据接收组搜索"
577
577
  },
578
578
  {
579
579
  "document": "按照实例过滤策略,需要填入监控类型、策略类型、实例的维度信息。我们以搜索两个云服务器为例,假设他们的实例 ID 分别为 `ins-qr8d555g`, `ins-qr8d555h`。\n\nMonitorTypes 指定为 `MT_QCE`\n\nNamespaces 指定为 `cvm_device`\n\nDimensions 的 JSON 字符串为\n\n```\n[\n {\n \"Dimensions\": {\n \"unInstanceId\": \"ins-qr8d555g\"\n }\n },\n {\n \"Dimensions\": {\n \"unInstanceId\": \"ins-qr8d555h\"\n }\n }\n]\n```\n\n不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)",
580
580
  "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmPolicies\n<公共请求参数>\n\n{\n \"Module\": \"monitor\",\n \"PageSize\": 10,\n \"PageNumber\": 1,\n \"MonitorTypes\": [\n \"MT_QCE\"\n ],\n \"Namespaces\": [\n \"cvm_device\"\n ],\n \"Dimensions\": \"[{\\\"Dimensions\\\": { \\\"unInstanceId\\\": \\\"ins-qr8d555g\\\"}},{ \\\"Dimensions\\\": { \\\"unInstanceId\\\": \\\"ins-qr8d555h\\\"}}]\"\n}",
581
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0,\n \"TagOperation\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
581
+ "output": "{\n \"Response\": {\n \"Policies\": [\n {\n \"AdvancedMetricNumber\": 0,\n \"CanSetDefault\": 1,\n \"Condition\": {\n \"ComplexExpression\": \"\",\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"CPU利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"CpuUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"外网出带宽使用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"Outratio\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"内存利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"MemUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"磁盘利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"CvmDiskUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"1\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n },\n {\n \"ContinuePeriod\": 1,\n \"Description\": \"基础CPU利用率\",\n \"Filter\": {\n \"Dimensions\": \"\",\n \"Type\": \"\"\n },\n \"HierarchicalValue\": {\n \"Remind\": \"\",\n \"Serious\": \"\",\n \"Warn\": \"\"\n },\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 1,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"BaseCpuUsage\",\n \"NoticeFrequency\": 300,\n \"Operator\": \"gt\",\n \"Period\": 60,\n \"ProductId\": \"\",\n \"RuleType\": \"STATIC\",\n \"Unit\": \"%\",\n \"Value\": \"0\",\n \"ValueMax\": 100,\n \"ValueMin\": 0\n }\n ]\n },\n \"ConditionTemplateId\": \"\",\n \"ConditionsTemp\": {\n \"Condition\": null,\n \"EventCondition\": null,\n \"TemplateName\": \"\"\n },\n \"Enable\": 0,\n \"EventCondition\": {\n \"Rules\": [\n {\n \"ContinuePeriod\": 0,\n \"Description\": \"机器重启\",\n \"Filter\": null,\n \"HierarchicalValue\": null,\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"IsPowerNotice\": 0,\n \"MetricName\": \"cvm:ErrorEvent:GuestReboot\",\n \"NoticeFrequency\": 0,\n \"Operator\": \"\",\n \"Period\": 0,\n \"ProductId\": \"\",\n \"RuleType\": \"\",\n \"Unit\": \"\",\n \"Value\": \"\",\n \"ValueMax\": null,\n \"ValueMin\": null\n }\n ]\n },\n \"Filter\": null,\n \"FilterDimensionsParam\": \"\",\n \"GroupBy\": null,\n \"HierarchicalNotices\": [\n {\n \"Classification\": [\n \"\"\n ],\n \"NoticeId\": \"notice-lnrxepp7\",\n \"PolicyId\": \"policy-s5yso1am\"\n },\n {\n \"Classification\": [\n \"\"\n ],\n \"NoticeId\": \"notice-lzpys7tu\",\n \"PolicyId\": \"policy-s5yso1am\"\n }\n ],\n \"InsertTime\": 1739863161,\n \"InstanceGroupId\": 0,\n \"InstanceGroupName\": \"\",\n \"InstanceSum\": 0,\n \"IsBindAll\": 0,\n \"IsDefault\": 0,\n \"IsOneClick\": 0,\n \"IsSupportAlarmTag\": 1,\n \"LastEditUin\": \"700000233161\",\n \"MonitorType\": \"MT_QCE\",\n \"Namespace\": \"cvm_device\",\n \"NamespaceShowName\": \"云服务器-基础监控\",\n \"NoticeContentTmplBindInfos\": null,\n \"NoticeIds\": [\n \"notice-lnrxepp7\",\n \"notice-lzpys7tu\"\n ],\n \"Notices\": [\n {\n \"AMPConsumerId\": \"\",\n \"CLSNotices\": [],\n \"Id\": \"notice-lnrxepp7\",\n \"IsPreset\": 1,\n \"Name\": \"系统预设通知模板\",\n \"NoticeLanguage\": \"zh-CN\",\n \"NoticeType\": \"ALL\",\n \"PolicyIds\": null,\n \"Tags\": null,\n \"URLNotices\": [],\n \"UpdatedAt\": \"2020-11-13 17:02:44\",\n \"UpdatedBy\": \"1500000685\",\n \"UserNotices\": [\n {\n \"EndTime\": 86399,\n \"GroupIds\": [],\n \"NeedPhoneArriveNotice\": 0,\n \"NoticeWay\": [\n \"SMS\",\n \"EMAIL\"\n ],\n \"OnCallFormIDs\": [\n \"\"\n ],\n \"PhoneCircleInterval\": 0,\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneOrder\": [],\n \"ReceiverType\": \"USER\",\n \"StartTime\": 0,\n \"UserIds\": [\n 1000909\n ],\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n }\n ]\n },\n {\n \"AMPConsumerId\": \"\",\n \"CLSNotices\": [],\n \"Id\": \"notice-lzpys7tu\",\n \"IsPreset\": 0,\n \"Name\": \"Eric-告警回调\",\n \"NoticeLanguage\": \"zh-CN\",\n \"NoticeType\": \"ALL\",\n \"PolicyIds\": null,\n \"Tags\": null,\n \"URLNotices\": [\n {\n \"EndTime\": 86399,\n \"IsValid\": 0,\n \"StartTime\": 0,\n \"URL\": \"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=47483435-2b48-4706-b76e-ac56e98be374\",\n \"ValidationCode\": \"\",\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n },\n {\n \"EndTime\": 86399,\n \"IsValid\": 0,\n \"StartTime\": 0,\n \"URL\": \"http://123.com\",\n \"ValidationCode\": \"\",\n \"Weekday\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ]\n }\n ],\n \"UpdatedAt\": \"2023-05-08 20:47:39\",\n \"UpdatedBy\": \"700000233161\",\n \"UserNotices\": []\n }\n ],\n \"OneClickStatus\": 0,\n \"OriginId\": \"2963911\",\n \"PolicyId\": \"policy-s5yso1am\",\n \"PolicyName\": \"Eric-新增收敛测试\",\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\",\n \"Region\": [\n \"bj\",\n \"bjjr\",\n \"cd\",\n \"cgoec\",\n \"cq\",\n \"csec\",\n \"de\",\n \"fzec\",\n \"gz\",\n \"gzopen\",\n \"gzwxzf\",\n \"hfeec\",\n \"hk\",\n \"hzec\",\n \"in\",\n \"jkt\",\n \"jnec\",\n \"jp\",\n \"kr\",\n \"nj\",\n \"qy\",\n \"qyxa\",\n \"sao\",\n \"sg\",\n \"sh\",\n \"shadc\",\n \"sheec\",\n \"shhqcft\",\n \"shjr\",\n \"shwxzf\",\n \"sjwec\",\n \"szjr\",\n \"szjxcft\",\n \"szsycft\",\n \"szx\",\n \"th\",\n \"tpe\",\n \"tsn\",\n \"use\",\n \"usw\",\n \"whec\",\n \"xbec\",\n \"xiyec\"\n ],\n \"Remark\": \"\",\n \"RuleType\": \"STATIC\",\n \"TagInstances\": [],\n \"TagOperation\": \"\",\n \"Tags\": [],\n \"TriggerTasks\": [],\n \"UpdateTime\": 1741072433,\n \"UseSum\": 4\n }\n ],\n \"RequestId\": \"cd403f27-3cea-4565-8856-36907e07a026\",\n \"TotalCount\": 216\n }\n}",
582
582
  "title": "搜索一个云服务器绑定的告警策略"
583
583
  }
584
584
  ],