tccli 3.0.1150.1__py2.py3-none-any.whl → 3.0.1152.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 (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/v20190614/api.json +2 -2
  4. tccli/services/cbs/cbs_client.py +61 -8
  5. tccli/services/cbs/v20170312/api.json +64 -0
  6. tccli/services/cbs/v20170312/examples.json +8 -0
  7. tccli/services/ccc/v20200210/api.json +2 -2
  8. tccli/services/cdc/v20201214/api.json +101 -20
  9. tccli/services/cdc/v20201214/examples.json +1 -1
  10. tccli/services/cdz/__init__.py +4 -0
  11. tccli/services/cdz/cdz_client.py +248 -0
  12. tccli/services/cdz/v20221123/api.json +305 -0
  13. tccli/services/cdz/v20221123/examples.json +21 -0
  14. tccli/services/clb/v20180317/api.json +9 -0
  15. tccli/services/cvm/v20170312/api.json +10 -10
  16. tccli/services/cynosdb/v20190107/api.json +1 -1
  17. tccli/services/dasb/v20191018/api.json +5 -4
  18. tccli/services/dlc/v20210125/api.json +19 -1
  19. tccli/services/dlc/v20210125/examples.json +1 -1
  20. tccli/services/es/v20180416/api.json +19 -1
  21. tccli/services/es/v20180416/examples.json +1 -1
  22. tccli/services/ess/v20201111/api.json +4 -4
  23. tccli/services/essbasic/v20210526/api.json +2 -2
  24. tccli/services/essbasic/v20210526/examples.json +1 -1
  25. tccli/services/facefusion/v20220927/api.json +8 -8
  26. tccli/services/gaap/v20180529/api.json +22 -2
  27. tccli/services/gaap/v20180529/examples.json +1 -1
  28. tccli/services/hunyuan/hunyuan_client.py +65 -12
  29. tccli/services/hunyuan/v20230901/api.json +99 -0
  30. tccli/services/hunyuan/v20230901/examples.json +8 -0
  31. tccli/services/lcic/v20220817/api.json +19 -1
  32. tccli/services/lke/v20231130/api.json +1 -1
  33. tccli/services/monitor/v20180724/api.json +109 -94
  34. tccli/services/monitor/v20180724/examples.json +7 -7
  35. tccli/services/mps/v20190612/api.json +37 -35
  36. tccli/services/mps/v20190612/examples.json +19 -7
  37. tccli/services/tdmq/tdmq_client.py +163 -4
  38. tccli/services/tdmq/v20200217/api.json +279 -0
  39. tccli/services/tdmq/v20200217/examples.json +24 -0
  40. tccli/services/tsi/v20210325/api.json +1 -1
  41. tccli/services/vpc/v20170312/api.json +1573 -157
  42. tccli/services/vpc/v20170312/examples.json +104 -0
  43. tccli/services/vpc/vpc_client.py +1974 -1285
  44. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/RECORD +48 -44
  46. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1150.1'
1
+ __version__ = '3.0.1152.1'
@@ -165,6 +165,9 @@ SERVICE_VERSIONS = {
165
165
  "cdwpg": [
166
166
  "2020-12-30"
167
167
  ],
168
+ "cdz": [
169
+ "2022-11-23"
170
+ ],
168
171
  "cfg": [
169
172
  "2021-08-20"
170
173
  ],
@@ -335,7 +335,7 @@
335
335
  "members": [
336
336
  {
337
337
  "disabled": false,
338
- "document": "引擎模型类型。\n• 16k_zh:中文普通话通用;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_de:法语;",
338
+ "document": "引擎模型类型。\n• 16k_zh:中文普通话通用;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_de:德语;",
339
339
  "example": "16k_zh",
340
340
  "member": "string",
341
341
  "name": "EngineType",
@@ -526,7 +526,7 @@
526
526
  "members": [
527
527
  {
528
528
  "disabled": false,
529
- "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n• **8k_zh_large:**普方大模型引擎【大模型版】。当前模型同时支持中文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型版本的识别效果;\n\n注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
529
+ "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n• **8k_zh_large:**普方大模型引擎【大模型版】。当前模型同时支持中文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型版本的识别效果;\n\n注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
530
530
  "example": "16k_zh",
531
531
  "member": "string",
532
532
  "name": "EngineModelType",
@@ -1889,7 +1889,7 @@ def doModifySnapshotsSharePermission(args, parsed_globals):
1889
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
1890
 
1891
1891
 
1892
- def doDetachDisks(args, parsed_globals):
1892
+ def doDescribeSnapshotOverview(args, parsed_globals):
1893
1893
  g_param = parse_global_arg(parsed_globals)
1894
1894
 
1895
1895
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1918,11 +1918,63 @@ def doDetachDisks(args, parsed_globals):
1918
1918
  client = mod.CbsClient(cred, g_param[OptionsDefine.Region], profile)
1919
1919
  client._sdkVersion += ("_CLI_" + __version__)
1920
1920
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1921
- model = models.DetachDisksRequest()
1921
+ model = models.DescribeSnapshotOverviewRequest()
1922
1922
  model.from_json_string(json.dumps(args))
1923
1923
  start_time = time.time()
1924
1924
  while True:
1925
- rsp = client.DetachDisks(model)
1925
+ rsp = client.DescribeSnapshotOverview(model)
1926
+ result = rsp.to_json_string()
1927
+ try:
1928
+ json_obj = json.loads(result)
1929
+ except TypeError as e:
1930
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1931
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1932
+ break
1933
+ cur_time = time.time()
1934
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1935
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1936
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1937
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1938
+ else:
1939
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1940
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1941
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
+
1943
+
1944
+ def doCreateSnapshot(args, parsed_globals):
1945
+ g_param = parse_global_arg(parsed_globals)
1946
+
1947
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1948
+ cred = credential.CVMRoleCredential()
1949
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1950
+ cred = credential.STSAssumeRoleCredential(
1951
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1952
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1953
+ )
1954
+ 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):
1955
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1956
+ else:
1957
+ cred = credential.Credential(
1958
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1959
+ )
1960
+ http_profile = HttpProfile(
1961
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1962
+ reqMethod="POST",
1963
+ endpoint=g_param[OptionsDefine.Endpoint],
1964
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1965
+ )
1966
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1967
+ if g_param[OptionsDefine.Language]:
1968
+ profile.language = g_param[OptionsDefine.Language]
1969
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1970
+ client = mod.CbsClient(cred, g_param[OptionsDefine.Region], profile)
1971
+ client._sdkVersion += ("_CLI_" + __version__)
1972
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
+ model = models.CreateSnapshotRequest()
1974
+ model.from_json_string(json.dumps(args))
1975
+ start_time = time.time()
1976
+ while True:
1977
+ rsp = client.CreateSnapshot(model)
1926
1978
  result = rsp.to_json_string()
1927
1979
  try:
1928
1980
  json_obj = json.loads(result)
@@ -2045,7 +2097,7 @@ def doResizeDisk(args, parsed_globals):
2045
2097
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
2098
 
2047
2099
 
2048
- def doCreateSnapshot(args, parsed_globals):
2100
+ def doDetachDisks(args, parsed_globals):
2049
2101
  g_param = parse_global_arg(parsed_globals)
2050
2102
 
2051
2103
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2074,11 +2126,11 @@ def doCreateSnapshot(args, parsed_globals):
2074
2126
  client = mod.CbsClient(cred, g_param[OptionsDefine.Region], profile)
2075
2127
  client._sdkVersion += ("_CLI_" + __version__)
2076
2128
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2077
- model = models.CreateSnapshotRequest()
2129
+ model = models.DetachDisksRequest()
2078
2130
  model.from_json_string(json.dumps(args))
2079
2131
  start_time = time.time()
2080
2132
  while True:
2081
- rsp = client.CreateSnapshot(model)
2133
+ rsp = client.DetachDisks(model)
2082
2134
  result = rsp.to_json_string()
2083
2135
  try:
2084
2136
  json_obj = json.loads(result)
@@ -2196,10 +2248,11 @@ ACTION_MAP = {
2196
2248
  "DescribeDiskStoragePool": doDescribeDiskStoragePool,
2197
2249
  "InquirePriceModifyDiskExtraPerformance": doInquirePriceModifyDiskExtraPerformance,
2198
2250
  "ModifySnapshotsSharePermission": doModifySnapshotsSharePermission,
2199
- "DetachDisks": doDetachDisks,
2251
+ "DescribeSnapshotOverview": doDescribeSnapshotOverview,
2252
+ "CreateSnapshot": doCreateSnapshot,
2200
2253
  "GetSnapOverview": doGetSnapOverview,
2201
2254
  "ResizeDisk": doResizeDisk,
2202
- "CreateSnapshot": doCreateSnapshot,
2255
+ "DetachDisks": doDetachDisks,
2203
2256
  "InquiryPriceRenewDisks": doInquiryPriceRenewDisks,
2204
2257
 
2205
2258
  }
@@ -133,6 +133,13 @@
133
133
  "output": "DescribeInstancesDiskNumResponse",
134
134
  "status": "online"
135
135
  },
136
+ "DescribeSnapshotOverview": {
137
+ "document": "该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。",
138
+ "input": "DescribeSnapshotOverviewRequest",
139
+ "name": "查询快照使用概览",
140
+ "output": "DescribeSnapshotOverviewResponse",
141
+ "status": "online"
142
+ },
136
143
  "DescribeSnapshotSharePermission": {
137
144
  "document": "本接口(DescribeSnapshotSharePermission)用于查询快照的分享信息。",
138
145
  "input": "DescribeSnapshotSharePermissionRequest",
@@ -1991,6 +1998,63 @@
1991
1998
  ],
1992
1999
  "type": "object"
1993
2000
  },
2001
+ "DescribeSnapshotOverviewRequest": {
2002
+ "document": "DescribeSnapshotOverview请求参数结构体",
2003
+ "members": [],
2004
+ "type": "object"
2005
+ },
2006
+ "DescribeSnapshotOverviewResponse": {
2007
+ "document": "DescribeSnapshotOverview返回参数结构体",
2008
+ "members": [
2009
+ {
2010
+ "disabled": false,
2011
+ "document": "当前总有效快照数量",
2012
+ "example": "11",
2013
+ "member": "uint64",
2014
+ "name": "TotalNums",
2015
+ "output_required": false,
2016
+ "type": "int",
2017
+ "value_allowed_null": false
2018
+ },
2019
+ {
2020
+ "disabled": false,
2021
+ "document": "已使用快照总容量大小,容量单位为GiB",
2022
+ "example": "12.5",
2023
+ "member": "float",
2024
+ "name": "TotalSize",
2025
+ "output_required": false,
2026
+ "type": "float",
2027
+ "value_allowed_null": false
2028
+ },
2029
+ {
2030
+ "disabled": false,
2031
+ "document": "快照免费额度大小,额度单位为GiB",
2032
+ "example": "50.0",
2033
+ "member": "float",
2034
+ "name": "FreeQuota",
2035
+ "output_required": false,
2036
+ "type": "float",
2037
+ "value_allowed_null": false
2038
+ },
2039
+ {
2040
+ "disabled": false,
2041
+ "document": "快照真实产生计费的总容量大小,单位为GiB",
2042
+ "example": "11.0",
2043
+ "member": "float",
2044
+ "name": "RealTradeSize",
2045
+ "output_required": false,
2046
+ "type": "float",
2047
+ "value_allowed_null": false
2048
+ },
2049
+ {
2050
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2051
+ "member": "string",
2052
+ "name": "RequestId",
2053
+ "type": "string"
2054
+ }
2055
+ ],
2056
+ "type": "object"
2057
+ },
1994
2058
  "DescribeSnapshotSharePermissionRequest": {
1995
2059
  "document": "DescribeSnapshotSharePermission请求参数结构体",
1996
2060
  "members": [
@@ -164,6 +164,14 @@
164
164
  "title": "查询多个实例挂载的云硬盘数量"
165
165
  }
166
166
  ],
167
+ "DescribeSnapshotOverview": [
168
+ {
169
+ "document": "",
170
+ "input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSnapshotOverview\n<公共请求参数>\n\n{}",
171
+ "output": "{\n \"Response\": {\n \"TotalNums\": 13,\n \"TotalSize\": 92.45,\n \"FreeQuota\": 50,\n \"RealTradeSize\": 42.45,\n \"RequestId\": \"6b5509c3-33dd-4121-835b-bfffd8c2a596\"\n }\n}",
172
+ "title": "查询用户快照概览"
173
+ }
174
+ ],
167
175
  "DescribeSnapshotSharePermission": [
168
176
  {
169
177
  "document": "查询某个快照的分享信息",
@@ -2199,7 +2199,7 @@
2199
2199
  {
2200
2200
  "disabled": false,
2201
2201
  "document": "SDK 登录 Token。",
2202
- "example": "6bb56a09278740bc80c5dc6dab783eff",
2202
+ "example": "some_token",
2203
2203
  "member": "string",
2204
2204
  "name": "Token",
2205
2205
  "output_required": true,
@@ -2219,7 +2219,7 @@
2219
2219
  {
2220
2220
  "disabled": false,
2221
2221
  "document": "SDK 加载路径会随着 SDK 的发布而变动。",
2222
- "example": "https://29294-22989-29805-29810.cdn-go.cn/tccc-agent-sdk/latest/",
2222
+ "example": "https://tccc/sdk.js",
2223
2223
  "member": "string",
2224
2224
  "name": "SdkURL",
2225
2225
  "output_required": true,
@@ -862,7 +862,7 @@
862
862
  "example": "无",
863
863
  "member": "string",
864
864
  "name": "DedicatedClusterId",
865
- "required": true,
865
+ "output_required": true,
866
866
  "type": "string",
867
867
  "value_allowed_null": false
868
868
  },
@@ -872,7 +872,7 @@
872
872
  "example": "无",
873
873
  "member": "string",
874
874
  "name": "DedicatedClusterTypeId",
875
- "required": true,
875
+ "output_required": true,
876
876
  "type": "string",
877
877
  "value_allowed_null": false
878
878
  },
@@ -882,7 +882,7 @@
882
882
  "example": "无",
883
883
  "member": "string",
884
884
  "name": "SupportedStorageType",
885
- "required": true,
885
+ "output_required": true,
886
886
  "type": "list",
887
887
  "value_allowed_null": false
888
888
  },
@@ -892,7 +892,7 @@
892
892
  "example": "无",
893
893
  "member": "int64",
894
894
  "name": "SupportedUplinkSpeed",
895
- "required": true,
895
+ "output_required": true,
896
896
  "type": "list",
897
897
  "value_allowed_null": false
898
898
  },
@@ -902,7 +902,7 @@
902
902
  "example": "无",
903
903
  "member": "string",
904
904
  "name": "SupportedInstanceFamily",
905
- "required": true,
905
+ "output_required": true,
906
906
  "type": "list",
907
907
  "value_allowed_null": false
908
908
  },
@@ -912,7 +912,7 @@
912
912
  "example": "无",
913
913
  "member": "int64",
914
914
  "name": "Weight",
915
- "required": true,
915
+ "output_required": true,
916
916
  "type": "int",
917
917
  "value_allowed_null": false
918
918
  },
@@ -922,7 +922,7 @@
922
922
  "example": "无",
923
923
  "member": "float",
924
924
  "name": "PowerDraw",
925
- "required": true,
925
+ "output_required": true,
926
926
  "type": "float",
927
927
  "value_allowed_null": false
928
928
  },
