tccli 3.0.847.1__py2.py3-none-any.whl → 3.0.849.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 (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +1 -0
  3. tccli/services/billing/v20180709/api.json +1 -9
  4. tccli/services/billing/v20180709/examples.json +1 -1
  5. tccli/services/bma/v20221115/api.json +9 -0
  6. tccli/services/bma/v20221115/examples.json +1 -1
  7. tccli/services/cdn/v20180606/api.json +0 -14
  8. tccli/services/cdn/v20180606/examples.json +2 -2
  9. tccli/services/cfs/v20190719/api.json +2 -2
  10. tccli/services/ckafka/ckafka_client.py +61 -8
  11. tccli/services/ckafka/v20190819/api.json +78 -15
  12. tccli/services/ckafka/v20190819/examples.json +11 -3
  13. tccli/services/cwp/cwp_client.py +61 -8
  14. tccli/services/cwp/v20180228/api.json +361 -117
  15. tccli/services/cwp/v20180228/examples.json +25 -17
  16. tccli/services/dcdb/v20180411/api.json +8 -50
  17. tccli/services/dcdb/v20180411/examples.json +3 -3
  18. tccli/services/dlc/v20210125/api.json +1 -1
  19. tccli/services/ess/v20201111/api.json +51 -2
  20. tccli/services/ess/v20201111/examples.json +1 -1
  21. tccli/services/live/v20180801/api.json +0 -4
  22. tccli/services/live/v20180801/examples.json +1 -1
  23. tccli/services/mariadb/v20170312/api.json +8 -55
  24. tccli/services/mariadb/v20170312/examples.json +3 -3
  25. tccli/services/mongodb/v20190725/api.json +5 -20
  26. tccli/services/mongodb/v20190725/examples.json +5 -5
  27. tccli/services/monitor/v20180724/api.json +2 -32
  28. tccli/services/ocr/v20181119/api.json +20 -1
  29. tccli/services/ocr/v20181119/examples.json +1 -1
  30. tccli/services/region/v20220627/api.json +16 -6
  31. tccli/services/region/v20220627/examples.json +7 -7
  32. tccli/services/ssl/v20191205/api.json +18 -53
  33. tccli/services/ssl/v20191205/examples.json +6 -6
  34. tccli/services/tcb/v20180608/api.json +16 -137
  35. tccli/services/tcb/v20180608/examples.json +10 -10
  36. tccli/services/tcr/v20190924/api.json +4 -4
  37. tccli/services/tdmq/v20200217/api.json +0 -2
  38. tccli/services/tdmq/v20200217/examples.json +2 -2
  39. tccli/services/thpc/thpc_client.py +13 -8
  40. tccli/services/thpc/v20230321/api.json +2414 -0
  41. tccli/services/thpc/v20230321/examples.json +125 -0
  42. tccli/services/tiw/tiw_client.py +53 -0
  43. tccli/services/tiw/v20190919/api.json +216 -0
  44. tccli/services/tiw/v20190919/examples.json +8 -0
  45. tccli/services/trtc/v20190722/api.json +5 -17
  46. tccli/services/tse/v20201207/api.json +45 -2
  47. tccli/services/tts/v20190823/api.json +10 -21
  48. tccli/services/tts/v20190823/examples.json +1 -1
  49. tccli/services/vod/v20180717/api.json +20 -12
  50. tccli/services/vod/v20180717/examples.json +1 -1
  51. tccli/services/vpc/v20170312/api.json +6 -5
  52. tccli/services/vpc/v20170312/examples.json +2 -2
  53. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/METADATA +2 -2
  54. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/RECORD +58 -56
  55. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/LICENSE +0 -0
  56. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.847.1.dist-info → tccli-3.0.849.1.dist-info}/top_level.txt +0 -0
@@ -50,9 +50,9 @@
50
50
  ],
