tccli 3.0.1102.1__py2.py3-none-any.whl → 3.0.1104.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/ImageToImage.md +1 -1
  3. tccli/examples/csip/v20221121/DescribeDbAssets.md +7 -0
  4. tccli/examples/csip/v20221121/DescribeOrganizationUserInfo.md +12 -1
  5. tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md +4 -4
  6. tccli/examples/cynosdb/v20190107/CreateCLSDelivery.md +18 -0
  7. tccli/examples/cynosdb/v20190107/DeleteCLSDelivery.md +18 -0
  8. tccli/examples/cynosdb/v20190107/DescribeInstanceCLSLogDelivery.md +18 -0
  9. tccli/examples/cynosdb/v20190107/StartCLSDelivery.md +18 -0
  10. tccli/examples/cynosdb/v20190107/StopCLSDelivery.md +18 -0
  11. tccli/examples/ess/v20201111/CreateUserVerifyUrl.md +29 -0
  12. tccli/examples/ess/v20201111/DescribeUserVerifyStatus.md +23 -0
  13. tccli/examples/hai/v20230812/DescribeInstances.md +3 -2
  14. tccli/examples/hunyuan/v20230901/QueryHunyuanImageJob.md +33 -0
  15. tccli/examples/hunyuan/v20230901/SubmitHunyuanImageJob.md +21 -0
  16. tccli/examples/iotexplorer/v20190423/CreateTRTCSignaturesWithRoomId.md +30 -0
  17. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTask.md +36 -0
  18. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTasks.md +3 -0
  19. tccli/examples/iotexplorer/v20190423/DismissRoomByStrRoomIdFromTRTC.md +20 -0
  20. tccli/examples/iotexplorer/v20190423/GenerateCloudStorageAIServiceTaskFileURL.md +24 -0
  21. tccli/examples/iotexplorer/v20190423/RemoveUserByRoomIdFromTRTC.md +21 -0
  22. tccli/examples/lighthouse/v20200324/DescribeInstancesDeniedActions.md +11 -6
  23. tccli/examples/live/v20180801/DescribeLivePadProcessorList.md +25 -0
  24. tccli/examples/live/v20180801/StopLivePadProcessor.md +23 -0
  25. tccli/examples/mrs/v20200910/DrugInstructionObject.md +98 -0
  26. tccli/examples/ssl/v20191205/DescribeDownloadCertificateUrl.md +23 -0
  27. tccli/examples/tke/v20220501/CreateNodePool.md +33 -0
  28. tccli/examples/tke/v20220501/DeleteNodePool.md +21 -0
  29. tccli/examples/tke/v20220501/DescribeNodePools.md +9 -3
  30. tccli/examples/tke/v20220501/ModifyNodePool.md +32 -0
  31. tccli/examples/waf/v20180125/CreateIpAccessControl.md +27 -0
  32. tccli/examples/waf/v20180125/DeleteIpAccessControlV2.md +25 -0
  33. tccli/examples/waf/v20180125/ImportIpAccessControl.md +30 -0
  34. tccli/examples/waf/v20180125/ModifyIpAccessControl.md +28 -0
  35. tccli/services/aiart/v20221229/api.json +3 -3
  36. tccli/services/aiart/v20221229/examples.json +1 -1
  37. tccli/services/apm/v20210622/api.json +1 -1
  38. tccli/services/batch/v20170312/api.json +1 -1
  39. tccli/services/billing/v20180709/api.json +2 -2
  40. tccli/services/captcha/v20190722/api.json +2 -2
  41. tccli/services/ccc/v20200210/api.json +3 -3
  42. tccli/services/cdb/v20170320/api.json +2 -2
  43. tccli/services/clb/v20180317/api.json +2 -2
  44. tccli/services/cls/v20201016/api.json +2 -2
  45. tccli/services/csip/v20221121/api.json +80 -2
  46. tccli/services/csip/v20221121/examples.json +4 -4
  47. tccli/services/cvm/v20170312/api.json +1 -1
  48. tccli/services/cwp/v20180228/api.json +17 -5
  49. tccli/services/cwp/v20180228/examples.json +2 -2
  50. tccli/services/cynosdb/cynosdb_client.py +269 -4
  51. tccli/services/cynosdb/v20190107/api.json +131 -0
  52. tccli/services/cynosdb/v20190107/examples.json +40 -0
  53. tccli/services/dlc/v20210125/api.json +70 -1
  54. tccli/services/ess/ess_client.py +110 -4
  55. tccli/services/ess/v20201111/api.json +185 -5
  56. tccli/services/ess/v20201111/examples.json +16 -0
  57. tccli/services/essbasic/v20210526/api.json +4 -4
  58. tccli/services/faceid/v20180301/api.json +1 -1
  59. tccli/services/fmu/v20191213/api.json +1 -1
  60. tccli/services/hai/v20230812/api.json +2 -2
  61. tccli/services/hai/v20230812/examples.json +1 -1
  62. tccli/services/hunyuan/hunyuan_client.py +110 -4
  63. tccli/services/hunyuan/v20230901/api.json +188 -4
  64. tccli/services/hunyuan/v20230901/examples.json +16 -0
  65. tccli/services/iotexplorer/iotexplorer_client.py +298 -33
  66. tccli/services/iotexplorer/v20190423/api.json +359 -20
  67. tccli/services/iotexplorer/v20190423/examples.json +41 -1
  68. tccli/services/iss/v20230517/api.json +10 -0
  69. tccli/services/lighthouse/v20200324/api.json +45 -33
  70. tccli/services/lighthouse/v20200324/examples.json +3 -3
  71. tccli/services/live/live_client.py +114 -8
  72. tccli/services/live/v20180801/api.json +124 -0
  73. tccli/services/live/v20180801/examples.json +16 -0
  74. tccli/services/lke/v20231130/api.json +109 -3
  75. tccli/services/mrs/mrs_client.py +53 -0
  76. tccli/services/mrs/v20200910/api.json +1649 -415
  77. tccli/services/mrs/v20200910/examples.json +8 -0
  78. tccli/services/ocr/v20181119/api.json +1 -1
  79. tccli/services/rce/rce_client.py +0 -53
  80. tccli/services/rce/v20201103/api.json +0 -197
  81. tccli/services/rce/v20201103/examples.json +0 -8
  82. tccli/services/ssl/ssl_client.py +57 -4
  83. tccli/services/ssl/v20191205/api.json +63 -0
  84. tccli/services/ssl/v20191205/examples.json +8 -0
  85. tccli/services/ssm/v20190923/api.json +1 -1
  86. tccli/services/tdmq/v20200217/api.json +40 -10
  87. tccli/services/teo/v20220901/api.json +34 -0
  88. tccli/services/tke/tke_client.py +171 -12
  89. tccli/services/tke/v20180525/api.json +1 -1
  90. tccli/services/tke/v20220501/api.json +1403 -86
  91. tccli/services/tke/v20220501/examples.json +25 -1
  92. tccli/services/trtc/v20190722/api.json +6 -9
  93. tccli/services/tse/v20201207/api.json +2 -2
  94. tccli/services/vpc/v20170312/api.json +1 -0
  95. tccli/services/waf/v20180125/api.json +396 -0
  96. tccli/services/waf/v20180125/examples.json +32 -0
  97. tccli/services/waf/waf_client.py +216 -4
  98. {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/METADATA +2 -2
  99. {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/RECORD +102 -77
  100. {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/WHEEL +0 -0
  101. {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/entry_points.txt +0 -0
  102. {tccli-3.0.1102.1.dist-info → tccli-3.0.1104.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,21 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateNodePool": [
4
+ {
5
+ "document": "创建 TKE 节点池",
6
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNodePool\n<公共请求参数>\n\n{\n \"DeletionProtection\": true,\n \"Name\": \"nodepool\",\n \"Tags\": [\n {\n \"ResourceType\": \"machine\",\n \"Tags\": [\n {\n \"Value\": \"\",\n \"Key\": \"\"\n }\n ]\n }\n ],\n \"Labels\": [\n {\n \"Name\": \"\",\n \"Value\": \"\"\n }\n ],\n \"ClusterId\": \"cls-3g5rc2ts\",\n \"Taints\": [\n {\n \"Value\": \"\",\n \"Key\": \"\",\n \"Effect\": \"\"\n }\n ],\n \"Unschedulable\": true,\n \"Type\": \"\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"604fea70-fcc3-43b5-b17c-d2a5c8df4c16\",\n \"NodePoolId\": \"np-7cxt3lom\"\n }\n}",
8
+ "title": "创建 TKE 节点池"
9
+ }
10
+ ],
11
+ "DeleteNodePool": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"NodePoolId\": \"xx\"\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx\"\n }\n}",
16
+ "title": "删除 TKE 节点池"
17
+ }
18
+ ],
3
19
  "DescribeClusterInstances": [
4
20
  {
5
21
  "document": "查询集群实例信息",
@@ -12,9 +28,17 @@
12
28
  {
13
29
  "document": "查询 TKE 节点池列表",
14
30
  "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodePools\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-h8atd7dj\",\n \"Filters\": [\n {\n \"Name\": \"NodePoolsName\",\n \"Values\": [\n \"cputest\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 0\n}",
15
- "output": "{\n \"Response\": {\n \"NodePools\": [\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8atd7dj\",\n \"CreatedAt\": \"2023-01-15 17:55:38 +0000 UTC\",\n \"DeletionProtection\": false,\n \"External\": null,\n \"Labels\": [],\n \"LifeState\": \"normal\",\n \"Name\": \"cputest\",\n \"Native\": null,\n \"NodePoolId\": \"np-rbl9quwv\",\n \"Regular\": {\n \"AutoscalingGroupId\": \"asg-mv6aoc57\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"DesiredNodesNum\": 0,\n \"InstanceAdvancedSettings\": {\n \"DesiredPodNumber\": 32,\n \"ExtraArgs\": {\n \"Kubelet\": null\n },\n \"PreStartUserScript\": \"\",\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": \"\",\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"19.3\"\n },\n \"UserScript\": \"\"\n },\n \"LaunchConfigurationId\": \"asc-ay1hkbqh\",\n \"MaxNodesNum\": 1,\n \"MinNodesNum\": 0,\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 0,\n \"Total\": 0\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 0,\n \"Total\": 0\n }\n },\n \"NodePoolOs\": \"ubuntu20.04x86_64\"\n },\n \"Super\": null,\n \"Taints\": [],\n \"Type\": \"Regular\"\n },\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8att7dj\",\n \"CreatedAt\": \"2023-11-16 20:56:55 +0000 UTC\",\n \"DeletionProtection\": true,\n \"External\": {\n \"NodesNum\": 1,\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": null,\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"docker-19.3\"\n }\n },\n \"Labels\": [\n {\n \"Name\": \"node.kubernetes.io/instance-type\",\n \"Value\": \"external\"\n },\n {\n \"Name\": \"tke.cloud.tencent.com/cbs-mountable\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"externalnode.tke.cloud.tencent.com/version\",\n \"Value\": \"v2\"\n }\n ],\n \"LifeState\": \"Running\",\n \"Name\": \"cpu\",\n \"Native\": null,\n \"NodePoolId\": \"np-llfflb19\",\n \"Regular\": null,\n \"Super\": null,\n \"Taints\": [],\n \"Type\": \"External\"\n },\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8att7dj\",\n \"CreatedAt\": \"2023-11-16 20:56:54 +0000 UTC\",\n \"DeletionProtection\": true,\n \"External\": {\n \"NodesNum\": 4,\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": null,\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"docker-19.3\"\n }\n },\n \"Labels\": [\n {\n \"Name\": \"externalnode.tke.cloud.tencent.com/version\",\n \"Value\": \"v2\"\n },\n {\n \"Name\": \"node.kubernetes.io/instance-type\",\n \"Value\": \"external\"\n },\n {\n \"Name\": \"nvidia-device-enable\",\n \"Value\": \"enable\"\n },\n {\n \"Name\": \"tke.cloud.tencent.com/cbs-mountable\",\n \"Value\": \"false\"\n }\n ],\n \"LifeState\": \"Running\",\n \"Name\": \"gpu\",\n \"Native\": null,\n \"NodePoolId\": \"np-iw0qds8t\",\n \"Regular\": null,\n \"Super\": null,\n \"Taints\": [],\n \"Type\": \"External\"\n }\n ],\n \"RequestId\": \"354c45c4-0eb2-464d-82f8-3dd55ca88a80\",\n \"TotalCount\": 3\n }\n}",
31
+ "output": "{\n \"Response\": {\n \"NodePools\": [\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8atd7dj\",\n \"CreatedAt\": \"2023-01-15 17:55:38 +0000 UTC\",\n \"DeletionProtection\": false,\n \"External\": null,\n \"Labels\": [],\n \"LifeState\": \"normal\",\n \"Name\": \"cputest\",\n \"Native\": null,\n \"NodePoolId\": \"np-rbl9quwv\",\n \"Regular\": {\n \"AutoscalingGroupId\": \"asg-mv6aoc57\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"DesiredNodesNum\": 0,\n \"InstanceAdvancedSettings\": {\n \"DesiredPodNumber\": 32,\n \"ExtraArgs\": {\n \"Kubelet\": null\n },\n \"PreStartUserScript\": \"\",\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": \"\",\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"19.3\"\n },\n \"UserScript\": \"\"\n },\n \"LaunchConfigurationId\": \"asc-ay1hkbqh\",\n \"MaxNodesNum\": 1,\n \"MinNodesNum\": 0,\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 0,\n \"Total\": 0\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 0,\n \"Total\": 0\n }\n },\n \"NodePoolOs\": \"ubuntu20.04x86_64\"\n },\n \"Super\": null,\n \"Tags\": [],\n \"Taints\": [],\n \"Type\": \"Regular\",\n \"Unschedulable\": false\n },\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8att7dj\",\n \"CreatedAt\": \"2023-11-16 20:56:55 +0000 UTC\",\n \"DeletionProtection\": true,\n \"External\": {\n \"NodesNum\": 1,\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": null,\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"docker-19.3\"\n }\n },\n \"Labels\": [\n {\n \"Name\": \"node.kubernetes.io/instance-type\",\n \"Value\": \"external\"\n },\n {\n \"Name\": \"tke.cloud.tencent.com/cbs-mountable\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"externalnode.tke.cloud.tencent.com/version\",\n \"Value\": \"v2\"\n }\n ],\n \"LifeState\": \"Running\",\n \"Name\": \"cpu\",\n \"Native\": null,\n \"NodePoolId\": \"np-llfflb19\",\n \"Regular\": null,\n \"Super\": null,\n \"Tags\": [],\n \"Taints\": [],\n \"Type\": \"External\",\n \"Unschedulable\": false\n },\n {\n \"Annotations\": [],\n \"ClusterId\": \"cls-h8att7dj\",\n \"CreatedAt\": \"2023-11-16 20:56:54 +0000 UTC\",\n \"DeletionProtection\": true,\n \"External\": {\n \"NodesNum\": 4,\n \"RuntimeConfig\": {\n \"RuntimeRootDir\": null,\n \"RuntimeType\": \"docker\",\n \"RuntimeVersion\": \"docker-19.3\"\n }\n },\n \"Labels\": [\n {\n \"Name\": \"externalnode.tke.cloud.tencent.com/version\",\n \"Value\": \"v2\"\n },\n {\n \"Name\": \"node.kubernetes.io/instance-type\",\n \"Value\": \"external\"\n },\n {\n \"Name\": \"nvidia-device-enable\",\n \"Value\": \"enable\"\n },\n {\n \"Name\": \"tke.cloud.tencent.com/cbs-mountable\",\n \"Value\": \"false\"\n }\n ],\n \"LifeState\": \"Running\",\n \"Name\": \"gpu\",\n \"Native\": null,\n \"NodePoolId\": \"np-iw0qds8t\",\n \"Regular\": null,\n \"Super\": null,\n \"Tags\": [],\n \"Taints\": [],\n \"Type\": \"External\",\n \"Unschedulable\": false\n }\n ],\n \"RequestId\": \"354c45c4-0eb2-464d-82f8-3dd55ca88a80\",\n \"TotalCount\": 3\n }\n}",
16
32
  "title": "查询 TKE 节点池列表"
17
33
  }
34
+ ],
35
+ "ModifyNodePool": [
36
+ {
37
+ "document": "用户更新节点池",
38
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNodePool\n<公共请求参数>\n\n{\n \"DeletionProtection\": true,\n \"Name\": \"abc\",\n \"Tags\": [\n {\n \"ResourceType\": \"abc\",\n \"Tags\": [\n {\n \"Value\": \"abc\",\n \"Key\": \"abc\"\n }\n ]\n }\n ],\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ClusterId\": \"abc\",\n \"Taints\": [\n {\n \"Value\": \"abc\",\n \"Key\": \"abc\",\n \"Effect\": \"abc\"\n }\n ],\n \"NodePoolId\": \"abc\",\n \"Unschedulable\": true\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
40
+ "title": "更新 TKE 节点池"
41
+ }
18
42
  ]
19
43
  },
20
44
  "version": "1.0"
@@ -695,7 +695,7 @@
695
695
  },
696
696
  {
697
697
  "disabled": false,
698
- "document": "云端录制文件上传到云存储的参数(目前支持云点播VOD和对象存储COS)。点播和对象存储的参数必填其中之一,不支持同时设置点播和对象存储。",
698
+ "document": "云端录制文件上传到云存储的参数(不支持同时设置云点播VOD和对象存储COS",
699
699
  "example": "无",
700
700
  "member": "StorageParams",
701
701
  "name": "StorageParams",
@@ -4114,8 +4114,7 @@
4114
4114
  "member": "string",
4115
4115
  "name": "UserId",
4116
4116
  "required": true,
4117
- "type": "string",
4118
- "value_allowed_null": false
4117
+ "type": "string"
4119
4118
  },
4120
4119
  {
4121
4120
  "disabled": false,
@@ -4124,18 +4123,16 @@
4124
4123
  "member": "string",
4125
4124
  "name": "RoomId",
4126
4125
  "required": false,
4127
- "type": "string",
4128
- "value_allowed_null": false
4126
+ "type": "string"
4129
4127
  },
4130
4128
  {
4131
4129
  "disabled": false,
4132
- "document": "房间号类型,0为整形房间号,1为字符串房间号。",
4130
+ "document": "房间号类型,0为整型房间号,1为字符串房间号。",
4133
4131
  "example": "1",
4134
4132
  "member": "uint64",
4135
4133
  "name": "RoomIdType",
4136
4134
  "required": false,
4137
- "type": "int",
4138
- "value_allowed_null": false
4135
+ "type": "int"
4139
4136
  }
4140
4137
  ],
4141
4138
  "usage": "in"
@@ -5357,7 +5354,7 @@
5357
5354
  },
5358
5355
  {
5359
5356
  "disabled": false,
5360
- "document": "主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。",
5357
+ "document": "主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整型房间号,1为字符串房间号。",
5361
5358
  "example": "1",
5362
5359
  "member": "uint64",
5363
5360
  "name": "RoomIdType",
@@ -4431,7 +4431,7 @@
4431
4431
  },
4432
4432
  {
4433
4433
  "disabled": false,
4434
- "document": "引擎的产品版本。参考值:\n- STANDARD: 标准版\n\n引擎各版本及可选择的规格、节点数说明:\napollo - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:1,2,3,4,5\n\neureka - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:3,4,5\n\npolarismesh - STANDARD版本\n规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000\n\n兼容原spec-xxxxxx形式的规格ID",
4434
+ "document": "引擎的产品版本。参考值:\n- STANDARD: 标准版\n- PROFESSIONAL: 专业版(Zookeeper)/企业版(PolarisMesh)\n\n引擎各版本及可选择的规格、节点数说明:\napollo - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:1,2,3,4,5\n\neureka - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:3,4,5\n\npolarismesh - STANDARD版本\n规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000\n\n兼容原spec-xxxxxx形式的规格ID",
4435
4435
  "example": "STANDARD",
4436
4436
  "member": "string",
4437
4437
  "name": "EngineProductVersion",
@@ -4548,7 +4548,7 @@
4548
4548
  },
4549
4549
  {
4550
4550
  "disabled": false,
4551
- "document": "跨地域部署的引擎地域配置详情\nzk标准版没有跨地域部署,请不要填写",
4551
+ "document": "跨地域部署的引擎地域配置详情\nzk标准版没有跨地域部署,请不要填写\nzk专业版跨地域部署开启了固定Leader所在地域,需要满足以下条件\n- 固定Leader所在地域当前仅支持跨两个地域\n- leader地域的副本数必须是3/2 + 1,5/2+1,7/2+1,也就是 2,3,4",
4552
4552
  "example": "[{\"EngineRegion\":\"ap-guangzhou\",\"Replica\":2,\"SpecId\":\"1C2G\",\"VpcInfos\":[{\"VpcId\":\"vpc-XXX\",\"SubnetId\":\"subnet-XXX\"}]},{\"EngineRegion\":\"ap-beijing\",\"Replica\":1,\"SpecId\":\"1C2G\",\"VpcInfos\":[{\"VpcId\":\"vpc-XXX\",\"SubnetId\":\"subnet-XXX\"}]}]",
4553
4553
  "member": "EngineRegionInfo",
4554
4554
  "name": "EngineRegionInfos",
@@ -3053,6 +3053,7 @@
3053
3053
  "example": "5513621",
3054
3054
  "member": "uint64",
3055
3055
  "name": "TaskId",
3056
+ "output_required": true,
3056
3057
  "type": "int",
3057
3058
  "value_allowed_null": false
3058
3059
  },
@@ -70,6 +70,13 @@
70
70
  "output": "CreateHostResponse",
71
71
  "status": "online"
72
72
  },
