tccli 3.0.1327.1__py2.py3-none-any.whl → 3.0.1329.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 (73) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +10 -1
  3. tccli/services/apm/v20210622/examples.json +2 -2
  4. tccli/services/bh/v20230418/api.json +9 -0
  5. tccli/services/cbs/v20170312/api.json +15 -15
  6. tccli/services/ccc/v20200210/api.json +36 -0
  7. tccli/services/cdb/v20170320/api.json +21 -3
  8. tccli/services/cdn/v20180606/examples.json +1 -1
  9. tccli/services/cdwch/v20200915/api.json +3 -3
  10. tccli/services/cdwch/v20200915/examples.json +1 -1
  11. tccli/services/cfs/v20190719/api.json +1 -1
  12. tccli/services/chc/chc_client.py +53 -0
  13. tccli/services/chc/v20230418/api.json +62 -0
  14. tccli/services/chc/v20230418/examples.json +8 -0
  15. tccli/services/cvm/v20170312/api.json +2 -2
  16. tccli/services/cwp/v20180228/api.json +92 -1
  17. tccli/services/dbbrain/v20210527/api.json +4 -4
  18. tccli/services/dcdb/v20180411/examples.json +1 -1
  19. tccli/services/dts/v20211206/api.json +3 -3
  20. tccli/services/emr/v20190103/api.json +175 -10
  21. tccli/services/ess/ess_client.py +126 -20
  22. tccli/services/ess/v20201111/api.json +136 -2
  23. tccli/services/ess/v20201111/examples.json +22 -0
  24. tccli/services/essbasic/v20210526/api.json +3 -3
  25. tccli/services/gs/gs_client.py +729 -146
  26. tccli/services/gs/v20191118/api.json +758 -29
  27. tccli/services/gs/v20191118/examples.json +88 -0
  28. tccli/services/hai/hai_client.py +53 -0
  29. tccli/services/hai/v20230812/api.json +62 -0
  30. tccli/services/hai/v20230812/examples.json +8 -0
  31. tccli/services/ioa/ioa_client.py +53 -0
  32. tccli/services/ioa/v20220601/api.json +263 -0
  33. tccli/services/ioa/v20220601/examples.json +8 -0
  34. tccli/services/iotexplorer/v20190423/api.json +57 -6
  35. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  36. tccli/services/lighthouse/v20200324/api.json +1 -1
  37. tccli/services/lke/v20231130/api.json +315 -4
  38. tccli/services/lke/v20231130/examples.json +4 -4
  39. tccli/services/mariadb/v20170312/api.json +10 -10
  40. tccli/services/ocr/v20181119/api.json +76 -11
  41. tccli/services/partners/v20180321/api.json +7 -7
  42. tccli/services/sqlserver/v20180328/api.json +29 -2
  43. tccli/services/ssl/v20191205/api.json +79 -0
  44. tccli/services/ssl/v20191205/examples.json +6 -6
  45. tccli/services/tcss/v20201101/api.json +58 -3
  46. tccli/services/tcss/v20201101/examples.json +2 -2
  47. tccli/services/tem/tem_client.py +53 -0
  48. tccli/services/tem/v20210701/api.json +107 -0
  49. tccli/services/tem/v20210701/examples.json +8 -0
  50. tccli/services/teo/v20220901/api.json +807 -74
  51. tccli/services/teo/v20220901/examples.json +2 -2
  52. tccli/services/tke/tke_client.py +53 -0
  53. tccli/services/tke/v20220501/api.json +61 -0
  54. tccli/services/tke/v20220501/examples.json +8 -0
  55. tccli/services/trtc/trtc_client.py +216 -4
  56. tccli/services/trtc/v20190722/api.json +431 -2
  57. tccli/services/trtc/v20190722/examples.json +32 -0
  58. tccli/services/vclm/v20240523/api.json +173 -0
  59. tccli/services/vclm/v20240523/examples.json +16 -0
  60. tccli/services/vclm/vclm_client.py +106 -0
  61. tccli/services/vm/v20210922/api.json +16 -20
  62. tccli/services/vod/v20180717/api.json +13 -11
  63. tccli/services/vod/v20180717/examples.json +4 -4
  64. tccli/services/vpc/v20170312/api.json +10 -1
  65. tccli/services/waf/v20180125/api.json +2 -2
  66. tccli/services/wedata/v20210820/api.json +952 -0
  67. tccli/services/wedata/v20210820/examples.json +8 -0
  68. tccli/services/wedata/wedata_client.py +53 -0
  69. {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/METADATA +2 -2
  70. {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/RECORD +73 -73
  71. {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/WHEEL +0 -0
  72. {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/entry_points.txt +0 -0
  73. {tccli-3.0.1327.1.dist-info → tccli-3.0.1329.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1327.1'
1
+ __version__ = '3.0.1329.1'
@@ -1146,13 +1146,22 @@
1146
1146
  },
1147
1147
  {
1148
1148
  "disabled": false,
1149
- "document": "按业务系统名过滤",
1149
+ "document": "按业务系统名过滤,支持模糊检索",
1150
1150
  "example": "可观测-测试",
1151
1151
  "member": "string",
1152
1152
  "name": "InstanceName",
1153
1153
  "required": false,
1154
1154
  "type": "string"
1155
1155
  },
1156
+ {
1157
+ "disabled": false,
1158
+ "document": "按业务系统 ID 过滤,支持模糊检索",
1159
+ "example": "apm-CVfliqa8U",
1160
+ "member": "string",
1161
+ "name": "InstanceId",
1162
+ "required": false,
1163
+ "type": "string"
1164
+ },
1156
1165
  {
1157
1166
  "disabled": false,
1158
1167
  "document": "按业务系统 ID 过滤",
@@ -19,8 +19,8 @@
19
19
  "DescribeApmInstances": [
20
20
  {
21
21
  "document": "获取 APM 业务系统列表",
22
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApmInstances\n<公共请求参数>\n\n{\n \"Tags\": [\n {\n \"Key\": \"appid\",\n \"Value\": \"1231\"\n }\n ]\n}",
23
- "output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"Name\": \"ss1123\",\n \"InstanceId\": \"zE7Yu-g7R\",\n \"Description\": \"ssd\",\n \"TraceDuration\": 3,\n \"AppId\": 251005942,\n \"CreateUin\": \"1500000686\",\n \"Tags\": [],\n \"ServiceCount\": 0,\n \"ClientCount\": 0,\n \"TotalCount\": 0,\n \"CountOfReportSpanPerDay\": 0,\n \"AmountOfUsedStorage\": 100,\n \"Status\": 2,\n \"Region\": \"ap-guangzhou\",\n \"ErrRateThreshold\": 5,\n \"SampleRate\": 100,\n \"ErrorSample\": 0,\n \"SlowRequestSavedThreshold\": 500,\n \"SpanDailyCounters\": 1,\n \"BillingInstance\": 0,\n \"MetricDuration\": 30,\n \"CustomShowTags\": [],\n \"PayMode\": 1,\n \"PayModeEffective\": true,\n \"LogSource\": \"\",\n \"LogRegion\": \"\",\n \"IsRelatedLog\": 0,\n \"LogTopicID\": \"\",\n \"LogSet\": \"\"\n }\n ],\n \"RequestId\": \"7uv7qo2mmm1e3ao94113zuvm2sehp7mm\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApmInstances\n<公共请求参数>\n\n{\n \"Tags\": [\n {\n \"Key\": \"appId\",\n \"Value\": \"251005942\"\n }\n ]\n}",
23
+ "output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AmountOfUsedStorage\": 100,\n \"AppId\": 251005942,\n \"BillingInstance\": 0,\n \"ClientCount\": 0,\n \"CountOfReportSpanPerDay\": 0,\n \"CreateUin\": \"1500000686\",\n \"CustomShowTags\": [],\n \"DashboardTopicID\": \"\",\n \"DefaultTSF\": 0,\n \"Description\": \"\",\n \"ErrRateThreshold\": 5,\n \"ErrorSample\": 1,\n \"Free\": 2,\n \"InstanceId\": \"apm-u6HNYVXhz\",\n \"IsInstrumentationVulnerabilityScan\": 1,\n \"IsMemoryHijackingAnalysis\": 1,\n \"IsRelatedDashboard\": 0,\n \"IsRelatedLog\": 0,\n \"IsRemoteCommandExecutionAnalysis\": 1,\n \"IsSqlInjectionAnalysis\": 1,\n \"LogIndexType\": 0,\n \"LogRegion\": \"\",\n \"LogSet\": \"\",\n \"LogSource\": \"\",\n \"LogTopicID\": \"\",\n \"LogTraceIdKey\": \"\",\n \"MetricDuration\": 3,\n \"Name\": \"test1\",\n \"PayMode\": 0,\n \"PayModeEffective\": true,\n \"Region\": \"ap-guangzhou\",\n \"ResponseDurationWarningThreshold\": 500,\n \"SampleRate\": 100,\n \"ServiceCount\": 0,\n \"SlowRequestSavedThreshold\": 500,\n \"SpanDailyCounters\": 0,\n \"Status\": 1,\n \"StopReason\": 0,\n \"Tags\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"archerkang\"\n },\n {\n \"Key\": \"运营产品\",\n \"Value\": \"云监控产品\"\n },\n {\n \"Key\": \"运营部门\",\n \"Value\": \"/../../../../../../../../../../../../../../../../../../../../etc/./////.////.///.//./passwd\"\n }\n ],\n \"TotalCount\": 0,\n \"TraceDuration\": 7\n }\n ],\n \"RequestId\": \"1afaff9e-88c9-4949-9c84-fd5eae88a88a\"\n }\n}",
24
24
  "title": "获取 APM 业务系统列表"
25
25
  }
26
26
  ],
@@ -9634,6 +9634,15 @@
9634
9634
  "name": "AppAssetUrl",
9635
9635
  "required": false,
9636
9636
  "type": "string"
9637
+ },
9638
+ {
9639
+ "disabled": false,
9640
+ "document": "资产类型",
9641
+ "example": "Linux",
9642
+ "member": "string",
9643
+ "name": "DeviceKind",
9644
+ "required": false,
9645
+ "type": "string"
9637
9646
  }
9638
9647
  ],
9639
9648
  "type": "object"
@@ -190,11 +190,11 @@
190
190
  "status": "online"
191
191
  },
192
192
  "GetSnapOverview": {
193
- "document": "获取快照概览信息",
193
+ "document": "为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview\n\n获取快照概览信息",
194
194
  "input": "GetSnapOverviewRequest",
195
195
  "name": "获取快照概览信息",
196
196
  "output": "GetSnapOverviewResponse",
197
- "status": "online"
197
+ "status": "deprecated"
198
198
  },
199
199
  "InitializeDisks": {
200
200
  "document": "重新初始化云硬盘至云硬盘初始创建时的状态。使用云硬盘的重新初始化功能时需要注意以下4点:\n1. 如果云硬盘是由快照创建的,则重新初始化会通过此快照重新回滚此云硬盘,即将云硬盘恢复为与快照一致的状态;\n2. 如果云硬盘不是通过快照创建的,则重新初始化会清空此云硬盘的数据;请在重新初始化云硬盘前检查并备份必要的数据;\n3. 当前仅未挂载的、非共享属性的数据盘云硬盘支持重新初始化;\n4. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。",
@@ -267,7 +267,7 @@
267
267
  "status": "online"
268
268
  },
269
269
  "ModifyDisksChargeType": {
270
- "document": "本接口 (ModifyDisksChargeType) 用于切换云硬盘的计费模式。\n\n非弹性云硬盘不支持此接口,请通过修改实例计费模式接口将实例连同非弹性云硬盘一起转换。\n默认接口请求频率限制:10次/秒。",
270
+ "document": "本接口 (ModifyDisksChargeType) 用于切换云硬盘的计费模式。\n\n非弹性云硬盘不支持此接口,请通过修改实例计费模式接口将实例连同非弹性云硬盘一起转换。",
271
271
  "input": "ModifyDisksChargeTypeRequest",
272
272
  "name": "修改弹性云硬盘计费模式",
273
273
  "output": "ModifyDisksChargeTypeResponse",
@@ -537,7 +537,7 @@
537
537
  },
538
538
  {
539
539
  "disabled": false,
540
- "document": "回滚前是否执行自动关机,仅支持回滚快照至已挂载的云硬盘时传入。",
540
+ "document": "回滚前是否执行自动关机,仅支持回滚快照至已挂载的云硬盘时传入。\n此参数为true时,AutoStartInstance才能为true。",
541
541
  "example": "False",
542
542
  "member": "bool",
543
543
  "name": "AutoStopInstance",
@@ -696,7 +696,7 @@
696
696
  "members": [
697
697
  {
698
698
  "disabled": false,
699
- "document": "已绑定当前定期快照策略的云盘ID列表。",
699
+ "document": "已绑定当前定期快照策略的云盘ID列表。\nDescribeDiskAssociatedAutoSnapshotPolicy场景下该字段返回为空。",
700
700
  "example": "[\"disk-pe1vkgim\"]",
701
701
  "member": "string",
702
702
  "name": "DiskIdSet",
@@ -726,7 +726,7 @@
726
726
  },
727
727
  {
728
728
  "disabled": false,
729
- "document": "是否是跨账号复制快照快照, 1:是, 0: 不是",
729
+ "document": "是否是跨账号复制快照, 1:是, 0: 不是",
730
730
  "example": "0",
731
731
  "member": "uint64",
732
732
  "name": "IsCopyToRemote",
@@ -777,7 +777,7 @@
777
777
  {
778
778
  "disabled": false,
779
779
  "document": "定期快照的执行策略。",
780
- "example": "[{ \"Minute\": [10], \"Hour\": [0, 12], \"DayOfMonth\": [1, 15]}]",
780
+ "example": "[{\"Hour\": [0, 12], \"DayOfMonth\": [1, 15]}]",
781
781
  "member": "Policy",
782
782
  "name": "Policy",
783
783
  "output_required": true,
@@ -1395,7 +1395,7 @@
1395
1395
  },
1396
1396
  {
1397
1397
  "disabled": false,
1398
- "document": "创建云盘时是否开启性能突发。当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)。",
1398
+ "document": "创建云盘时是否开启性能突发。当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且云盘大小不小于460GiB。",
1399
1399
  "example": "True",
1400
1400
  "member": "bool",
1401
1401
  "name": "BurstPerformance",
@@ -1879,7 +1879,7 @@
1879
1879
  },
1880
1880
  {
1881
1881
  "disabled": false,
1882
- "document": "输出云硬盘备份点列表的排列顺序。取值范围:<br><li>ASC:升序排列</li><br><li>DESC:降序排列。</li>",
1882
+ "document": "输出云硬盘备份点列表的排列顺序,默认排序:ASC。取值范围:<br><li>ASC:升序排列</li><br><li>DESC:降序排列。</li>",
1883
1883
  "example": "ASC",
1884
1884
  "member": "string",
1885
1885
  "name": "Order",
@@ -3181,7 +3181,7 @@
3181
3181
  {
3182
3182
  "disabled": false,
3183
3183
  "document": "云硬盘备份点的创建时间。",
3184
- "example": "2022-01-01 12:00:00",
3184
+ "example": "2025-03-27 14:00:13",
3185
3185
  "member": "datetime_iso",
3186
3186
  "name": "CreateTime",
3187
3187
  "output_required": true,
@@ -4231,8 +4231,8 @@
4231
4231
  },
4232
4232
  {
4233
4233
  "disabled": false,
4234
- "document": "围笼Id。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
4235
- "example": "cage-xxxxxxxx",
4234
+ "document": "围笼Id,可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
4235
+ "example": "cage-d0eqwu84",
4236
4236
  "member": "string",
4237
4237
  "name": "CageId",
4238
4238
  "output_required": true,
@@ -4275,8 +4275,8 @@
4275
4275
  },
4276
4276
  {
4277
4277
  "disabled": false,
4278
- "document": "实例所属的独享集群ID。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
4279
- "example": "cdc-xxxxxxxx",
4278
+ "document": "实例所属的独享集群ID。可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
4279
+ "example": "cdc-8pz1i7hg",
4280
4280
  "member": "string",
4281
4281
  "name": "CdcId",
4282
4282
  "output_required": true,
@@ -4287,7 +4287,7 @@
4287
4287
  {
4288
4288
  "disabled": false,
4289
4289
  "document": "独享集群id。",
4290
- "example": "cluster-xxxxxxxx",
4290
+ "example": "cluster-es1mfycs",
4291
4291
  "member": "string",
4292
4292
  "name": "DedicatedClusterId",
4293
4293
  "output_required": true,
@@ -1584,6 +1584,32 @@
1584
1584
  ],
1585
1585
  "usage": "out"
1586
1586
  },
1587
+ "Client": {
1588
+ "document": "座席登录的终端信息",
1589
+ "members": [
1590
+ {
1591
+ "disabled": false,
1592
+ "document": "登录的端类型,\"Web\"表示web工作台,\"WeChatMiniProgram\"表示微信小程序",
1593
+ "example": "Web",
1594
+ "member": "string",
1595
+ "name": "ClientType",
1596
+ "output_required": false,
1597
+ "type": "string",
1598
+ "value_allowed_null": false
1599
+ },
1600
+ {
1601
+ "disabled": false,
1602
+ "document": "当前登录的端是否在前台。若登录的端是Web,则该值为true;若登录的端是WeChatMiniProgram,true表示打开着微信小程序,false表示微信小程序退到后台",
1603
+ "example": "true",
1604
+ "member": "bool",
1605
+ "name": "IsConnected",
1606
+ "output_required": false,
1607
+ "type": "bool",
1608
+ "value_allowed_null": false
1609
+ }
1610
+ ],
1611
+ "usage": "out"
1612
+ },
1587
1613
  "CompanyApplyInfo": {
1588
1614
  "document": "企业资质申请信息",
1589
1615
  "members": [
@@ -8703,6 +8729,16 @@
8703
8729
  "output_required": true,
8704
8730
  "type": "int",
8705
8731
  "value_allowed_null": true
8732
+ },
8733
+ {
8734
+ "disabled": false,
8735
+ "document": "客服登录的端信息",
8736
+ "example": "[{\"ClientType\": \"Web\", \"IsConnected\": true}]",
8737
+ "member": "Client",
8738
+ "name": "ClientInfo",
8739
+ "output_required": false,
8740
+ "type": "list",
8741
+ "value_allowed_null": false
8706
8742
  }
8707
8743
  ],
8708
8744
  "usage": "out"
@@ -5559,7 +5559,7 @@
5559
5559
  },
5560
5560
  {
5561
5561
  "disabled": false,
5562
- "document": "私有网络 ID,如果不传则默认选择基础网络,请使用 [查询私有网络列表](/document/api/215/15778) 。",
5562
+ "document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。",
5563
5563
  "example": "vpc-594gwq4l",
5564
5564
  "member": "string",
5565
5565
  "name": "UniqVpcId",
@@ -5745,6 +5745,24 @@
5745
5745
  "name": "ClusterTopology",
5746
5746
  "required": false,
5747
5747
  "type": "object"
5748
+ },
5749
+ {
5750
+ "disabled": false,
5751
+ "document": "原实例所在地域名,当传入异地备份时为必选项,例:ap-guangzhou",
5752
+ "example": "ap-guangzhou",
5753
+ "member": "string",
5754
+ "name": "SrcRegion",
5755
+ "required": false,
5756
+ "type": "string"
5757
+ },
5758
+ {
5759
+ "disabled": false,
5760
+ "document": "异地数据备份id",
5761
+ "example": "12445233",
5762
+ "member": "int64",
5763
+ "name": "SpecifiedSubBackupId",
5764
+ "required": false,
5765
+ "type": "int"
5748
5766
  }
5749
5767
  ],
5750
5768
  "type": "object"
@@ -5894,7 +5912,7 @@
5894
5912
  },
5895
5913
  {
5896
5914
  "disabled": false,
5897
- "document": "私有网络 ID,如果不传则默认选择基础网络,请使用 [查询私有网络列表](/document/api/215/15778) 。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。",
5915
+ "document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。",
5898
5916
  "example": "vpc-5l7l5q11",
5899
5917
  "member": "string",
5900
5918
  "name": "UniqVpcId",
@@ -6310,7 +6328,7 @@
6310
6328
  },
6311
6329
  {
6312
6330
  "disabled": false,
6313
- "document": "私有网络 ID,如果不传则默认选择基础网络,请使用 [查询私有网络列表](/document/api/215/15778)。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。",
6331
+ "document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。",
6314
6332
  "example": "vpc-5l7l5q11",
6315
6333
  "member": "string",
6316
6334
  "name": "UniqVpcId",
@@ -355,7 +355,7 @@
355
355
  "DescribeTrafficPackages": [
356
356
  {
357
357
  "document": "查询流量包列表",
358
- "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrafficPackages\n<公共请求参数>\n\n{\n \"Limit\": \"1\",\n \"Offset\": \"0\"\n}",
358
+ "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrafficPackages\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0\n}",
359
359
  "output": "{\n \"Response\": {\n \"RequestId\": \"b1a70a67f5500913be355ac2f09ff191\",\n \"TrafficPackages\": [\n {\n \"Id\": 22890370,\n \"Type\": \"日常流量包\",\n \"ConfigId\": 672,\n \"Bytes\": 100000000000,\n \"BytesUsed\": 0,\n \"Status\": \"frozen\",\n \"CreateTime\": \"2022-11-11 15:52:28\",\n \"EnableTime\": \"2022-11-11 15:00:00\",\n \"ExpireTime\": \"2023-11-11 15:00:00\",\n \"ContractExtension\": false,\n \"AutoExtension\": false,\n \"ExtensionMode\": 0,\n \"Area\": \"mainland\",\n \"LifeTimeMonth\": 12,\n \"RefundAvailable\": false,\n \"Channel\": \"ACTIVE_PURCHASE\",\n \"ExtensionAvailable\": false,\n \"Region\": 0,\n \"TrueEnableTime\": \"2022-11-11 15:00:00\",\n \"TrueExpireTime\": \"2023-11-11 15:59:59\"\n }\n ],\n \"TotalCount\": 1,\n \"ExpiringCount\": 0,\n \"EnabledCount\": 0,\n \"PaidCount\": 1\n }\n}",
360
360
  "title": "查询流量包列表"
361
361
  }
@@ -233,13 +233,13 @@
233
233
  "members": [
234
234
  {
235
235
  "disabled": false,
236
- "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
237
- "example": "-",
236
+ "document": "错误信息",
237
+ "example": "InvalidParameter",
238
238
  "member": "string",
239
239
  "name": "ErrMsg",
240
240
  "output_required": true,
241
241
  "type": "string",
242
- "value_allowed_null": true
242
+ "value_allowed_null": false
243
243
  },
244
244
  {
245
245
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "document": "",
6
6
  "input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActionAlterCkUser\n<公共请求参数>\n\n{\n \"UserInfo\": {\n \"InstanceId\": \"cdwch-1vud9x9x\",\n \"UserName\": \"admin\",\n \"PassWord\": \"base54加密\",\n \"Describe\": \"测试用户\"\n },\n \"ApiType\": \"AddSystemUser\"\n}",
7
- "output": "{\n \"Response\": {\n \"RequestId\": \"123456\",\n \"ErrMsg\": \"\"\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"20a71202-27c4-4120-80c4-fb1a8e15dxxx\",\n \"ErrMsg\": \"\"\n }\n}",
8
8
  "title": "新增、修改集群用户"
9
9
  }
10
10
  ],
@@ -2409,7 +2409,7 @@
2409
2409
  },
2410
2410
  {
2411
2411
  "disabled": false,
2412
- "document": "过滤条件。\n<br>SnapshotId - Array of String - 是否必填:否 -(过滤条件)按快照ID过滤。\n<br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。\n<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。\n<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。\n<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤\n(creating:表示创建中 | available:表示可用。rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)\n<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。\n<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。",
2412
+ "document": "过滤条件。\n<br>SnapshotId - Array of String - 是否必填:否 -(过滤条件)按快照ID过滤。\n<br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。\n<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。\n<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。\n<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤\n(creating:创建中 | available:运行中| deleting: 删除中 | rollbacking_new:由快照创建新文件系统中| create-failed 创建失败)\n<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。\n<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。",
2413
2413
  "example": "无",
2414
2414
  "member": "Filter",
2415
2415
  "name": "Filters",
@@ -1109,6 +1109,58 @@ def doDescribeAvailableModelList(args, parsed_globals):
1109
1109
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
1110
 
1111
1111
 
1112
+ def doExportCustomerWorkOrderDetail(args, parsed_globals):
1113
+ g_param = parse_global_arg(parsed_globals)
1114
+
1115
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1116
+ cred = credential.CVMRoleCredential()
1117
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1118
+ cred = credential.STSAssumeRoleCredential(
1119
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1120
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1121
+ )
1122
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
1123
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1124
+ else:
1125
+ cred = credential.Credential(
1126
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1127
+ )
1128
+ http_profile = HttpProfile(
1129
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1130
+ reqMethod="POST",
1131
+ endpoint=g_param[OptionsDefine.Endpoint],
1132
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1133
+ )
1134
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1135
+ if g_param[OptionsDefine.Language]:
1136
+ profile.language = g_param[OptionsDefine.Language]
1137
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1138
+ client = mod.ChcClient(cred, g_param[OptionsDefine.Region], profile)
1139
+ client._sdkVersion += ("_CLI_" + __version__)
1140
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1141
+ model = models.ExportCustomerWorkOrderDetailRequest()
1142
+ model.from_json_string(json.dumps(args))
1143
+ start_time = time.time()
1144
+ while True:
1145
+ rsp = client.ExportCustomerWorkOrderDetail(model)
1146
+ result = rsp.to_json_string()
1147
+ try:
1148
+ json_obj = json.loads(result)
1149
+ except TypeError as e:
1150
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1151
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1152
+ break
1153
+ cur_time = time.time()
1154
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1155
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1156
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1157
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1158
+ else:
1159
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1160
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1161
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1162
+
1163
+
1112
1164
  def doCreateSpeciallyQuitWorkOrder(args, parsed_globals):
1113
1165
  g_param = parse_global_arg(parsed_globals)
1114
1166
 
@@ -1973,6 +2025,7 @@ ACTION_MAP = {
1973
2025
  "DescribeDeviceList": doDescribeDeviceList,
1974
2026
  "CreatePowerOnWorkOrder": doCreatePowerOnWorkOrder,
1975
2027
  "DescribeAvailableModelList": doDescribeAvailableModelList,
2028
+ "ExportCustomerWorkOrderDetail": doExportCustomerWorkOrderDetail,
1976
2029
  "CreateSpeciallyQuitWorkOrder": doCreateSpeciallyQuitWorkOrder,
1977
2030
  "CreatePowerOffWorkOrder": doCreatePowerOffWorkOrder,
1978
2031
  "CreatePersonnelVisitWorkOrder": doCreatePersonnelVisitWorkOrder,
@@ -252,6 +252,13 @@
252
252
  "output": "DescribeWorkOrderTypesResponse",
253
253
  "status": "online"
254
254
  },
255
+ "ExportCustomerWorkOrderDetail": {
256
+ "document": "导出工单详情",
257
+ "input": "ExportCustomerWorkOrderDetailRequest",
258
+ "name": "导出客户工单详情",
259
+ "output": "ExportCustomerWorkOrderDetailResponse",
260
+ "status": "online"
261
+ },
255
262
  "ModifyWorkOrderTypeCollectFlag": {
256
263
  "document": "如果当前该工单类型是收藏状态,调用接口后变成未收藏状态,如果是未收藏状态,调用该接口变为收藏状态",
257
264
  "input": "ModifyWorkOrderTypeCollectFlagRequest",
@@ -3812,6 +3819,61 @@
3812
3819
  ],
3813
3820
  "usage": "out"
3814
3821
  },
3822
+ "ExportCustomerWorkOrderDetailRequest": {
3823
+ "document": "ExportCustomerWorkOrderDetail请求参数结构体",
3824
+ "members": [
3825
+ {
3826
+ "disabled": false,
3827
+ "document": "服务工单类型",
3828
+ "example": "['rackPowerOn']",
3829
+ "member": "string",
3830
+ "name": "WorkOrderType",
3831
+ "required": true,
3832
+ "type": "list"
3833
+ },
3834
+ {
3835
+ "disabled": false,
3836
+ "document": "要导出的工单的起始时间",
3837
+ "example": "2024-11-22 00:00:00",
3838
+ "member": "string",
3839
+ "name": "BeginDateTime",
3840
+ "required": true,
3841
+ "type": "string"
3842
+ },
3843
+ {
3844
+ "disabled": false,
3845
+ "document": "要导出的工单的结束时间",
3846
+ "example": "2025-05-11 00:00:00",
3847
+ "member": "string",
3848
+ "name": "EndDateTime",
3849
+ "required": true,
3850
+ "type": "string"
3851
+ }
3852
+ ],
3853
+ "type": "object"
3854
+ },
3855
+ "ExportCustomerWorkOrderDetailResponse": {
3856
+ "document": "ExportCustomerWorkOrderDetail返回参数结构体",
3857
+ "members": [
3858
+ {
3859
+ "disabled": false,
3860
+ "document": "返回下载地址",
3861
+ "example": "无",
3862
+ "member": "string",
3863
+ "name": "DownloadUrl",
3864
+ "output_required": true,
3865
+ "type": "string",
3866
+ "value_allowed_null": false
3867
+ },
3868
+ {
3869
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3870
+ "member": "string",
3871
+ "name": "RequestId",
3872
+ "type": "string"
3873
+ }
3874
+ ],
3875
+ "type": "object"
3876
+ },
3815
3877
  "ExpressDelivery": {
3816
3878
  "document": "快递寄件信息,快递寄件必填",
3817
3879
  "members": [
@@ -288,6 +288,14 @@
288
288
  "title": "请求示例"
289
289
  }
290
290
  ],
291
+ "ExportCustomerWorkOrderDetail": [
292
+ {
293
+ "document": "",
294
+ "input": "POST / HTTP/1.1\nHost: chc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCommonServiceWorkOrder\n<公共请求参数>\n\n{\n \"WorkOrderType\": [\n \"rackOn\"\n ],\n \"BeginDateTime\": \"2025-04-01 00:00:00\",\n \"EndDateTime\": \"2025-04-30 00:00:00\"\n}",
295
+ "output": "{\n \"Response\": {\n \"DownloadUrl\": \"http://ap-guangzhou-test-1305532550.cos.ap-guangzhou.myqcloud.com/idc_portal_work_order/251233270/251233270_2025-04-01_00-00-00_2025-04-30_00-00-00.xlsx?q-sign-algorithm=sha1&q-ak=xxx&q-sign-time=1749127181%3B1749127541&q-key-time=1749127181%3B1749127541&q-header-list=host&q-url-param-list=&q-signature=3a30d015e08fb524f75b31217d2436bbce70e6ec\",\n \"RequestId\": \"591f555e-23b9-4b9a-aab8-186364534732\"\n }\n}",
296
+ "title": "导出客户工单详情"
297
+ }
298
+ ],
291
299
  "ModifyWorkOrderTypeCollectFlag": [
292
300
  {
293
301
  "document": "",
@@ -10320,7 +10320,7 @@
10320
10320
  "type": "list"
10321
10321
  },
10322
10322
  {
10323
- "disabled": false,
10323
+ "disabled": true,
10324
10324
  "document": "本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启</li><li>false:表示在正常重启失败后不进行强制重启</li><br>默认取值:false。",
10325
10325
  "example": "false",
10326
10326
  "member": "bool",
@@ -12159,7 +12159,7 @@
12159
12159
  "type": "list"
12160
12160
  },
12161
12161
  {
12162
- "disabled": false,
12162
+ "disabled": true,
12163
12163
  "document": "本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常关闭失败后选择强制关闭实例。取值范围:<br><li>true:表示在正常关闭失败后进行强制关闭</li><li>false:表示在正常关闭失败后不进行强制关闭</li><br>默认取值:false。",
12164
12164
  "example": "false",
12165
12165
  "member": "bool",