51
51
  "CreateCloudBaseRunServerVersion": [
52
52
  {
53
- "document": "",
54
- "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"MaxNum\": 0,\n \"Branch\": \"xx\",\n \"PackageName\": \"xx\",\n \"MountVolumeInfo\": [\n {\n \"ReadOnly\": true,\n \"MountPath\": \"xx\",\n \"Name\": \"xx\",\n \"NfsVolumes\": [\n {\n \"Path\": \"xx\",\n \"ReadOnly\": true,\n \"Server\": \"xx\"\n }\n ]\n }\n ],\n \"ImageInfo\": {\n \"ImageUrl\": \"xx\",\n \"RepositoryName\": \"xx\",\n \"IsPublic\": true,\n \"ServerAddr\": \"xx\",\n \"TagName\": \"xx\"\n },\n \"EnvParams\": \"xx\",\n \"BuildDir\": \"xx\",\n \"Repository\": \"xx\",\n \"Mem\": 0.0,\n \"UploadType\": \"xx\",\n \"RepositoryType\": \"xx\",\n \"InitialDelaySeconds\": 0,\n \"AccessType\": 0,\n \"CustomLogs\": \"xx\",\n \"FlowRatio\": 0,\n \"MinNum\": 0,\n \"VersionRemark\": \"xx\",\n \"ContainerPort\": 0,\n \"DockerfilePath\": \"xx\",\n \"EnvId\": \"xx\",\n \"ImageSecretInfo\": {\n \"UserName\": \"xx\",\n \"RegistryServer\": \"xx\",\n \"Password\": \"xx\",\n \"Email\": \"xx\"\n },\n \"ServerName\": \"xx\",\n \"EnableUnion\": true,\n \"PackageVersion\": \"xx\",\n \"Cpu\": 0.0,\n \"ImagePullSecret\": \"xx\",\n \"CodeDetail\": {\n \"Url\": \"xx\",\n \"Name\": {\n \"FullName\": \"xx\",\n \"Name\": \"xx\"\n }\n },\n \"PolicyThreshold\": 0,\n \"EsInfo\": {\n \"Index\": \"xx\",\n \"Account\": \"xx\",\n \"Ip\": \"xx\",\n \"Id\": 0,\n \"SecretName\": \"xx\",\n \"Password\": \"xx\",\n \"Port\": 0\n },\n \"PolicyType\": \"xx\"\n}",
55
- "output": "{\n \"Response\": {\n \"Result\": \"xx\",\n \"VersionName\": \"xx\",\n \"RunId\": \"a123\",\n \"RequestId\": \"xx\"\n }\n}",
53
+ "document": "创建版本",
54
+ "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"FlowRatio\": 0,\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 0,\n \"MaxNum\": 0,\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0,\n \"EnvParams\": \"abc\",\n \"ContainerPort\": 0,\n \"ServerName\": \"abc\",\n \"Repository\": \"abc\",\n \"Branch\": \"abc\",\n \"VersionRemark\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"ImageInfo\": {\n \"RepositoryName\": \"abc\",\n \"IsPublic\": true,\n \"TagName\": \"abc\",\n \"ServerAddr\": \"abc\",\n \"ImageUrl\": \"abc\"\n },\n \"CodeDetail\": {\n \"Name\": {\n \"Name\": \"abc\",\n \"FullName\": \"abc\"\n },\n \"Url\": \"abc\"\n },\n \"ImageSecretInfo\": {\n \"RegistryServer\": \"abc\",\n \"UserName\": \"abc\",\n \"Password\": \"abc\",\n \"Email\": \"abc\"\n },\n \"ImagePullSecret\": \"abc\",\n \"CustomLogs\": \"abc\",\n \"InitialDelaySeconds\": 0,\n \"MountVolumeInfo\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ],\n \"AccessType\": 0,\n \"EsInfo\": {\n \"Id\": 0,\n \"SecretName\": \"abc\",\n \"Ip\": \"abc\",\n \"Port\": 0,\n \"Index\": \"abc\",\n \"Account\": \"abc\",\n \"Password\": \"abc\"\n },\n \"EnableUnion\": true,\n \"OperatorRemark\": \"abc\",\n \"ServerPath\": \"abc\",\n \"ImageReuseKey\": \"abc\",\n \"SidecarSpecs\": [\n {\n \"ContainerImage\": \"abc\",\n \"ContainerPort\": 0,\n \"ContainerName\": \"abc\",\n \"EnvVar\": \"abc\",\n \"InitialDelaySeconds\": 0,\n \"Cpu\": 0,\n \"Mem\": 0,\n \"Security\": {\n \"Capabilities\": {\n \"Add\": [\n \"abc\"\n ],\n \"Drop\": [\n \"abc\"\n ]\n }\n },\n \"VolumeMountInfos\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ]\n }\n ],\n \"Security\": {\n \"Capabilities\": {\n \"Add\": [\n \"abc\"\n ],\n \"Drop\": [\n \"abc\"\n ]\n }\n },\n \"ServiceVolumes\": [\n {\n \"Name\": \"abc\",\n \"NFS\": {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n },\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true,\n \"EmptyDir\": {\n \"EnableEmptyDirVolume\": true,\n \"Medium\": \"abc\",\n \"SizeLimit\": \"abc\"\n },\n \"HostPath\": {}\n }\n ],\n \"IsCreateJnsGw\": 0,\n \"ServiceVolumeMounts\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"SubPath\": \"abc\",\n \"MountPropagation\": \"abc\"\n }\n ],\n \"HasDockerfile\": 0,\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"UploadFilename\": \"abc\",\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ]\n}",
55
+ "output": "{\n \"Response\": {\n \"Result\": \"abc\",\n \"VersionName\": \"abc\",\n \"RunId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
56
56
  "title": "示例"
57
57
  }
58
58
  ],