73
+ "CreateIpAccessControl": {
74
+ "document": "Waf IP黑白名单新增接口",
75
+ "input": "CreateIpAccessControlRequest",
76
+ "name": "Waf IP黑白名单新增接口",
77
+ "output": "CreateIpAccessControlResponse",
78
+ "status": "online"
79
+ },
73
80
  "DeleteAccessExport": {
74
81
  "document": "本接口用于删除访问日志导出",
75
82
  "input": "DeleteAccessExportRequest",
@@ -154,6 +161,13 @@
154
161
  "output": "DeleteIpAccessControlResponse",
155
162
  "status": "online"
156
163
  },
164
+ "DeleteIpAccessControlV2": {
165
+ "document": "Waf IP黑白名单最新版本删除接口",
166
+ "input": "DeleteIpAccessControlV2Request",
167
+ "name": "Waf IP黑白名单删除接口",
168
+ "output": "DeleteIpAccessControlV2Response",
169
+ "status": "online"
170
+ },
157
171
  "DeleteSession": {
158
172
  "document": "删除CC攻击的session设置",
159
173
  "input": "DeleteSessionRequest",
@@ -609,6 +623,13 @@
609
623
  "output": "GetInstanceQpsLimitResponse",
610
624
  "status": "online"
611
625
  },