@@ -932,7 +932,7 @@
932
932
  "example": "无",
933
933
  "member": "string",
934
934
  "name": "OrderStatus",
935
- "required": true,
935
+ "output_required": true,
936
936
  "type": "string",
937
937
  "value_allowed_null": false
938
938
  },
@@ -942,7 +942,7 @@
942
942
  "example": "无",
943
943
  "member": "datetime_iso",
944
944
  "name": "CreateTime",
945
- "required": true,
945
+ "output_required": true,
946
946
  "type": "string",
947
947
  "value_allowed_null": false
948
948
  },
@@ -952,7 +952,7 @@
952
952
  "example": "ord-aijx4ets ",
953
953
  "member": "string",
954
954
  "name": "DedicatedClusterOrderId",
955
- "required": true,
955
+ "output_required": true,
956
956
  "type": "string",
957
957
  "value_allowed_null": false
958
958
  },
@@ -962,7 +962,7 @@
962
962
  "example": "CREATE",
963
963
  "member": "string",
964
964
  "name": "Action",
965
- "required": true,
965
+ "output_required": true,
966
966
  "type": "string",
967
967
  "value_allowed_null": false
968
968
  },
@@ -972,7 +972,7 @@
972
972
  "example": "无",
973
973
  "member": "DedicatedClusterOrderItem",