@@ -66,7 +66,7 @@
66
66
  ],
67
67
  "CreatePostpayPackage": [
68
68
  {
69
- "document": "",
69
+ "document": "开通后付费资源",
70
70
  "input": "https://tcb.tencentcloudapi.com/?Action=CreatePostpayPackage\n&EnvId=cdnheader-v2a\n&FreeQuota=basic\n&<公共请求参数>",
71
71
  "output": "{\n \"Response\": {\n \"EnvId\": \"cdnheader-v2a\",\n \"RequestId\": \"52537e93-2a50-4269-a638-e03e6bb6426e\",\n \"TranId\": \"20200603119423\"\n }\n}",
72
72
  "title": "开通后付费资源"
@@ -278,9 +278,9 @@
278
278
  ],
279
279
  "DescribeCloudBaseRunServerVersion": [
280
280
  {
281
- "document": "",
282
- "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"ServerName\": \"dockerservicename\",\n \"EnvId\": \"lotestapi100004\",\n \"VersionName\": \"adb\"\n}",
283
- "output": "{\n \"Response\": {\n \"TkeClusterInfo\": {\n \"VpcId\": \"xx\",\n \"ClusterId\": \"xx\",\n \"VersionClbSubnetId\": \"xx\"\n },\n \"UpdatedTime\": \"xx\",\n \"MaxNum\": 50,\n \"EnvParams\": \"xx\",\n \"PackageName\": \"xx\",\n \"BaseImage\": \"xx\",\n \"TkeWorkloadType\": \"xx\",\n \"RepoLanguage\": \"xx\",\n \"Branch\": \"xx\",\n \"CreatedTime\": \"xx\",\n \"Status\": \"xx\",\n \"VpcId\": \"xx\",\n \"BuildDir\": \"xx\",\n \"VersionPort\": 80,\n \"Mem\": 1,\n \"UploadType\": \"xx\",\n \"InitialDelaySeconds\": 2,\n \"CustomLogs\": \"xx\",\n \"Repo\": \"xx\",\n \"MinNum\": 0,\n \"DockerfilePath\": \"xx\",\n \"EntryPoint\": \"xx\",\n \"ContainerPort\": 80,\n \"Remark\": \"xx\",\n \"VersionIP\": \"xx\",\n \"ServerName\": \"xx\",\n \"RepoType\": \"xx\",\n \"RequestId\": \"xx\",\n \"MemSize\": 0.0,\n \"PackageVersion\": \"xx\",\n \"Cpu\": 1,\n \"HasDockerfile\": 0,\n \"CpuSize\": 0.0,\n \"PolicyThreshold\": 0.0,\n \"SubnetIds\": [\n \"subnet-6yny6j0d\"\n ],\n \"IsPublic\": true,\n \"PolicyType\": \"xx\",\n \"PolicyDetail\": [\n {\n \"PolicyThreshold\": 0,\n \"PolicyType\": \"xx\"\n }\n ],\n \"VersionName\": \"xx\",\n \"ImageUrl\": \"xx\"\n }\n}",
281
+ "document": "查询版本信息",
282
+ "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"VersionName\": \"abc\"\n}",
283
+ "output": "{\n \"Response\": {\n \"VersionName\": \"abc\",\n \"Remark\": \"abc\",\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 0,\n \"MaxNum\": 0,\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0,\n \"EnvParams\": \"abc\",\n \"CreatedTime\": \"abc\",\n \"UpdatedTime\": \"abc\",\n \"VersionIP\": \"abc\",\n \"VersionPort\": 0,\n \"Status\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepoType\": \"abc\",\n \"Repo\": \"abc\",\n \"Branch\": \"abc\",\n \"ServerName\": \"abc\",\n \"IsPublic\": true,\n \"VpcId\": \"abc\",\n \"SubnetIds\": [\n \"abc\"\n ],\n \"CustomLogs\": \"abc\",\n \"ContainerPort\": 0,\n \"InitialDelaySeconds\": 0,\n \"ImageUrl\": \"abc\",\n \"CpuSize\": 0,\n \"MemSize\": 0,\n \"HasDockerfile\": 0,\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ],\n \"TkeClusterInfo\": {\n \"ClusterId\": \"abc\",\n \"VpcId\": \"abc\",\n \"VersionClbSubnetId\": \"abc\"\n },\n \"TkeWorkloadType\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
284
284
  "title": "示例"
285
285
  }
286
286
  ],
@@ -622,9 +622,9 @@
622
622
  ],