626
+ "ImportIpAccessControl": {
627
+ "document": "导入IP黑白名单",
628
+ "input": "ImportIpAccessControlRequest",
629
+ "name": "导入IP黑白名单",
630
+ "output": "ImportIpAccessControlResponse",
631
+ "status": "online"
632
+ },
612
633
  "ModifyAccessPeriod": {
613
634
  "document": "本接口用于修改访问日志保存期限等字段信息",
614
635
  "input": "ModifyAccessPeriodRequest",
@@ -791,6 +812,13 @@
791
812
  "output": "ModifyInstanceRenewFlagResponse",
792
813
  "status": "online"
793
814
  },
815
+ "ModifyIpAccessControl": {
816
+ "document": "Waf IP黑白名单编辑接口",
817
+ "input": "ModifyIpAccessControlRequest",
818
+ "name": "Waf IP黑白名单编辑接口",
819
+ "output": "ModifyIpAccessControlResponse",
820
+ "status": "online"
821
+ },
794
822
  "ModifyModuleStatus": {
795
823
  "document": "设置某个domain下基础安全模块的开关",
796
824
  "input": "ModifyModuleStatusRequest",
@@ -4045,6 +4073,106 @@
4045
4073
  ],
4046
4074
  "type": "object"
4047
4075
  },
