tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +48 -24
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +21 -3
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +389 -379
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +130 -58
- tccli/services/dlc/v20210125/examples.json +5 -5
- tccli/services/domain/v20180808/api.json +160 -160
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +19 -19
- tccli/services/dts/v20211206/api.json +829 -818
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +13 -3
- tccli/services/es/v20180416/examples.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +10 -10
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +1220 -5
- tccli/services/wedata/v20210820/examples.json +32 -8
- tccli/services/wedata/wedata_client.py +159 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"CreateKnowledgeSet": [
|
4
4
|
{
|
5
5
|
"document": "创建微搭知识库",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"the_name\",\n \"Title\": \"the_title\",\n \"Desc\": \"the_desc\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
8
8
|
"title": "创建知识库"
|
9
9
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"DeleteKnowledgeSet": [
|
20
20
|
{
|
21
21
|
"document": "用于删除知识库",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"name\"\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
24
24
|
"title": "删除知识库"
|
25
25
|
}
|
@@ -52,7 +52,7 @@
|
|
52
52
|
{
|
53
53
|
"document": "查询环境下的知识库列表",
|
54
54
|
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKnowledgeSetList\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxxx\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"KnowledgeSets\": [\n {\n \"Name\": \"
|
55
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"KnowledgeSets\": [\n {\n \"Name\": \"name\",\n \"Title\": \"title\",\n \"Desc\": \"desc\",\n \"Active\": \"ENABLED\",\n \"CreateTime\": \"2024-06-04 18:07:38\",\n \"UpdateTime\": \"2024-06-04 18:09:29\"\n }\n ],\n \"Total\": 1\n },\n \"RequestId\": \"f549082e-0cff-4026-96f6-a570d9f1c22d\"\n }\n}",
|
56
56
|
"title": "查询环境下的知识库列表"
|
57
57
|
}
|
58
58
|
],
|
@@ -60,14 +60,14 @@
|
|
60
60
|
{
|
61
61
|
"document": "根据关键字搜索知识库文档",
|
62
62
|
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchDocList\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-1\",\n \"CollectionView\": \"view\",\n \"SearchKey\": \"key\",\n \"SearchValue\": \"value\",\n \"PageNo\": 1,\n \"PageSize\": 1\n}",
|
63
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DocInfos\": [\n {\n \"CollectionViewName\": \"name\",\n \"DocSetId\": \"00-11\",\n \"DocSetName\": \"abc.md\",\n \"DocType\": \".md\",\n \"FileTitle\": \"title\",\n \"FileMetaData\": \"{\\\"key\\\":\\\"value\\\"}\",\n \"DocDesc\": \"
|
63
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DocInfos\": [\n {\n \"CollectionViewName\": \"name\",\n \"DocSetId\": \"00-11\",\n \"DocSetName\": \"abc.md\",\n \"DocType\": \".md\",\n \"FileTitle\": \"title\",\n \"FileMetaData\": \"{\\\"key\\\":\\\"value\\\"}\",\n \"DocDesc\": \"desc\",\n \"FileSize\": 0\n }\n ],\n \"Total\": 10\n },\n \"RequestId\": \"1cc82948-244f-4812-bb2a-25a8a473d312\"\n }\n}",
|
64
64
|
"title": "知识库文档搜索接口"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"UpdateKnowledgeSet": [
|
68
68
|
{
|
69
69
|
"document": "更新知识库状态",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxx\",\n \"Name\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxx\",\n \"Name\": \"name\",\n \"Active\": \"ENABLED\"\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
72
72
|
"title": "更新知识库"
|
73
73
|
}
|
@@ -3596,6 +3596,16 @@
|
|
3596
3596
|
"type": "int",
|
3597
3597
|
"value_allowed_null": false
|
3598
3598
|
},
|
3599
|
+
{
|
3600
|
+
"disabled": false,
|
3601
|
+
"document": "文件下载链接路径前缀",
|
3602
|
+
"example": "http://newdtsdev-1301792469.cos.ap-guangzhou.myqcloud.com",
|
3603
|
+
"member": "string",
|
3604
|
+
"name": "UrlPrefix",
|
3605
|
+
"output_required": true,
|
3606
|
+
"type": "string",
|
3607
|
+
"value_allowed_null": false
|
3608
|
+
},
|
3599
3609
|
{
|
3600
3610
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3601
3611
|
"member": "string",
|
@@ -3676,7 +3686,7 @@
|
|
3676
3686
|
"example": "2019-04-06 00:31:10",
|
3677
3687
|
"member": "string",
|
3678
3688
|
"name": "StartTime",
|
3679
|
-
"
|
3689
|
+
"output_required": true,
|
3680
3690
|
"type": "string",
|
3681
3691
|
"value_allowed_null": false
|
3682
3692
|
},
|
@@ -3686,7 +3696,7 @@
|
|
3686
3696
|
"example": "2019-04-06 14:31:56",
|
3687
3697
|
"member": "string",
|
3688
3698
|
"name": "EndTime",
|
3689
|
-
"
|
3699
|
+
"output_required": true,
|
3690
3700
|
"type": "string",
|
3691
3701
|
"value_allowed_null": false
|
3692
3702
|
},
|
@@ -122,10 +122,10 @@
|
|
122
122
|
],
|
123
123
|
"DescribeBackupFiles": [
|
124
124
|
{
|
125
|
-
"document": "",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupFiles\n<公共请求参数>\n\n{}",
|
127
|
-
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"
|
128
|
-
"title": "
|
125
|
+
"document": "该接口用于获取实例的备份列表",
|
126
|
+
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupFiles\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-02badqa3\",\n \"BackupType\": \"Data\",\n \"Limit\": 20,\n \"Offset\": 0\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2024-12-20 16:29:07\",\n \"FileName\": \"cos_xtrabackup+1734683337+20241220+162857+1507806831+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1734680376_202786203/xtrabackup/2024-12-20/cos_xtrabackup+1734683337+20241220+162857+1507806831+xbstream.lz4\",\n \"FileSize\": 13930740,\n \"InstanceId\": \"tdsql-02badqa3\",\n \"InstanceName\": \"QT4syxfv8.0\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2024-12-20 16:28:57\",\n \"StorageClass\": \"STANDARD\"\n }\n ],\n \"RequestId\": \"549454bd-65ac-4507-8f75-65609c357328\",\n \"TotalCount\": 1,\n \"UrlPrefix\": \"http://newdtsdev-1301792469.cos.ap-guangzhou.myqcloud.com\"\n }\n}",
|
128
|
+
"title": "获取实例备份列表"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"DescribeBackupTime": [
|
@@ -1215,6 +1215,58 @@ def doCreateAccountUser(args, parsed_globals):
|
|
1215
1215
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1216
1216
|
|
1217
1217
|
|
1218
|
+
def doOfflineIsolatedDBInstance(args, parsed_globals):
|
1219
|
+
g_param = parse_global_arg(parsed_globals)
|
1220
|
+
|
1221
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1222
|
+
cred = credential.CVMRoleCredential()
|
1223
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1224
|
+
cred = credential.STSAssumeRoleCredential(
|
1225
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1226
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1227
|
+
)
|
1228
|
+
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):
|
1229
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1230
|
+
else:
|
1231
|
+
cred = credential.Credential(
|
1232
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1233
|
+
)
|
1234
|
+
http_profile = HttpProfile(
|
1235
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1236
|
+
reqMethod="POST",
|
1237
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1238
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1239
|
+
)
|
1240
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1241
|
+
if g_param[OptionsDefine.Language]:
|
1242
|
+
profile.language = g_param[OptionsDefine.Language]
|
1243
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1244
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1245
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1246
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1247
|
+
model = models.OfflineIsolatedDBInstanceRequest()
|
1248
|
+
model.from_json_string(json.dumps(args))
|
1249
|
+
start_time = time.time()
|
1250
|
+
while True:
|
1251
|
+
rsp = client.OfflineIsolatedDBInstance(model)
|
1252
|
+
result = rsp.to_json_string()
|
1253
|
+
try:
|
1254
|
+
json_obj = json.loads(result)
|
1255
|
+
except TypeError as e:
|
1256
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1257
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1258
|
+
break
|
1259
|
+
cur_time = time.time()
|
1260
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1261
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1262
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1263
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1264
|
+
else:
|
1265
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1266
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1267
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1268
|
+
|
1269
|
+
|
1218
1270
|
def doModifyDBInstanceParamTpl(args, parsed_globals):
|
1219
1271
|
g_param = parse_global_arg(parsed_globals)
|
1220
1272
|
|
@@ -1735,7 +1787,7 @@ def doDescribeDBInstances(args, parsed_globals):
|
|
1735
1787
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1736
1788
|
|
1737
1789
|
|
1738
|
-
def
|
1790
|
+
def doDescribeDBInstanceNamespace(args, parsed_globals):
|
1739
1791
|
g_param = parse_global_arg(parsed_globals)
|
1740
1792
|
|
1741
1793
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1764,11 +1816,11 @@ def doOfflineIsolatedDBInstance(args, parsed_globals):
|
|
1764
1816
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1765
1817
|
client._sdkVersion += ("_CLI_" + __version__)
|
1766
1818
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1767
|
-
model = models.
|
1819
|
+
model = models.DescribeDBInstanceNamespaceRequest()
|
1768
1820
|
model.from_json_string(json.dumps(args))
|
1769
1821
|
start_time = time.time()
|
1770
1822
|
while True:
|
1771
|
-
rsp = client.
|
1823
|
+
rsp = client.DescribeDBInstanceNamespace(model)
|
1772
1824
|
result = rsp.to_json_string()
|
1773
1825
|
try:
|
1774
1826
|
json_obj = json.loads(result)
|
@@ -2967,6 +3019,7 @@ ACTION_MAP = {
|
|
2967
3019
|
"RenameInstance": doRenameInstance,
|
2968
3020
|
"DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
|
2969
3021
|
"CreateAccountUser": doCreateAccountUser,
|
3022
|
+
"OfflineIsolatedDBInstance": doOfflineIsolatedDBInstance,
|
2970
3023
|
"ModifyDBInstanceParamTpl": doModifyDBInstanceParamTpl,
|
2971
3024
|
"CreateDBInstanceHour": doCreateDBInstanceHour,
|
2972
3025
|
"CreateDBInstanceParamTpl": doCreateDBInstanceParamTpl,
|
@@ -2977,7 +3030,7 @@ ACTION_MAP = {
|
|
2977
3030
|
"UpgradeDBInstanceHour": doUpgradeDBInstanceHour,
|
2978
3031
|
"FlashBackDBInstance": doFlashBackDBInstance,
|
2979
3032
|
"DescribeDBInstances": doDescribeDBInstances,
|
2980
|
-
"
|
3033
|
+
"DescribeDBInstanceNamespace": doDescribeDBInstanceNamespace,
|
2981
3034
|
"DescribeSlowLogPatterns": doDescribeSlowLogPatterns,
|
2982
3035
|
"DescribeSlowLogs": doDescribeSlowLogs,
|
2983
3036
|
"ModifyDBInstanceNetworkAddress": doModifyDBInstanceNetworkAddress,
|
@@ -112,6 +112,13 @@
|
|
112
112
|
"output": "DescribeDBInstanceDealResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
|
+
"DescribeDBInstanceNamespace": {
|
116
|
+
"document": "本接口(DescribeDBInstanceNamespace)用于查询数据库的表信息。",
|
117
|
+
"input": "DescribeDBInstanceNamespaceRequest",
|
118
|
+
"name": "查询实例的库表。",
|
119
|
+
"output": "DescribeDBInstanceNamespaceResponse",
|
120
|
+
"status": "online"
|
121
|
+
},
|
115
122
|
"DescribeDBInstanceNodeProperty": {
|
116
123
|
"document": "本接口用于查询节点的属性,包括节点所在可用区、节点名称、地址、角色、状态、主从延迟、优先级、投票权、标签等属性。",
|
117
124
|
"input": "DescribeDBInstanceNodePropertyRequest",
|
@@ -2473,6 +2480,62 @@
|
|
2473
2480
|
],
|
2474
2481
|
"type": "object"
|
2475
2482
|
},
|
2483
|
+
"DescribeDBInstanceNamespaceRequest": {
|
2484
|
+
"document": "DescribeDBInstanceNamespace请求参数结构体",
|
2485
|
+
"members": [
|
2486
|
+
{
|
2487
|
+
"disabled": false,
|
2488
|
+
"document": "指定查询数据库所属的实例 ID,支持批量查询。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。",
|
2489
|
+
"example": "\"cmgo-j0i*****\"",
|
2490
|
+
"member": "string",
|
2491
|
+
"name": "InstanceId",
|
2492
|
+
"required": true,
|
2493
|
+
"type": "string"
|
2494
|
+
},
|
2495
|
+
{
|
2496
|
+
"disabled": false,
|
2497
|
+
"document": "指定查询的数据库名。为空时,返回当前实例的全部数据库列表。",
|
2498
|
+
"example": "dba",
|
2499
|
+
"member": "string",
|
2500
|
+
"name": "DbName",
|
2501
|
+
"required": false,
|
2502
|
+
"type": "string"
|
2503
|
+
}
|
2504
|
+
],
|
2505
|
+
"type": "object"
|
2506
|
+
},
|
2507
|
+
"DescribeDBInstanceNamespaceResponse": {
|
2508
|
+
"document": "DescribeDBInstanceNamespace返回参数结构体",
|
2509
|
+
"members": [
|
2510
|
+
{
|
2511
|
+
"disabled": false,
|
2512
|
+
"document": "查询实例的数据库列表。若未使用 DbName 指定具体查询的数据库,则仅返回查询实例所有的数据库列表,而不返回 Collections 集合信息。",
|
2513
|
+
"example": "['db-a','db-b']",
|
2514
|
+
"member": "string",
|
2515
|
+
"name": "Databases",
|
2516
|
+
"output_required": false,
|
2517
|
+
"type": "list",
|
2518
|
+
"value_allowed_null": false
|
2519
|
+
},
|
2520
|
+
{
|
2521
|
+
"disabled": false,
|
2522
|
+
"document": "查询的集合信息。指定 DbName 时,则仅返回该数据库下的集合列表。",
|
2523
|
+
"example": "['col-1','col-2',]",
|
2524
|
+
"member": "string",
|
2525
|
+
"name": "Collections",
|
2526
|
+
"output_required": false,
|
2527
|
+
"type": "list",
|
2528
|
+
"value_allowed_null": false
|
2529
|
+
},
|
2530
|
+
{
|
2531
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2532
|
+
"member": "string",
|
2533
|
+
"name": "RequestId",
|
2534
|
+
"type": "string"
|
2535
|
+
}
|
2536
|
+
],
|
2537
|
+
"type": "object"
|
2538
|
+
},
|
2476
2539
|
"DescribeDBInstanceNodePropertyRequest": {
|
2477
2540
|
"document": "DescribeDBInstanceNodeProperty请求参数结构体",
|
2478
2541
|
"members": [
|
@@ -128,6 +128,20 @@
|
|
128
128
|
"title": "查询订单详情"
|
129
129
|
}
|
130
130
|
],
|
131
|
+
"DescribeDBInstanceNamespace": [
|
132
|
+
{
|
133
|
+
"document": "输入参数 DbName 为空时,查看当前实例全部数据库列表。",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNamespace\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-qny2****\"\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"Databases\": [\n \"demo_db7\",\n \"demo_db8\",\n \"demo_db9\"\n ],\n \"RequestId\": \"18cfe2bf-6934-4f17-a089-8d2e5d6cfc53\"\n }\n}",
|
136
|
+
"title": "查询当前实例的DB列表。"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"document": "指定 DbName,查询该数据库下的所有集合信息。",
|
140
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNamespace\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-qny2****\",\n \"DbName\": \"demo_db0\"\n}",
|
141
|
+
"output": "{\n \"Response\": {\n \"Collections\": [\n \"col148\",\n \"col108\",\n \"col120\"\n ],\n \"RequestId\": \"21b503b5-6606-4efb-b250-63071c2fe565\"\n }\n}",
|
142
|
+
"title": "查询指定 DB 下的所有集合"
|
143
|
+
}
|
144
|
+
],
|
131
145
|
"DescribeDBInstanceNodeProperty": [
|
132
146
|
{
|
133
147
|
"document": "查询实例节点详细属性",
|
@@ -2426,7 +2426,7 @@
|
|
2426
2426
|
"example": "CPU使用率",
|
2427
2427
|
"member": "string",
|
2428
2428
|
"name": "Description",
|
2429
|
-
"output_required":
|
2429
|
+
"output_required": false,
|
2430
2430
|
"required": false,
|
2431
2431
|
"type": "string",
|
2432
2432
|
"value_allowed_null": true
|
@@ -2437,7 +2437,7 @@
|
|
2437
2437
|
"example": "%",
|
2438
2438
|
"member": "string",
|
2439
2439
|
"name": "Unit",
|
2440
|
-
"output_required":
|
2440
|
+
"output_required": false,
|
2441
2441
|
"required": false,
|
2442
2442
|
"type": "string",
|
2443
2443
|
"value_allowed_null": true
|
@@ -2459,7 +2459,7 @@
|
|
2459
2459
|
"example": "0",
|
2460
2460
|
"member": "int64",
|
2461
2461
|
"name": "IsAdvanced",
|
2462
|
-
"output_required":
|
2462
|
+
"output_required": false,
|
2463
2463
|
"required": false,
|
2464
2464
|
"type": "int",
|
2465
2465
|
"value_allowed_null": true
|
@@ -2470,7 +2470,7 @@
|
|
2470
2470
|
"example": "0",
|
2471
2471
|
"member": "int64",
|
2472
2472
|
"name": "IsOpen",
|
2473
|
-
"output_required":
|
2473
|
+
"output_required": false,
|
2474
2474
|
"required": false,
|
2475
2475
|
"type": "int",
|
2476
2476
|
"value_allowed_null": true
|
@@ -2481,7 +2481,7 @@
|
|
2481
2481
|
"example": "cvm",
|
2482
2482
|
"member": "string",
|
2483
2483
|
"name": "ProductId",
|
2484
|
-
"output_required":
|
2484
|
+
"output_required": false,
|
2485
2485
|
"required": false,
|
2486
2486
|
"type": "string",
|
2487
2487
|
"value_allowed_null": true
|
@@ -2492,7 +2492,7 @@
|
|
2492
2492
|
"example": "0",
|
2493
2493
|
"member": "float",
|
2494
2494
|
"name": "ValueMax",
|
2495
|
-
"output_required":
|
2495
|
+
"output_required": false,
|
2496
2496
|
"required": false,
|
2497
2497
|
"type": "float",
|
2498
2498
|
"value_allowed_null": true
|
@@ -2503,7 +2503,7 @@
|
|
2503
2503
|
"example": "0",
|
2504
2504
|
"member": "float",
|
2505
2505
|
"name": "ValueMin",
|
2506
|
-
"output_required":
|
2506
|
+
"output_required": false,
|
2507
2507
|
"required": false,
|
2508
2508
|
"type": "float",
|
2509
2509
|
"value_allowed_null": true
|
@@ -2525,7 +2525,7 @@
|
|
2525
2525
|
"example": "1",
|
2526
2526
|
"member": "int64",
|
2527
2527
|
"name": "IsLatenessMetric",
|
2528
|
-
"output_required":
|
2528
|
+
"output_required": false,
|
2529
2529
|
"required": false,
|
2530
2530
|
"type": "int",
|
2531
2531
|
"value_allowed_null": true
|
@@ -3420,7 +3420,7 @@
|
|
3420
3420
|
{
|
3421
3421
|
"disabled": false,
|
3422
3422
|
"document": "触发条件模板 Id,该参数与 Condition 参数二选一。如果策略绑定触发条件模板,则传该参数;否则不传该参数,而是传 Condition 参数。触发条件模板 Id 可以从 [DescribeConditionsTemplateList](https://cloud.tencent.com/document/api/248/70250) 接口获取。",
|
3423
|
-
"example": "
|
3423
|
+
"example": "9674169",
|
3424
3424
|
"member": "int64",
|
3425
3425
|
"name": "ConditionTemplateId",
|
3426
3426
|
"required": false,
|
@@ -3528,7 +3528,7 @@
|
|
3528
3528
|
{
|
3529
3529
|
"disabled": false,
|
3530
3530
|
"document": "附加告警内容",
|
3531
|
-
"example": "
|
3531
|
+
"example": "1 AND 2",
|
3532
3532
|
"member": "string",
|
3533
3533
|
"name": "AdditionalAlarmContent",
|
3534
3534
|
"required": false,
|
@@ -3710,7 +3710,7 @@
|
|
3710
3710
|
{
|
3711
3711
|
"disabled": false,
|
3712
3712
|
"document": "屏蔽规则的描述",
|
3713
|
-
"example": "
|
3713
|
+
"example": "实例下线,告警策略不再需要",
|
3714
3714
|
"member": "string",
|
3715
3715
|
"name": "Description",
|
3716
3716
|
"required": false,
|
@@ -4074,7 +4074,7 @@
|
|
4074
4074
|
{
|
4075
4075
|
"disabled": false,
|
4076
4076
|
"document": "集成配置",
|
4077
|
-
"example": "[]",
|
4077
|
+
"example": "{\\\"kind\\\":\\\"tencent-cloud-kong\\\",\\\"spec\\\":{\\\"dataSourceSpec\\\":{\\\"name\\\":\\\"prometheus-kong\\\",\\\"url\\\":\\\"http://10.0.0.0:9090/\\\",\\\"user\\\":\\\"user\\\",\\\"password\\\":\\\"password\\\",\\\"labels\\\":{\\\"label\\\":\\\"test\\\"}},\\\"grafanaSpec\\\":{\\\"organizationIds\\\":[\\\"2\\\"]}}}",
|
4078
4078
|
"member": "string",
|
4079
4079
|
"name": "Content",
|
4080
4080
|
"required": true,
|
@@ -4129,7 +4129,7 @@
|
|
4129
4129
|
{
|
4130
4130
|
"disabled": false,
|
4131
4131
|
"document": "接受告警通道 ID 数组,值为告警管理/基础配置/通知模板中的模板 ID ",
|
4132
|
-
"example": "[]",
|
4132
|
+
"example": "[“notice-7k7q3qzr”]",
|
4133
4133
|
"member": "string",
|
4134
4134
|
"name": "Receivers",
|
4135
4135
|
"required": true,
|
@@ -4147,7 +4147,7 @@
|
|
4147
4147
|
{
|
4148
4148
|
"disabled": false,
|
4149
4149
|
"document": "额外组织 ID 数组,已废弃,请使用 OrganizationIds",
|
4150
|
-
"example": "[]",
|
4150
|
+
"example": "[“out_field”]",
|
4151
4151
|
"member": "string",
|
4152
4152
|
"name": "ExtraOrgIds",
|
4153
4153
|
"required": false,
|
@@ -4156,7 +4156,7 @@
|
|
4156
4156
|
{
|
4157
4157
|
"disabled": false,
|
4158
4158
|
"document": "生效的所有组织 ID 数组,默认为 [\"1\"]",
|
4159
|
-
"example": "[\"
|
4159
|
+
"example": "[\"111324\"]",
|
4160
4160
|
"member": "string",
|
4161
4161
|
"name": "OrganizationIds",
|
4162
4162
|
"required": false,
|
@@ -4361,7 +4361,7 @@
|
|
4361
4361
|
{
|
4362
4362
|
"disabled": false,
|
4363
4363
|
"document": "模板策略组Id, 通过模板创建时才需要传",
|
4364
|
-
"example": "
|
4364
|
+
"example": "15500623",
|
4365
4365
|
"member": "int64",
|
4366
4366
|
"name": "ConditionTempGroupId",
|
4367
4367
|
"required": false,
|
@@ -4442,7 +4442,7 @@
|
|
4442
4442
|
"example": "1288099",
|
4443
4443
|
"member": "int64",
|
4444
4444
|
"name": "GroupId",
|
4445
|
-
"
|
4445
|
+
"output_required": true,
|
4446
4446
|
"type": "int",
|
4447
4447
|
"value_allowed_null": false
|
4448
4448
|
},
|
@@ -6451,7 +6451,7 @@
|
|
6451
6451
|
{
|
6452
6452
|
"disabled": false,
|
6453
6453
|
"document": "根据项目ID过滤,-1=无项目 0=默认项目\n可在此页面查询 [项目管理](https://console.cloud.tencent.com/project)",
|
6454
|
-
"example": "
|
6454
|
+
"example": "[130034]",
|
6455
6455
|
"member": "int64",
|
6456
6456
|
"name": "ProjectIds",
|
6457
6457
|
"required": false,
|
@@ -6460,7 +6460,7 @@
|
|
6460
6460
|
{
|
6461
6461
|
"disabled": false,
|
6462
6462
|
"document": "根据实例组ID过滤",
|
6463
|
-
"example": "
|
6463
|
+
"example": "[1217862]",
|
6464
6464
|
"member": "int64",
|
6465
6465
|
"name": "InstanceGroupIds",
|
6466
6466
|
"required": false,
|
@@ -6487,7 +6487,7 @@
|
|
6487
6487
|
{
|
6488
6488
|
"disabled": false,
|
6489
6489
|
"document": "根据策略名称模糊搜索,不支持大小写区分",
|
6490
|
-
"example": "
|
6490
|
+
"example": "\"系统预设通知模板\"",
|
6491
6491
|
"member": "string",
|
6492
6492
|
"name": "PolicyName",
|
6493
6493
|
"required": false,
|
@@ -6496,7 +6496,7 @@
|
|
6496
6496
|
{
|
6497
6497
|
"disabled": false,
|
6498
6498
|
"document": "根据告警内容模糊搜索",
|
6499
|
-
"example": "
|
6499
|
+
"example": "CPU利用率",
|
6500
6500
|
"member": "string",
|
6501
6501
|
"name": "Content",
|
6502
6502
|
"required": false,
|
@@ -6505,7 +6505,7 @@
|
|
6505
6505
|
{
|
6506
6506
|
"disabled": false,
|
6507
6507
|
"document": "根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段",
|
6508
|
-
"example": "
|
6508
|
+
"example": "[11053412,16090421]",
|
6509
6509
|
"member": "int64",
|
6510
6510
|
"name": "ReceiverUids",
|
6511
6511
|
"required": false,
|
@@ -6514,7 +6514,7 @@
|
|
6514
6514
|
{
|
6515
6515
|
"disabled": false,
|
6516
6516
|
"document": "根据接收组搜索,可以使用“访问管理”的 [查询用户组列表 ListGroups](https://cloud.tencent.com/document/product/598/34589) 接口获取用户组列表 或 [列出用户关联的用户组 ListGroupsForUser](https://cloud.tencent.com/document/product/598/34588) 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 `GroupId ` 字段",
|
6517
|
-
"example": "
|
6517
|
+
"example": "[143785,144016]",
|
6518
6518
|
"member": "int64",
|
6519
6519
|
"name": "ReceiverGroups",
|
6520
6520
|
"required": false,
|
@@ -6523,7 +6523,7 @@
|
|
6523
6523
|
{
|
6524
6524
|
"disabled": false,
|
6525
6525
|
"document": "根据告警策略 Id 列表搜索",
|
6526
|
-
"example": "policy-
|
6526
|
+
"example": "[policy-abtvedf]",
|
6527
6527
|
"member": "string",
|
6528
6528
|
"name": "PolicyIds",
|
6529
6529
|
"required": false,
|
@@ -10186,7 +10186,7 @@
|
|
10186
10186
|
{
|
10187
10187
|
"disabled": false,
|
10188
10188
|
"document": "策略组id",
|
10189
|
-
"example": "
|
10189
|
+
"example": "1247756",
|
10190
10190
|
"member": "int64",
|
10191
10191
|
"name": "GroupId",
|
10192
10192
|
"required": true,
|
@@ -10261,7 +10261,7 @@
|
|
10261
10261
|
{
|
10262
10262
|
"disabled": false,
|
10263
10263
|
"document": "最近编辑的用户uin",
|
10264
|
-
"example": "
|
10264
|
+
"example": "100040701662",
|
10265
10265
|
"member": "string",
|
10266
10266
|
"name": "LastEditUin",
|
10267
10267
|
"output_required": true,
|
@@ -10301,7 +10301,7 @@
|
|
10301
10301
|
{
|
10302
10302
|
"disabled": false,
|
10303
10303
|
"document": "阈值规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10304
|
-
"example": "
|
10304
|
+
"example": "无",
|
10305
10305
|
"member": "DescribePolicyGroupInfoCondition",
|
10306
10306
|
"name": "ConditionsConfig",
|
10307
10307
|
"output_required": true,
|
@@ -10311,7 +10311,7 @@
|
|
10311
10311
|
{
|
10312
10312
|
"disabled": false,
|
10313
10313
|
"document": "产品事件规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10314
|
-
"example": "
|
10314
|
+
"example": "无",
|
10315
10315
|
"member": "DescribePolicyGroupInfoEventCondition",
|
10316
10316
|
"name": "EventConfig",
|
10317
10317
|
"output_required": true,
|
@@ -10321,7 +10321,7 @@
|
|
10321
10321
|
{
|
10322
10322
|
"disabled": false,
|
10323
10323
|
"document": "用户接收人列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10324
|
-
"example": "
|
10324
|
+
"example": "无",
|
10325
10325
|
"member": "DescribePolicyGroupInfoReceiverInfo",
|
10326
10326
|
"name": "ReceiverInfos",
|
10327
10327
|
"output_required": true,
|
@@ -10331,7 +10331,7 @@
|
|
10331
10331
|
{
|
10332
10332
|
"disabled": false,
|
10333
10333
|
"document": "用户回调信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
10334
|
-
"example": "
|
10334
|
+
"example": "无",
|
10335
10335
|
"member": "DescribePolicyGroupInfoCallback",
|
10336
10336
|
"name": "Callback",
|
10337
10337
|
"output_required": true,
|
@@ -10341,7 +10341,7 @@
|
|
10341
10341
|
{
|
10342
10342
|
"disabled": false,
|
10343
10343
|
"document": "模板策略组\n注意:此字段可能返回 null,表示取不到有效值。",
|
10344
|
-
"example": "
|
10344
|
+
"example": "无",
|
10345
10345
|
"member": "DescribePolicyGroupInfoConditionTpl",
|
10346
10346
|
"name": "ConditionsTemp",
|
10347
10347
|
"output_required": true,
|
@@ -20633,7 +20633,7 @@
|
|
20633
20633
|
{
|
20634
20634
|
"disabled": false,
|
20635
20635
|
"document": "策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0",
|
20636
|
-
"example": "
|
20636
|
+
"example": "11106331",
|
20637
20637
|
"member": "int64",
|
20638
20638
|
"name": "GroupId",
|
20639
20639
|
"required": true,
|
@@ -21120,7 +21120,7 @@
|
|
21120
21120
|
{
|
21121
21121
|
"disabled": false,
|
21122
21122
|
"document": "JSON 序列化后的环境变量字符串,如 \"{\\\"key1\\\":\\\"key2\\\"}\"\n",
|
21123
|
-
"example": "{}",
|
21123
|
+
"example": "\"{\\\"key_1\\\":\\\"value_1\\\"}\"\t",
|
21124
21124
|
"member": "string",
|
21125
21125
|
"name": "Envs",
|
21126
21126
|
"required": true,
|
@@ -21219,7 +21219,7 @@
|
|
21219
21219
|
{
|
21220
21220
|
"disabled": false,
|
21221
21221
|
"document": "接受告警通道 ID 数组",
|
21222
|
-
"example": "[]",
|
21222
|
+
"example": "[“test-Receivers”]",
|
21223
21223
|
"member": "string",
|
21224
21224
|
"name": "Receivers",
|
21225
21225
|
"required": true,
|
@@ -21237,7 +21237,7 @@
|
|
21237
21237
|
{
|
21238
21238
|
"disabled": false,
|
21239
21239
|
"document": "已废弃,请使用 OrganizationIds",
|
21240
|
-
"example": "[]",
|
21240
|
+
"example": "[\"test-ExtraOrgIds\"]",
|
21241
21241
|
"member": "string",
|
21242
21242
|
"name": "ExtraOrgIds",
|
21243
21243
|
"required": false,
|
@@ -21653,7 +21653,7 @@
|
|
21653
21653
|
{
|
21654
21654
|
"disabled": false,
|
21655
21655
|
"document": "备注",
|
21656
|
-
"example": "
|
21656
|
+
"example": "授权该用户",
|
21657
21657
|
"member": "string",
|
21658
21658
|
"name": "Notes",
|
21659
21659
|
"required": false,
|