tccli 3.0.1164.1__py2.py3-none-any.whl → 3.0.1166.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/cfs/v20190719/api.json +30 -1
- tccli/services/dsgc/v20190723/api.json +64 -58
- tccli/services/dsgc/v20190723/examples.json +3 -3
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +8 -8
- tccli/services/monitor/v20180724/examples.json +6 -6
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/sqlserver/sqlserver_client.py +53 -0
- tccli/services/sqlserver/v20180328/api.json +34 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +5 -5
- tccli/services/vpc/v20170312/api.json +87 -1
- tccli/services/vpc/v20170312/examples.json +5 -5
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1166.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1166.1.dist-info}/RECORD +19 -19
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1166.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1166.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1166.1.dist-info}/license_files/LICENSE +0 -0
@@ -3310,7 +3310,7 @@
|
|
3310
3310
|
},
|
3311
3311
|
{
|
3312
3312
|
"disabled": false,
|
3313
|
-
"document": "策略名称,不超过
|
3313
|
+
"document": "策略名称,不超过60字符",
|
3314
3314
|
"example": "云服务器告警策略",
|
3315
3315
|
"member": "string",
|
3316
3316
|
"name": "PolicyName",
|
@@ -6151,7 +6151,7 @@
|
|
6151
6151
|
},
|
6152
6152
|
{
|
6153
6153
|
"disabled": false,
|
6154
|
-
"document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能监控;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"
|
6154
|
+
"document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能监控;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"=云拨测,\"MT_TRTC\"=实时音视频,\n\"MT_RUMAPP\"=终端性能监控",
|
6155
6155
|
"example": "MT_QCE",
|
6156
6156
|
"member": "string",
|
6157
6157
|
"name": "MonitorTypes",
|
@@ -7629,7 +7629,7 @@
|
|
7629
7629
|
"example": "无",
|
7630
7630
|
"member": "DescribeBasicAlarmListAlarms",
|
7631
7631
|
"name": "Alarms",
|
7632
|
-
"
|
7632
|
+
"output_required": true,
|
7633
7633
|
"type": "list",
|
7634
7634
|
"value_allowed_null": true
|
7635
7635
|
},
|
@@ -7639,7 +7639,7 @@
|
|
7639
7639
|
"example": "2",
|
7640
7640
|
"member": "int64",
|
7641
7641
|
"name": "Total",
|
7642
|
-
"
|
7642
|
+
"output_required": true,
|
7643
7643
|
"type": "int",
|
7644
7644
|
"value_allowed_null": true
|
7645
7645
|
},
|
@@ -7649,7 +7649,7 @@
|
|
7649
7649
|
"example": "This method is deprecated! Use `DescribeAlarmHistories` instead!",
|
7650
7650
|
"member": "string",
|
7651
7651
|
"name": "Warning",
|
7652
|
-
"
|
7652
|
+
"output_required": true,
|
7653
7653
|
"type": "string",
|
7654
7654
|
"value_allowed_null": true
|
7655
7655
|
},
|
@@ -10519,7 +10519,7 @@
|
|
10519
10519
|
"example": "无",
|
10520
10520
|
"member": "DescribePolicyGroupListGroup",
|
10521
10521
|
"name": "GroupList",
|
10522
|
-
"
|
10522
|
+
"output_required": true,
|
10523
10523
|
"type": "list",
|
10524
10524
|
"value_allowed_null": true
|
10525
10525
|
},
|
@@ -10529,7 +10529,7 @@
|
|
10529
10529
|
"example": "142",
|
10530
10530
|
"member": "int64",
|
10531
10531
|
"name": "Total",
|
10532
|
-
"
|
10532
|
+
"output_required": true,
|
10533
10533
|
"type": "int",
|
10534
10534
|
"value_allowed_null": false
|
10535
10535
|
},
|
@@ -10539,7 +10539,7 @@
|
|
10539
10539
|
"example": "This method is deprecated! Use `DescribeAlarmPolicies` instead!",
|
10540
10540
|
"member": "string",
|
10541
10541
|
"name": "Warning",
|
10542
|
-
"
|
10542
|
+
"output_required": true,
|
10543
10543
|
"type": "string",
|
10544
10544
|
"value_allowed_null": true
|
10545
10545
|
},
|
@@ -617,8 +617,8 @@
|
|
617
617
|
"DescribeBasicAlarmList": [
|
618
618
|
{
|
619
619
|
"document": "",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicAlarmList\n<公共请求参数>\n\n{\n \"AlarmStatus\": [\n \"1\"\n ],\n \"MetricNames\": [\n \"mem_used\"\n ],\n \"Module\": \"monitor\",\n \"ViewNames\": [\n \"cvm_device\"\n ],\n \"Limit\":
|
621
|
-
"output": "{\n \"Response\": {\n \"Alarms\": [\n {\n \"
|
620
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicAlarmList\n<公共请求参数>\n\n{\n \"AlarmStatus\": [\n \"1\"\n ],\n \"MetricNames\": [\n \"mem_used\"\n ],\n \"Module\": \"monitor\",\n \"ViewNames\": [\n \"cvm_device\"\n ],\n \"Limit\": 20,\n \"StartTime\": 1573660800,\n \"Offset\": 0,\n \"ProjectIds\": [\n \"0\"\n ],\n \"EndTime\": 1573919999,\n \"OccurTimeOrder\": \"DESC\"\n}",
|
621
|
+
"output": "{\n \"Response\": {\n \"Alarms\": [\n {\n \"Id\": 1,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Status\": 0,\n \"AlarmStatus\": \"abc\",\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"FirstOccurTime\": \"abc\",\n \"Duration\": 0,\n \"LastOccurTime\": \"abc\",\n \"Content\": \"abc\",\n \"ObjName\": \"abc\",\n \"ObjId\": \"abc\",\n \"ViewName\": \"abc\",\n \"Vpc\": \"abc\",\n \"MetricId\": 0,\n \"MetricName\": \"abc\",\n \"AlarmType\": 0,\n \"Region\": \"abc\",\n \"Dimensions\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"InstanceGroup\": [\n {\n \"InstanceGroupId\": 0,\n \"InstanceGroupName\": \"abc\"\n }\n ]\n }\n ],\n \"Total\": 0,\n \"Warning\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
622
622
|
"title": "获取基础告警列表"
|
623
623
|
}
|
624
624
|
],
|
@@ -783,8 +783,8 @@
|
|
783
783
|
"DescribePolicyGroupList": [
|
784
784
|
{
|
785
785
|
"document": "",
|
786
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyGroupList\n<公共请求参数>\n\n{\n \"Limit\":
|
787
|
-
"output": "{\n \"Response\": {\n \"GroupList\": [\n {\n \"
|
786
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyGroupList\n<公共请求参数>\n\n{\n \"Limit\": 2,\n \"Module\": \"monitor\",\n \"Offset\": 0\n}",
|
787
|
+
"output": "{\n \"Response\": {\n \"GroupList\": [\n {\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"IsOpen\": true,\n \"ViewName\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"UseSum\": 0,\n \"NoShieldedSum\": 0,\n \"IsDefault\": 0,\n \"CanSetDefault\": true,\n \"ParentGroupId\": 0,\n \"Remark\": \"abc\",\n \"ProjectId\": 0,\n \"Conditions\": [\n {\n \"MetricShowName\": \"abc\",\n \"Period\": 0,\n \"MetricId\": 0,\n \"RuleId\": 0,\n \"Unit\": \"abc\",\n \"AlarmNotifyType\": 0,\n \"AlarmNotifyPeriod\": 0,\n \"CalcType\": 0,\n \"CalcValue\": \"abc\",\n \"ContinueTime\": 0,\n \"MetricName\": \"abc\"\n }\n ],\n \"EventConditions\": [\n {\n \"EventId\": 0,\n \"RuleId\": 0,\n \"EventShowName\": \"abc\",\n \"AlarmNotifyPeriod\": 0,\n \"AlarmNotifyType\": 0\n }\n ],\n \"ReceiverInfos\": [\n {\n \"ReceiverGroupList\": [\n 0\n ],\n \"ReceiverUserList\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"ReceiverType\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"UidList\": [\n 0\n ],\n \"RoundNumber\": 0,\n \"RoundInterval\": 0,\n \"PersonInterval\": 0,\n \"NeedSendNotice\": 0,\n \"SendFor\": [\n \"abc\"\n ],\n \"RecoverNotify\": [\n \"abc\"\n ],\n \"ReceiveLanguage\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"ViewName\": \"abc\",\n \"Remark\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"IsUnionRule\": 0\n },\n \"InstanceGroup\": {\n \"InstanceGroupId\": 0,\n \"ViewName\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"GroupName\": \"abc\",\n \"InstanceSum\": 0,\n \"UpdateTime\": 0,\n \"InsertTime\": 0\n },\n \"IsUnionRule\": 0\n }\n ],\n \"Total\": 0,\n \"Warning\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
788
788
|
"title": "获取头两个基础策略告警组列表"
|
789
789
|
}
|
790
790
|
],
|
@@ -1255,7 +1255,7 @@
|
|
1255
1255
|
"UnBindingAllPolicyObject": [
|
1256
1256
|
{
|
1257
1257
|
"document": "",
|
1258
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingAllPolicyObject\n<公共请求参数>\n\n{\n \"GroupId\":
|
1258
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingAllPolicyObject\n<公共请求参数>\n\n{\n \"GroupId\": 11111,\n \"Module\": \"monitor\"\n}",
|
1259
1259
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb66c2-b4d6-4c2c-90a9-617d80347ab5\"\n }\n}",
|
1260
1260
|
"title": "删除全部的关联对象"
|
1261
1261
|
}
|
@@ -1263,7 +1263,7 @@
|
|
1263
1263
|
"UnBindingPolicyObject": [
|
1264
1264
|
{
|
1265
1265
|
"document": "",
|
1266
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingPolicyObject\n<公共请求参数>\n\n{\n \"UniqueId\": [\n \"3dd5113208fd467b2e5d0c1111111111\"\n ],\n \"GroupId\":
|
1266
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingPolicyObject\n<公共请求参数>\n\n{\n \"UniqueId\": [\n \"3dd5113208fd467b2e5d0c1111111111\"\n ],\n \"GroupId\": 11111,\n \"Module\": \"monitor\"\n}",
|
1267
1267
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb66c2-1111-1111-1111-11111111111\"\n }\n}",
|
1268
1268
|
"title": "删除策略的关联对象"
|
1269
1269
|
}
|
@@ -7965,7 +7965,7 @@
|
|
7965
7965
|
{
|
7966
7966
|
"disabled": false,
|
7967
7967
|
"document": "CDC Redis集群ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7968
|
-
"example": "
|
7968
|
+
"example": "crs-cluster-m1sy****",
|
7969
7969
|
"member": "string",
|
7970
7970
|
"name": "RedisClusterId",
|
7971
7971
|
"output_required": true,
|
@@ -7975,7 +7975,7 @@
|
|
7975
7975
|
{
|
7976
7976
|
"disabled": false,
|
7977
7977
|
"document": "CDC 集群ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7978
|
-
"example": "
|
7978
|
+
"example": "cluster-3x6j****",
|
7979
7979
|
"member": "string",
|
7980
7980
|
"name": "DedicatedClusterId",
|
7981
7981
|
"output_required": true,
|
@@ -1369,6 +1369,58 @@ def doDescribeDatabases(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doCutXEvents(args, parsed_globals):
|
1373
|
+
g_param = parse_global_arg(parsed_globals)
|
1374
|
+
|
1375
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1376
|
+
cred = credential.CVMRoleCredential()
|
1377
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1378
|
+
cred = credential.STSAssumeRoleCredential(
|
1379
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1380
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1381
|
+
)
|
1382
|
+
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):
|
1383
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1384
|
+
else:
|
1385
|
+
cred = credential.Credential(
|
1386
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1387
|
+
)
|
1388
|
+
http_profile = HttpProfile(
|
1389
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1390
|
+
reqMethod="POST",
|
1391
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1392
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1393
|
+
)
|
1394
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1395
|
+
if g_param[OptionsDefine.Language]:
|
1396
|
+
profile.language = g_param[OptionsDefine.Language]
|
1397
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1398
|
+
client = mod.SqlserverClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.CutXEventsRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.CutXEvents(model)
|
1406
|
+
result = rsp.to_json_string()
|
1407
|
+
try:
|
1408
|
+
json_obj = json.loads(result)
|
1409
|
+
except TypeError as e:
|
1410
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1411
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1412
|
+
break
|
1413
|
+
cur_time = time.time()
|
1414
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1415
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1416
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1417
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1418
|
+
else:
|
1419
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1420
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1421
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
|
+
|
1423
|
+
|
1372
1424
|
def doDescribeReadOnlyGroupList(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -7646,6 +7698,7 @@ ACTION_MAP = {
|
|
7646
7698
|
"DescribeRegularBackupPlan": doDescribeRegularBackupPlan,
|
7647
7699
|
"DescribePublishSubscribe": doDescribePublishSubscribe,
|
7648
7700
|
"DescribeDatabases": doDescribeDatabases,
|
7701
|
+
"CutXEvents": doCutXEvents,
|
7649
7702
|
"DescribeReadOnlyGroupList": doDescribeReadOnlyGroupList,
|
7650
7703
|
"CreateBusinessDBInstances": doCreateBusinessDBInstances,
|
7651
7704
|
"DescribeBackupCommand": doDescribeBackupCommand,
|
@@ -140,6 +140,13 @@
|
|
140
140
|
"output": "CreateReadOnlyDBInstancesResponse",
|
141
141
|
"status": "online"
|
142
142
|
},
|
143
|
+
"CutXEvents": {
|
144
|
+
"document": "本接口(CutXEvents)用于手动切割阻塞日志和死锁日志。",
|
145
|
+
"input": "CutXEventsRequest",
|
146
|
+
"name": "手动切割阻塞日志和死锁日志",
|
147
|
+
"output": "CutXEventsResponse",
|
148
|
+
"status": "online"
|
149
|
+
},
|
143
150
|
"DeleteAccount": {
|
144
151
|
"document": "本接口(DeleteAccount)用于删除实例账号。",
|
145
152
|
"input": "DeleteAccountRequest",
|
@@ -4186,6 +4193,33 @@
|
|
4186
4193
|
],
|
4187
4194
|
"usage": "out"
|
4188
4195
|
},
|
4196
|
+
"CutXEventsRequest": {
|
4197
|
+
"document": "CutXEvents请求参数结构体",
|
4198
|
+
"members": [
|
4199
|
+
{
|
4200
|
+
"disabled": false,
|
4201
|
+
"document": "实例ID",
|
4202
|
+
"example": "mssql-8ua7ah",
|
4203
|
+
"member": "string",
|
4204
|
+
"name": "InstanceId",
|
4205
|
+
"required": true,
|
4206
|
+
"type": "string"
|
4207
|
+
}
|
4208
|
+
],
|
4209
|
+
"type": "object"
|
4210
|
+
},
|
4211
|
+
"CutXEventsResponse": {
|
4212
|
+
"document": "CutXEvents返回参数结构体",
|
4213
|
+
"members": [
|
4214
|
+
{
|
4215
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4216
|
+
"member": "string",
|
4217
|
+
"name": "RequestId",
|
4218
|
+
"type": "string"
|
4219
|
+
}
|
4220
|
+
],
|
4221
|
+
"type": "object"
|
4222
|
+
},
|
4189
4223
|
"DBCreateInfo": {
|
4190
4224
|
"document": "数据库创建信息",
|
4191
4225
|
"members": [
|
@@ -160,6 +160,14 @@
|
|
160
160
|
"title": "创建只读实例"
|
161
161
|
}
|
162
162
|
],
|
163
|
+
"CutXEvents": [
|
164
|
+
{
|
165
|
+
"document": "",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CutXEvents\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
168
|
+
"title": "手动生成阻塞日志"
|
169
|
+
}
|
170
|
+
],
|
163
171
|
"DeleteAccount": [
|
164
172
|
{
|
165
173
|
"document": "",
|
@@ -810,7 +810,7 @@
|
|
810
810
|
},
|
811
811
|
{
|
812
812
|
"disabled": false,
|
813
|
-
"document": "TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId
|
813
|
+
"document": "TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。\n注:房间号类型默认为整型,若房间号类型为字符串,请通过RoomIdType指定。\n",
|
814
814
|
"example": "1234",
|
815
815
|
"member": "string",
|
816
816
|
"name": "RoomId",
|
@@ -5662,8 +5662,8 @@
|
|
5662
5662
|
},
|
5663
5663
|
{
|
5664
5664
|
"disabled": false,
|
5665
|
-
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": “大模型类型\", // String
|
5666
|
-
"example": "
|
5665
|
+
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": “大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
5666
|
+
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1\\\", \\\"Streaming\\\": true}",
|
5667
5667
|
"member": "string",
|
5668
5668
|
"name": "LLMConfig",
|
5669
5669
|
"required": false,
|
@@ -5671,8 +5671,8 @@
|
|
5671
5671
|
},
|
5672
5672
|
{
|
5673
5673
|
"disabled": false,
|
5674
|
-
"document": "TTS
|
5675
|
-
"example": "
|
5674
|
+
"document": "TTS配置,为JSON字符串,腾讯云TTS示例如下:\n <pre>{ <br>   \"AppId\": 您的应用ID, // Integer 必填<br>   \"TTSType\": \"TTS类型\", // String TTS类型, 固定为\"tencent\"<br>   \"SecretId\": \"您的密钥ID\", // String 必填<br>   \"SecretKey\": \"您的密钥Key\", // String 必填<br>   \"VoiceType\": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href=\"https://cloud.tencent.com/document/product/1073/34112\">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href=\"https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823\">语音合成音色列表</a>。<br>   \"Speed\": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href=\"https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz\">语速转换</a><br>   \"Volume\": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>   \"PrimaryLanguage\": \"zh-CN\" // String 非必填,主要语言<br>  }</pre>",
|
5675
|
+
"example": "{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 136666666, \\\"SecretId\\\": \\\"AKIxxxx\\\", \\\"SecretKey\\\": \\\"Hlxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}",
|
5676
5676
|
"member": "string",
|
5677
5677
|
"name": "TTSConfig",
|
5678
5678
|
"required": false,
|
@@ -841,7 +841,7 @@
|
|
841
841
|
"status": "online"
|
842
842
|
},
|
843
843
|
"DeleteVpnConnection": {
|
844
|
-
"document": "本接口(DeleteVpnConnection)用于删除VPN
|
844
|
+
"document": "本接口(DeleteVpnConnection)用于删除VPN通道。\n>?本接口为异步接口\n>",
|
845
845
|
"input": "DeleteVpnConnectionRequest",
|
846
846
|
"name": "删除VPN通道",
|
847
847
|
"output": "DeleteVpnConnectionResponse",
|
@@ -27222,6 +27222,42 @@
|
|
27222
27222
|
],
|
27223
27223
|
"usage": "both"
|
27224
27224
|
},
|
27225
|
+
"PrivateNatCrossDomainInfo": {
|
27226
|
+
"document": "私网NAT网关跨域信息",
|
27227
|
+
"members": [
|
27228
|
+
{
|
27229
|
+
"disabled": false,
|
27230
|
+
"document": "跨域私网NAT关联的云联网ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
27231
|
+
"example": "ccn-4as5s8ga",
|
27232
|
+
"member": "string",
|
27233
|
+
"name": "CcnId",
|
27234
|
+
"required": false,
|
27235
|
+
"type": "string",
|
27236
|
+
"value_allowed_null": true
|
27237
|
+
},
|
27238
|
+
{
|
27239
|
+
"disabled": false,
|
27240
|
+
"document": "跨域私网NAT本端Vpc\n注意:此字段可能返回 null,表示取不到有效值。",
|
27241
|
+
"example": "vpc-noam856a",
|
27242
|
+
"member": "string",
|
27243
|
+
"name": "LocalVpcId",
|
27244
|
+
"required": false,
|
27245
|
+
"type": "string",
|
27246
|
+
"value_allowed_null": true
|
27247
|
+
},
|
27248
|
+
{
|
27249
|
+
"disabled": false,
|
27250
|
+
"document": "跨域私网NAT对端Vpc\n注意:此字段可能返回 null,表示取不到有效值。",
|
27251
|
+
"example": "vpc-noam856a",
|
27252
|
+
"member": "string",
|
27253
|
+
"name": "PeerVpcId",
|
27254
|
+
"required": false,
|
27255
|
+
"type": "string",
|
27256
|
+
"value_allowed_null": true
|
27257
|
+
}
|
27258
|
+
],
|
27259
|
+
"usage": "out"
|
27260
|
+
},
|
27225
27261
|
"PrivateNatDestinationIpPortTranslationNatRule": {
|
27226
27262
|
"document": "本端目的IP端口转换复杂结构",
|
27227
27263
|
"members": [
|
@@ -27380,6 +27416,56 @@
|
|
27380
27416
|
"output_required": true,
|
27381
27417
|
"type": "list",
|
27382
27418
|
"value_allowed_null": true
|
27419
|
+
},
|
27420
|
+
{
|
27421
|
+
"disabled": false,
|
27422
|
+
"document": "专线网关唯一`ID`\n注意:此字段可能返回 null,表示取不到有效值。",
|
27423
|
+
"example": "无",
|
27424
|
+
"member": "string",
|
27425
|
+
"name": "DirectConnectGatewayIds",
|
27426
|
+
"output_required": true,
|
27427
|
+
"type": "list",
|
27428
|
+
"value_allowed_null": true
|
27429
|
+
},
|
27430
|
+
{
|
27431
|
+
"disabled": false,
|
27432
|
+
"document": "私网网关类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
27433
|
+
"example": "DCG",
|
27434
|
+
"member": "string",
|
27435
|
+
"name": "NatType",
|
27436
|
+
"output_required": true,
|
27437
|
+
"type": "string",
|
27438
|
+
"value_allowed_null": true
|
27439
|
+
},
|
27440
|
+
{
|
27441
|
+
"disabled": false,
|
27442
|
+
"document": "私网NAT跨域信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
27443
|
+
"example": "无",
|
27444
|
+
"member": "PrivateNatCrossDomainInfo",
|
27445
|
+
"name": "CrossDomainInfo",
|
27446
|
+
"output_required": false,
|
27447
|
+
"type": "object",
|
27448
|
+
"value_allowed_null": true
|
27449
|
+
},
|
27450
|
+
{
|
27451
|
+
"disabled": false,
|
27452
|
+
"document": "是否VPC型私网网关\n注意:此字段可能返回 null,表示取不到有效值。",
|
27453
|
+
"example": "True",
|
27454
|
+
"member": "bool",
|
27455
|
+
"name": "VpcType",
|
27456
|
+
"output_required": false,
|
27457
|
+
"type": "bool",
|
27458
|
+
"value_allowed_null": true
|
27459
|
+
},
|
27460
|
+
{
|
27461
|
+
"disabled": false,
|
27462
|
+
"document": "跨域私网NAT关联的云联网ID\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
27463
|
+
"example": "ccn-asj6o7cd",
|
27464
|
+
"member": "string",
|
27465
|
+
"name": "CcnId",
|
27466
|
+
"output_required": false,
|
27467
|
+
"type": "string",
|
27468
|
+
"value_allowed_null": true
|
27383
27469
|
}
|
27384
27470
|
],
|
27385
27471
|
"usage": "out"
|
@@ -520,7 +520,7 @@
|
|
520
520
|
{
|
521
521
|
"document": "创建一个私网NAT网关",
|
522
522
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateNatGateway\n<公共请求参数>\n\n{\n \"NatGatewayName\": \"test\",\n \"VpcId\": \"vpc-m7sr81gh\"\n}",
|
523
|
-
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"Status\": \"AVILIABLE\",\n \"VpcId\": \"vpc-noanwmed\",\n \"CrossDomain\": false,\n \"NatGatewayName\": \"test_nat\",\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"TagSet\": [],\n \"CreatedTime\": \"2022-10-01 00:00:00\"\n }\n ],\n \"RequestId\": \"cd37ad3b-6b94-41f4-bd83-8a2b0d801aae\",\n \"TotalCount\": 1\n }\n}",
|
523
|
+
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"Status\": \"AVILIABLE\",\n \"VpcId\": \"vpc-noanwmed\",\n \"CrossDomain\": false,\n \"NatGatewayName\": \"test_nat\",\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"TagSet\": [],\n \"DirectConnectGatewayIds\": [],\n \"CreatedTime\": \"2022-10-01 00:00:00\"\n }\n ],\n \"RequestId\": \"cd37ad3b-6b94-41f4-bd83-8a2b0d801aae\",\n \"TotalCount\": 1\n }\n}",
|
524
524
|
"title": "创建一个私网NAT网关"
|
525
525
|
}
|
526
526
|
],
|
@@ -685,8 +685,8 @@
|
|
685
685
|
"CreateVpnConnection": [
|
686
686
|
{
|
687
687
|
"document": "创建VPN通道",
|
688
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpnConnection\n<公共请求参数>\n\n{\n \"VpnConnectionName\": \"TEST_CONN\",\n \"PreShareKey\": \"654321\",\n \"VpcId\": \"vpc-gapcv96p\",\n \"Tags\": [\n {\n \"Value\": \"shanghai\",\n \"Key\": \"city\"\n }\n ],\n \"IPSECOptionsSpecification\": {\n \"PfsDhGroup\": \"NULL\",\n \"EncryptAlgorithm\": \"3DES-CBC\",\n \"IntegrityAlgorith\": \"
|
689
|
-
"output": "{\n \"Response\": {\n \"VpnConnection\": {\n \"VpcId\": \"vpc-
|
688
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpnConnection\n<公共请求参数>\n\n{\n \"VpnConnectionName\": \"TEST_CONN\",\n \"PreShareKey\": \"654321\",\n \"VpcId\": \"vpc-gapcv96p\",\n \"Tags\": [\n {\n \"Value\": \"shanghai\",\n \"Key\": \"city\"\n }\n ],\n \"IPSECOptionsSpecification\": {\n \"PfsDhGroup\": \"NULL\",\n \"EncryptAlgorithm\": \"3DES-CBC\",\n \"IntegrityAlgorith\": \"SHA1\"\n },\n \"SecurityPolicyDatabases\": [\n {\n \"LocalCidrBlock\": \"10.8.4.0/24\",\n \"RemoteCidrBlock\": [\n \"58.211.1.0/24\"\n ]\n }\n ],\n \"VpnGatewayId\": \"vpngw-1w9tue3d\",\n \"CustomerGatewayId\": \"cgw-qa9sxpy7\",\n \"IKEOptionsSpecification\": {\n \"IKEVersion\": \"IKEV1\",\n \"RemoteIdentity\": \"ADDRESS\",\n \"PropoAuthenAlgorithm\": \"MD5\",\n \"RemoteAddress\": \"1.2.3.4\",\n \"LocalIdentity\": \"ADDRESS\",\n \"LocalAddress\": \"58.211.2.5\",\n \"ExchangeMode\": \"MAIN\",\n \"PropoEncryAlgorithm\": \"3DES-CBC\",\n \"DhGroupName\": \"GROUP1\"\n }\n}",
|
689
|
+
"output": "{\n \"Response\": {\n \"VpnConnection\": {\n \"VpcId\": \"vpc-gapcv96p\",\n \"VpnConnectionId\": \"\",\n \"VpnConnectionName\": \"TEST_CONN\",\n \"VpnGatewayId\": \"vpngw-1w9tue3d\",\n \"CustomerGatewayId\": \"cgw-qa9sxpy7\",\n \"State\": \"PENDING\",\n \"PreShareKey\": \"123456\",\n \"NegotiationType\": \"\",\n \"DpdEnable\": -1,\n \"DpdTimeout\": \"\",\n \"DpdAction\": \"\",\n \"VpnProto\": \"IPSEC\",\n \"EncryptProto\": \"IKE\",\n \"RouteType\": \"STATIC\",\n \"CreatedTime\": \"0000-00-00 00:00:00\",\n \"NetStatus\": \"\",\n \"SecurityPolicyDatabaseSet\": [],\n \"IKEOptionsSpecification\": {\n \"PropoEncryAlgorithm\": \"3DES-CBC\",\n \"PropoAuthenAlgorithm\": \"MD5\",\n \"ExchangeMode\": \"MAIN\",\n \"LocalIdentity\": \"ADDRESS\",\n \"RemoteIdentity\": \"ADDRESS\",\n \"LocalAddress\": \"58.211.2.5\",\n \"RemoteAddress\": \"1.2.3.4\",\n \"LocalFqdnName\": \"\",\n \"RemoteFqdnName\": \"\",\n \"DhGroupName\": \"GROUP1\",\n \"IKESaLifetimeSeconds\": 86400,\n \"IKEVersion\": \"IKEV1\"\n },\n \"IPSECOptionsSpecification\": {\n \"EncryptAlgorithm\": \"3DES-CBC\",\n \"IntegrityAlgorith\": \"SHA1\",\n \"IPSECSaLifetimeSeconds\": 3600,\n \"IPSECSaLifetimeTraffic\": 1843200,\n \"PfsDhGroup\": \"NULL\"\n },\n \"EnableHealthCheck\": false,\n \"HealthCheckLocalIp\": \"\",\n \"HealthCheckRemoteIp\": \"\",\n \"HealthCheckStatus\": \"\",\n \"TagSet\": []\n },\n \"RequestId\": \"4b71dd4d-a3ee-4ac1-b99a-99d65f6443fd\"\n }\n}",
|
690
690
|
"title": "创建VPN通道"
|
691
691
|
}
|
692
692
|
],
|
@@ -1680,13 +1680,13 @@
|
|
1680
1680
|
{
|
1681
1681
|
"document": "按ID过滤查询私网NAT网关",
|
1682
1682
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrivateNatGateways\n<公共请求参数>\n\n{\n \"NatGatewayIds\": [\n \"intranat-0g3blj80\"\n ]\n}",
|
1683
|
-
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"NatGatewayName\": \"test_nat\",\n \"VpcId\": \"vpc-noanwmed\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2022-09-29 15:58:00\",\n \"TagSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"757e8409-faa3-4b7f-bfc3-7e1670bf40af\"\n }\n}",
|
1683
|
+
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"NatGatewayName\": \"test_nat\",\n \"VpcId\": \"vpc-noanwmed\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2022-09-29 15:58:00\",\n \"DirectConnectGatewayIds\": [],\n \"TagSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"757e8409-faa3-4b7f-bfc3-7e1670bf40af\"\n }\n}",
|
1684
1684
|
"title": "按ID过滤查询私网NAT网关"
|
1685
1685
|
},
|
1686
1686
|
{
|
1687
1687
|
"document": "按标签过滤查询私网NAT网关",
|
1688
1688
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrivateNatGateways\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"TagKey\",\n \"Values\": [\n \"负责人\"\n ]\n }\n ]\n}",
|
1689
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-ryur99m8\",\n \"NatGatewayName\": \"example\",\n \"VpcId\": \"vpc-d3rrkwej\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2023-03-09 16:19:24\",\n \"TagSet\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"RequestId\": \"e13d67ca-4b7b-4337-b8c5-7df7707c89ca\"\n }\n}",
|
1689
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-ryur99m8\",\n \"NatGatewayName\": \"example\",\n \"VpcId\": \"vpc-d3rrkwej\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2023-03-09 16:19:24\",\n \"TagSet\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"abc\"\n }\n ],\n \"DirectConnectGatewayIds\": [],\n \"NatType\": \"DCG\",\n \"CrossDomainInfo\": {\n \"CcnId\": \"ccn-123abcef\",\n \"LocalVpcId\": \"vpc-12345678\",\n \"PeerVpcId\": \"vpc-abcdefgh\"\n }\n }\n ],\n \"RequestId\": \"e13d67ca-4b7b-4337-b8c5-7df7707c89ca\"\n }\n}",
|
1690
1690
|
"title": "按标签过滤查询私网NAT网关"
|
1691
1691
|
}
|
1692
1692
|
],
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1166.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.1166
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|