4076
+ "CreateIpAccessControlRequest": {
4077
+ "document": "CreateIpAccessControl请求参数结构体",
4078
+ "members": [
4079
+ {
4080
+ "disabled": false,
4081
+ "document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
4082
+ "example": "test.qcloudwaf.com",
4083
+ "member": "string",
4084
+ "name": "Domain",
4085
+ "required": true,
4086
+ "type": "string"
4087
+ },
4088
+ {
4089
+ "disabled": false,
4090
+ "document": "ip参数列表",
4091
+ "example": "[\"192.16.8.1.1\",\"192.168.2.1\"]",
4092
+ "member": "string",
4093
+ "name": "IpList",
4094
+ "required": true,
4095
+ "type": "list"
4096
+ },
4097
+ {
4098
+ "disabled": false,
4099
+ "document": "42为黑名单,40为白名单",
4100
+ "example": "42",
4101
+ "member": "int64",
4102
+ "name": "ActionType",
4103
+ "required": true,
4104
+ "type": "int"
4105
+ },
4106
+ {
4107
+ "disabled": false,
4108
+ "document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
4109
+ "example": "1680570420",
4110
+ "member": "int64",
4111
+ "name": "ValidTS",
4112
+ "required": true,
4113
+ "type": "int"
4114
+ },
4115
+ {
4116
+ "disabled": false,
4117
+ "document": "实例Id",
4118
+ "example": "waf_2kxq5hru00n2dxmx",
4119
+ "member": "string",
4120
+ "name": "InstanceId",
4121
+ "required": false,
4122
+ "type": "string"
4123
+ },
4124
+ {
4125
+ "disabled": false,
4126
+ "document": "WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF",
4127
+ "example": "clb-waf",
4128
+ "member": "string",
4129
+ "name": "Edition",
4130
+ "required": false,
4131
+ "type": "string"
4132
+ },
4133
+ {
4134
+ "disabled": false,
4135
+ "document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
4136
+ "example": "batch",
4137
+ "member": "string",
4138
+ "name": "SourceType",
4139
+ "required": false,
4140
+ "type": "string"
4141
+ },
4142
+ {
4143
+ "disabled": false,
4144
+ "document": "备注",
4145
+ "example": "备注",
4146
+ "member": "string",
4147
+ "name": "Note",
4148
+ "required": false,
4149
+ "type": "string"
4150
+ }
4151
+ ],
4152
+ "type": "object"
4153
+ },
4154
+ "CreateIpAccessControlResponse": {
4155
+ "document": "CreateIpAccessControl返回参数结构体",
4156
+ "members": [
4157
+ {
4158
+ "disabled": false,
4159
+ "document": "新增的规则对应的ID\n注意:此字段可能返回 null,表示取不到有效值。",
4160
+ "example": "55211245",
4161
+ "member": "uint64",
4162
+ "name": "RuleId",
4163
+ "output_required": false,
4164
+ "type": "int",
4165
+ "value_allowed_null": true
4166
+ },
4167
+ {
4168
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4169
+ "member": "string",
4170
+ "name": "RequestId",
4171
+ "type": "string"
4172
+ }
4173
+ ],
4174
+ "type": "object"
4175
+ },
4048
4176
  "DealData": {
4049
4177
  "document": "计费下单响应实体",
4050
4178
  "members": [
@@ -4619,6 +4747,79 @@
4619
4747
  ],
4620
4748
  "type": "object"
4621
4749
  },