623
623
  "RollUpdateCloudBaseRunServerVersion": [
624
624
  {
625
- "document": "",
626
- "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollUpdateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"MaxNum\": \"xx\",\n \"EnvParams\": \"xx\",\n \"PackageName\": \"xx\",\n \"MountVolumeInfo\": [\n {\n \"ReadOnly\": true,\n \"MountPath\": \"xx\",\n \"Name\": \"xx\",\n \"NfsVolumes\": [\n {\n \"Path\": \"xx\",\n \"ReadOnly\": true,\n \"Server\": \"xx\"\n }\n ]\n }\n ],\n \"Branch\": \"xx\",\n \"Rollback\": true,\n \"BuildDir\": \"xx\",\n \"Repository\": \"xx\",\n \"Mem\": \"xx\",\n \"UploadType\": \"xx\",\n \"RepositoryType\": \"xx\",\n \"InitialDelaySeconds\": 0,\n \"CustomLogs\": \"xx\",\n \"FlowRatio\": 0,\n \"MinNum\": \"xx\",\n \"VersionRemark\": \"xx\",\n \"ContainerPort\": 0,\n \"DockerfilePath\": \"xx\",\n \"EnvId\": \"xx\",\n \"SnapshotName\": \"xx\",\n \"ServerName\": \"xx\",\n \"EnableUnion\": true,\n \"PackageVersion\": \"xx\",\n \"Cpu\": \"xx\",\n \"CodeDetail\": {\n \"Url\": \"xx\",\n \"Name\": {\n \"FullName\": \"xx\",\n \"Name\": \"xx\"\n }\n },\n \"ImageInfo\": {\n \"ImageUrl\": \"xx\",\n \"RepositoryName\": \"xx\",\n \"IsPublic\": true,\n \"ServerAddr\": \"xx\",\n \"TagName\": \"xx\"\n },\n \"PolicyThreshold\": \"xx\",\n \"IsRebuild\": true,\n \"PolicyType\": \"xx\",\n \"VersionName\": \"xx\"\n}",
627
- "output": "{\n \"Response\": {\n \"Result\": \"succ\",\n \"VersionName\": \"xxx\",\n \"RunId\": \"a123\",\n \"RequestId\": \"5620b49e-a25a-4007-84ef-03c9035c584d\"\n }\n}",
625
+ "document": "滚动更新",
626
+ "input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollUpdateCloudBaseRunServerVersion\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"VersionName\": \"abc\",\n \"UploadType\": \"abc\",\n \"RepositoryType\": \"abc\",\n \"FlowRatio\": 0,\n \"DockerfilePath\": \"abc\",\n \"BuildDir\": \"abc\",\n \"Cpu\": \"abc\",\n \"Mem\": \"abc\",\n \"MinNum\": \"abc\",\n \"MaxNum\": \"abc\",\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": \"abc\",\n \"EnvParams\": \"abc\",\n \"ContainerPort\": 0,\n \"ServerName\": \"abc\",\n \"Repository\": \"abc\",\n \"Branch\": \"abc\",\n \"VersionRemark\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"ImageInfo\": {\n \"RepositoryName\": \"abc\",\n \"IsPublic\": true,\n \"TagName\": \"abc\",\n \"ServerAddr\": \"abc\",\n \"ImageUrl\": \"abc\"\n },\n \"CodeDetail\": {\n \"Name\": {\n \"Name\": \"abc\",\n \"FullName\": \"abc\"\n },\n \"Url\": \"abc\"\n },\n \"IsRebuild\": true,\n \"InitialDelaySeconds\": 0,\n \"MountVolumeInfo\": [\n {\n \"Name\": \"abc\",\n \"MountPath\": \"abc\",\n \"ReadOnly\": true,\n \"NfsVolumes\": [\n {\n \"Server\": \"abc\",\n \"Path\": \"abc\",\n \"ReadOnly\": true,\n \"SecretName\": \"abc\",\n \"EnableEmptyDirVolume\": true\n }\n ]\n }\n ],\n \"Rollback\": true,\n \"SnapshotName\": \"abc\",\n \"CustomLogs\": \"abc\",\n \"EnableUnion\": true,\n \"OperatorRemark\": \"abc\",\n \"ServerPath\": \"abc\",\n \"IsUpdateCls\": true,\n \"PolicyDetail\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 0\n }\n ]\n}",
627
+ "output": "{\n \"Response\": {\n \"Result\": \"abc\",\n \"VersionName\": \"abc\",\n \"RunId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
628
628
  "title": "示例"
629
629
  }
630
630
  ],