974
974
  "name": "DedicatedClusterOrderItems",
975
- "required": true,
975
+ "output_required": true,
976
976
  "type": "list",
977
977
  "value_allowed_null": true
978
978
  },
@@ -982,7 +982,7 @@
982
982
  "example": "无",
983
983
  "member": "int64",
984
984
  "name": "Cpu",
985
- "required": true,
985
+ "output_required": true,
986
986
  "type": "int",
987
987
  "value_allowed_null": true
988
988
  },
@@ -992,7 +992,7 @@
992
992
  "example": "无",
993
993
  "member": "int64",
994
994
  "name": "Mem",
995
- "required": true,
995
+ "output_required": true,
996
996
  "type": "int",
997
997
  "value_allowed_null": true
998
998
  },
@@ -1002,7 +1002,7 @@
1002
1002
  "example": "无",
1003
1003
  "member": "int64",
1004
1004
  "name": "Gpu",
1005
- "required": true,
1005
+ "output_required": true,
1006
1006
  "type": "int",
1007
1007
  "value_allowed_null": true
1008
1008
  },
@@ -1012,7 +1012,7 @@
1012
1012
  "example": "1",
1013
1013
  "member": "int64",
1014
1014
  "name": "PayStatus",
1015
- "required": true,
1015
+ "output_required": true,
1016
1016
  "type": "int",
