tccli 3.0.1157.1__py2.py3-none-any.whl → 3.0.1159.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/ams/v20201229/api.json +328 -70
- tccli/services/ams/v20201229/examples.json +3 -3
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/cdb/v20170320/api.json +30 -3
- tccli/services/cdn/v20180606/api.json +86 -0
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +277 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +91 -0
- tccli/services/dbbrain/v20210527/api.json +10 -1
- tccli/services/ecm/v20190719/api.json +23 -5
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +351 -98
- tccli/services/emr/v20190103/examples.json +11 -3
- tccli/services/ess/v20201111/api.json +32 -14
- tccli/services/ess/v20201111/examples.json +8 -2
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +114 -3
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +71 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +8 -8
- tccli/services/ocr/v20181119/api.json +27 -0
- tccli/services/redis/v20180412/api.json +3 -3
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +188 -0
- tccli/services/tke/v20180525/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/vm/v20201229/api.json +209 -45
- tccli/services/vm/v20201229/examples.json +1 -1
- tccli/services/vm/v20210922/api.json +25 -25
- tccli/services/vpc/v20170312/api.json +2 -1
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +13 -13
- tccli/services/wedata/v20210820/api.json +10 -0
- {tccli-3.0.1157.1.dist-info → tccli-3.0.1159.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1157.1.dist-info → tccli-3.0.1159.1.dist-info}/RECORD +46 -46
- {tccli-3.0.1157.1.dist-info → tccli-3.0.1159.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1157.1.dist-info → tccli-3.0.1159.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1157.1.dist-info → tccli-3.0.1159.1.dist-info}/license_files/LICENSE +0 -0
@@ -10275,6 +10275,15 @@
|
|
10275
10275
|
"name": "ImageUrl",
|
10276
10276
|
"required": false,
|
10277
10277
|
"type": "string"
|
10278
|
+
},
|
10279
|
+
{
|
10280
|
+
"disabled": false,
|
10281
|
+
"document": "是否返回头像照片,默认为 false",
|
10282
|
+
"example": "false",
|
10283
|
+
"member": "bool",
|
10284
|
+
"name": "CropPortrait",
|
10285
|
+
"required": false,
|
10286
|
+
"type": "bool"
|
10278
10287
|
}
|
10279
10288
|
],
|
10280
10289
|
"type": "object"
|
@@ -10288,6 +10297,7 @@
|
|
10288
10297
|
"example": "李明",
|
10289
10298
|
"member": "string",
|
10290
10299
|
"name": "Name",
|
10300
|
+
"output_required": true,
|
10291
10301
|
"type": "string",
|
10292
10302
|
"value_allowed_null": false
|
10293
10303
|
},
|
@@ -10297,6 +10307,7 @@
|
|
10297
10307
|
"example": "LIMING",
|
10298
10308
|
"member": "string",
|
10299
10309
|
"name": "EnglishName",
|
10310
|
+
"output_required": true,
|
10300
10311
|
"type": "string",
|
10301
10312
|
"value_allowed_null": false
|
10302
10313
|
},
|
@@ -10306,6 +10317,7 @@
|
|
10306
10317
|
"example": "C00000000",
|
10307
10318
|
"member": "string",
|
10308
10319
|
"name": "Number",
|
10320
|
+
"output_required": true,
|
10309
10321
|
"type": "string",
|
10310
10322
|
"value_allowed_null": false
|
10311
10323
|
},
|
@@ -10315,6 +10327,7 @@
|
|
10315
10327
|
"example": "男",
|
10316
10328
|
"member": "string",
|
10317
10329
|
"name": "Sex",
|
10330
|
+
"output_required": true,
|
10318
10331
|
"type": "string",
|
10319
10332
|
"value_allowed_null": false
|
10320
10333
|
},
|
@@ -10324,6 +10337,7 @@
|
|
10324
10337
|
"example": "2018.10.09-2028.10.08",
|
10325
10338
|
"member": "string",
|
10326
10339
|
"name": "ValidDate",
|
10340
|
+
"output_required": true,
|
10327
10341
|
"type": "string",
|
10328
10342
|
"value_allowed_null": false
|
10329
10343
|
},
|
@@ -10333,6 +10347,7 @@
|
|
10333
10347
|
"example": "公安部出入境管理局",
|
10334
10348
|
"member": "string",
|
10335
10349
|
"name": "IssueAuthority",
|
10350
|
+
"output_required": true,
|
10336
10351
|
"type": "string",
|
10337
10352
|
"value_allowed_null": false
|
10338
10353
|
},
|
@@ -10342,6 +10357,7 @@
|
|
10342
10357
|
"example": "广东",
|
10343
10358
|
"member": "string",
|
10344
10359
|
"name": "IssueAddress",
|
10360
|
+
"output_required": true,
|
10345
10361
|
"type": "string",
|
10346
10362
|
"value_allowed_null": false
|
10347
10363
|
},
|
@@ -10351,6 +10367,17 @@
|
|
10351
10367
|
"example": "1981.08.03",
|
10352
10368
|
"member": "string",
|
10353
10369
|
"name": "Birthday",
|
10370
|
+
"output_required": true,
|
10371
|
+
"type": "string",
|
10372
|
+
"value_allowed_null": false
|
10373
|
+
},
|
10374
|
+
{
|
10375
|
+
"disabled": false,
|
10376
|
+
"document": "头像照片的base64",
|
10377
|
+
"example": "无",
|
10378
|
+
"member": "string",
|
10379
|
+
"name": "PortraitImage",
|
10380
|
+
"output_required": false,
|
10354
10381
|
"type": "string",
|
10355
10382
|
"value_allowed_null": false
|
10356
10383
|
},
|
@@ -5973,7 +5973,7 @@
|
|
5973
5973
|
},
|
5974
5974
|
{
|
5975
5975
|
"disabled": false,
|
5976
|
-
"document": "地域ID 。\n- 1:广州 \n- 4:上海 \n- 5:中国香港 \n-
|
5976
|
+
"document": "地域ID 。\n- 1:广州 \n- 4:上海 \n- 5:中国香港 \n- 7:上海金融 \n- 8:北京 \n- 9:新加坡\n- 11:深圳金融\n- 15:美西(硅谷)\n- 16:成都 \n- 17:德国 \n- 18:韩国 \n- 19:重庆 \n- 21:印度 \n- 22:美东(弗吉尼亚)\n- 23:泰国 \n- 25:日本",
|
5977
5977
|
"example": "1",
|
5978
5978
|
"member": "int64",
|
5979
5979
|
"name": "RegionId",
|
@@ -7158,7 +7158,7 @@
|
|
7158
7158
|
},
|
7159
7159
|
{
|
7160
7160
|
"disabled": false,
|
7161
|
-
"document": "地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>
|
7161
|
+
"document": "地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>21:孟买。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>",
|
7162
7162
|
"example": "1",
|
7163
7163
|
"member": "int64",
|
7164
7164
|
"name": "RegionId",
|
@@ -7904,7 +7904,7 @@
|
|
7904
7904
|
},
|
7905
7905
|
{
|
7906
7906
|
"disabled": false,
|
7907
|
-
"document": "地域ID。<ul><li>1:广州。</li><li>4:上海。</li><li> 5:香港。</li>
|
7907
|
+
"document": "地域ID。<ul><li>1:广州。</li><li>4:上海。</li><li> 5:香港。</li> <li> 7:上海金融。</li> <li> 8:北京。</li> <li> 9:新加坡。</li> <li> 11:深圳金融。</li> <li> 15:美西(硅谷)。</li> </ul>",
|
7908
7908
|
"example": "1",
|
7909
7909
|
"member": "uint64",
|
7910
7910
|
"name": "RegionId",
|
tccli/services/tke/tke_client.py
CHANGED
@@ -4231,6 +4231,58 @@ def doDescribeRegions(args, parsed_globals):
|
|
4231
4231
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4232
4232
|
|
4233
4233
|
|
4234
|
+
def doDescribeReservedInstanceUtilizationRate(args, parsed_globals):
|
4235
|
+
g_param = parse_global_arg(parsed_globals)
|
4236
|
+
|
4237
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4238
|
+
cred = credential.CVMRoleCredential()
|
4239
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4240
|
+
cred = credential.STSAssumeRoleCredential(
|
4241
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4242
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4243
|
+
)
|
4244
|
+
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):
|
4245
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4246
|
+
else:
|
4247
|
+
cred = credential.Credential(
|
4248
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4249
|
+
)
|
4250
|
+
http_profile = HttpProfile(
|
4251
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4252
|
+
reqMethod="POST",
|
4253
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4254
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4255
|
+
)
|
4256
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4257
|
+
if g_param[OptionsDefine.Language]:
|
4258
|
+
profile.language = g_param[OptionsDefine.Language]
|
4259
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4260
|
+
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4261
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4262
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4263
|
+
model = models.DescribeReservedInstanceUtilizationRateRequest()
|
4264
|
+
model.from_json_string(json.dumps(args))
|
4265
|
+
start_time = time.time()
|
4266
|
+
while True:
|
4267
|
+
rsp = client.DescribeReservedInstanceUtilizationRate(model)
|
4268
|
+
result = rsp.to_json_string()
|
4269
|
+
try:
|
4270
|
+
json_obj = json.loads(result)
|
4271
|
+
except TypeError as e:
|
4272
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4273
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4274
|
+
break
|
4275
|
+
cur_time = time.time()
|
4276
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4277
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4278
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4279
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4280
|
+
else:
|
4281
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4282
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4283
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4284
|
+
|
4285
|
+
|
4234
4286
|
def doAddExistedInstances(args, parsed_globals):
|
4235
4287
|
g_param = parse_global_arg(parsed_globals)
|
4236
4288
|
|
@@ -11813,6 +11865,7 @@ ACTION_MAP = {
|
|
11813
11865
|
"DeleteReservedInstances": doDeleteReservedInstances,
|
11814
11866
|
"DeletePrometheusTemplate": doDeletePrometheusTemplate,
|
11815
11867
|
"DescribeRegions": doDescribeRegions,
|
11868
|
+
"DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate,
|
11816
11869
|
"AddExistedInstances": doAddExistedInstances,
|
11817
11870
|
"CreateEdgeCVMInstances": doCreateEdgeCVMInstances,
|
11818
11871
|
"DisableClusterDeletionProtection": doDisableClusterDeletionProtection,
|
@@ -1022,6 +1022,13 @@
|
|
1022
1022
|
"output": "DescribeRegionsResponse",
|
1023
1023
|
"status": "online"
|
1024
1024
|
},
|
1025
|
+
"DescribeReservedInstanceUtilizationRate": {
|
1026
|
+
"document": "查询各种规格类型的预留券使用率",
|
1027
|
+
"input": "DescribeReservedInstanceUtilizationRateRequest",
|
1028
|
+
"name": "查询预留券使用率",
|
1029
|
+
"output": "DescribeReservedInstanceUtilizationRateResponse",
|
1030
|
+
"status": "online"
|
1031
|
+
},
|
1025
1032
|
"DescribeReservedInstances": {
|
1026
1033
|
"document": "查询预留实例列表",
|
1027
1034
|
"input": "DescribeReservedInstancesRequest",
|
@@ -13292,6 +13299,81 @@
|
|
13292
13299
|
],
|
13293
13300
|
"type": "object"
|
13294
13301
|
},
|
13302
|
+
"DescribeReservedInstanceUtilizationRateRequest": {
|
13303
|
+
"document": "DescribeReservedInstanceUtilizationRate请求参数结构体",
|
13304
|
+
"members": [
|
13305
|
+
{
|
13306
|
+
"disabled": false,
|
13307
|
+
"document": "可用区",
|
13308
|
+
"example": "ap-guangzhou-2",
|
13309
|
+
"member": "string",
|
13310
|
+
"name": "Zone",
|
13311
|
+
"required": false,
|
13312
|
+
"type": "string"
|
13313
|
+
},
|
13314
|
+
{
|
13315
|
+
"disabled": false,
|
13316
|
+
"document": "集群 ID",
|
13317
|
+
"example": "cls-12345678",
|
13318
|
+
"member": "string",
|
13319
|
+
"name": "ClusterId",
|
13320
|
+
"required": false,
|
13321
|
+
"type": "string"
|
13322
|
+
},
|
13323
|
+
{
|
13324
|
+
"disabled": false,
|
13325
|
+
"document": " 节点名称",
|
13326
|
+
"example": "eklet-subnet-0j105iya",
|
13327
|
+
"member": "string",
|
13328
|
+
"name": "NodeName",
|
13329
|
+
"required": false,
|
13330
|
+
"type": "string"
|
13331
|
+
}
|
13332
|
+
],
|
13333
|
+
"type": "object"
|
13334
|
+
},
|
13335
|
+
"DescribeReservedInstanceUtilizationRateResponse": {
|
13336
|
+
"document": "DescribeReservedInstanceUtilizationRate返回参数结构体",
|
13337
|
+
"members": [
|
13338
|
+
{
|
13339
|
+
"disabled": false,
|
13340
|
+
"document": "预留券使用率",
|
13341
|
+
"example": "无",
|
13342
|
+
"member": "ReservedInstanceUtilizationRate",
|
13343
|
+
"name": "UtilizationRateSet",
|
13344
|
+
"output_required": true,
|
13345
|
+
"type": "list",
|
13346
|
+
"value_allowed_null": false
|
13347
|
+
},
|
13348
|
+
{
|
13349
|
+
"disabled": false,
|
13350
|
+
"document": "按量计费的 Pod 总数",
|
13351
|
+
"example": "1",
|
13352
|
+
"member": "uint64",
|
13353
|
+
"name": "PodNum",
|
13354
|
+
"output_required": true,
|
13355
|
+
"type": "int",
|
13356
|
+
"value_allowed_null": false
|
13357
|
+
},
|
13358
|
+
{
|
13359
|
+
"disabled": false,
|
13360
|
+
"document": " Pod 被预留券抵扣的抵扣率",
|
13361
|
+
"example": "0.5",
|
13362
|
+
"member": "float",
|
13363
|
+
"name": "PodRate",
|
13364
|
+
"output_required": true,
|
13365
|
+
"type": "float",
|
13366
|
+
"value_allowed_null": false
|
13367
|
+
},
|
13368
|
+
{
|
13369
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13370
|
+
"member": "string",
|
13371
|
+
"name": "RequestId",
|
13372
|
+
"type": "string"
|
13373
|
+
}
|
13374
|
+
],
|
13375
|
+
"type": "object"
|
13376
|
+
},
|
13295
13377
|
"DescribeReservedInstancesRequest": {
|
13296
13378
|
"document": "DescribeReservedInstances请求参数结构体",
|
13297
13379
|
"members": [
|
@@ -22978,6 +23060,112 @@
|
|
22978
23060
|
],
|
22979
23061
|
"usage": "in"
|
22980
23062
|
},
|
23063
|
+
"ReservedInstanceUtilizationRate": {
|
23064
|
+
"document": "预留券的使用率信息",
|
23065
|
+
"members": [
|
23066
|
+
{
|
23067
|
+
"disabled": false,
|
23068
|
+
"document": "使用率\n注意:此字段可能返回 null,表示取不到有效值。",
|
23069
|
+
"example": "1.0",
|
23070
|
+
"member": "float",
|
23071
|
+
"name": "Rate",
|
23072
|
+
"required": false,
|
23073
|
+
"type": "float",
|
23074
|
+
"value_allowed_null": true
|
23075
|
+
},
|
23076
|
+
{
|
23077
|
+
"disabled": false,
|
23078
|
+
"document": "预留券数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
23079
|
+
"example": "1",
|
23080
|
+
"member": "uint64",
|
23081
|
+
"name": "Num",
|
23082
|
+
"required": false,
|
23083
|
+
"type": "int",
|
23084
|
+
"value_allowed_null": true
|
23085
|
+
},
|
23086
|
+
{
|
23087
|
+
"disabled": false,
|
23088
|
+
"document": "核数\n注意:此字段可能返回 null,表示取不到有效值。",
|
23089
|
+
"example": "0.5",
|
23090
|
+
"member": "float",
|
23091
|
+
"name": "CPU",
|
23092
|
+
"required": false,
|
23093
|
+
"type": "float",
|
23094
|
+
"value_allowed_null": true
|
23095
|
+
},
|
23096
|
+
{
|
23097
|
+
"disabled": false,
|
23098
|
+
"document": "内存\n注意:此字段可能返回 null,表示取不到有效值。",
|
23099
|
+
"example": "1.0",
|
23100
|
+
"member": "float",
|
23101
|
+
"name": "Memory",
|
23102
|
+
"required": false,
|
23103
|
+
"type": "float",
|
23104
|
+
"value_allowed_null": true
|
23105
|
+
},
|
23106
|
+
{
|
23107
|
+
"disabled": false,
|
23108
|
+
"document": " 预留券类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
23109
|
+
"example": "common",
|
23110
|
+
"member": "string",
|
23111
|
+
"name": "Type",
|
23112
|
+
"required": false,
|
23113
|
+
"type": "string",
|
23114
|
+
"value_allowed_null": true
|
23115
|
+
},
|
23116
|
+
{
|
23117
|
+
"disabled": false,
|
23118
|
+
"document": "GPU 卡数\n注意:此字段可能返回 null,表示取不到有效值。",
|
23119
|
+
"example": "0.5",
|
23120
|
+
"member": "string",
|
23121
|
+
"name": "GpuNum",
|
23122
|
+
"required": false,
|
23123
|
+
"type": "string",
|
23124
|
+
"value_allowed_null": true
|
23125
|
+
},
|
23126
|
+
{
|
23127
|
+
"disabled": false,
|
23128
|
+
"document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
|
23129
|
+
"example": "ap-guangzhou-2",
|
23130
|
+
"member": "string",
|
23131
|
+
"name": "Zone",
|
23132
|
+
"required": false,
|
23133
|
+
"type": "string",
|
23134
|
+
"value_allowed_null": true
|
23135
|
+
},
|
23136
|
+
{
|
23137
|
+
"disabled": false,
|
23138
|
+
"document": "集群 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
23139
|
+
"example": "cls-12345678",
|
23140
|
+
"member": "string",
|
23141
|
+
"name": "ClusterId",
|
23142
|
+
"required": false,
|
23143
|
+
"type": "string",
|
23144
|
+
"value_allowed_null": true
|
23145
|
+
},
|
23146
|
+
{
|
23147
|
+
"disabled": false,
|
23148
|
+
"document": "节点名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
23149
|
+
"example": "eklet-subnet-12345678",
|
23150
|
+
"member": "string",
|
23151
|
+
"name": "NodeName",
|
23152
|
+
"required": false,
|
23153
|
+
"type": "string",
|
23154
|
+
"value_allowed_null": true
|
23155
|
+
},
|
23156
|
+
{
|
23157
|
+
"disabled": false,
|
23158
|
+
"document": "Pod 数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
23159
|
+
"example": "1",
|
23160
|
+
"member": "uint64",
|
23161
|
+
"name": "PodNum",
|
23162
|
+
"required": false,
|
23163
|
+
"type": "int",
|
23164
|
+
"value_allowed_null": true
|
23165
|
+
}
|
23166
|
+
],
|
23167
|
+
"usage": "out"
|
23168
|
+
},
|
22981
23169
|
"ResourceDeleteOption": {
|
22982
23170
|
"document": "资源删除选项",
|
22983
23171
|
"members": [
|
@@ -1258,6 +1258,14 @@
|
|
1258
1258
|
"title": "获取地域列表"
|
1259
1259
|
}
|
1260
1260
|
],
|
1261
|
+
"DescribeReservedInstanceUtilizationRate": [
|
1262
|
+
{
|
1263
|
+
"document": "预留券使用率",
|
1264
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstanceUtilizationRate\n<公共请求参数>\n\n{}",
|
1265
|
+
"output": "{\n \"Response\": {\n \"PodNum\": 1,\n \"PodRate\": 0,\n \"UtilizationRateSet\": [\n {\n \"Rate\": 0,\n \"Num\": 1,\n \"PodNum\": 1,\n \"CPU\": 1,\n \"Memory\": 2,\n \"Type\": \"common\",\n \"GpuNum\": \"\",\n \"Zone\": \"\",\n \"ClusterId\": \"\",\n \"NodeName\": \"\"\n }\n ],\n \"RequestId\": \"0be873cf-014f-408b-8527-03c25c32725b\"\n }\n}",
|
1266
|
+
"title": "查询预留券使用率"
|
1267
|
+
}
|
1268
|
+
],
|
1261
1269
|
"DescribeReservedInstances": [
|
1262
1270
|
{
|
1263
1271
|
"document": "Filter Name只支持文档中的示例值",
|
@@ -1366,7 +1366,7 @@
|
|
1366
1366
|
"example": "123",
|
1367
1367
|
"member": "string",
|
1368
1368
|
"name": "TaskId",
|
1369
|
-
"
|
1369
|
+
"output_required": true,
|
1370
1370
|
"type": "string",
|
1371
1371
|
"value_allowed_null": false
|
1372
1372
|
},
|
@@ -1376,7 +1376,7 @@
|
|
1376
1376
|
"example": "InProgress",
|
1377
1377
|
"member": "string",
|
1378
1378
|
"name": "Status",
|
1379
|
-
"
|
1379
|
+
"output_required": true,
|
1380
1380
|
"type": "string",
|
1381
1381
|
"value_allowed_null": false
|
1382
1382
|
},
|
@@ -1386,7 +1386,7 @@
|
|
1386
1386
|
"example": "无",
|
1387
1387
|
"member": "StorageFile",
|
1388
1388
|
"name": "StorageFileList",
|
1389
|
-
"
|
1389
|
+
"output_required": true,
|
1390
1390
|
"type": "list",
|
1391
1391
|
"value_allowed_null": true
|
1392
1392
|
},
|
@@ -59,8 +59,8 @@
|
|
59
59
|
"DescribeCloudRecording": [
|
60
60
|
{
|
61
61
|
"document": "",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRecording\n<公共请求参数>\n\n{\n \"TaskId\": \"
|
63
|
-
"output": "{\n \"Response\": {\n \"Status\": \"InProgress\",\n \"StorageFileList\": [],\n \"RequestId\": \"
|
62
|
+
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRecording\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"SdkAppId\": 1234\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"Status\": \"InProgress\",\n \"StorageFileList\": [],\n \"RequestId\": \"aaa\",\n \"TaskId\": \"abc\"\n }\n}",
|
64
64
|
"title": "查询SdkAppId 为 1234 TaskId 为 xx 的录制状态。"
|
65
65
|
}
|
66
66
|
],
|