@@ -43,11 +43,11 @@
43
43
  "status": "online"
44
44
  },
45
45
  "CreateImageLifecyclePersonal": {
46
- "document": "用于在个人版中创建清理策略",
46
+ "document": "前端与现有逻辑均不再使用,可下线\n\n用于在个人版中创建清理策略",
47
47
  "input": "CreateImageLifecyclePersonalRequest",
48
48
  "name": "创建个人版镜像版本清理策略",
49
49
  "output": "CreateImageLifecyclePersonalResponse",
50
- "status": "online"
50
+ "status": "deprecated"
51
51
  },
52
52
  "CreateImmutableTagRules": {
53
53
  "document": "创建镜像不可变规则",
@@ -204,11 +204,11 @@
204
204
  "status": "online"
205
205
  },
206
206
  "DeleteImageLifecyclePersonal": {
207
- "document": "用于在个人版镜像仓库中删除仓库Tag自动清理策略",
207
+ "document": "前端与后端目前现有逻辑均不再使用,可下线\n\n用于在个人版镜像仓库中删除仓库Tag自动清理策略",
208
208
  "input": "DeleteImageLifecyclePersonalRequest",
209
209
  "name": "删除个人版镜像仓库Tag自动清理策略",
210
210
  "output": "DeleteImageLifecyclePersonalResponse",
211
- "status": "online"
211
+ "status": "deprecated"
212
212
  },
