tccli 3.0.1374.1__py2.py3-none-any.whl → 3.0.1375.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.
- tccli/__init__.py +1 -1
- tccli/services/cbs/v20170312/api.json +11 -2
- tccli/services/ccc/v20200210/api.json +17 -8
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +5 -5
- tccli/services/dlc/dlc_client.py +399 -28
- tccli/services/dlc/v20210125/api.json +557 -0
- tccli/services/dlc/v20210125/examples.json +56 -0
- tccli/services/es/v20180416/api.json +49 -0
- tccli/services/ess/v20201111/api.json +18 -0
- tccli/services/essbasic/v20210526/api.json +38 -0
- tccli/services/ioa/v20220601/api.json +48 -29
- tccli/services/mps/v20190612/api.json +34 -6
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/tbaas/v20180416/api.json +30 -30
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tcaplusdb/v20190823/api.json +926 -900
- tccli/services/tcaplusdb/v20190823/examples.json +56 -56
- tccli/services/tcss/v20201101/api.json +4 -4
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +35 -11
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/trocket/v20230308/api.json +2 -2
- tccli/services/tse/v20201207/api.json +9 -0
- tccli/services/tsf/v20180326/api.json +48 -48
- tccli/services/vod/v20180717/api.json +11 -11
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/RECORD +32 -32
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/license_files/LICENSE +0 -0
@@ -15434,7 +15434,7 @@
|
|
15434
15434
|
{
|
15435
15435
|
"disabled": false,
|
15436
15436
|
"document": "过滤条件。\n<li>ImageName- String - 是否必填:否 - 镜像名称筛选,</li>\n<li>ScanStatus - String - 是否必填:否 - 镜像扫描状态notScan,scanning,scanned,scanErr</li>\n<li>ImageID- String - 是否必填:否 - 镜像ID筛选,</li>\n<li>SecurityRisk- String - 是否必填:否 - 安全风险,VulCnt 、VirusCnt、RiskCnt、IsTrustImage</li>",
|
15437
|
-
"example": "
|
15437
|
+
"example": "无",
|
15438
15438
|
"member": "AssetFilters",
|
15439
15439
|
"name": "Filters",
|
15440
15440
|
"required": false,
|
@@ -34285,7 +34285,7 @@
|
|
34285
34285
|
{
|
34286
34286
|
"disabled": false,
|
34287
34287
|
"document": "镜像id",
|
34288
|
-
"example": "sha256
|
34288
|
+
"example": "sha256:****",
|
34289
34289
|
"member": "string",
|
34290
34290
|
"name": "ImageID",
|
34291
34291
|
"output_required": true,
|
@@ -34295,7 +34295,7 @@
|
|
34295
34295
|
{
|
34296
34296
|
"disabled": false,
|
34297
34297
|
"document": "镜像名称",
|
34298
|
-
"example": "
|
34298
|
+
"example": "imageName-01:latest",
|
34299
34299
|
"member": "string",
|
34300
34300
|
"name": "ImageName",
|
34301
34301
|
"output_required": true,
|
@@ -34395,7 +34395,7 @@
|
|
34395
34395
|
{
|
34396
34396
|
"disabled": false,
|
34397
34397
|
"document": "是否信任镜像",
|
34398
|
-
"example": "
|
34398
|
+
"example": "true",
|
34399
34399
|
"member": "bool",
|
34400
34400
|
"name": "IsTrustImage",
|
34401
34401
|
"output_required": true,
|
@@ -1629,6 +1629,58 @@ def doModifyRocketMQTopic(args, parsed_globals):
|
|
1629
1629
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1630
1630
|
|
1631
1631
|
|
1632
|
+
def doExecuteDisasterRecovery(args, parsed_globals):
|
1633
|
+
g_param = parse_global_arg(parsed_globals)
|
1634
|
+
|
1635
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1636
|
+
cred = credential.CVMRoleCredential()
|
1637
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1638
|
+
cred = credential.STSAssumeRoleCredential(
|
1639
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1640
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1641
|
+
)
|
1642
|
+
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):
|
1643
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1644
|
+
else:
|
1645
|
+
cred = credential.Credential(
|
1646
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1647
|
+
)
|
1648
|
+
http_profile = HttpProfile(
|
1649
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1650
|
+
reqMethod="POST",
|
1651
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1652
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1653
|
+
)
|
1654
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1655
|
+
if g_param[OptionsDefine.Language]:
|
1656
|
+
profile.language = g_param[OptionsDefine.Language]
|
1657
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1658
|
+
client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
|
1659
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1660
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1661
|
+
model = models.ExecuteDisasterRecoveryRequest()
|
1662
|
+
model.from_json_string(json.dumps(args))
|
1663
|
+
start_time = time.time()
|
1664
|
+
while True:
|
1665
|
+
rsp = client.ExecuteDisasterRecovery(model)
|
1666
|
+
result = rsp.to_json_string()
|
1667
|
+
try:
|
1668
|
+
json_obj = json.loads(result)
|
1669
|
+
except TypeError as e:
|
1670
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1671
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1672
|
+
break
|
1673
|
+
cur_time = time.time()
|
1674
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1675
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1676
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1677
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1678
|
+
else:
|
1679
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1680
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1681
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
|
+
|
1683
|
+
|
1632
1684
|
def doDescribeRocketMQTopicMsgs(args, parsed_globals):
|
1633
1685
|
g_param = parse_global_arg(parsed_globals)
|
1634
1686
|
|
@@ -7755,6 +7807,7 @@ ACTION_MAP = {
|
|
7755
7807
|
"ModifyPublicNetworkSecurityPolicy": doModifyPublicNetworkSecurityPolicy,
|
7756
7808
|
"ModifyRocketMQEnvironmentRole": doModifyRocketMQEnvironmentRole,
|
7757
7809
|
"ModifyRocketMQTopic": doModifyRocketMQTopic,
|
7810
|
+
"ExecuteDisasterRecovery": doExecuteDisasterRecovery,
|
7758
7811
|
"DescribeRocketMQTopicMsgs": doDescribeRocketMQTopicMsgs,
|
7759
7812
|
"DescribeEnvironmentAttributes": doDescribeEnvironmentAttributes,
|
7760
7813
|
"GetTopicList": doGetTopicList,
|
@@ -763,6 +763,13 @@
|
|
763
763
|
"output": "DescribeTopicsResponse",
|
764
764
|
"status": "online"
|
765
765
|
},
|
766
|
+
"ExecuteDisasterRecovery": {
|
767
|
+
"document": "执行域名异地访问切换,域名的访问指向将切换至备份集群。",
|
768
|
+
"input": "ExecuteDisasterRecoveryRequest",
|
769
|
+
"name": "执行异地访问切换",
|
770
|
+
"output": "ExecuteDisasterRecoveryResponse",
|
771
|
+
"status": "online"
|
772
|
+
},
|
766
773
|
"ExportRocketMQMessageDetail": {
|
767
774
|
"document": "导出RocketMQ消息详情",
|
768
775
|
"input": "ExportRocketMQMessageDetailRequest",
|
@@ -6859,8 +6866,17 @@
|
|
6859
6866
|
"members": [
|
6860
6867
|
{
|
6861
6868
|
"disabled": false,
|
6862
|
-
"document": "
|
6863
|
-
"example": "
|
6869
|
+
"document": "Pulsar 集群的ID",
|
6870
|
+
"example": "pulsar-ge3n43v3wj",
|
6871
|
+
"member": "string",
|
6872
|
+
"name": "ClusterId",
|
6873
|
+
"required": true,
|
6874
|
+
"type": "string"
|
6875
|
+
},
|
6876
|
+
{
|
6877
|
+
"disabled": false,
|
6878
|
+
"document": "环境(命名空间)名称。",
|
6879
|
+
"example": "ns-test",
|
6864
6880
|
"member": "string",
|
6865
6881
|
"name": "EnvironmentId",
|
6866
6882
|
"required": false,
|
@@ -6884,15 +6900,6 @@
|
|
6884
6900
|
"required": false,
|
6885
6901
|
"type": "int"
|
6886
6902
|
},
|
6887
|
-
{
|
6888
|
-
"disabled": false,
|
6889
|
-
"document": "必填字段,Pulsar 集群的ID",
|
6890
|
-
"example": "pulsar-ge3n43v3wj",
|
6891
|
-
"member": "string",
|
6892
|
-
"name": "ClusterId",
|
6893
|
-
"required": false,
|
6894
|
-
"type": "string"
|
6895
|
-
},
|
6896
6903
|
{
|
6897
6904
|
"disabled": false,
|
6898
6905
|
"document": "角色名称",
|
@@ -12283,6 +12290,23 @@
|
|
12283
12290
|
],
|
12284
12291
|
"usage": "out"
|
12285
12292
|
},
|
12293
|
+
"ExecuteDisasterRecoveryRequest": {
|
12294
|
+
"document": "ExecuteDisasterRecovery请求参数结构体",
|
12295
|
+
"members": [],
|
12296
|
+
"type": "object"
|
12297
|
+
},
|
12298
|
+
"ExecuteDisasterRecoveryResponse": {
|
12299
|
+
"document": "ExecuteDisasterRecovery返回参数结构体",
|
12300
|
+
"members": [
|
12301
|
+
{
|
12302
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12303
|
+
"member": "string",
|
12304
|
+
"name": "RequestId",
|
12305
|
+
"type": "string"
|
12306
|
+
}
|
12307
|
+
],
|
12308
|
+
"type": "object"
|
12309
|
+
},
|
12286
12310
|
"ExportRocketMQMessageDetailRequest": {
|
12287
12311
|
"document": "ExportRocketMQMessageDetail请求参数结构体",
|
12288
12312
|
"members": [
|
@@ -473,7 +473,7 @@
|
|
473
473
|
"DescribeEnvironmentRoles": [
|
474
474
|
{
|
475
475
|
"document": "",
|
476
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeEnvironmentRoles\n&EnvironmentId=default\n&<公共请求参数>",
|
476
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeEnvironmentRoles\n&ClusterId=pulsar-asyewnnedas\n&EnvironmentId=default\n&<公共请求参数>",
|
477
477
|
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"default\",\n \"RoleName\": \"test_role\",\n \"Permissions\": [\n \"produce\",\n \"consume\"\n ],\n \"RoleDescribe\": \"Remark1\",\n \"CreateTime\": \"2020-08-03 19:46:37\",\n \"UpdateTime\": \"2020-08-04 15:59:29\"\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
478
478
|
"title": "获取命名空间角色列表"
|
479
479
|
}
|
@@ -896,6 +896,14 @@
|
|
896
896
|
"title": "获取环境下主题列表"
|
897
897
|
}
|
898
898
|
],
|
899
|
+
"ExecuteDisasterRecovery": [
|
900
|
+
{
|
901
|
+
"document": "",
|
902
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExecuteDisasterRecovery\n<公共请求参数>\n\n{}",
|
903
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0799dd77-707b-40d7-a4b5-4140b11f6c97\"\n }\n}",
|
904
|
+
"title": "异地切换"
|
905
|
+
}
|
906
|
+
],
|
899
907
|
"ExportRocketMQMessageDetail": [
|
900
908
|
{
|
901
909
|
"document": "",
|
@@ -5333,7 +5333,7 @@
|
|
5333
5333
|
},
|
5334
5334
|
{
|
5335
5335
|
"disabled": false,
|
5336
|
-
"document": "
|
5336
|
+
"document": "是否忽略当前检查",
|
5337
5337
|
"example": "true",
|
5338
5338
|
"member": "bool",
|
5339
5339
|
"name": "IgnoreCheck",
|
@@ -5343,7 +5343,7 @@
|
|
5343
5343
|
{
|
5344
5344
|
"disabled": false,
|
5345
5345
|
"document": "命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。",
|
5346
|
-
"example": "
|
5346
|
+
"example": "ns1",
|
5347
5347
|
"member": "string",
|
5348
5348
|
"name": "Namespace",
|
5349
5349
|
"required": false,
|
@@ -5894,6 +5894,15 @@
|
|
5894
5894
|
"name": "Name",
|
5895
5895
|
"required": true,
|
5896
5896
|
"type": "string"
|
5897
|
+
},
|
5898
|
+
{
|
5899
|
+
"disabled": false,
|
5900
|
+
"document": "是否同步删除服务上绑定的路由",
|
5901
|
+
"example": "false",
|
5902
|
+
"member": "bool",
|
5903
|
+
"name": "DeleteRoutes",
|
5904
|
+
"required": false,
|
5905
|
+
"type": "bool"
|
5897
5906
|
}
|
5898
5907
|
],
|
5899
5908
|
"type": "object"
|
@@ -5625,20 +5625,20 @@
|
|
5625
5625
|
{
|
5626
5626
|
"disabled": false,
|
5627
5627
|
"document": "CPU 核数\n注意:此字段可能返回 null,表示取不到有效值。",
|
5628
|
-
"example": "",
|
5628
|
+
"example": "1",
|
5629
5629
|
"member": "string",
|
5630
5630
|
"name": "Cpu",
|
5631
|
-
"
|
5631
|
+
"output_required": true,
|
5632
5632
|
"type": "string",
|
5633
5633
|
"value_allowed_null": true
|
5634
5634
|
},
|
5635
5635
|
{
|
5636
5636
|
"disabled": false,
|
5637
5637
|
"document": "内存 MiB 数\n注意:此字段可能返回 null,表示取不到有效值。",
|
5638
|
-
"example": "",
|
5638
|
+
"example": "1024",
|
5639
5639
|
"member": "string",
|
5640
5640
|
"name": "Mem",
|
5641
|
-
"
|
5641
|
+
"output_required": true,
|
5642
5642
|
"type": "string",
|
5643
5643
|
"value_allowed_null": true
|
5644
5644
|
}
|
@@ -7128,30 +7128,30 @@
|
|
7128
7128
|
{
|
7129
7129
|
"disabled": false,
|
7130
7130
|
"document": "实例导入方式,可多个,公有云为 [\"R\"],独立版的取值有 \"M\" 脚本模式、\"S\" SSH 模式\n注意:此字段可能返回 null,表示取不到有效值。",
|
7131
|
-
"example": "",
|
7131
|
+
"example": "[\"R\"]",
|
7132
7132
|
"member": "string",
|
7133
7133
|
"name": "ImportMode",
|
7134
|
-
"
|
7134
|
+
"output_required": true,
|
7135
7135
|
"type": "list",
|
7136
7136
|
"value_allowed_null": true
|
7137
7137
|
},
|
7138
7138
|
{
|
7139
7139
|
"disabled": false,
|
7140
7140
|
"document": "SSH 模式时,前端应该限制用户填这个数量的 master 主机信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7141
|
-
"example": "",
|
7141
|
+
"example": "1",
|
7142
7142
|
"member": "int64",
|
7143
7143
|
"name": "MasterNumLimit",
|
7144
|
-
"
|
7144
|
+
"output_required": true,
|
7145
7145
|
"type": "int",
|
7146
7146
|
"value_allowed_null": true
|
7147
7147
|
},
|
7148
7148
|
{
|
7149
7149
|
"disabled": false,
|
7150
7150
|
"document": "SSH 模式时,前端应该限制用户填的最高数量的 node 主机信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7151
|
-
"example": "",
|
7151
|
+
"example": "1",
|
7152
7152
|
"member": "int64",
|
7153
7153
|
"name": "NodeNumLimitPerSetup",
|
7154
|
-
"
|
7154
|
+
"output_required": true,
|
7155
7155
|
"type": "int",
|
7156
7156
|
"value_allowed_null": true
|
7157
7157
|
}
|
@@ -10574,7 +10574,7 @@
|
|
10574
10574
|
"members": [
|
10575
10575
|
{
|
10576
10576
|
"disabled": false,
|
10577
|
-
"document": "部署组ID,可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)
|
10577
|
+
"document": "部署组ID,可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)查询已创建的部署组列表或[登录控制台](https://console.cloud.tencent.com/tsf/app-group-docker-detail?rid=1&id=group-aedpen6v)\n进行查看;也可以调用[CreateContainGroup](https://cloud.tencent.com/document/api/649/36075)创建新的部署组。",
|
10578
10578
|
"example": "group-s892j3s",
|
10579
10579
|
"member": "string",
|
10580
10580
|
"name": "GroupId",
|
@@ -18042,10 +18042,10 @@
|
|
18042
18042
|
{
|
18043
18043
|
"disabled": false,
|
18044
18044
|
"document": "是否需要子网\n注意:此字段可能返回 null,表示取不到有效值。",
|
18045
|
-
"example": "",
|
18045
|
+
"example": "true",
|
18046
18046
|
"member": "bool",
|
18047
18047
|
"name": "NeedSubnetWhenCreatingCluster",
|
18048
|
-
"
|
18048
|
+
"output_required": true,
|
18049
18049
|
"type": "bool",
|
18050
18050
|
"value_allowed_null": true
|
18051
18051
|
}
|
@@ -18058,50 +18058,50 @@
|
|
18058
18058
|
{
|
18059
18059
|
"disabled": false,
|
18060
18060
|
"document": "功能\n注意:此字段可能返回 null,表示取不到有效值。",
|
18061
|
-
"example": "",
|
18061
|
+
"example": "无",
|
18062
18062
|
"member": "DescribeResourceConfigLicenseFunction",
|
18063
18063
|
"name": "Function",
|
18064
|
-
"
|
18064
|
+
"output_required": true,
|
18065
18065
|
"type": "list",
|
18066
18066
|
"value_allowed_null": true
|
18067
18067
|
},
|
18068
18068
|
{
|
18069
18069
|
"disabled": false,
|
18070
18070
|
"document": "资源\n注意:此字段可能返回 null,表示取不到有效值。",
|
18071
|
-
"example": "",
|
18071
|
+
"example": "无",
|
18072
18072
|
"member": "DescribeResourceConfigLicenseResource",
|
18073
18073
|
"name": "Resource",
|
18074
|
-
"
|
18074
|
+
"output_required": true,
|
18075
18075
|
"type": "list",
|
18076
18076
|
"value_allowed_null": true
|
18077
18077
|
},
|
18078
18078
|
{
|
18079
18079
|
"disabled": false,
|
18080
18080
|
"document": "utc时间 单位秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
18081
|
-
"example": "",
|
18081
|
+
"example": "10",
|
18082
18082
|
"member": "uint64",
|
18083
18083
|
"name": "ExpireTime",
|
18084
|
-
"
|
18084
|
+
"output_required": true,
|
18085
18085
|
"type": "int",
|
18086
18086
|
"value_allowed_null": true
|
18087
18087
|
},
|
18088
18088
|
{
|
18089
18089
|
"disabled": false,
|
18090
18090
|
"document": "utc时间 单位秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
18091
|
-
"example": "",
|
18091
|
+
"example": "10",
|
18092
18092
|
"member": "uint64",
|
18093
18093
|
"name": "Countdown",
|
18094
|
-
"
|
18094
|
+
"output_required": true,
|
18095
18095
|
"type": "int",
|
18096
18096
|
"value_allowed_null": true
|
18097
18097
|
},
|
18098
18098
|
{
|
18099
18099
|
"disabled": false,
|
18100
18100
|
"document": "规格\n注意:此字段可能返回 null,表示取不到有效值。",
|
18101
|
-
"example": "",
|
18101
|
+
"example": "basic",
|
18102
18102
|
"member": "string",
|
18103
18103
|
"name": "Spec",
|
18104
|
-
"
|
18104
|
+
"output_required": true,
|
18105
18105
|
"type": "string",
|
18106
18106
|
"value_allowed_null": true
|
18107
18107
|
}
|
@@ -18113,21 +18113,21 @@
|
|
18113
18113
|
"members": [
|
18114
18114
|
{
|
18115
18115
|
"disabled": false,
|
18116
|
-
"document": "
|
18117
|
-
"example": "",
|
18116
|
+
"document": "功能名\n注意:此字段可能返回 null,表示取不到有效值。",
|
18117
|
+
"example": "vm",
|
18118
18118
|
"member": "string",
|
18119
18119
|
"name": "Name",
|
18120
|
-
"
|
18120
|
+
"output_required": true,
|
18121
18121
|
"type": "string",
|
18122
18122
|
"value_allowed_null": true
|
18123
18123
|
},
|
18124
18124
|
{
|
18125
18125
|
"disabled": false,
|
18126
|
-
"document": "
|
18127
|
-
"example": "",
|
18126
|
+
"document": "是否启用\n注意:此字段可能返回 null,表示取不到有效值。",
|
18127
|
+
"example": "true",
|
18128
18128
|
"member": "bool",
|
18129
18129
|
"name": "Enable",
|
18130
|
-
"
|
18130
|
+
"output_required": true,
|
18131
18131
|
"type": "bool",
|
18132
18132
|
"value_allowed_null": true
|
18133
18133
|
}
|
@@ -18140,20 +18140,20 @@
|
|
18140
18140
|
{
|
18141
18141
|
"disabled": false,
|
18142
18142
|
"document": "Name\n注意:此字段可能返回 null,表示取不到有效值。",
|
18143
|
-
"example": "",
|
18143
|
+
"example": "instance",
|
18144
18144
|
"member": "string",
|
18145
18145
|
"name": "Name",
|
18146
|
-
"
|
18146
|
+
"output_required": true,
|
18147
18147
|
"type": "string",
|
18148
18148
|
"value_allowed_null": true
|
18149
18149
|
},
|
18150
18150
|
{
|
18151
18151
|
"disabled": false,
|
18152
18152
|
"document": "Quota\n注意:此字段可能返回 null,表示取不到有效值。",
|
18153
|
-
"example": "",
|
18153
|
+
"example": "1",
|
18154
18154
|
"member": "uint64",
|
18155
18155
|
"name": "Quota",
|
18156
|
-
"
|
18156
|
+
"output_required": true,
|
18157
18157
|
"type": "int",
|
18158
18158
|
"value_allowed_null": true
|
18159
18159
|
}
|
@@ -18259,10 +18259,10 @@
|
|
18259
18259
|
{
|
18260
18260
|
"disabled": false,
|
18261
18261
|
"document": "uin\n注意:此字段可能返回 null,表示取不到有效值。",
|
18262
|
-
"example": "",
|
18262
|
+
"example": "91000000039",
|
18263
18263
|
"member": "string",
|
18264
18264
|
"name": "Uin",
|
18265
|
-
"
|
18265
|
+
"output_required": true,
|
18266
18266
|
"type": "string",
|
18267
18267
|
"value_allowed_null": true
|
18268
18268
|
}
|
@@ -18274,7 +18274,7 @@
|
|
18274
18274
|
"members": [
|
18275
18275
|
{
|
18276
18276
|
"disabled": false,
|
18277
|
-
"document": "容器实例任务ID,可通过调用
|
18277
|
+
"document": "容器实例任务ID,可通过调用 [DeployContainerGroup](https://cloud.tencent.com/document/product/649/120669) 部署容器应用,查询其返回内容中的任务ID。",
|
18278
18278
|
"example": "task-6a79x94v",
|
18279
18279
|
"member": "string",
|
18280
18280
|
"name": "TaskId",
|
@@ -24273,20 +24273,20 @@
|
|
24273
24273
|
{
|
24274
24274
|
"disabled": false,
|
24275
24275
|
"document": "许可ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
24276
|
-
"example": "",
|
24276
|
+
"example": "tsf-jhdas5d3",
|
24277
24277
|
"member": "string",
|
24278
24278
|
"name": "LicenseId",
|
24279
|
-
"
|
24279
|
+
"output_required": true,
|
24280
24280
|
"type": "string",
|
24281
24281
|
"value_allowed_null": true
|
24282
24282
|
},
|
24283
24283
|
{
|
24284
24284
|
"disabled": false,
|
24285
24285
|
"document": "标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
24286
|
-
"example": "",
|
24286
|
+
"example": "无",
|
24287
24287
|
"member": "Tag",
|
24288
24288
|
"name": "Tags",
|
24289
|
-
"
|
24289
|
+
"output_required": true,
|
24290
24290
|
"type": "list",
|
24291
24291
|
"value_allowed_null": true
|
24292
24292
|
}
|
@@ -26529,10 +26529,10 @@
|
|
26529
26529
|
{
|
26530
26530
|
"disabled": false,
|
26531
26531
|
"document": "程序包存储空间大小,单位字节\n注意:此字段可能返回 null,表示取不到有效值。",
|
26532
|
-
"example": "",
|
26532
|
+
"example": "10737418",
|
26533
26533
|
"member": "uint64",
|
26534
26534
|
"name": "SpaceSize",
|
26535
|
-
"
|
26535
|
+
"output_required": true,
|
26536
26536
|
"type": "int",
|
26537
26537
|
"value_allowed_null": true
|
26538
26538
|
}
|
@@ -31448,20 +31448,20 @@
|
|
31448
31448
|
{
|
31449
31449
|
"disabled": false,
|
31450
31450
|
"document": "记录总数\n注意:此字段可能返回 null,表示取不到有效值。",
|
31451
|
-
"example": "",
|
31451
|
+
"example": "1",
|
31452
31452
|
"member": "uint64",
|
31453
31453
|
"name": "TotalCount",
|
31454
|
-
"
|
31454
|
+
"output_required": true,
|
31455
31455
|
"type": "int",
|
31456
31456
|
"value_allowed_null": true
|
31457
31457
|
},
|
31458
31458
|
{
|
31459
31459
|
"disabled": false,
|
31460
31460
|
"document": "记录实体列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
31461
|
-
"example": "",
|
31461
|
+
"example": "无",
|
31462
31462
|
"member": "LicenseTag",
|
31463
31463
|
"name": "Content",
|
31464
|
-
"
|
31464
|
+
"output_required": true,
|
31465
31465
|
"type": "list",
|
31466
31466
|
"value_allowed_null": true
|
31467
31467
|
}
|
@@ -33569,10 +33569,10 @@
|
|
33569
33569
|
{
|
33570
33570
|
"disabled": false,
|
33571
33571
|
"document": "实例导入方式,可多个,公有云为 [\"R\", \"M\"],独立版的取值仅有 \"M\" 脚本模式\n注意:此字段可能返回 null,表示取不到有效值。",
|
33572
|
-
"example": "",
|
33572
|
+
"example": "[\"R\"]",
|
33573
33573
|
"member": "string",
|
33574
33574
|
"name": "ImportMode",
|
33575
|
-
"
|
33575
|
+
"output_required": true,
|
33576
33576
|
"type": "list",
|
33577
33577
|
"value_allowed_null": true
|
33578
33578
|
}
|
@@ -7192,7 +7192,7 @@
|
|
7192
7192
|
{
|
7193
7193
|
"disabled": false,
|
7194
7194
|
"document": "存储桶,用于上传接口 URL 的 bucket_name。",
|
7195
|
-
"example": "
|
7195
|
+
"example": "xadacq111211-100922",
|
7196
7196
|
"member": "string",
|
7197
7197
|
"name": "StorageBucket",
|
7198
7198
|
"output_required": true,
|
@@ -7202,7 +7202,7 @@
|
|
7202
7202
|
{
|
7203
7203
|
"disabled": false,
|
7204
7204
|
"document": "存储园区,用于上传接口 Host 的 Region。",
|
7205
|
-
"example": "ap-
|
7205
|
+
"example": "ap-chongqing",
|
7206
7206
|
"member": "string",
|
7207
7207
|
"name": "StorageRegion",
|
7208
7208
|
"output_required": true,
|
@@ -10992,7 +10992,7 @@
|
|
10992
10992
|
},
|
10993
10993
|
{
|
10994
10994
|
"disabled": false,
|
10995
|
-
"document": "MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。\n目前仅支持通过此方式创建以下任务类型的模板:\n1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig
|
10995
|
+
"document": "MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。\n目前仅支持通过此方式创建以下任务类型的模板:\n1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig 此处必填,且 Container 目前暂不支持 hls。\n\n目前模板中仅支持配置以上参数,其他参数无需填写。若包含其它参数,系统将自动忽略。以上透传参数以JSON形式表示。\n",
|
10996
10996
|
"example": "{\"Container\":\"mp4\",\"Name\":\"test\",\"RemoveAudio\":1,\"VideoTemplate\":{\"Codec\":\"h264\",\"Fps\":0,\"Bitrate\":0},\"EnhanceConfig\":{\"VideoEnhance\":{\"FrameRate\":{\"Switch\":\"ON\",\"Fps\":50}}}}",
|
10997
10997
|
"member": "string",
|
10998
10998
|
"name": "MPSCreateTemplateParams",
|
@@ -22138,8 +22138,8 @@
|
|
22138
22138
|
},
|
22139
22139
|
{
|
22140
22140
|
"disabled": false,
|
22141
|
-
"document": "MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON
|
22142
|
-
"example": "\"
|
22141
|
+
"document": "MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。",
|
22142
|
+
"example": "{\"Definition\": 24}",
|
22143
22143
|
"member": "string",
|
22144
22144
|
"name": "Input",
|
22145
22145
|
"output_required": true,
|
@@ -22190,8 +22190,8 @@
|
|
22190
22190
|
},
|
22191
22191
|
{
|
22192
22192
|
"disabled": false,
|
22193
|
-
"document": "MPS
|
22194
|
-
"example": "\"{}\"",
|
22193
|
+
"document": "MPS 任务模板详情内容。",
|
22194
|
+
"example": "{\"Definition\":24214,\"Name\":\"test\",\"Comment\":\"\",\"Type\":\"Preset\",\"EnhanceConfig\":{\"VideoEnhance\":{\"FrameRate\":{\"Switch\":\"ON\",\"Fps\":50},\"SuperResolution\":{\"Switch\":\"ON\",\"Type\":\"lq\"}}}}",
|
22195
22195
|
"member": "string",
|
22196
22196
|
"name": "MPSTemplateInfo",
|
22197
22197
|
"output_required": false,
|
@@ -26609,8 +26609,8 @@
|
|
26609
26609
|
},
|
26610
26610
|
{
|
26611
26611
|
"disabled": false,
|
26612
|
-
"document": "MPS 修改模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧修改用户自定义的 MPS 任务模板。\n 目前仅支持通过此方式修改以下任务类型的模板:\n1. 音视频增强:仅支持填写“[修改转码模板](https://cloud.tencent.com/document/api/862/37578)”接口中的 Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig
|
26613
|
-
"example": "\"{}\"",
|
26612
|
+
"document": "MPS 修改模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧修改用户自定义的 MPS 任务模板。\n 目前仅支持通过此方式修改以下任务类型的模板:\n1. 音视频增强:仅支持填写“[修改转码模板](https://cloud.tencent.com/document/api/862/37578)”接口中的 Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。",
|
26613
|
+
"example": "{\"Definition\":24214,\"Container\":\"mp4\",\"Name\":\"test\",\"RemoveAudio\":1,\"VideoTemplate\":{\"Codec\":\"h264\",\"Fps\":0,\"Bitrate\":0},\"EnhanceConfig\":{\"VideoEnhance\":{\"FrameRate\":{\"Switch\":\"ON\",\"Fps\":50}}}}",
|
26614
26614
|
"member": "string",
|
26615
26615
|
"name": "MPSModifyTemplateParams",
|
26616
26616
|
"required": true,
|
@@ -30076,8 +30076,8 @@
|
|
30076
30076
|
},
|
30077
30077
|
{
|
30078
30078
|
"disabled": false,
|
30079
|
-
"document": "该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。\n视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。\n填写说明:\n1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;\n2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;\n3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/
|
30080
|
-
"example": "\"{
|
30079
|
+
"document": "该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。\n视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。\n填写说明:\n1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;\n2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;\n3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](https://cloud.tencent.com/document/product/266/122580) 接口创建自定义模板。",
|
30080
|
+
"example": "{\"AiAnalysisTask\":{\"Definition\":25,\"ExtendedParameter\":\"\"}}",
|
30081
30081
|
"member": "string",
|
30082
30082
|
"name": "MPSProcessMediaParams",
|
30083
30083
|
"required": true,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1375.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1375
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|