tccli 3.0.1183.1__py2.py3-none-any.whl → 3.0.1185.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/bi/v20220105/api.json +9 -0
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/cdwdoris/v20211228/api.json +137 -0
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +65 -12
- tccli/services/cynosdb/v20190107/api.json +99 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/v20210125/api.json +48 -11
- tccli/services/dlc/v20210125/examples.json +4 -4
- tccli/services/dsgc/v20190723/api.json +9 -0
- tccli/services/ecc/v20181213/api.json +14 -12
- tccli/services/ecc/v20181213/examples.json +3 -3
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/ess/v20201111/examples.json +4 -4
- tccli/services/essbasic/v20210526/examples.json +9 -9
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +9 -0
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +18 -13
- tccli/services/redis/v20180412/examples.json +2 -2
- tccli/services/ssl/ssl_client.py +65 -12
- tccli/services/ssl/v20191205/api.json +130 -0
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/tcr/v20190924/api.json +3 -3
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/thpc/thpc_client.py +276 -64
- tccli/services/thpc/v20230321/api.json +886 -12
- tccli/services/thpc/v20230321/examples.json +32 -0
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/waf/v20180125/api.json +3 -3
- tccli/services/waf/v20180125/examples.json +1 -1
- {tccli-3.0.1183.1.dist-info → tccli-3.0.1185.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1183.1.dist-info → tccli-3.0.1185.1.dist-info}/RECORD +39 -39
- {tccli-3.0.1183.1.dist-info → tccli-3.0.1185.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1183.1.dist-info → tccli-3.0.1185.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1183.1.dist-info → tccli-3.0.1185.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1185.1'
|
@@ -3788,6 +3788,15 @@
|
|
3788
3788
|
"name": "AppUserId",
|
3789
3789
|
"required": false,
|
3790
3790
|
"type": "string"
|
3791
|
+
},
|
3792
|
+
{
|
3793
|
+
"disabled": false,
|
3794
|
+
"document": "是否开启手机验证码登录(0 关闭,1 开启)",
|
3795
|
+
"example": "无",
|
3796
|
+
"member": "int64",
|
3797
|
+
"name": "LoginSecurityStatus",
|
3798
|
+
"required": false,
|
3799
|
+
"type": "int"
|
3791
3800
|
}
|
3792
3801
|
],
|
3793
3802
|
"type": "object"
|
@@ -3046,7 +3046,7 @@
|
|
3046
3046
|
},
|
3047
3047
|
{
|
3048
3048
|
"disabled": false,
|
3049
|
-
"document": "存储方式,0-常规存储,1
|
3049
|
+
"document": "存储方式,0-常规存储,1-归档存储,2-标准存储,默认为0",
|
3050
3050
|
"example": "无",
|
3051
3051
|
"member": "int64",
|
3052
3052
|
"name": "CosStorageType",
|
@@ -3387,7 +3387,7 @@
|
|
3387
3387
|
},
|
3388
3388
|
{
|
3389
3389
|
"disabled": false,
|
3390
|
-
"document": "存储方式,0-常规存储,1
|
3390
|
+
"document": "存储方式,0-常规存储,1-归档存储,2-标准存储,默认为0",
|
3391
3391
|
"example": "无",
|
3392
3392
|
"member": "int64",
|
3393
3393
|
"name": "CosStorageType",
|
@@ -1544,6 +1544,24 @@
|
|
1544
1544
|
"CreateBackUpScheduleRequest": {
|
1545
1545
|
"document": "CreateBackUpSchedule请求参数结构体",
|
1546
1546
|
"members": [
|
1547
|
+
{
|
1548
|
+
"disabled": false,
|
1549
|
+
"document": "集群id",
|
1550
|
+
"example": "\"cdwch-xxx\"",
|
1551
|
+
"member": "string",
|
1552
|
+
"name": "InstanceId",
|
1553
|
+
"required": true,
|
1554
|
+
"type": "string"
|
1555
|
+
},
|
1556
|
+
{
|
1557
|
+
"disabled": false,
|
1558
|
+
"document": "操作类型 create(创建) update(编辑修改)",
|
1559
|
+
"example": "\"create\"",
|
1560
|
+
"member": "string",
|
1561
|
+
"name": "OperationType",
|
1562
|
+
"required": true,
|
1563
|
+
"type": "string"
|
1564
|
+
},
|
1547
1565
|
{
|
1548
1566
|
"disabled": false,
|
1549
1567
|
"document": "编辑时需要传",
|
@@ -1633,6 +1651,42 @@
|
|
1633
1651
|
"name": "CosSourceInfo",
|
1634
1652
|
"required": false,
|
1635
1653
|
"type": "object"
|
1654
|
+
},
|
1655
|
+
{
|
1656
|
+
"disabled": false,
|
1657
|
+
"document": "调度任务名",
|
1658
|
+
"example": "表1备份",
|
1659
|
+
"member": "string",
|
1660
|
+
"name": "ScheduleName",
|
1661
|
+
"required": false,
|
1662
|
+
"type": "string"
|
1663
|
+
},
|
1664
|
+
{
|
1665
|
+
"disabled": false,
|
1666
|
+
"document": "调度信息",
|
1667
|
+
"example": "无",
|
1668
|
+
"member": "ScheduleInfo",
|
1669
|
+
"name": "ScheduleInfo",
|
1670
|
+
"required": false,
|
1671
|
+
"type": "object"
|
1672
|
+
},
|
1673
|
+
{
|
1674
|
+
"disabled": false,
|
1675
|
+
"document": "更新任务状态:\n3-暂停,\n2-删除,\n1-启动",
|
1676
|
+
"example": "1",
|
1677
|
+
"member": "int64",
|
1678
|
+
"name": "UpdateStatus",
|
1679
|
+
"required": false,
|
1680
|
+
"type": "int"
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
"disabled": false,
|
1684
|
+
"document": "当前任务的cos桶信息",
|
1685
|
+
"example": "carson-test-1301087413",
|
1686
|
+
"member": "string",
|
1687
|
+
"name": "CosBucket",
|
1688
|
+
"required": false,
|
1689
|
+
"type": "string"
|
1636
1690
|
}
|
1637
1691
|
],
|
1638
1692
|
"type": "object"
|
@@ -7669,6 +7723,89 @@
|
|
7669
7723
|
],
|
7670
7724
|
"type": "object"
|
7671
7725
|
},
|
7726
|
+
"ScheduleInfo": {
|
7727
|
+
"document": "调度信息",
|
7728
|
+
"members": [
|
7729
|
+
{
|
7730
|
+
"disabled": false,
|
7731
|
+
"document": "生效时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7732
|
+
"example": "2023-09-07 00:00:00~2023-09-21 00:00:00\t",
|
7733
|
+
"member": "string",
|
7734
|
+
"name": "EffectivePeriod",
|
7735
|
+
"output_required": false,
|
7736
|
+
"required": false,
|
7737
|
+
"type": "string",
|
7738
|
+
"value_allowed_null": true
|
7739
|
+
},
|
7740
|
+
{
|
7741
|
+
"disabled": false,
|
7742
|
+
"document": "调度类型:\nDay-天\nWeek-周\nMonth-月\nOnce-单次\n注意:此字段可能返回 null,表示取不到有效值。",
|
7743
|
+
"example": "Day",
|
7744
|
+
"member": "string",
|
7745
|
+
"name": "ScheduleType",
|
7746
|
+
"output_required": false,
|
7747
|
+
"required": false,
|
7748
|
+
"type": "string",
|
7749
|
+
"value_allowed_null": true
|
7750
|
+
},
|
7751
|
+
{
|
7752
|
+
"disabled": false,
|
7753
|
+
"document": "执行调度的日期。调度类型为周和月时以英文逗号分隔;\n调度类型为单次时,该值是个日期\n注意:此字段可能返回 null,表示取不到有效值。",
|
7754
|
+
"example": "3,4,5",
|
7755
|
+
"member": "string",
|
7756
|
+
"name": "ScheduleData",
|
7757
|
+
"output_required": false,
|
7758
|
+
"required": false,
|
7759
|
+
"type": "string",
|
7760
|
+
"value_allowed_null": true
|
7761
|
+
},
|
7762
|
+
{
|
7763
|
+
"disabled": false,
|
7764
|
+
"document": "执行时间:时\n注意:此字段可能返回 null,表示取不到有效值。",
|
7765
|
+
"example": "11",
|
7766
|
+
"member": "int64",
|
7767
|
+
"name": "ScheduleHour",
|
7768
|
+
"output_required": false,
|
7769
|
+
"required": false,
|
7770
|
+
"type": "int",
|
7771
|
+
"value_allowed_null": true
|
7772
|
+
},
|
7773
|
+
{
|
7774
|
+
"disabled": false,
|
7775
|
+
"document": "执行时间:分\n注意:此字段可能返回 null,表示取不到有效值。",
|
7776
|
+
"example": "30",
|
7777
|
+
"member": "int64",
|
7778
|
+
"name": "ScheduleMin",
|
7779
|
+
"output_required": false,
|
7780
|
+
"required": false,
|
7781
|
+
"type": "int",
|
7782
|
+
"value_allowed_null": true
|
7783
|
+
},
|
7784
|
+
{
|
7785
|
+
"disabled": false,
|
7786
|
+
"document": "备份粒度:\nAll-全量\nDatabase-按库\nTable-按表\n注意:此字段可能返回 null,表示取不到有效值。",
|
7787
|
+
"example": "All",
|
7788
|
+
"member": "string",
|
7789
|
+
"name": "BackupScope",
|
7790
|
+
"output_required": false,
|
7791
|
+
"required": false,
|
7792
|
+
"type": "string",
|
7793
|
+
"value_allowed_null": true
|
7794
|
+
},
|
7795
|
+
{
|
7796
|
+
"disabled": false,
|
7797
|
+
"document": "备份库:如果是按库备份,则需要该字段,库之间用英文逗号分割\n注意:此字段可能返回 null,表示取不到有效值。",
|
7798
|
+
"example": "demo1,demo2",
|
7799
|
+
"member": "string",
|
7800
|
+
"name": "BackupDatabase",
|
7801
|
+
"output_required": false,
|
7802
|
+
"required": false,
|
7803
|
+
"type": "string",
|
7804
|
+
"value_allowed_null": true
|
7805
|
+
}
|
7806
|
+
],
|
7807
|
+
"usage": "both"
|
7808
|
+
},
|
7672
7809
|
"SearchTags": {
|
7673
7810
|
"document": "列表页搜索的标记列表",
|
7674
7811
|
"members": [
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateBackUpSchedule": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"ScheduleId\": 0,\n \"WeekDays\": \"1\",\n \"BackUpTables\": [\n {\n \"Table\": \"1\",\n \"TotalBytes\": 0,\n \"Database\": \"1\"\n }\n ],\n \"ExecuteHour\": 0\n}",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"ScheduleId\": 0,\n \"InstanceId\": \"1\",\n \"WeekDays\": \"1\",\n \"BackUpTables\": [\n {\n \"Table\": \"1\",\n \"TotalBytes\": 0,\n \"Database\": \"1\"\n }\n ],\n \"ExecuteHour\": 0,\n \"OperationType\": \"1\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1\"\n }\n}",
|
32
32
|
"title": "示例"
|
33
33
|
}
|
@@ -14107,7 +14107,7 @@
|
|
14107
14107
|
},
|
14108
14108
|
{
|
14109
14109
|
"disabled": false,
|
14110
|
-
"document": "日志主题id所在的地域id。\n\nid,地域,简称信息如下:\n- 1, 广州,ap-guangzhou\n- 4, 上海,ap-shanghai\n- 5, 中国香港,ap-hongkong\n-
|
14110
|
+
"document": "日志主题id所在的地域id。\n\nid,地域,简称信息如下:\n- 1, 广州,ap-guangzhou\n- 4, 上海,ap-shanghai\n- 5, 中国香港,ap-hongkong\n- 7, 上海金融,ap-shanghai-fsi\n- 8, 北京,ap-beijing\n- 9, 新加坡,ap-singapore\n- 11, 深圳金融,ap-shenzhen-fsi\n- 15, 硅谷,na-siliconvalley\n- 16, 成都,ap-chengdu\n- 17, 法兰克福,eu-frankfurt\n- 18, 首尔,ap-seoul\n- 19, 重庆,ap-chongqing\n- 21, 孟买,ap-mumbai\n- 22, 弗吉尼亚,na-ashburn\n- 23, 曼谷,ap-bangkok\n- 25, 东京,ap-tokyo\n- 33, 南京,ap-nanjing\n- 46, 北京金融,ap-beijing-fsi\n- 72, 雅加达,ap-jakarta\n- 74, 圣保罗,sa-saopaulo",
|
14111
14111
|
"example": "19",
|
14112
14112
|
"member": "uint64",
|
14113
14113
|
"name": "RegionId",
|
@@ -1369,6 +1369,58 @@ def doDisassociateSecurityGroups(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doOpenReadOnlyInstanceExclusiveAccess(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.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.OpenReadOnlyInstanceExclusiveAccessRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.OpenReadOnlyInstanceExclusiveAccess(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 doExportInstanceSlowQueries(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -5425,7 +5477,7 @@ def doReloadBalanceProxyNode(args, parsed_globals):
|
|
5425
5477
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5426
5478
|
|
5427
5479
|
|
5428
|
-
def
|
5480
|
+
def doDescribeIsolatedInstances(args, parsed_globals):
|
5429
5481
|
g_param = parse_global_arg(parsed_globals)
|
5430
5482
|
|
5431
5483
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -5454,11 +5506,11 @@ def doOfflineCluster(args, parsed_globals):
|
|
5454
5506
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5455
5507
|
client._sdkVersion += ("_CLI_" + __version__)
|
5456
5508
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5457
|
-
model = models.
|
5509
|
+
model = models.DescribeIsolatedInstancesRequest()
|
5458
5510
|
model.from_json_string(json.dumps(args))
|
5459
5511
|
start_time = time.time()
|
5460
5512
|
while True:
|
5461
|
-
rsp = client.
|
5513
|
+
rsp = client.DescribeIsolatedInstances(model)
|
5462
5514
|
result = rsp.to_json_string()
|
5463
5515
|
try:
|
5464
5516
|
json_obj = json.loads(result)
|
@@ -6049,7 +6101,7 @@ def doModifyBackupConfig(args, parsed_globals):
|
|
6049
6101
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6050
6102
|
|
6051
6103
|
|
6052
|
-
def
|
6104
|
+
def doOfflineCluster(args, parsed_globals):
|
6053
6105
|
g_param = parse_global_arg(parsed_globals)
|
6054
6106
|
|
6055
6107
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6078,11 +6130,11 @@ def doDescribeInstances(args, parsed_globals):
|
|
6078
6130
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6079
6131
|
client._sdkVersion += ("_CLI_" + __version__)
|
6080
6132
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6081
|
-
model = models.
|
6133
|
+
model = models.OfflineClusterRequest()
|
6082
6134
|
model.from_json_string(json.dumps(args))
|
6083
6135
|
start_time = time.time()
|
6084
6136
|
while True:
|
6085
|
-
rsp = client.
|
6137
|
+
rsp = client.OfflineCluster(model)
|
6086
6138
|
result = rsp.to_json_string()
|
6087
6139
|
try:
|
6088
6140
|
json_obj = json.loads(result)
|
@@ -7037,7 +7089,7 @@ def doDescribeAccountAllGrantPrivileges(args, parsed_globals):
|
|
7037
7089
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7038
7090
|
|
7039
7091
|
|
7040
|
-
def
|
7092
|
+
def doDescribeInstances(args, parsed_globals):
|
7041
7093
|
g_param = parse_global_arg(parsed_globals)
|
7042
7094
|
|
7043
7095
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7066,11 +7118,11 @@ def doOpenReadOnlyInstanceExclusiveAccess(args, parsed_globals):
|
|
7066
7118
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7067
7119
|
client._sdkVersion += ("_CLI_" + __version__)
|
7068
7120
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7069
|
-
model = models.
|
7121
|
+
model = models.DescribeInstancesRequest()
|
7070
7122
|
model.from_json_string(json.dumps(args))
|
7071
7123
|
start_time = time.time()
|
7072
7124
|
while True:
|
7073
|
-
rsp = client.
|
7125
|
+
rsp = client.DescribeInstances(model)
|
7074
7126
|
result = rsp.to_json_string()
|
7075
7127
|
try:
|
7076
7128
|
json_obj = json.loads(result)
|
@@ -7750,6 +7802,7 @@ ACTION_MAP = {
|
|
7750
7802
|
"ActivateInstance": doActivateInstance,
|
7751
7803
|
"DescribeProxyNodes": doDescribeProxyNodes,
|
7752
7804
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
7805
|
+
"OpenReadOnlyInstanceExclusiveAccess": doOpenReadOnlyInstanceExclusiveAccess,
|
7753
7806
|
"ExportInstanceSlowQueries": doExportInstanceSlowQueries,
|
7754
7807
|
"DeleteCLSDelivery": doDeleteCLSDelivery,
|
7755
7808
|
"DescribeChangedParamsAfterUpgrade": doDescribeChangedParamsAfterUpgrade,
|
@@ -7828,7 +7881,7 @@ ACTION_MAP = {
|
|
7828
7881
|
"InquirePriceRenew": doInquirePriceRenew,
|
7829
7882
|
"StartCLSDelivery": doStartCLSDelivery,
|
7830
7883
|
"ReloadBalanceProxyNode": doReloadBalanceProxyNode,
|
7831
|
-
"
|
7884
|
+
"DescribeIsolatedInstances": doDescribeIsolatedInstances,
|
7832
7885
|
"ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
|
7833
7886
|
"StopCLSDelivery": doStopCLSDelivery,
|
7834
7887
|
"DescribeBackupList": doDescribeBackupList,
|
@@ -7840,7 +7893,7 @@ ACTION_MAP = {
|
|
7840
7893
|
"DescribeAuditRuleTemplates": doDescribeAuditRuleTemplates,
|
7841
7894
|
"DescribeResourcePackageDetail": doDescribeResourcePackageDetail,
|
7842
7895
|
"ModifyBackupConfig": doModifyBackupConfig,
|
7843
|
-
"
|
7896
|
+
"OfflineCluster": doOfflineCluster,
|
7844
7897
|
"DescribeParamTemplateDetail": doDescribeParamTemplateDetail,
|
7845
7898
|
"UpgradeClusterVersion": doUpgradeClusterVersion,
|
7846
7899
|
"SearchClusterDatabases": doSearchClusterDatabases,
|
@@ -7859,7 +7912,7 @@ ACTION_MAP = {
|
|
7859
7912
|
"CreateCLSDelivery": doCreateCLSDelivery,
|
7860
7913
|
"ModifyBinlogSaveDays": doModifyBinlogSaveDays,
|
7861
7914
|
"DescribeAccountAllGrantPrivileges": doDescribeAccountAllGrantPrivileges,
|
7862
|
-
"
|
7915
|
+
"DescribeInstances": doDescribeInstances,
|
7863
7916
|
"DescribeClusterPasswordComplexity": doDescribeClusterPasswordComplexity,
|
7864
7917
|
"DeleteParamTemplate": doDeleteParamTemplate,
|
7865
7918
|
"UpgradeInstance": doUpgradeInstance,
|
@@ -434,6 +434,13 @@
|
|
434
434
|
"output": "DescribeInstancesResponse",
|
435
435
|
"status": "online"
|
436
436
|
},
|
437
|
+
"DescribeIsolatedInstances": {
|
438
|
+
"document": "本接口(DescribeIsolatedInstances)用于查询回收站实例列表。",
|
439
|
+
"input": "DescribeIsolatedInstancesRequest",
|
440
|
+
"name": "查询回收站实例列表",
|
441
|
+
"output": "DescribeIsolatedInstancesResponse",
|
442
|
+
"status": "online"
|
443
|
+
},
|
437
444
|
"DescribeMaintainPeriod": {
|
438
445
|
"document": "查询实例维护时间窗",
|
439
446
|
"input": "DescribeMaintainPeriodRequest",
|
@@ -10436,6 +10443,98 @@
|
|
10436
10443
|
],
|
10437
10444
|
"type": "object"
|
10438
10445
|
},
|
10446
|
+
"DescribeIsolatedInstancesRequest": {
|
10447
|
+
"document": "DescribeIsolatedInstances请求参数结构体",
|
10448
|
+
"members": [
|
10449
|
+
{
|
10450
|
+
"disabled": false,
|
10451
|
+
"document": "返回数量,默认为 20,最大值为 100",
|
10452
|
+
"example": "20",
|
10453
|
+
"member": "int64",
|
10454
|
+
"name": "Limit",
|
10455
|
+
"required": false,
|
10456
|
+
"type": "int"
|
10457
|
+
},
|
10458
|
+
{
|
10459
|
+
"disabled": false,
|
10460
|
+
"document": "记录偏移量,默认值为0",
|
10461
|
+
"example": "0",
|
10462
|
+
"member": "int64",
|
10463
|
+
"name": "Offset",
|
10464
|
+
"required": false,
|
10465
|
+
"type": "int"
|
10466
|
+
},
|
10467
|
+
{
|
10468
|
+
"disabled": false,
|
10469
|
+
"document": "排序字段,取值范围:\n<li> CREATETIME:创建时间</li>\n<li> PERIODENDTIME:过期时间</li>",
|
10470
|
+
"example": "CREATETIME",
|
10471
|
+
"member": "string",
|
10472
|
+
"name": "OrderBy",
|
10473
|
+
"required": false,
|
10474
|
+
"type": "string"
|
10475
|
+
},
|
10476
|
+
{
|
10477
|
+
"disabled": false,
|
10478
|
+
"document": "排序类型,取值范围:\n<li> ASC:升序排序 </li>\n<li> DESC:降序排序 </li>",
|
10479
|
+
"example": "ASC",
|
10480
|
+
"member": "string",
|
10481
|
+
"name": "OrderByType",
|
10482
|
+
"required": false,
|
10483
|
+
"type": "string"
|
10484
|
+
},
|
10485
|
+
{
|
10486
|
+
"disabled": false,
|
10487
|
+
"document": "搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。",
|
10488
|
+
"example": "无",
|
10489
|
+
"member": "QueryFilter",
|
10490
|
+
"name": "Filters",
|
10491
|
+
"required": false,
|
10492
|
+
"type": "list"
|
10493
|
+
},
|
10494
|
+
{
|
10495
|
+
"disabled": false,
|
10496
|
+
"document": "引擎类型:目前支持“MYSQL”, “POSTGRESQL”",
|
10497
|
+
"example": "MYSQL",
|
10498
|
+
"member": "string",
|
10499
|
+
"name": "DbType",
|
10500
|
+
"required": false,
|
10501
|
+
"type": "string"
|
10502
|
+
}
|
10503
|
+
],
|
10504
|
+
"type": "object"
|
10505
|
+
},
|
10506
|
+
"DescribeIsolatedInstancesResponse": {
|
10507
|
+
"document": "DescribeIsolatedInstances返回参数结构体",
|
10508
|
+
"members": [
|
10509
|
+
{
|
10510
|
+
"disabled": false,
|
10511
|
+
"document": "实例个数",
|
10512
|
+
"example": "1",
|
10513
|
+
"member": "int64",
|
10514
|
+
"name": "TotalCount",
|
10515
|
+
"output_required": true,
|
10516
|
+
"type": "int",
|
10517
|
+
"value_allowed_null": false
|
10518
|
+
},
|
10519
|
+
{
|
10520
|
+
"disabled": false,
|
10521
|
+
"document": "实例列表",
|
10522
|
+
"example": "无",
|
10523
|
+
"member": "CynosdbInstance",
|
10524
|
+
"name": "InstanceSet",
|
10525
|
+
"output_required": true,
|
10526
|
+
"type": "list",
|
10527
|
+
"value_allowed_null": false
|
10528
|
+
},
|
10529
|
+
{
|
10530
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10531
|
+
"member": "string",
|
10532
|
+
"name": "RequestId",
|
10533
|
+
"type": "string"
|
10534
|
+
}
|
10535
|
+
],
|
10536
|
+
"type": "object"
|
10537
|
+
},
|
10439
10538
|
"DescribeMaintainPeriodRequest": {
|
10440
10539
|
"document": "DescribeMaintainPeriod请求参数结构体",
|
10441
10540
|
"members": [
|
@@ -514,6 +514,14 @@
|
|
514
514
|
"title": "查询实例列表"
|
515
515
|
}
|
516
516
|
],
|
517
|
+
"DescribeIsolatedInstances": [
|
518
|
+
{
|
519
|
+
"document": "",
|
520
|
+
"input": "https://cynosdb.tencentcloudapi.com/?Action=DescribeIsolatedInstances\n&Limit=20\n&Offset=0\n&Filters.0.Names.0=InstanceId\n&Filters.0.Values.0=cynosdbpg-ins-bzkxxrmt\n&DbType=MYSQL\n&<公共请求参数>",
|
521
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceSet\": [\n {\n \"Uin\": \"abc\",\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"ProjectId\": 0,\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"DbMode\": \"abc\",\n \"DbType\": \"abc\",\n \"DbVersion\": \"abc\",\n \"Cpu\": 0,\n \"Memory\": 0,\n \"Storage\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceRole\": \"abc\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"abc\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\",\n \"DestroyTime\": \"abc\",\n \"CynosVersion\": \"abc\",\n \"ProcessingTask\": \"abc\",\n \"RenewFlag\": 0,\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"ServerlessStatus\": \"abc\",\n \"StorageId\": \"abc\",\n \"StoragePayMode\": 0,\n \"PhysicalZone\": \"abc\",\n \"BusinessType\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"IsFreeze\": \"abc\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"MasterZone\": \"abc\",\n \"SlaveZones\": [\n \"abc\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"NetType\": 0,\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"PackageId\": \"abc\",\n \"PackageType\": \"abc\",\n \"DeductionPriority\": 0\n }\n ],\n \"InstanceIndexMode\": \"abc\",\n \"InstanceAbility\": {\n \"IsSupportForceRestart\": \"abc\",\n \"NonsupportForceRestartReason\": \"abc\"\n },\n \"DeviceType\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
522
|
+
"title": "查询回收站实例列表"
|
523
|
+
}
|
524
|
+
],
|
517
525
|
"DescribeMaintainPeriod": [
|
518
526
|
{
|
519
527
|
"document": "",
|