213
213
  "DeleteImagePersonal": {
214
214
  "document": "用于在个人版中删除tag",
@@ -6000,7 +6000,6 @@
6000
6000
  "document": "DescribeCmqQueueDetail请求参数结构体",
6001
6001
  "members": [
6002
6002
  {
6003
- "default": "",
6004
6003
  "document": "精确匹配QueueName",
6005
6004
  "example": "xxx",
6006
6005
  "member": "string",
@@ -6019,7 +6018,6 @@
6019
6018
  "example": "无",
6020
6019
  "member": "CmqQueue",
6021
6020
  "name": "QueueDescribe",
6022
- "required": true,
6023
6021
  "type": "object",
6024
6022
  "value_allowed_null": false
6025
6023
  },
@@ -438,9 +438,9 @@
438
438
  ],
439
439
  "DescribeCmqQueueDetail": [
440
440
  {
441
- "document": "",
441
+ "document": "获取队列详情",
442
442
  "input": "https://tdmq.tencentcloudapi.com/?Action=DescribeCmqQueueDetail\n&QueueName=cmq-xxx\n&<公共请求参数>",
443
- "output": "{\n \"Response\": {\n \"QueueDescribe\": {\n \"QueueId\": \"xx\",\n \"RewindSeconds\": 1,\n \"CreateUin\": 1,\n \"TenantId\": \"xx\",\n \"LastModifyTime\": 1,\n \"VisibilityTimeout\": 1,\n \"QueueName\": \"xx\",\n \"Trace\": true,\n \"Tags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"NamespaceName\": \"xx\",\n \"RewindMsgNum\": 1,\n \"MaxDelaySeconds\": 1,\n \"TransactionPolicy\": {\n \"MaxQueryCount\": 1,\n \"FirstQueryInterval\": 1\n },\n \"MsgRetentionSeconds\": 1,\n \"DelayMsgNum\": 1,\n \"MaxMsgHeapNum\": 1,\n \"PollingWaitSeconds\": 1,\n \"Bps\": 1,\n \"InactiveMsgNum\": 1,\n \"DeadLetterPolicy\": {\n \"DeadLetterQueue\": \"xx\",\n \"Policy\": 1,\n \"MaxTimeToLive\": 1,\n \"MaxReceiveCount\": 1\n },\n \"ActiveMsgNum\": 1,\n \"MaxMsgSize\": 1,\n \"MinMsgTime\": 1,\n \"DeadLetterSource\": [\n {\n \"QueueId\": \"xx\",\n \"QueueName\": \"xx\"\n }\n ],\n \"Transaction\": true,\n \"Qps\": 1,\n \"CreateTime\": 1\n },\n \"RequestId\": \"xx\"\n }\n}",
443
+ "output": "{\n \"Response\": {\n \"QueueDescribe\": {\n \"QueueId\": \"abc\",\n \"QueueName\": \"abc\",\n \"Qps\": 1,\n \"Bps\": 1,\n \"MaxDelaySeconds\": 1,\n \"MaxMsgHeapNum\": 1,\n \"PollingWaitSeconds\": 1,\n \"MsgRetentionSeconds\": 1,\n \"VisibilityTimeout\": 1,\n \"MaxMsgSize\": 1,\n \"RewindSeconds\": 1,\n \"CreateTime\": 1,\n \"LastModifyTime\": 1,\n \"ActiveMsgNum\": 1,\n \"InactiveMsgNum\": 1,\n \"DelayMsgNum\": 1,\n \"RewindMsgNum\": 1,\n \"MinMsgTime\": 1,\n \"Transaction\": true,\n \"DeadLetterSource\": [\n {\n \"QueueId\": \"abc\",\n \"QueueName\": \"abc\"\n }\n ],\n \"DeadLetterPolicy\": {\n \"DeadLetterQueue\": \"abc\",\n \"Policy\": 1,\n \"MaxTimeToLive\": 1,\n \"MaxReceiveCount\": 1\n },\n \"TransactionPolicy\": {\n \"FirstQueryInterval\": 1,\n \"MaxQueryCount\": 1\n },\n \"CreateUin\": 1,\n \"Tags\": null,\n \"Trace\": true,\n \"TenantId\": \"abc\",\n \"NamespaceName\": \"abc\",\n \"Status\": 0,\n \"MaxUnackedMsgNum\": 0,\n \"MaxMsgBacklogSize\": 0,\n \"RetentionSizeInMB\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
444
444
  "title": "获取cmq队列详情"
445
445
  }
446
446
  ],
@@ -11,6 +11,8 @@ from tccli.exceptions import ConfigurationError, ClientError, ParamError
11
11
  from tencentcloud.common import credential
12
12
  from tencentcloud.common.profile.http_profile import HttpProfile
13
13
  from tencentcloud.common.profile.client_profile import ClientProfile
14
+ from tencentcloud.thpc.v20230321 import thpc_client as thpc_client_v20230321
15
+ from tencentcloud.thpc.v20230321 import models as models_v20230321
14
16
  from tencentcloud.thpc.v20220401 import thpc_client as thpc_client_v20220401
15
17
  from tencentcloud.thpc.v20220401 import models as models_v20220401
16
18
  from tencentcloud.thpc.v20211109 import thpc_client as thpc_client_v20211109
@@ -487,7 +489,7 @@ def doDeleteQueue(args, parsed_globals):
487
489
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
488
490
 
489
491
 
490
- def doDescribeAutoScalingConfiguration(args, parsed_globals):
492
+ def doDescribeQueues(args, parsed_globals):
491
493
  g_param = parse_global_arg(parsed_globals)
492
494
 
493
495
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -516,11 +518,11 @@ def doDescribeAutoScalingConfiguration(args, parsed_globals):
516
518
  client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
517
519
  client._sdkVersion += ("_CLI_" + __version__)
518
520
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
519
- model = models.DescribeAutoScalingConfigurationRequest()
521
+ model = models.DescribeQueuesRequest()
520
522
  model.from_json_string(json.dumps(args))
521
523
  start_time = time.time()
522
524
  while True:
523
- rsp = client.DescribeAutoScalingConfiguration(model)
525
+ rsp = client.DescribeQueues(model)
524
526
  result = rsp.to_json_string()
525
527
  try:
526
528
  json_obj = json.loads(result)
@@ -591,7 +593,7 @@ def doAddNodes(args, parsed_globals):
591
593
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
592
594
 
593
595
 
594
- def doDescribeQueues(args, parsed_globals):
596
+ def doDescribeAutoScalingConfiguration(args, parsed_globals):
595
597
  g_param = parse_global_arg(parsed_globals)
596
598
 
597
599
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -620,11 +622,11 @@ def doDescribeQueues(args, parsed_globals):
620
622
  client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
621
623
  client._sdkVersion += ("_CLI_" + __version__)
622
624
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
623
- model = models.DescribeQueuesRequest()
625
+ model = models.DescribeAutoScalingConfigurationRequest()
624
626
  model.from_json_string(json.dumps(args))
625
627
  start_time = time.time()
626
628
  while True:
627
- rsp = client.DescribeQueues(model)
629
+ rsp = client.DescribeAutoScalingConfiguration(model)
628
630
  result = rsp.to_json_string()
629
631
  try:
630
632
  json_obj = json.loads(result)
@@ -852,12 +854,14 @@ def doDeleteCluster(args, parsed_globals):
852
854
 
853
855
 
854
856
  CLIENT_MAP = {
857
+ "v20230321": thpc_client_v20230321,
855
858
  "v20220401": thpc_client_v20220401,
856
859
  "v20211109": thpc_client_v20211109,
857
860
 
858
861
  }
859
862
 
860
863
  MODELS_MAP = {
864
+ "v20230321": models_v20230321,
861
865
  "v20220401": models_v20220401,
862
866
  "v20211109": models_v20211109,
863
867
 
@@ -873,9 +877,9 @@ ACTION_MAP = {
873
877
  "AddQueue": doAddQueue,
874
878
  "DescribeNodes": doDescribeNodes,
875
879
  "DeleteQueue": doDeleteQueue,
876
- "DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
877
- "AddNodes": doAddNodes,
878
880
  "DescribeQueues": doDescribeQueues,
881
+ "AddNodes": doAddNodes,
882
+ "DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
879
883
  "DescribeClusters": doDescribeClusters,
880
884
  "AddClusterStorageOption": doAddClusterStorageOption,
881
885
  "DescribeClusterActivities": doDescribeClusterActivities,
@@ -884,6 +888,7 @@ ACTION_MAP = {
884
888
  }
885
889
 
886
890
  AVAILABLE_VERSION_LIST = [
891
+ "v20230321",
887
892
  "v20220401",
888
893
  "v20211109",
889
894