4750
+ "DeleteIpAccessControlV2Request": {
4751
+ "document": "DeleteIpAccessControlV2请求参数结构体",
4752
+ "members": [
4753
+ {
4754
+ "disabled": false,
4755
+ "document": "域名",
4756
+ "example": "无",
4757
+ "member": "string",
4758
+ "name": "Domain",
4759
+ "required": true,
4760
+ "type": "string"
4761
+ },
4762
+ {
4763
+ "disabled": false,
4764
+ "document": "规则ID列表,支持批量删除",
4765
+ "example": "[552091011,552091010]",
4766
+ "member": "uint64",
4767
+ "name": "RuleIds",
4768
+ "required": true,
4769
+ "type": "list"
4770
+ },
4771
+ {
4772
+ "disabled": false,
4773
+ "document": "是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定ip名单",
4774
+ "example": "无",
4775
+ "member": "bool",
4776
+ "name": "DeleteAll",
4777
+ "required": false,
4778
+ "type": "bool"
4779
+ },
4780
+ {
4781
+ "disabled": false,
4782
+ "document": "batch表示为批量防护的IP黑白名单",
4783
+ "example": "batch",
4784
+ "member": "string",
4785
+ "name": "SourceType",
4786
+ "required": false,
4787
+ "type": "string"
4788
+ },
4789
+ {
4790
+ "disabled": false,
4791
+ "document": "IP黑白名单类型,40为IP白名单,42为IP黑名单",
4792
+ "example": "42",
4793
+ "member": "uint64",
4794
+ "name": "ActionType",
4795
+ "required": false,
4796
+ "type": "int"
4797
+ }
4798
+ ],
4799
+ "type": "object"
4800
+ },
4801
+ "DeleteIpAccessControlV2Response": {
4802
+ "document": "DeleteIpAccessControlV2返回参数结构体",
4803
+ "members": [
4804
+ {
4805
+ "disabled": false,
4806
+ "document": "在批量删除的时候表示删除失败的条数",
4807
+ "example": "10",
4808
+ "member": "int64",
4809
+ "name": "FailedCount",
4810
+ "output_required": false,
4811
+ "type": "int",
4812
+ "value_allowed_null": false
4813
+ },
4814
+ {
4815
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4816
+ "member": "string",
4817
+ "name": "RequestId",
4818
+ "type": "string"
4819
+ }
4820
+ ],
4821
+ "type": "object"
4822
+ },
4622
4823
  "DeleteSessionRequest": {
4623
4824
  "document": "DeleteSession请求参数结构体",
4624
4825
  "members": [
@@ -11883,6 +12084,60 @@
11883
12084
  ],
11884
12085
  "usage": "both"
11885
12086
  },