1017
1017
  "value_allowed_null": true
1018
1018
  },
@@ -1022,7 +1022,7 @@
1022
1022
  "example": "MONTHLY",
1023
1023
  "member": "string",
1024
1024
  "name": "PayType",
1025
- "required": true,
1025
+ "output_required": true,
1026
1026
  "type": "string",
1027
1027
  "value_allowed_null": true
1028
1028
  },
@@ -1032,7 +1032,7 @@
1032
1032
  "example": "YEAR",
1033
1033
  "member": "string",
1034
1034
  "name": "TimeUnit",
1035
- "required": true,
1035
+ "output_required": true,
1036
1036
  "type": "string",
1037
1037
  "value_allowed_null": true
1038
1038
  },
@@ -1042,7 +1042,7 @@
1042
1042
  "example": "1",
1043
1043
  "member": "int64",
1044
1044
  "name": "TimeSpan",
1045
- "required": true,
1045
+ "output_required": true,
1046
1046
  "type": "int",
1047
1047
  "value_allowed_null": true
1048
1048
  },
@@ -1052,7 +1052,77 @@
1052
1052
  "example": "CUSTOM",
1053
1053
  "member": "string",
1054
1054
  "name": "OrderType",
1055
- "required": true,
1055
+ "output_required": true,
1056
+ "type": "string",
1057
+ "value_allowed_null": true
1058
+ },
1059
+ {
1060
+ "disabled": false,
1061
+ "document": "验收状态\n注意:此字段可能返回 null,表示取不到有效值。",
1062
+ "example": "DELIVERING",
1063
+ "member": "string",
1064
+ "name": "CheckStatus",
1065
+ "output_required": false,
1066
+ "type": "string",
1067
+ "value_allowed_null": true
1068
+ },
1069
+ {
1070
+ "disabled": false,
1071
+ "document": "交付预期时间\n注意:此字段可能返回 null,表示取不到有效值。",
1072
+ "example": "2024-01-01 12:00:00",
1073
+ "member": "string",
1074
+ "name": "DeliverExpectTime",
1075
+ "output_required": false,
1076
+ "type": "string",
1077
+ "value_allowed_null": true
1078
+ },
1079
+ {
1080
+ "disabled": false,
1081
+ "document": "交付实际完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
1082
+ "example": "2024-01-01 12:00:00",
1083
+ "member": "string",
1084
+ "name": "DeliverFinishTime",
1085
+ "output_required": false,
1086
+ "type": "string",
1087
+ "value_allowed_null": true
1088
+ },
1089
+ {
1090
+ "disabled": false,
1091
+ "document": "验收预期时间\n注意:此字段可能返回 null,表示取不到有效值。",
1092
+ "example": "2024-01-01 12:00:00",
1093
+ "member": "string",
1094
+ "name": "CheckExpectTime",
1095
+ "output_required": false,
1096
+ "type": "string",
1097
+ "value_allowed_null": true
1098
+ },
1099
+ {
1100
+ "disabled": false,
1101
+ "document": "验收实际完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
1102
+ "example": "2024-01-01 12:00:00",
1103
+ "member": "string",
1104
+ "name": "CheckFinishTime",
1105
+ "output_required": false,
1106
+ "type": "string",
1107
+ "value_allowed_null": true
1108
+ },
1109
+ {
1110
+ "disabled": false,
1111
+ "document": "订单SLA\n注意:此字段可能返回 null,表示取不到有效值。",
1112
+ "example": "无",
1113
+ "member": "string",
1114
+ "name": "OrderSLA",
1115
+ "output_required": false,
1116
+ "type": "string",
1117
+ "value_allowed_null": true
1118
+ },
1119
+ {
1120
+ "disabled": false,
1121
+ "document": "订单支付计划\n注意:此字段可能返回 null,表示取不到有效值。",
1122
+ "example": "无",
1123
+ "member": "string",
1124
+ "name": "OrderPayPlan",
1125
+ "output_required": false,
1056
1126
  "type": "string",
1057
1127
  "value_allowed_null": true
1058
1128
  }
