tccli 3.0.1134.1__py2.py3-none-any.whl → 3.0.1136.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/__init__.py +3 -0
- tccli/services/asr/asr_client.py +53 -0
- tccli/services/asr/v20190614/api.json +193 -1
- tccli/services/asr/v20190614/examples.json +8 -0
- tccli/services/batch/v20170312/api.json +8 -5
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +270 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +138 -4
- tccli/services/dlc/v20210125/examples.json +13 -5
- tccli/services/dsgc/v20190723/api.json +35 -35
- tccli/services/eiam/v20210420/api.json +4 -4
- tccli/services/eiam/v20210420/examples.json +4 -4
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/facefusion/v20181201/api.json +12 -12
- tccli/services/facefusion/v20181201/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +137 -4
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/lcic/v20220817/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +15 -15
- tccli/services/lighthouse/v20200324/examples.json +7 -7
- tccli/services/lke/lke_client.py +175 -16
- tccli/services/lke/v20231130/api.json +782 -165
- tccli/services/lke/v20231130/examples.json +35 -5
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ses/v20201002/api.json +20 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +321 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tem/v20210701/api.json +8 -5
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +33 -21
- tccli/services/tke/v20180525/examples.json +4 -4
- tccli/services/trocket/trocket_client.py +65 -12
- tccli/services/trocket/v20230308/api.json +196 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +48 -66
- tccli/services/tsi/__init__.py +4 -0
- tccli/services/tsi/tsi_client.py +301 -0
- tccli/services/tsi/v20210325/api.json +373 -0
- tccli/services/tsi/v20210325/examples.json +29 -0
- tccli/services/vpc/v20170312/api.json +36 -16
- tccli/services/vpc/v20170312/examples.json +9 -3
- tccli/services/waf/v20180125/api.json +70 -0
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +53 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/RECORD +58 -54
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/license_files/LICENSE +0 -0
@@ -4749,6 +4749,58 @@ def doDescribeDevicePositionList(args, parsed_globals):
|
|
4749
4749
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4750
4750
|
|
4751
4751
|
|
4752
|
+
def doDescribeFirmware(args, parsed_globals):
|
4753
|
+
g_param = parse_global_arg(parsed_globals)
|
4754
|
+
|
4755
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4756
|
+
cred = credential.CVMRoleCredential()
|
4757
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4758
|
+
cred = credential.STSAssumeRoleCredential(
|
4759
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4760
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4761
|
+
)
|
4762
|
+
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):
|
4763
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4764
|
+
else:
|
4765
|
+
cred = credential.Credential(
|
4766
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4767
|
+
)
|
4768
|
+
http_profile = HttpProfile(
|
4769
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4770
|
+
reqMethod="POST",
|
4771
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4772
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4773
|
+
)
|
4774
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4775
|
+
if g_param[OptionsDefine.Language]:
|
4776
|
+
profile.language = g_param[OptionsDefine.Language]
|
4777
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4778
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
4779
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4780
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4781
|
+
model = models.DescribeFirmwareRequest()
|
4782
|
+
model.from_json_string(json.dumps(args))
|
4783
|
+
start_time = time.time()
|
4784
|
+
while True:
|
4785
|
+
rsp = client.DescribeFirmware(model)
|
4786
|
+
result = rsp.to_json_string()
|
4787
|
+
try:
|
4788
|
+
json_obj = json.loads(result)
|
4789
|
+
except TypeError as e:
|
4790
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4791
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4792
|
+
break
|
4793
|
+
cur_time = time.time()
|
4794
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4795
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4796
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4797
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4798
|
+
else:
|
4799
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4800
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4801
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4802
|
+
|
4803
|
+
|
4752
4804
|
def doDescribeDeviceFirmwares(args, parsed_globals):
|
4753
4805
|
g_param = parse_global_arg(parsed_globals)
|
4754
4806
|
|
@@ -7243,6 +7295,7 @@ ACTION_MAP = {
|
|
7243
7295
|
"GetTWeCallActiveStatus": doGetTWeCallActiveStatus,
|
7244
7296
|
"DescribeGatewaySubProducts": doDescribeGatewaySubProducts,
|
7245
7297
|
"DescribeDevicePositionList": doDescribeDevicePositionList,
|
7298
|
+
"DescribeFirmware": doDescribeFirmware,
|
7246
7299
|
"DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
|
7247
7300
|
"BindDevices": doBindDevices,
|
7248
7301
|
"CreateBatchProduction": doCreateBatchProduction,
|
@@ -441,6 +441,13 @@
|
|
441
441
|
"output": "DescribeFenceEventListResponse",
|
442
442
|
"status": "online"
|
443
443
|
},
|
444
|
+
"DescribeFirmware": {
|
445
|
+
"document": "查询固件信息",
|
446
|
+
"input": "DescribeFirmwareRequest",
|
447
|
+
"name": "查询固件信息",
|
448
|
+
"output": "DescribeFirmwareResponse",
|
449
|
+
"status": "online"
|
450
|
+
},
|
444
451
|
"DescribeFirmwareTask": {
|
445
452
|
"document": "查询固件升级任务列表",
|
446
453
|
"input": "DescribeFirmwareTaskRequest",
|
@@ -5682,6 +5689,132 @@
|
|
5682
5689
|
],
|
5683
5690
|
"type": "object"
|
5684
5691
|
},
|
5692
|
+
"DescribeFirmwareRequest": {
|
5693
|
+
"document": "DescribeFirmware请求参数结构体",
|
5694
|
+
"members": [
|
5695
|
+
{
|
5696
|
+
"disabled": false,
|
5697
|
+
"document": "产品ID",
|
5698
|
+
"example": "I6KTCZ170U",
|
5699
|
+
"member": "string",
|
5700
|
+
"name": "ProductID",
|
5701
|
+
"required": true,
|
5702
|
+
"type": "string"
|
5703
|
+
},
|
5704
|
+
{
|
5705
|
+
"disabled": false,
|
5706
|
+
"document": "固件版本号",
|
5707
|
+
"example": "t.2",
|
5708
|
+
"member": "string",
|
5709
|
+
"name": "FirmwareVersion",
|
5710
|
+
"required": true,
|
5711
|
+
"type": "string"
|
5712
|
+
}
|
5713
|
+
],
|
5714
|
+
"type": "object"
|
5715
|
+
},
|
5716
|
+
"DescribeFirmwareResponse": {
|
5717
|
+
"document": "DescribeFirmware返回参数结构体",
|
5718
|
+
"members": [
|
5719
|
+
{
|
5720
|
+
"disabled": false,
|
5721
|
+
"document": "固件版本号",
|
5722
|
+
"example": "t.2",
|
5723
|
+
"member": "string",
|
5724
|
+
"name": "Version",
|
5725
|
+
"output_required": true,
|
5726
|
+
"type": "string",
|
5727
|
+
"value_allowed_null": false
|
5728
|
+
},
|
5729
|
+
{
|
5730
|
+
"disabled": false,
|
5731
|
+
"document": "产品ID",
|
5732
|
+
"example": "I6KTCZ170U",
|
5733
|
+
"member": "string",
|
5734
|
+
"name": "ProductId",
|
5735
|
+
"output_required": true,
|
5736
|
+
"type": "string",
|
5737
|
+
"value_allowed_null": false
|
5738
|
+
},
|
5739
|
+
{
|
5740
|
+
"disabled": false,
|
5741
|
+
"document": "固件名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
5742
|
+
"example": "test",
|
5743
|
+
"member": "string",
|
5744
|
+
"name": "Name",
|
5745
|
+
"output_required": true,
|
5746
|
+
"type": "string",
|
5747
|
+
"value_allowed_null": true
|
5748
|
+
},
|
5749
|
+
{
|
5750
|
+
"disabled": false,
|
5751
|
+
"document": "固件描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
5752
|
+
"example": "ttttt",
|
5753
|
+
"member": "string",
|
5754
|
+
"name": "Description",
|
5755
|
+
"output_required": true,
|
5756
|
+
"type": "string",
|
5757
|
+
"value_allowed_null": true
|
5758
|
+
},
|
5759
|
+
{
|
5760
|
+
"disabled": false,
|
5761
|
+
"document": "固件Md5值\n注意:此字段可能返回 null,表示取不到有效值。",
|
5762
|
+
"example": "1a5c386576074d22a604b795e8917e1a",
|
5763
|
+
"member": "string",
|
5764
|
+
"name": "Md5sum",
|
5765
|
+
"output_required": true,
|
5766
|
+
"type": "string",
|
5767
|
+
"value_allowed_null": true
|
5768
|
+
},
|
5769
|
+
{
|
5770
|
+
"disabled": false,
|
5771
|
+
"document": "固件上传的秒级时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
|
5772
|
+
"example": "1599626765",
|
5773
|
+
"member": "uint64",
|
5774
|
+
"name": "Createtime",
|
5775
|
+
"output_required": true,
|
5776
|
+
"type": "int",
|
5777
|
+
"value_allowed_null": true
|
5778
|
+
},
|
5779
|
+
{
|
5780
|
+
"disabled": false,
|
5781
|
+
"document": "产品名称",
|
5782
|
+
"example": "8bvsn6go_测试OTA升级",
|
5783
|
+
"member": "string",
|
5784
|
+
"name": "ProductName",
|
5785
|
+
"output_required": true,
|
5786
|
+
"type": "string",
|
5787
|
+
"value_allowed_null": false
|
5788
|
+
},
|
5789
|
+
{
|
5790
|
+
"disabled": false,
|
5791
|
+
"document": "固件升级模块\n注意:此字段可能返回 null,表示取不到有效值。",
|
5792
|
+
"example": "mcu",
|
5793
|
+
"member": "string",
|
5794
|
+
"name": "FwType",
|
5795
|
+
"output_required": true,
|
5796
|
+
"type": "string",
|
5797
|
+
"value_allowed_null": true
|
5798
|
+
},
|
5799
|
+
{
|
5800
|
+
"disabled": false,
|
5801
|
+
"document": "固件用户自定义配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
5802
|
+
"example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
|
5803
|
+
"member": "string",
|
5804
|
+
"name": "UserDefined",
|
5805
|
+
"output_required": false,
|
5806
|
+
"type": "string",
|
5807
|
+
"value_allowed_null": true
|
5808
|
+
},
|
5809
|
+
{
|
5810
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5811
|
+
"member": "string",
|
5812
|
+
"name": "RequestId",
|
5813
|
+
"type": "string"
|
5814
|
+
}
|
5815
|
+
],
|
5816
|
+
"type": "object"
|
5817
|
+
},
|
5685
5818
|
"DescribeFirmwareTaskRequest": {
|
5686
5819
|
"document": "DescribeFirmwareTask请求参数结构体",
|
5687
5820
|
"members": [
|
@@ -8982,7 +9115,7 @@
|
|
8982
9115
|
"example": "1",
|
8983
9116
|
"member": "int64",
|
8984
9117
|
"name": "TotalCnt",
|
8985
|
-
"
|
9118
|
+
"output_required": true,
|
8986
9119
|
"type": "int",
|
8987
9120
|
"value_allowed_null": false
|
8988
9121
|
},
|
@@ -8992,7 +9125,7 @@
|
|
8992
9125
|
"example": "无",
|
8993
9126
|
"member": "TopicRuleInfo",
|
8994
9127
|
"name": "Rules",
|
8995
|
-
"
|
9128
|
+
"output_required": true,
|
8996
9129
|
"type": "list",
|
8997
9130
|
"value_allowed_null": false
|
8998
9131
|
},
|
@@ -12224,7 +12357,7 @@
|
|
12224
12357
|
"example": "1",
|
12225
12358
|
"member": "int64",
|
12226
12359
|
"name": "TotalCnt",
|
12227
|
-
"
|
12360
|
+
"output_required": true,
|
12228
12361
|
"type": "int",
|
12229
12362
|
"value_allowed_null": false
|
12230
12363
|
},
|
@@ -12234,7 +12367,7 @@
|
|
12234
12367
|
"example": "无",
|
12235
12368
|
"member": "TopicRuleInfo",
|
12236
12369
|
"name": "Rules",
|
12237
|
-
"
|
12370
|
+
"output_required": true,
|
12238
12371
|
"type": "list",
|
12239
12372
|
"value_allowed_null": false
|
12240
12373
|
},
|
@@ -546,6 +546,14 @@
|
|
546
546
|
"title": "DescribeFenceEventList"
|
547
547
|
}
|
548
548
|
],
|
549
|
+
"DescribeFirmware": [
|
550
|
+
{
|
551
|
+
"document": "",
|
552
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirmware\n<公共请求参数>\n\n{\n \"ProductID\": \"I6KTCZ170U\",\n \"FirmwareVersion\": \"t.2\"\n}",
|
553
|
+
"output": "{\n \"Response\": {\n \"Createtime\": 1599626765,\n \"Description\": \"ttttt\",\n \"Md5sum\": \"1a5c386576074d22a604b795e8917e1a\",\n \"Name\": \"test\",\n \"ProductId\": \"I6KTCZ170U\",\n \"ProductName\": \"8bvsn6go_测试OTA升级\",\n \"RequestId\": \"01365e8c-f025-40b9-97a4-fa583d6c569e\",\n \"Version\": \"t.2\",\n \"FwType\": \"mcu\"\n }\n}",
|
554
|
+
"title": "查询固件信息"
|
555
|
+
}
|
556
|
+
],
|
549
557
|
"DescribeFirmwareTask": [
|
550
558
|
{
|
551
559
|
"document": "查询固件升级任务详情",
|
@@ -1715,7 +1715,7 @@
|
|
1715
1715
|
},
|
1716
1716
|
{
|
1717
1717
|
"disabled": false,
|
1718
|
-
"document": "直播类型:0 常规(默认)1 伪直播",
|
1718
|
+
"document": "直播类型:0 常规(默认)1 伪直播 2 RTMP推流直播",
|
1719
1719
|
"example": "0",
|
1720
1720
|
"member": "uint64",
|
1721
1721
|
"name": "LiveType",
|
@@ -1733,7 +1733,7 @@
|
|
1733
1733
|
},
|
1734
1734
|
{
|
1735
1735
|
"disabled": false,
|
1736
|
-
"document": "是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效",
|
1736
|
+
"document": "是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1或2的时候有效",
|
1737
1737
|
"example": "0",
|
1738
1738
|
"member": "uint64",
|
1739
1739
|
"name": "EnableAutoStart",
|
@@ -6065,7 +6065,7 @@
|
|
6065
6065
|
},
|
6066
6066
|
{
|
6067
6067
|
"disabled": false,
|
6068
|
-
"document": "直播类型:0 常规(默认)1 伪直播",
|
6068
|
+
"document": "直播类型:0 常规(默认)1 伪直播 2 RTMP推流直播",
|
6069
6069
|
"example": "0",
|
6070
6070
|
"member": "uint64",
|
6071
6071
|
"name": "LiveType",
|
@@ -6083,7 +6083,7 @@
|
|
6083
6083
|
},
|
6084
6084
|
{
|
6085
6085
|
"disabled": false,
|
6086
|
-
"document": "是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效",
|
6086
|
+
"document": "是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1或2的时候有效",
|
6087
6087
|
"example": "0",
|
6088
6088
|
"member": "uint64",
|
6089
6089
|
"name": "EnableAutoStart",
|
@@ -659,7 +659,7 @@
|
|
659
659
|
"status": "online"
|
660
660
|
},
|
661
661
|
"RerunDockerContainer": {
|
662
|
-
"document": "重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。",
|
662
|
+
"document": "重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重建情况。",
|
663
663
|
"input": "RerunDockerContainerRequest",
|
664
664
|
"name": "重新创建并运行Docker容器",
|
665
665
|
"output": "RerunDockerContainerResponse",
|
@@ -2781,7 +2781,7 @@
|
|
2781
2781
|
"members": [
|
2782
2782
|
{
|
2783
2783
|
"disabled": false,
|
2784
|
-
"document": "套餐 ID
|
2784
|
+
"document": "套餐 ID。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。",
|
2785
2785
|
"example": "bundle_bw_small1_1",
|
2786
2786
|
"member": "string",
|
2787
2787
|
"name": "BundleId",
|
@@ -2828,7 +2828,7 @@
|
|
2828
2828
|
"members": [
|
2829
2829
|
{
|
2830
2830
|
"disabled": false,
|
2831
|
-
"document": "套餐 ID
|
2831
|
+
"document": "套餐 ID 列表。可通过[DescribeBundles](https://cloud.tencent.com/document/product/1207/47575)接口返回值中的BundleId获取。",
|
2832
2832
|
"example": "[\"bundle_ntp_small1_500”]",
|
2833
2833
|
"member": "string",
|
2834
2834
|
"name": "BundleIds",
|
@@ -3732,7 +3732,7 @@
|
|
3732
3732
|
},
|
3733
3733
|
{
|
3734
3734
|
"disabled": false,
|
3735
|
-
"document": "
|
3735
|
+
"document": "应用防火墙模板任务ID列表。可通过[ApplyFirewallTemplate](https://cloud.tencent.com/document/product/1207/96883)接口返回值TaskId字段获取。",
|
3736
3736
|
"example": "lgtk-abcd1234",
|
3737
3737
|
"member": "string",
|
3738
3738
|
"name": "TaskIds",
|
@@ -4585,7 +4585,7 @@
|
|
4585
4585
|
"members": [
|
4586
4586
|
{
|
4587
4587
|
"disabled": false,
|
4588
|
-
"document": "实例ID",
|
4588
|
+
"document": "实例ID。可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。",
|
4589
4589
|
"example": "lhins-383nzmm1",
|
4590
4590
|
"member": "string",
|
4591
4591
|
"name": "InstanceId",
|
@@ -4612,7 +4612,7 @@
|
|
4612
4612
|
},
|
4613
4613
|
{
|
4614
4614
|
"disabled": false,
|
4615
|
-
"document": "过滤器列表。\n<li>blueprint-id</li>按照【镜像 ID】进行过滤。\n类型:String\n必选:否\n<li>blueprint-type</li>按照【镜像类型】进行过滤。\n取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。\n类型:String\n必选:否\n<li>platform-type</li>按照【镜像平台类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。\n类型:String\n必选:否\n<li>blueprint-name</li>按照【镜像名称】进行过滤。\n类型:String\n必选:否\n<li>blueprint-state</li>按照【镜像状态】进行过滤。\n类型:String\n必选:否\n\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。",
|
4615
|
+
"document": "过滤器列表。\n<li>blueprint-id</li>按照【镜像 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47689\">DescribeBlueprints</a> 接口返回值中的 BlueprintId 获取。\n<li>blueprint-type</li>按照【镜像类型】进行过滤。\n取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。\n类型:String\n必选:否\n<li>platform-type</li>按照【镜像平台类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。\n类型:String\n必选:否\n<li>blueprint-name</li>按照【镜像名称】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47689\">DescribeBlueprints</a> 接口返回值中的 BlueprintName 获取。\n<li>blueprint-state</li>按照【镜像状态】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47689\">DescribeBlueprints</a> 接口返回值中的 BlueprintState 获取。\n\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。",
|
4616
4616
|
"example": "无",
|
4617
4617
|
"member": "Filter",
|
4618
4618
|
"name": "Filters",
|
@@ -4631,7 +4631,7 @@
|
|
4631
4631
|
"example": "2",
|
4632
4632
|
"member": "int64",
|
4633
4633
|
"name": "TotalCount",
|
4634
|
-
"
|
4634
|
+
"output_required": true,
|
4635
4635
|
"type": "int",
|
4636
4636
|
"value_allowed_null": false
|
4637
4637
|
},
|
@@ -4641,7 +4641,7 @@
|
|
4641
4641
|
"example": "无",
|
4642
4642
|
"member": "ResetInstanceBlueprint",
|
4643
4643
|
"name": "ResetInstanceBlueprintSet",
|
4644
|
-
"
|
4644
|
+
"output_required": true,
|
4645
4645
|
"type": "list",
|
4646
4646
|
"value_allowed_null": false
|
4647
4647
|
},
|
@@ -7771,7 +7771,7 @@
|
|
7771
7771
|
"members": [
|
7772
7772
|
{
|
7773
7773
|
"disabled": false,
|
7774
|
-
"document": "实例ID
|
7774
|
+
"document": "实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。",
|
7775
7775
|
"example": "lhins-nwycpjl3",
|
7776
7776
|
"member": "string",
|
7777
7777
|
"name": "InstanceId",
|
@@ -7780,7 +7780,7 @@
|
|
7780
7780
|
},
|
7781
7781
|
{
|
7782
7782
|
"disabled": false,
|
7783
|
-
"document": "容器ID
|
7783
|
+
"document": "容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。",
|
7784
7784
|
"example": "809e9d4014f08811779c07639ec13a53ee70ba166201611298611c883e553415",
|
7785
7785
|
"member": "string",
|
7786
7786
|
"name": "ContainerId",
|
@@ -8609,7 +8609,7 @@
|
|
8609
8609
|
"members": [
|
8610
8610
|
{
|
8611
8611
|
"disabled": false,
|
8612
|
-
"document": "实例ID
|
8612
|
+
"document": "实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。",
|
8613
8613
|
"example": "lhins-nwycpjl3",
|
8614
8614
|
"member": "string",
|
8615
8615
|
"name": "InstanceId",
|
@@ -8627,8 +8627,8 @@
|
|
8627
8627
|
},
|
8628
8628
|
{
|
8629
8629
|
"disabled": false,
|
8630
|
-
"document": "容器ID
|
8631
|
-
"example": "
|
8630
|
+
"document": "容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。",
|
8631
|
+
"example": "809e9d4014f08811779c07639ec13a53ee70ba1662016112986",
|
8632
8632
|
"member": "string",
|
8633
8633
|
"name": "ContainerId",
|
8634
8634
|
"required": true,
|
@@ -8646,7 +8646,7 @@
|
|
8646
8646
|
"example": "lhda-nn82v77w",
|
8647
8647
|
"member": "string",
|
8648
8648
|
"name": "DockerActivityId",
|
8649
|
-
"
|
8649
|
+
"output_required": true,
|
8650
8650
|
"type": "string",
|
8651
8651
|
"value_allowed_null": false
|
8652
8652
|
},
|
@@ -8954,7 +8954,7 @@
|
|
8954
8954
|
"members": [
|
8955
8955
|
{
|
8956
8956
|
"disabled": false,
|
8957
|
-
"document": "实例ID
|
8957
|
+
"document": "实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。",
|
8958
8958
|
"example": "lhins-nwycpjl3",
|
8959
8959
|
"member": "string",
|
8960
8960
|
"name": "InstanceId",
|
@@ -456,9 +456,9 @@
|
|
456
456
|
],
|
457
457
|
"DescribeModifyInstanceBundles": [
|
458
458
|
{
|
459
|
-
"document": "",
|
460
|
-
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModifyInstanceBundles\n<公共请求参数>\n\n{\n \"InstanceId\": \"lhins-
|
461
|
-
"output": "{\n \"Response\": {\n \"
|
459
|
+
"document": "查询实例可修改套餐列表",
|
460
|
+
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModifyInstanceBundles\n<公共请求参数>\n\n{\n \"InstanceId\": \"lhins-p6xbekdt\"\n}",
|
461
|
+
"output": "{\n \"Response\": {\n \"ModifyBundleSet\": [\n {\n \"Bundle\": {\n \"BundleDisplayLabel\": \"NORMAL\",\n \"BundleId\": \"bundle_gen_mc_med2_02\",\n \"BundleSalesState\": \"AVAILABLE\",\n \"BundleType\": \"GENERAL_BUNDLE\",\n \"BundleTypeDescription\": \"通用型\",\n \"CPU\": 2,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"Memory\": 2,\n \"MonthlyTraffic\": 500,\n \"Price\": {\n \"InstancePrice\": {\n \"Currency\": \"CNY\",\n \"Discount\": 100,\n \"DiscountPrice\": 65,\n \"OriginalBundlePrice\": 65,\n \"OriginalPrice\": 65\n }\n },\n \"SupportLinuxUnixPlatform\": true,\n \"SupportWindowsPlatform\": true,\n \"SystemDiskSize\": 70,\n \"SystemDiskType\": \"CLOUD_PREMIUM\"\n },\n \"ModifyBundleState\": \"AVAILABLE\",\n \"ModifyPrice\": {\n \"InstancePrice\": {\n \"Currency\": \"CNY\",\n \"Discount\": 100,\n \"DiscountPrice\": 10,\n \"OriginalBundlePrice\": 65,\n \"OriginalPrice\": 10\n }\n },\n \"NotSupportModifyMessage\": \"\"\n }\n ],\n \"RequestId\": \"651060b7-b781-4ed9-898c-a06b8c5c51dc\",\n \"TotalCount\": 1\n }\n}",
|
462
462
|
"title": "查询实例可修改套餐列表"
|
463
463
|
}
|
464
464
|
],
|
@@ -472,10 +472,10 @@
|
|
472
472
|
],
|
473
473
|
"DescribeResetInstanceBlueprints": [
|
474
474
|
{
|
475
|
-
"document": "",
|
476
|
-
"input": "
|
477
|
-
"output": "{\n \"Response\": {\n \"
|
478
|
-
"title": "
|
475
|
+
"document": "查询实例可重装镜像",
|
476
|
+
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResetInstanceBlueprints\n<公共请求参数>\n\n{\n \"InstanceId\": \"lhins-euqk4yut\"\n}",
|
477
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d085dd6e-fd50-426f-bb29-b0ed899ccdf7\",\n \"ResetInstanceBlueprintSet\": [\n {\n \"BlueprintInfo\": {\n \"BlueprintId\": \"lhbp-m1g6ap11\",\n \"BlueprintName\": \"docker-debian12\",\n \"BlueprintShared\": false,\n \"BlueprintState\": \"NORMAL\",\n \"BlueprintType\": \"DOCKER\",\n \"CommunityUrl\": \"\",\n \"CreatedTime\": \"2024-06-12T23:30:03Z\",\n \"Description\": \"test\",\n \"DisplayTitle\": \"7日杀Windows\",\n \"DisplayVersion\": \" \",\n \"DockerVersion\": \"24.0.7\",\n \"GuideUrl\": \"\",\n \"ImageId\": \"\",\n \"ImageUrl\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/f1afb130-22a7-479d-a5a3-013e8f633b5a.svg\",\n \"OsName\": \"Windows Server 2022 DataCenter 64bit CN\",\n \"Platform\": \"WINDOWS\",\n \"PlatformType\": \"WINDOWS\",\n \"RequiredMemorySize\": 2,\n \"RequiredSystemDiskSize\": 50,\n \"SceneIdSet\": [],\n \"SupportAutomationTools\": true\n },\n \"IsResettable\": false,\n \"NonResettableMessage\": \"非中国大陆地域不支持Linux系统和Windows系统之间互转。\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
478
|
+
"title": "查询实例可重装镜像"
|
479
479
|
}
|
480
480
|
],
|
481
481
|
"DescribeScenes": [
|