12087
+ "ImportIpAccessControlRequest": {
12088
+ "document": "ImportIpAccessControl请求参数结构体",
12089
+ "members": [
12090
+ {
12091
+ "disabled": false,
12092
+ "document": "导入的IP黑白名单列表",
12093
+ "example": "无",
12094
+ "member": "IpAccessControlParam",
12095
+ "name": "Data",
12096
+ "required": true,
12097
+ "type": "list"
12098
+ },
12099
+ {
12100
+ "disabled": false,
12101
+ "document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
12102
+ "example": "test.qcloudwaf.com",
12103
+ "member": "string",
12104
+ "name": "Domain",
12105
+ "required": true,
12106
+ "type": "string"
12107
+ },
12108
+ {
12109
+ "disabled": false,
12110
+ "document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
12111
+ "example": "batch",
12112
+ "member": "string",
12113
+ "name": "SourceType",
12114
+ "required": true,
12115
+ "type": "string"
12116
+ },
12117
+ {
12118
+ "disabled": false,
12119
+ "document": "实例Id",
12120
+ "example": "waf_2kxq5hru00n2dxmx",
12121
+ "member": "string",
12122
+ "name": "InstanceId",
12123
+ "required": false,
12124
+ "type": "string"
12125
+ }
12126
+ ],
12127
+ "type": "object"
12128
+ },
12129
+ "ImportIpAccessControlResponse": {
12130
+ "document": "ImportIpAccessControl返回参数结构体",
12131
+ "members": [
12132
+ {
12133
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
12134
+ "member": "string",
12135
+ "name": "RequestId",
12136
+ "type": "string"
12137
+ }
12138
+ ],
12139
+ "type": "object"
12140
+ },
11886
12141
  "InstanceInfo": {
11887
12142
  "document": "一个实例的详细信息",
11888
12143
  "members": [
@@ -12439,6 +12694,48 @@
12439
12694
  ],
12440
12695
  "usage": "out"
12441
12696
  },
