tccli 3.0.1326.1__py2.py3-none-any.whl → 3.0.1328.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 (70) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ams/v20201229/api.json +9 -9
  3. tccli/services/apm/v20210622/api.json +10 -1
  4. tccli/services/apm/v20210622/examples.json +2 -2
  5. tccli/services/bh/v20230418/api.json +9 -0
  6. tccli/services/cbs/v20170312/api.json +2 -2
  7. tccli/services/cdb/v20170320/api.json +30 -12
  8. tccli/services/cdc/v20201214/api.json +5 -5
  9. tccli/services/cfs/v20190719/api.json +4 -4
  10. tccli/services/chc/chc_client.py +53 -0
  11. tccli/services/chc/v20230418/api.json +62 -0
  12. tccli/services/chc/v20230418/examples.json +8 -0
  13. tccli/services/clb/clb_client.py +53 -0
  14. tccli/services/clb/v20180317/api.json +100 -0
  15. tccli/services/clb/v20180317/examples.json +8 -0
  16. tccli/services/cvm/v20170312/api.json +2 -2
  17. tccli/services/cwp/v20180228/api.json +92 -1
  18. tccli/services/dbbrain/v20210527/api.json +4 -4
  19. tccli/services/dcdb/v20180411/examples.json +1 -1
  20. tccli/services/dts/v20211206/api.json +3 -3
  21. tccli/services/emr/v20190103/api.json +193 -9
  22. tccli/services/ess/ess_client.py +126 -20
  23. tccli/services/ess/v20201111/api.json +135 -1
  24. tccli/services/ess/v20201111/examples.json +22 -0
  25. tccli/services/essbasic/v20210526/api.json +1 -1
  26. tccli/services/gs/gs_client.py +836 -147
  27. tccli/services/gs/v20191118/api.json +964 -28
  28. tccli/services/gs/v20191118/examples.json +106 -2
  29. tccli/services/iotexplorer/v20190423/api.json +5 -5
  30. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  31. tccli/services/lowcode/v20210108/api.json +60 -0
  32. tccli/services/mariadb/v20170312/api.json +10 -10
  33. tccli/services/monitor/monitor_client.py +117 -11
  34. tccli/services/monitor/v20180724/api.json +151 -0
  35. tccli/services/monitor/v20180724/examples.json +16 -0
  36. tccli/services/mrs/v20200910/api.json +1 -1
  37. tccli/services/oceanus/v20190422/api.json +15 -5
  38. tccli/services/oceanus/v20190422/examples.json +8 -2
  39. tccli/services/ocr/v20181119/api.json +74 -9
  40. tccli/services/partners/v20180321/api.json +7 -7
  41. tccli/services/privatedns/privatedns_client.py +53 -0
  42. tccli/services/privatedns/v20201028/api.json +179 -0
  43. tccli/services/privatedns/v20201028/examples.json +8 -0
  44. tccli/services/tcss/v20201101/api.json +248 -35
  45. tccli/services/tcss/v20201101/examples.json +8 -8
  46. tccli/services/tem/tem_client.py +53 -0
  47. tccli/services/tem/v20210701/api.json +107 -0
  48. tccli/services/tem/v20210701/examples.json +8 -0
  49. tccli/services/teo/v20220901/api.json +807 -74
  50. tccli/services/teo/v20220901/examples.json +2 -2
  51. tccli/services/tms/v20201229/api.json +2 -2
  52. tccli/services/tms/v20201229/examples.json +1 -1
  53. tccli/services/trtc/v20190722/api.json +2 -2
  54. tccli/services/vclm/v20240523/api.json +173 -0
  55. tccli/services/vclm/v20240523/examples.json +16 -0
  56. tccli/services/vclm/vclm_client.py +106 -0
  57. tccli/services/vm/v20210922/api.json +13 -13
  58. tccli/services/vm/v20210922/examples.json +2 -2
  59. tccli/services/vod/v20180717/api.json +13 -11
  60. tccli/services/vod/v20180717/examples.json +4 -4
  61. tccli/services/vpc/v20170312/api.json +12 -3
  62. tccli/services/waf/v20180125/api.json +2 -2
  63. tccli/services/wedata/v20210820/api.json +952 -0
  64. tccli/services/wedata/v20210820/examples.json +8 -0
  65. tccli/services/wedata/wedata_client.py +53 -0
  66. {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/METADATA +2 -2
  67. {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/RECORD +70 -70
  68. {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/WHEEL +0 -0
  69. {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/entry_points.txt +0 -0
  70. {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1326.1'
1
+ __version__ = '3.0.1328.1'
@@ -1009,7 +1009,7 @@
1009
1009
  {
1010
1010
  "disabled": false,
1011
1011
  "document": "该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。\n注意:此字段可能返回 null,表示取不到有效值。",
1012
- "example": "{}",
1012
+ "example": "",
1013
1013
  "member": "TaskLabel",
1014
1014
  "name": "Labels",
1015
1015
  "output_required": true,
@@ -1019,7 +1019,7 @@
1019
1019
  {
1020
1020
  "disabled": false,
1021
1021
  "document": "该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。\n注意:此字段可能返回 null,表示取不到有效值。",
1022
- "example": "{}",
1022
+ "example": "",
1023
1023
  "member": "InputInfo",
1024
1024
  "name": "InputInfo",
1025
1025
  "output_required": true,
@@ -1039,7 +1039,7 @@
1039
1039
  {
1040
1040
  "disabled": false,
1041
1041
  "document": "该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。\n注意:此字段可能返回 null,表示取不到有效值。",
1042
- "example": "{}",
1042
+ "example": "",
1043
1043
  "member": "AudioSegments",
1044
1044
  "name": "AudioSegments",
1045
1045
  "output_required": true,
@@ -1099,7 +1099,7 @@
1099
1099
  {
1100
1100
  "disabled": false,
1101
1101
  "document": "媒体信息\n注意:此字段可能返回 null,表示取不到有效值。",
1102
- "example": "{}",
1102
+ "example": "",
1103
1103
  "member": "MediaInfo",
1104
1104
  "name": "MediaInfo",
1105
1105
  "output_required": false,
@@ -1121,7 +1121,7 @@
1121
1121
  {
1122
1122
  "disabled": false,
1123
1123
  "document": "该参数表示任务列表每页展示的任务条数,**默认值为10**(每页展示10条任务)。",
1124
- "example": "",
1124
+ "example": "10",
1125
1125
  "member": "int64",
1126
1126
  "name": "Limit",
1127
1127
  "required": false,
@@ -1139,7 +1139,7 @@
1139
1139
  {
1140
1140
  "disabled": false,
1141
1141
  "document": "该参数表示翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。",
1142
- "example": "",
1142
+ "example": ".aCQX6qOnIv0SuMLH",
1143
1143
  "member": "string",
1144
1144
  "name": "PageToken",
1145
1145
  "required": false,
@@ -1148,7 +1148,7 @@
1148
1148
  {
1149
1149
  "disabled": false,
1150
1150
  "document": "该参数表示任务列表的开始时间,格式为ISO8601标准的时间戳。**默认值为最近3天**,若传入该参数,则在这一时间到EndTime之间的任务将会被筛选出来。<br>备注:该参数与Filter共同起到任务筛选作用,二者作用无先后顺序。",
1151
- "example": "",
1151
+ "example": "2025-05-12T00:00:00+08:00",
1152
1152
  "member": "datetime_iso",
1153
1153
  "name": "StartTime",
1154
1154
  "required": false,
@@ -1157,7 +1157,7 @@
1157
1157
  {
1158
1158
  "disabled": false,
1159
1159
  "document": "该参数表示任务列表的结束时间,格式为ISO8601标准的时间戳。**默认值为空**,若传入该参数,则在这StartTime到这一时间之间的任务将会被筛选出来。<br>备注:该参数与Filter共同起到任务筛选作用,二者作用无先后顺序。",
1160
- "example": "",
1160
+ "example": "2025-05-13T23:59:59+08:00",
1161
1161
  "member": "datetime_iso",
1162
1162
  "name": "EndTime",
1163
1163
  "required": false,
@@ -1172,7 +1172,7 @@
1172
1172
  {
1173
1173
  "disabled": false,
1174
1174
  "document": "该字段用于返回当前查询的任务总量,格式为int字符串。\n注意:此字段可能返回 null,表示取不到有效值。",
1175
- "example": "1",
1175
+ "example": "468",
1176
1176
  "member": "string",
1177
1177
  "name": "Total",
1178
1178
  "output_required": true,
@@ -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. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。",
@@ -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",
@@ -13911,7 +13929,7 @@
13911
13929
  {
13912
13930
  "disabled": false,
13913
13931
  "document": "操作类型",
13914
- "example": " extend、 reduce 、extend_failed",
13932
+ "example": "extend、reduce、extend_failed",
13915
13933
  "member": "string",
13916
13934
  "name": "OperationType",
13917
13935
  "output_required": false,
@@ -13930,8 +13948,8 @@
13930
13948
  },
13931
13949
  {
13932
13950
  "disabled": false,
13933
- "document": "扩容开始时间",
13934
- "example": "",
13951
+ "document": "扩容开始时间\n说明:此项显示的格式是 int 类型的 unix 时间戳",
13952
+ "example": "1748590523",
13935
13953
  "member": "int64",
13936
13954
  "name": "StartTime",
13937
13955
  "output_required": false,
@@ -13940,8 +13958,8 @@
13940
13958
  },
13941
13959
  {
13942
13960
  "disabled": false,
13943
- "document": "扩容结束时间",
13944
- "example": "",
13961
+ "document": "扩容结束时间\n说明:此项显示的格式是 int 类型的 unix 时间戳",
13962
+ "example": "1748590526",
13945
13963
  "member": "int64",
13946
13964
  "name": "EndTime",
13947
13965
  "output_required": false,
@@ -13951,7 +13969,7 @@
13951
13969
  {
13952
13970
  "disabled": false,
13953
13971
  "document": "扩容前核数",
13954
- "example": "",
13972
+ "example": "2",
13955
13973
  "member": "int64",
13956
13974
  "name": "OldCpu",
13957
13975
  "output_required": false,
@@ -13961,7 +13979,7 @@
13961
13979
  {
13962
13980
  "disabled": false,
13963
13981
  "document": "扩容后核数",
13964
- "example": "",
13982
+ "example": "4",
13965
13983
  "member": "int64",
13966
13984
  "name": "NewCpu",
13967
13985
  "output_required": false,
@@ -13971,7 +13989,7 @@
13971
13989
  {
13972
13990
  "disabled": false,
13973
13991
  "document": "增减的cpu数",
13974
- "example": "",
13992
+ "example": "2",
13975
13993
  "member": "int64",
13976
13994
  "name": "ExtendCPUNum",
13977
13995
  "output_required": false,
@@ -13981,7 +13999,7 @@
13981
13999
  {
13982
14000
  "disabled": false,
13983
14001
  "document": "extend_failed操作上报",
13984
- "example": "",
14002
+ "example": "后端资源不足",
13985
14003
  "member": "string",
13986
14004
  "name": "Error",
13987
14005
  "output_required": false,
@@ -940,7 +940,7 @@
940
940
  "value_allowed_null": false
941
941
  },
942
942
  {
943
- "disabled": false,
943
+ "disabled": true,
944
944
  "document": "专用集群类型id(移到下一层级,已经废弃,后续将删除)",
945
945
  "example": "dctype-00000000",
946
946
  "member": "string",
@@ -950,7 +950,7 @@
950
950
  "value_allowed_null": false
951
951
  },
952
952
  {
953
- "disabled": false,
953
+ "disabled": true,
954
954
  "document": "支持的存储类型列表(移到下一层级,已经废弃,后续将删除)",
955
955
  "example": "[\"SSD\"]",
956
956
  "member": "string",
@@ -960,7 +960,7 @@
960
960
  "value_allowed_null": false
961
961
  },
962
962
  {
963
- "disabled": false,
963
+ "disabled": true,
964
964
  "document": "支持的上连交换机的链路传输速率(GiB)(移到下一层级,已经废弃,后续将删除)",
965
965
  "example": "[10,25,40,100]",
966
966
  "member": "int64",
@@ -970,7 +970,7 @@
970
970
  "value_allowed_null": false
971
971
  },
972
972
  {
973
- "disabled": false,
973
+ "disabled": true,
974
974
  "document": "支持的实例族列表(移到下一层级,已经废弃,后续将删除)",
975
975
  "example": "[\"SA5t\"]",
976
976
  "member": "string",
@@ -2606,7 +2606,7 @@
2606
2606
  "document": "CDC宿主机的详细信息",
2607
2607
  "members": [
2608
2608
  {
2609
- "disabled": false,
2609
+ "disabled": true,
2610
2610
  "document": "宿主机IP(废弃)",
2611
2611
  "example": "10.1.1.1",
2612
2612
  "member": "string",
@@ -697,7 +697,7 @@
697
697
  "members": [
698
698
  {
699
699
  "disabled": false,
700
- "document": "快照策略ID,通过快照策略列表获取",
700
+ "document": "需要解绑的文件系统ID列表,用\",\" 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)",
701
701
  "example": "asp-xx",
702
702
  "member": "string",
703
703
  "name": "AutoSnapshotPolicyId",
@@ -706,7 +706,7 @@
706
706
  },
707
707
  {
708
708
  "disabled": false,
709
- "document": "文件系统id列表,用“,”分隔,文件系统id通过查询文件系统列表获得",
709
+ "document": "解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取",
710
710
  "example": "cfs-abc,cfs-bdc.",
711
711
  "member": "string",
712
712
  "name": "FileSystemIds",
@@ -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:表示回滚。| 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",
@@ -4204,7 +4204,7 @@
4204
4204
  "members": [
4205
4205
  {
4206
4206
  "disabled": false,
4207
- "document": "迁移任务名称",
4207
+ "document": "迁移任务Id",
4208
4208
  "example": "cfsmigrate-xxxxx",
4209
4209
  "member": "string",
4210
4210
  "name": "TaskId",
@@ -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": "",
@@ -4229,6 +4229,58 @@ def doCreateListener(args, parsed_globals):
4229
4229
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4230
4230
 
4231
4231
 
4232
+ def doDescribeLBOperateProtect(args, parsed_globals):
4233
+ g_param = parse_global_arg(parsed_globals)
4234
+
4235
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4236
+ cred = credential.CVMRoleCredential()
4237
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4238
+ cred = credential.STSAssumeRoleCredential(
4239
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4240
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4241
+ )
4242
+ 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):
4243
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4244
+ else:
4245
+ cred = credential.Credential(
4246
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4247
+ )
4248
+ http_profile = HttpProfile(
4249
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4250
+ reqMethod="POST",
4251
+ endpoint=g_param[OptionsDefine.Endpoint],
4252
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4253
+ )
4254
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4255
+ if g_param[OptionsDefine.Language]:
4256
+ profile.language = g_param[OptionsDefine.Language]
4257
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4258
+ client = mod.ClbClient(cred, g_param[OptionsDefine.Region], profile)
4259
+ client._sdkVersion += ("_CLI_" + __version__)
4260
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4261
+ model = models.DescribeLBOperateProtectRequest()
4262
+ model.from_json_string(json.dumps(args))
4263
+ start_time = time.time()
4264
+ while True:
4265
+ rsp = client.DescribeLBOperateProtect(model)
4266
+ result = rsp.to_json_string()
4267
+ try:
4268
+ json_obj = json.loads(result)
4269
+ except TypeError as e:
4270
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4271
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4272
+ break
4273
+ cur_time = time.time()
4274
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4275
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4276
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4277
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4278
+ else:
4279
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4280
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4281
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4282
+
4283
+
4232
4284
  def doDescribeClsLogSet(args, parsed_globals):
4233
4285
  g_param = parse_global_arg(parsed_globals)
4234
4286
 
@@ -4841,6 +4893,7 @@ ACTION_MAP = {
4841
4893
  "DescribeBlockIPList": doDescribeBlockIPList,
4842
4894
  "DescribeClassicalLBTargets": doDescribeClassicalLBTargets,
4843
4895
  "CreateListener": doCreateListener,
4896
+ "DescribeLBOperateProtect": doDescribeLBOperateProtect,
4844
4897
  "DescribeClsLogSet": doDescribeClsLogSet,
4845
4898
  "ModifyTargetWeight": doModifyTargetWeight,
4846
4899
  "CreateTargetGroup": doCreateTargetGroup,