@@ -1808,6 +1878,15 @@
1808
1878
  "name": "ActionType",
1809
1879
  "required": false,
1810
1880
  "type": "string"
1881
+ },
1882
+ {
1883
+ "disabled": false,
1884
+ "document": "订单类型列表",
1885
+ "example": "无",
1886
+ "member": "string",
1887
+ "name": "OrderTypes",
1888
+ "required": false,
1889
+ "type": "list"
1811
1890
  }
1812
1891
  ],
1813
1892
  "type": "object"
@@ -1821,6 +1900,7 @@
1821
1900
  "example": "无",
1822
1901
  "member": "DedicatedClusterOrder",
1823
1902
  "name": "DedicatedClusterOrderSet",
1903
+ "output_required": true,
1824
1904
  "type": "list",
1825
1905
  "value_allowed_null": false
1826
1906
  },
@@ -1830,6 +1910,7 @@
1830
1910
  "example": "20",
1831
1911
  "member": "int64",
1832
1912
  "name": "TotalCount",
1913
+ "output_required": true,
1833
1914
  "type": "int",
1834
1915
  "value_allowed_null": false
1835
1916
  },
@@ -84,7 +84,7 @@
84
84
  {
85
85
  "document": "查询专用集群订单列表",
86
86
  "input": "https://cdc.tencentcloudapi.com/?Action=DescribeDedicatedClusterOrders\n&<公共请求参数>",
87
- "output": "{\n \"Response\": {\n \"DedicatedClusterOrderSet\": [\n {\n \"DedicatedClusterId\": \"xx\",\n \"DedicatedClusterTypeId\": \"xx\",\n \"SupportedStorageType\": [\n \"xx\"\n ],\n \"SupportedUplinkSpeed\": [\n 0\n ],\n \"SupportedInstanceFamily\": [\n \"xx\"\n ],\n \"Weight\": 0,\n \"PowerDraw\": 0,\n \"OrderStatus\": \"xx\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"DedicatedClusterOrderId\": \"xx\",\n \"Action\": \"xx\",\n \"DedicatedClusterOrderItems\": [\n {\n \"DedicatedClusterTypeId\": \"xx\",\n \"SupportedStorageType\": [\n \"xx\"\n ],\n \"SupportedUplinkSpeed\": [\n 0\n ],\n \"SupportedInstanceFamily\": [\n \"xx\"\n ],\n \"Weight\": 0,\n \"PowerDraw\": 0,\n \"SubOrderStatus\": \"xx\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"SubOrderId\": \"xx\",\n \"Count\": 0,\n \"Name\": \"xx\",\n \"Description\": \"xx\",\n \"TotalCpu\": 0,\n \"TotalMem\": 0,\n \"TotalGpu\": 0,\n \"TypeName\": \"xx\",\n \"ComputeFormat\": \"xx\",\n \"TypeFamily\": \"xx\",\n \"SubOrderPayStatus\": 0\n }\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"Gpu\": 0,\n \"PayStatus\": 0,\n \"PayType\": \"xx\",\n \"TimeUnit\": \"xx\",\n \"TimeSpan\": 0,\n \"OrderType\": \"xx\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"xx\"\n }\n}",
87
+ "output": "{\n \"Response\": {\n \"DedicatedClusterOrderSet\": [\n {\n \"DedicatedClusterId\": \"abc\",\n \"DedicatedClusterTypeId\": \"abc\",\n \"SupportedStorageType\": [\n \"abc\"\n ],\n \"SupportedUplinkSpeed\": [\n 0\n ],\n \"SupportedInstanceFamily\": [\n \"abc\"\n ],\n \"Weight\": 0,\n \"PowerDraw\": 0,\n \"OrderStatus\": \"abc\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"DedicatedClusterOrderId\": \"abc\",\n \"Action\": \"abc\",\n \"DedicatedClusterOrderItems\": [\n {\n \"DedicatedClusterTypeId\": \"abc\",\n \"SupportedStorageType\": [\n \"abc\"\n ],\n \"SupportedUplinkSpeed\": [\n 0\n ],\n \"SupportedInstanceFamily\": [\n \"abc\"\n ],\n \"Weight\": 0,\n \"PowerDraw\": 0,\n \"SubOrderStatus\": \"abc\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"SubOrderId\": \"abc\",\n \"Count\": 0,\n \"Name\": \"abc\",\n \"Description\": \"abc\",\n \"TotalCpu\": 0,\n \"TotalMem\": 0,\n \"TotalGpu\": 0,\n \"TypeName\": \"abc\",\n \"ComputeFormat\": \"abc\",\n \"TypeFamily\": \"abc\",\n \"SubOrderPayStatus\": 0\n }\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"Gpu\": 0,\n \"PayStatus\": 0,\n \"PayType\": \"abc\",\n \"TimeUnit\": \"abc\",\n \"TimeSpan\": 0,\n \"OrderType\": \"abc\",\n \"CheckStatus\": \"abc\",\n \"DeliverExpectTime\": \"abc\",\n \"DeliverFinishTime\": \"abc\",\n \"CheckExpectTime\": \"abc\",\n \"CheckFinishTime\": \"abc\",\n \"OrderSLA\": \"abc\",\n \"OrderPayPlan\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
88
88
  "title": "查询专用集群订单列表"
89
89
  }
90
90
  ],
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from tccli.services.cdz.cdz_client import action_caller
4
+