12697
+ "IpAccessControlParam": {
12698
+ "document": "IP黑白名单参数结构体,主要用于IP黑白名单的导入。",
12699
+ "members": [
12700
+ {
12701
+ "disabled": false,
12702
+ "document": "IP列表",
12703
+ "example": "[\"192.168.1.1\",\"192.168.1.2\"]",
12704
+ "member": "string",
12705
+ "name": "IpList",
12706
+ "required": true,
12707
+ "type": "list"
12708
+ },
12709
+ {
12710
+ "disabled": false,
12711
+ "document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
12712
+ "example": "1680570420",
12713
+ "member": "uint64",
12714
+ "name": "ValidTs",
12715
+ "required": true,
12716
+ "type": "int"
12717
+ },
12718
+ {
12719
+ "disabled": false,
12720
+ "document": "42为黑名单,40为白名单",
12721
+ "example": "42",
12722
+ "member": "int64",
12723
+ "name": "ActionType",
12724
+ "required": true,
12725
+ "type": "int"
12726
+ },
12727
+ {
12728
+ "disabled": false,
12729
+ "document": "备注",
12730
+ "example": "备注",
12731
+ "member": "string",
12732
+ "name": "Note",
12733
+ "required": false,
12734
+ "type": "string"
12735
+ }
12736
+ ],
12737
+ "usage": "in"
12738
+ },
12442
12739
  "IpHitItem": {
12443
12740
  "document": "ip封堵状态数据",
12444
12741
  "members": [
@@ -14623,6 +14920,105 @@
14623
14920
  ],
14624
14921
  "type": "object"
14625
14922
  },
