tccli 3.0.1164.1__py2.py3-none-any.whl → 3.0.1165.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/monitor/v20180724/api.json +8 -8
- tccli/services/monitor/v20180724/examples.json +6 -6
- 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 +4 -4
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1165.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1165.1.dist-info}/RECORD +13 -13
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1165.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1165.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1164.1.dist-info → tccli-3.0.1165.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1165.1'
|
@@ -4738,10 +4738,11 @@
|
|
4738
4738
|
"members": [
|
4739
4739
|
{
|
4740
4740
|
"disabled": false,
|
4741
|
-
"document": "指定配额类型,包括Uid、Gid",
|
4741
|
+
"document": "指定配额类型,包括Uid、Gid、Dir",
|
4742
4742
|
"example": "Uid",
|
4743
4743
|
"member": "string",
|
4744
4744
|
"name": "UserType",
|
4745
|
+
"output_required": true,
|
4745
4746
|
"required": true,
|
4746
4747
|
"type": "string",
|
4747
4748
|
"value_allowed_null": false
|
@@ -4752,6 +4753,7 @@
|
|
4752
4753
|
"example": "1000",
|
4753
4754
|
"member": "string",
|
4754
4755
|
"name": "UserId",
|
4756
|
+
"output_required": true,
|
4755
4757
|
"required": true,
|
4756
4758
|
"type": "string",
|
4757
4759
|
"value_allowed_null": false
|
@@ -4762,6 +4764,7 @@
|
|
4762
4764
|
"example": "10",
|
4763
4765
|
"member": "uint64",
|
4764
4766
|
"name": "CapacityHardLimit",
|
4767
|
+
"output_required": true,
|
4765
4768
|
"required": true,
|
4766
4769
|
"type": "int",
|
4767
4770
|
"value_allowed_null": false
|
@@ -4772,6 +4775,7 @@
|
|
4772
4775
|
"example": "10000",
|
4773
4776
|
"member": "uint64",
|
4774
4777
|
"name": "FileHardLimit",
|
4778
|
+
"output_required": true,
|
4775
4779
|
"required": true,
|
4776
4780
|
"type": "int",
|
4777
4781
|
"value_allowed_null": false
|
@@ -4782,6 +4786,7 @@
|
|
4782
4786
|
"example": "cfs-1245",
|
4783
4787
|
"member": "string",
|
4784
4788
|
"name": "FileSystemId",
|
4789
|
+
"output_required": true,
|
4785
4790
|
"required": true,
|
4786
4791
|
"type": "string",
|
4787
4792
|
"value_allowed_null": false
|
@@ -4792,6 +4797,7 @@
|
|
4792
4797
|
"example": "9",
|
4793
4798
|
"member": "uint64",
|
4794
4799
|
"name": "CapacityUsed",
|
4800
|
+
"output_required": true,
|
4795
4801
|
"required": false,
|
4796
4802
|
"type": "int",
|
4797
4803
|
"value_allowed_null": true
|
@@ -4802,9 +4808,32 @@
|
|
4802
4808
|
"example": "9999",
|
4803
4809
|
"member": "uint64",
|
4804
4810
|
"name": "FileUsed",
|
4811
|
+
"output_required": true,
|
4805
4812
|
"required": false,
|
4806
4813
|
"type": "int",
|
4807
4814
|
"value_allowed_null": true
|
4815
|
+
},
|
4816
|
+
{
|
4817
|
+
"disabled": false,
|
4818
|
+
"document": "目录配额的目录绝对路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
4819
|
+
"example": "/cfs/xx",
|
4820
|
+
"member": "string",
|
4821
|
+
"name": "DirectoryPath",
|
4822
|
+
"output_required": true,
|
4823
|
+
"required": false,
|
4824
|
+
"type": "string",
|
4825
|
+
"value_allowed_null": true
|
4826
|
+
},
|
4827
|
+
{
|
4828
|
+
"disabled": false,
|
4829
|
+
"document": "配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败\n注意:此字段可能返回 null,表示取不到有效值。",
|
4830
|
+
"example": "available",
|
4831
|
+
"member": "string",
|
4832
|
+
"name": "Status",
|
4833
|
+
"output_required": true,
|
4834
|
+
"required": false,
|
4835
|
+
"type": "string",
|
4836
|
+
"value_allowed_null": true
|
4808
4837
|
}
|
4809
4838
|
],
|
4810
4839
|
"usage": "both"
|
@@ -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
|
}
|
@@ -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": "",
|
@@ -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,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1165.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.1165
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=7P6IUuaLLKPPfU1kT0lMmOzG1PqIQRUMcEUKQw6Fqag,27
|
2
2
|
tccli/argparser.py,sha256=iFaw_iIMdyVwUdcv2_2OHQfe7-7j9yGzoOgXgXswoBo,5555
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -236,7 +236,7 @@ tccli/services/cfg/v20210820/api.json,sha256=MDmcjg0XHphY3uRvzxarmveUdiLdcO31q9h
|
|
236
236
|
tccli/services/cfg/v20210820/examples.json,sha256=FK5EMBR0Zq2vYYTy1f3QeG2z4K4A2Lah2xgcJCdAWRU,68703
|
237
237
|
tccli/services/cfs/__init__.py,sha256=VecrEhD_8cXfLCyCp9tLj9wbK9uN67huo5TyZPczt3w,85
|
238
238
|
tccli/services/cfs/cfs_client.py,sha256=xXebjYunJTJufgk-Ea1aSW7HysJn8Ao1Q5MJsL6eh4k,138863
|
239
|
-
tccli/services/cfs/v20190719/api.json,sha256=
|
239
|
+
tccli/services/cfs/v20190719/api.json,sha256=Ry8UW6kA97yAtDOzUIcwdBUnVp5T3ACf62-XxlI6PCA,157528
|
240
240
|
tccli/services/cfs/v20190719/examples.json,sha256=6XSwCVfwFdSrLjAIy4Q2dXMumr8pIQnts7QfA8Hj1G4,33505
|
241
241
|
tccli/services/cfw/__init__.py,sha256=2hNwXcNofHJCalk9HHEbOcgYz6XKuYmZk_iBroa5YsY,85
|
242
242
|
tccli/services/cfw/cfw_client.py,sha256=EuHN5c3O6z4EvV_pLHNz_qqYG2NP4Z9UUhWiKcjeRQs,358930
|
@@ -662,8 +662,8 @@ tccli/services/mongodb/v20190725/api.json,sha256=_9OipK8bTRpyiLPG4cWlBmKKzw_6gpV
|
|
662
662
|
tccli/services/mongodb/v20190725/examples.json,sha256=vMy3_21MC6RyB7COVCbbzqGXPEhLX0U8CP39vpbHFuI,73182
|
663
663
|
tccli/services/monitor/__init__.py,sha256=Fqyy64XBMByiqJHyjxbaJeQDJAGMyktujsYRmXhosc8,93
|
664
664
|
tccli/services/monitor/monitor_client.py,sha256=871iRrgD7D3FFVvEEUZ5t3clOdLVudndM8AUlIXQZNY,495612
|
665
|
-
tccli/services/monitor/v20180724/api.json,sha256=
|
666
|
-
tccli/services/monitor/v20180724/examples.json,sha256=
|
665
|
+
tccli/services/monitor/v20180724/api.json,sha256=uIfEtbVeSecUZxUEamdPNWn_NVOZZp7ra17_i9ZMEME,714449
|
666
|
+
tccli/services/monitor/v20180724/examples.json,sha256=Y8dlnlEvHjQA62SygOmPcuEMlQQCsJ8El_mR5bBDR7U,263328
|
667
667
|
tccli/services/mps/__init__.py,sha256=4M5o2xc0u3rqtgz_5an9Qxw2QaOqwBq8Fjc3IB64p2o,85
|
668
668
|
tccli/services/mps/mps_client.py,sha256=h3jjE66SxuAI5uIysVKhYKStOXZFd2Lr0ZdT_jgqPiw,329690
|
669
669
|
tccli/services/mps/v20190612/api.json,sha256=yqPL-CpWRncPNOWzoSYP6FRszucDc7lV23R8y48AP0g,997575
|
@@ -789,9 +789,9 @@ tccli/services/solar/solar_client.py,sha256=u97pv1UTiGB9IzPMGzNxpbm5USZ4o2TPMwY6
|
|
789
789
|
tccli/services/solar/v20181011/api.json,sha256=ch8jYxa1bnEO3kkthnRq39niraMPrGkL_uJoCIN_Jr0,53390
|
790
790
|
tccli/services/solar/v20181011/examples.json,sha256=tZLJq_bmcnLj3gTVU4ctw84leTAY56p2jNDe4SJCxRU,12780
|
791
791
|
tccli/services/sqlserver/__init__.py,sha256=dIyO7qGCNsrGcb3_feEQvJhGHqIr0dQTiku9YdLO5H8,97
|
792
|
-
tccli/services/sqlserver/sqlserver_client.py,sha256=
|
793
|
-
tccli/services/sqlserver/v20180328/api.json,sha256=
|
794
|
-
tccli/services/sqlserver/v20180328/examples.json,sha256=
|
792
|
+
tccli/services/sqlserver/sqlserver_client.py,sha256=6ugO0oLWltH5Hmffedt55OzaKjFkMA6sdpCkBmuOBPE,462540
|
793
|
+
tccli/services/sqlserver/v20180328/api.json,sha256=cqzOvi9fqLjk-FwTU-h0KGgFJ5L_gx4HBZSq6H9DbOs,590431
|
794
|
+
tccli/services/sqlserver/v20180328/examples.json,sha256=lB-RZXVvsokp2ZucleJgKZZfh6edJBSFEDKao4kWZWs,167452
|
795
795
|
tccli/services/ssa/__init__.py,sha256=HRXoMwuZ2V4a9Fsjf_-47GDgdsXHpSpiPDERy0wB44c,85
|
796
796
|
tccli/services/ssa/ssa_client.py,sha256=Mh3yTuDDSpQn2FME0BhyWEro8XfwwpauEyD6WnuXJMM,76943
|
797
797
|
tccli/services/ssa/v20180608/api.json,sha256=2jvRkOmXnFKAbUWZMpqZdiY_tumtVhyz5kp2MFniPy4,190720
|
@@ -998,7 +998,7 @@ tccli/services/trro/v20220325/api.json,sha256=dJZydHE8hmbfBTweDikhd_R8sidA_fWhTR
|
|
998
998
|
tccli/services/trro/v20220325/examples.json,sha256=lwXhGjCkkRl-N8vCGwpYGQUwVMKPPgEdm2CPsDd48KQ,20684
|
999
999
|
tccli/services/trtc/__init__.py,sha256=7xXIF66WdJHGVIhfHKFx2VYimlxZ_z3QOeJBUJ2P_MQ,87
|
1000
1000
|
tccli/services/trtc/trtc_client.py,sha256=OMIG1mQUcvkXtEU1Tan1PsKfVwRaBi9Oa1GewJSWaIc,173196
|
1001
|
-
tccli/services/trtc/v20190722/api.json,sha256=
|
1001
|
+
tccli/services/trtc/v20190722/api.json,sha256=AnafV0wuIXiX5-nGBbOweOx73V52pcsIKmBx26qt6NI,306813
|
1002
1002
|
tccli/services/trtc/v20190722/examples.json,sha256=mcfnaBUFjzmBHYLcdG-tsKdQkCYahkuXa1zgMN5XWk0,105293
|
1003
1003
|
tccli/services/tse/__init__.py,sha256=3Y4ZA_IFX8df4-ir1I9p0u4ksAywRrtd2CAvJ5yKyz0,85
|
1004
1004
|
tccli/services/tse/tse_client.py,sha256=FaAw3trxYLWl1wh3aqZeoOPHAjOwUCMToDx63g6gnfE,357796
|
@@ -1104,8 +1104,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
1104
1104
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
1105
1105
|
tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
|
1106
1106
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
1107
|
-
tccli-3.0.
|
1108
|
-
tccli-3.0.
|
1109
|
-
tccli-3.0.
|
1110
|
-
tccli-3.0.
|
1111
|
-
tccli-3.0.
|
1107
|
+
tccli-3.0.1165.1.dist-info/METADATA,sha256=sPdSQInIwwDY6bseaXTPrCKcxwjjRTnwEy74UVve1xw,16172
|
1108
|
+
tccli-3.0.1165.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
1109
|
+
tccli-3.0.1165.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
1110
|
+
tccli-3.0.1165.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
1111
|
+
tccli-3.0.1165.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|