14923
+ "ModifyIpAccessControlRequest": {
14924
+ "document": "ModifyIpAccessControl请求参数结构体",
14925
+ "members": [
14926
+ {
14927
+ "disabled": false,
14928
+ "document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
14929
+ "example": "test.qcloudwaf.com",
14930
+ "member": "string",
14931
+ "name": "Domain",
14932
+ "required": true,
14933
+ "type": "string"
14934
+ },
14935
+ {
14936
+ "disabled": false,
14937
+ "document": "ip参数列表",
14938
+ "example": "[\"192.16.8.1.1\",\"192.168.2.1\"]",
14939
+ "member": "string",
14940
+ "name": "IpList",
14941
+ "required": true,
14942
+ "type": "list"
14943
+ },
14944
+ {
14945
+ "disabled": false,
14946
+ "document": "42为黑名单,40为白名单",
14947
+ "example": "42",
14948
+ "member": "int64",
14949
+ "name": "ActionType",
14950
+ "required": true,
14951
+ "type": "int"
14952
+ },
14953
+ {
14954
+ "disabled": false,
14955
+ "document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
14956
+ "example": "1680570420",
14957
+ "member": "int64",
14958
+ "name": "ValidTS",
14959
+ "required": true,
14960
+ "type": "int"
14961
+ },
14962
+ {
14963
+ "disabled": false,
14964
+ "document": "规则ID",
14965
+ "example": "551014389",
14966
+ "member": "uint64",
14967
+ "name": "RuleId",
14968
+ "required": true,
14969
+ "type": "int"
14970
+ },
14971
+ {
14972
+ "disabled": false,
14973
+ "document": "实例Id",
14974
+ "example": "waf_2kxq5hru00n2dxmx",
14975
+ "member": "string",
14976
+ "name": "InstanceId",
14977
+ "required": false,
14978
+ "type": "string"
14979
+ },
14980
+ {
14981
+ "disabled": false,
14982
+ "document": "WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF",
14983
+ "example": "clb-waf",
14984
+ "member": "string",
14985
+ "name": "Edition",
14986
+ "required": false,
14987
+ "type": "string"
14988
+ },
14989
+ {
14990
+ "disabled": false,
14991
+ "document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
14992
+ "example": "batch",
14993
+ "member": "string",
14994
+ "name": "SourceType",
14995
+ "required": false,
14996
+ "type": "string"
14997
+ },
14998
+ {
14999
+ "disabled": false,
15000
+ "document": "备注",
15001
+ "example": "备注",
15002
+ "member": "string",
15003
+ "name": "Note",
15004
+ "required": false,
15005
+ "type": "string"
15006
+ }
15007
+ ],
15008
+ "type": "object"
15009
+ },
15010
+ "ModifyIpAccessControlResponse": {
15011
+ "document": "ModifyIpAccessControl返回参数结构体",
15012
+ "members": [
15013
+ {
15014
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
15015
+ "member": "string",
15016
+ "name": "RequestId",
15017
+ "type": "string"
15018
+ }
15019
+ ],
15020
+ "type": "object"
15021
+ },
14626
15022
  "ModifyModuleStatusRequest": {
14627
15023
  "document": "ModifyModuleStatus请求参数结构体",
14628
15024
  "members": [
@@ -104,6 +104,14 @@
104
104
  "title": "添加负载均衡型WAF域名"
105
105
  }
106
106
  ],
107
+ "CreateIpAccessControl": [
108
+ {
109
+ "document": "",
110
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControlV2\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_0xabc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.2.1\"\n ],\n \"Edition\": \"abc\",\n \"ValidTS\": 1680570420,\n \"ActionType\": 42,\n \"SourceType\": \"abc\"\n}",
111
+ "output": "{\n \"Response\": {\n \"RuleId\": 55201922,\n \"RequestId\": \"abc\"\n }\n}",
112
+ "title": "新增IP黑白名单"
113
+ }
114
+ ],
107
115
  "DeleteAccessExport": [
108
116
  {
109
117
  "document": "",
@@ -200,6 +208,14 @@
200
208
  "title": "Waf IP黑白名单Delete接口"
201
209
  }
202
210
  ],
211
+ "DeleteIpAccessControlV2": [
212
+ {
213
+ "document": "",
214
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"DeleteAll\": true,\n \"SourceType\": \"log\",\n \"ActionType\": 1,\n \"RuleIds\": [\n 55102222,\n 55562222\n ]\n}",
215
+ "output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
216
+ "title": "删除IP黑白名单"
217
+ }
218
+ ],
203
219
  "DeleteSession": [
204
220
  {
205
221
  "document": "",
@@ -748,6 +764,14 @@
748
764
  "title": "获取qps 弹性默认值"
749
765
  }
750
766
  ],
767
+ "ImportIpAccessControl": [
768
+ {
769
+ "document": "",
770
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"Data\": [\n {\n \"IpList\": [\n \"2.3.4.5\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n },\n {\n \"IpList\": [\n \"2.3.4.6\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n }\n ],\n \"InstanceId\": \"waf_2kxt4nou00atrvn1\",\n \"SourceType\": \"custom\"\n}",
771
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
772
+ "title": "导入IP黑白名单"
773
+ }
774
+ ],
751
775
  "ModifyAccessPeriod": [
752
776
  {
753
777
  "document": "",
@@ -980,6 +1004,14 @@
980
1004
  "title": "修改实例的自动续费开关"
981
1005
  }
982
1006
  ],
1007
+ "ModifyIpAccessControl": [
1008
+ {
1009
+ "document": "",
1010
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyIpAccessControl\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_accc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.1.2\"\n ],\n \"Edition\": \"clb-waf\",\n \"SourceType\": \"batch\",\n \"RuleId\": 5512222,\n \"ActionType\": 42,\n \"ValidTS\": 0,\n \"Note\": \"abc\"\n}",
1011
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
1012
+ "title": "编辑IP黑白名单"
1013
+ }
1014
+ ],
983
1015
  "ModifyModuleStatus": [
984
1016
  {
985
1017
  "document": "",