tccli 3.0.1309.1__py2.py3-none-any.whl → 3.0.1310.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/apm/v20210622/api.json +18 -0
- tccli/services/asr/v20190614/api.json +9 -0
- tccli/services/bh/v20230418/api.json +193 -2
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/cdb/cdb_client.py +0 -53
- tccli/services/cdb/v20170320/api.json +0 -64
- tccli/services/cdb/v20170320/examples.json +0 -8
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +11 -1
- tccli/services/cfw/v20190904/examples.json +2 -2
- tccli/services/dsgc/v20190723/api.json +28 -18
- tccli/services/dsgc/v20190723/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +102 -3
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +110 -2
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/gaap/gaap_client.py +12 -171
- tccli/services/gaap/v20180529/api.json +0 -325
- tccli/services/gaap/v20180529/examples.json +0 -24
- tccli/services/hunyuan/v20230901/api.json +7 -7
- tccli/services/iai/v20180301/api.json +12 -12
- tccli/services/iai/v20180301/examples.json +8 -2
- tccli/services/keewidb/v20220308/api.json +1 -1
- tccli/services/keewidb/v20220308/examples.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/postgres/v20170312/api.json +6 -6
- tccli/services/redis/v20180412/api.json +12 -12
- tccli/services/redis/v20180412/examples.json +4 -4
- tccli/services/tcbr/v20220217/api.json +94 -0
- tccli/services/tdmq/v20200217/api.json +4 -4
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +3 -3
- tccli/services/waf/v20180125/api.json +163 -28
- tccli/services/waf/v20180125/examples.json +6 -0
- tccli/services/wedata/v20210820/api.json +1419 -0
- tccli/services/wedata/v20210820/examples.json +57 -1
- tccli/services/wedata/wedata_client.py +371 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1310.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1310.1.dist-info}/RECORD +46 -46
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1310.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1310.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1310.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1310.1'
|
@@ -2318,6 +2318,24 @@
|
|
2318
2318
|
"name": "IsMemoryHijackingAnalysis",
|
2319
2319
|
"required": false,
|
2320
2320
|
"type": "int"
|
2321
|
+
},
|
2322
|
+
{
|
2323
|
+
"disabled": false,
|
2324
|
+
"document": "0=全文索引,1=键值索引",
|
2325
|
+
"example": "0",
|
2326
|
+
"member": "int64",
|
2327
|
+
"name": "LogIndexType",
|
2328
|
+
"required": false,
|
2329
|
+
"type": "int"
|
2330
|
+
},
|
2331
|
+
{
|
2332
|
+
"disabled": false,
|
2333
|
+
"document": "traceId的索引key",
|
2334
|
+
"example": "trace_id",
|
2335
|
+
"member": "string",
|
2336
|
+
"name": "LogTraceIdKey",
|
2337
|
+
"required": false,
|
2338
|
+
"type": "string"
|
2321
2339
|
}
|
2322
2340
|
],
|
2323
2341
|
"type": "object"
|
@@ -811,6 +811,15 @@
|
|
811
811
|
"name": "KeyWordLibIdList",
|
812
812
|
"required": false,
|
813
813
|
"type": "list"
|
814
|
+
},
|
815
|
+
{
|
816
|
+
"disabled": false,
|
817
|
+
"document": "替换词汇表id, 适用于热词和自学习场景也无法解决的极端case词组, 会对识别结果强制替换。具体可参考[配置控制台](https://console.cloud.tencent.com/asr/replaceword);强制替换功能可能会影响正常识别结果,请谨慎使用",
|
818
|
+
"example": "26910027******d9fa530f9f39dcd35d8",
|
819
|
+
"member": "string",
|
820
|
+
"name": "ReplaceTextId",
|
821
|
+
"required": false,
|
822
|
+
"type": "string"
|
814
823
|
}
|
815
824
|
],
|
816
825
|
"type": "object"
|
@@ -3504,6 +3504,51 @@
|
|
3504
3504
|
"name": "CdcClusterId",
|
3505
3505
|
"required": false,
|
3506
3506
|
"type": "string"
|
3507
|
+
},
|
3508
|
+
{
|
3509
|
+
"disabled": false,
|
3510
|
+
"document": "开通堡垒机指定共享的clbId",
|
3511
|
+
"example": "lb-xefesef",
|
3512
|
+
"member": "string",
|
3513
|
+
"name": "ShareClbId",
|
3514
|
+
"required": false,
|
3515
|
+
"type": "string"
|
3516
|
+
},
|
3517
|
+
{
|
3518
|
+
"disabled": false,
|
3519
|
+
"document": "0-关闭web访问堡垒机,1-开启web访问堡垒机",
|
3520
|
+
"example": "1",
|
3521
|
+
"member": "uint64",
|
3522
|
+
"name": "WebAccess",
|
3523
|
+
"required": false,
|
3524
|
+
"type": "int"
|
3525
|
+
},
|
3526
|
+
{
|
3527
|
+
"disabled": false,
|
3528
|
+
"document": "0-关闭客户端访问堡垒机,1-开启客户端访问堡垒机",
|
3529
|
+
"example": "1",
|
3530
|
+
"member": "uint64",
|
3531
|
+
"name": "ClientAccess",
|
3532
|
+
"required": false,
|
3533
|
+
"type": "int"
|
3534
|
+
},
|
3535
|
+
{
|
3536
|
+
"disabled": false,
|
3537
|
+
"document": "0-关闭内网访问堡垒机,1-开启内网访问堡垒机",
|
3538
|
+
"example": "0",
|
3539
|
+
"member": "uint64",
|
3540
|
+
"name": "IntranetAccess",
|
3541
|
+
"required": false,
|
3542
|
+
"type": "int"
|
3543
|
+
},
|
3544
|
+
{
|
3545
|
+
"disabled": false,
|
3546
|
+
"document": "0-关闭公网访问堡垒机,1-开启公网访问堡垒机",
|
3547
|
+
"example": "1",
|
3548
|
+
"member": "uint64",
|
3549
|
+
"name": "ExternalAccess",
|
3550
|
+
"required": false,
|
3551
|
+
"type": "int"
|
3507
3552
|
}
|
3508
3553
|
],
|
3509
3554
|
"type": "object"
|
@@ -4101,6 +4146,16 @@
|
|
4101
4146
|
"type": "int",
|
4102
4147
|
"value_allowed_null": false
|
4103
4148
|
},
|
4149
|
+
{
|
4150
|
+
"disabled": false,
|
4151
|
+
"document": "账号信息列表",
|
4152
|
+
"example": "[{ \"BoundPrivateKey\": true, \"Account\": \"root\", \"Id\": 1, \"BoundPassword\": true, \"DeviceId\": 1 } ]",
|
4153
|
+
"member": "DeviceAccount",
|
4154
|
+
"name": "DeviceAccountSet",
|
4155
|
+
"output_required": true,
|
4156
|
+
"type": "list",
|
4157
|
+
"value_allowed_null": false
|
4158
|
+
},
|
4104
4159
|
{
|
4105
4160
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4106
4161
|
"member": "string",
|
@@ -5472,6 +5527,62 @@
|
|
5472
5527
|
],
|
5473
5528
|
"usage": "out"
|
5474
5529
|
},
|
5530
|
+
"DeviceAccount": {
|
5531
|
+
"document": "主机账号",
|
5532
|
+
"members": [
|
5533
|
+
{
|
5534
|
+
"disabled": false,
|
5535
|
+
"document": "账号ID",
|
5536
|
+
"example": "1",
|
5537
|
+
"member": "uint64",
|
5538
|
+
"name": "Id",
|
5539
|
+
"output_required": true,
|
5540
|
+
"type": "int",
|
5541
|
+
"value_allowed_null": false
|
5542
|
+
},
|
5543
|
+
{
|
5544
|
+
"disabled": false,
|
5545
|
+
"document": "主机ID",
|
5546
|
+
"example": "1",
|
5547
|
+
"member": "uint64",
|
5548
|
+
"name": "DeviceId",
|
5549
|
+
"output_required": true,
|
5550
|
+
"type": "int",
|
5551
|
+
"value_allowed_null": false
|
5552
|
+
},
|
5553
|
+
{
|
5554
|
+
"disabled": false,
|
5555
|
+
"document": "账号名",
|
5556
|
+
"example": "admin",
|
5557
|
+
"member": "string",
|
5558
|
+
"name": "Account",
|
5559
|
+
"output_required": true,
|
5560
|
+
"type": "string",
|
5561
|
+
"value_allowed_null": false
|
5562
|
+
},
|
5563
|
+
{
|
5564
|
+
"disabled": false,
|
5565
|
+
"document": "true-已托管密码,false-未托管密码",
|
5566
|
+
"example": "true",
|
5567
|
+
"member": "bool",
|
5568
|
+
"name": "BoundPassword",
|
5569
|
+
"output_required": true,
|
5570
|
+
"type": "bool",
|
5571
|
+
"value_allowed_null": false
|
5572
|
+
},
|
5573
|
+
{
|
5574
|
+
"disabled": false,
|
5575
|
+
"document": "true-已托管私钥,false-未托管私钥",
|
5576
|
+
"example": "true",
|
5577
|
+
"member": "bool",
|
5578
|
+
"name": "BoundPrivateKey",
|
5579
|
+
"output_required": true,
|
5580
|
+
"type": "bool",
|
5581
|
+
"value_allowed_null": false
|
5582
|
+
}
|
5583
|
+
],
|
5584
|
+
"usage": "out"
|
5585
|
+
},
|
5475
5586
|
"Domain": {
|
5476
5587
|
"document": "网络域",
|
5477
5588
|
"members": [
|
@@ -6709,8 +6820,8 @@
|
|
6709
6820
|
"type": "string"
|
6710
6821
|
},
|
6711
6822
|
{
|
6712
|
-
"disabled":
|
6713
|
-
"document": "
|
6823
|
+
"disabled": true,
|
6824
|
+
"document": "状态",
|
6714
6825
|
"example": "0",
|
6715
6826
|
"member": "string",
|
6716
6827
|
"name": "Status",
|
@@ -7604,6 +7715,86 @@
|
|
7604
7715
|
"output_required": false,
|
7605
7716
|
"type": "string",
|
7606
7717
|
"value_allowed_null": false
|
7718
|
+
},
|
7719
|
+
{
|
7720
|
+
"disabled": false,
|
7721
|
+
"document": "是否共享clb,true-共享clb,false-独享clb",
|
7722
|
+
"example": "false",
|
7723
|
+
"member": "bool",
|
7724
|
+
"name": "ShareClb",
|
7725
|
+
"output_required": false,
|
7726
|
+
"type": "bool",
|
7727
|
+
"value_allowed_null": false
|
7728
|
+
},
|
7729
|
+
{
|
7730
|
+
"disabled": false,
|
7731
|
+
"document": "共享clb id",
|
7732
|
+
"example": "lb-5fa81478",
|
7733
|
+
"member": "string",
|
7734
|
+
"name": "OpenClbId",
|
7735
|
+
"output_required": false,
|
7736
|
+
"type": "string",
|
7737
|
+
"value_allowed_null": false
|
7738
|
+
},
|
7739
|
+
{
|
7740
|
+
"disabled": false,
|
7741
|
+
"document": "运营商信息",
|
7742
|
+
"example": "CMCC/CTCC/CUCC",
|
7743
|
+
"member": "string",
|
7744
|
+
"name": "LbVipIsp",
|
7745
|
+
"output_required": false,
|
7746
|
+
"type": "string",
|
7747
|
+
"value_allowed_null": false
|
7748
|
+
},
|
7749
|
+
{
|
7750
|
+
"disabled": false,
|
7751
|
+
"document": "linux资产命令行运维端口",
|
7752
|
+
"example": "10001",
|
7753
|
+
"member": "int64",
|
7754
|
+
"name": "TUICmdPort",
|
7755
|
+
"output_required": false,
|
7756
|
+
"type": "int",
|
7757
|
+
"value_allowed_null": false
|
7758
|
+
},
|
7759
|
+
{
|
7760
|
+
"disabled": false,
|
7761
|
+
"document": "linux资产直连端口",
|
7762
|
+
"example": "10002",
|
7763
|
+
"member": "int64",
|
7764
|
+
"name": "TUIDirectPort",
|
7765
|
+
"output_required": false,
|
7766
|
+
"type": "int",
|
7767
|
+
"value_allowed_null": false
|
7768
|
+
},
|
7769
|
+
{
|
7770
|
+
"disabled": false,
|
7771
|
+
"document": "1 默认值,web访问开启,0 web访问关闭,2 web访问开通中,3 web访问关闭中",
|
7772
|
+
"example": "1",
|
7773
|
+
"member": "uint64",
|
7774
|
+
"name": "WebAccess",
|
7775
|
+
"output_required": false,
|
7776
|
+
"type": "int",
|
7777
|
+
"value_allowed_null": false
|
7778
|
+
},
|
7779
|
+
{
|
7780
|
+
"disabled": false,
|
7781
|
+
"document": "1 默认值,客户单访问开启,0 客户端访问关闭,2 客户端访问开通中,3 客户端访问关闭中",
|
7782
|
+
"example": "1",
|
7783
|
+
"member": "uint64",
|
7784
|
+
"name": "ClientAccess",
|
7785
|
+
"output_required": false,
|
7786
|
+
"type": "int",
|
7787
|
+
"value_allowed_null": false
|
7788
|
+
},
|
7789
|
+
{
|
7790
|
+
"disabled": false,
|
7791
|
+
"document": "1 默认值,外网访问开启,0 外网访问关闭,2 外网访问开通中,3 外网访问关闭中",
|
7792
|
+
"example": "1",
|
7793
|
+
"member": "uint64",
|
7794
|
+
"name": "ExternalAccess",
|
7795
|
+
"output_required": false,
|
7796
|
+
"type": "int",
|
7797
|
+
"value_allowed_null": false
|
7607
7798
|
}
|
7608
7799
|
],
|
7609
7800
|
"usage": "out"
|
@@ -309,8 +309,8 @@
|
|
309
309
|
"DescribeDeviceAccounts": [
|
310
310
|
{
|
311
311
|
"document": "查询主机账号列表",
|
312
|
-
"input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceAccounts\n<公共请求参数>\n\n{\n \"DeviceId\": 1,\n \"Account\": \"
|
313
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
|
312
|
+
"input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceAccounts\n<公共请求参数>\n\n{\n \"DeviceId\": 1,\n \"Account\": \"root\"\n}",
|
313
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\",\n \"DeviceAccountSet\": [\n {\n \"BoundPrivateKey\": true,\n \"Account\": \"root\",\n \"Id\": 1,\n \"BoundPassword\": true,\n \"DeviceId\": 1\n }\n ]\n }\n}",
|
314
314
|
"title": "查询主机账号列表"
|
315
315
|
}
|
316
316
|
],
|
tccli/services/cdb/cdb_client.py
CHANGED
@@ -6517,58 +6517,6 @@ def doRestartDBInstances(args, parsed_globals):
|
|
6517
6517
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6518
6518
|
|
6519
6519
|
|
6520
|
-
def doDescribeCpuExpandStrategy(args, parsed_globals):
|
6521
|
-
g_param = parse_global_arg(parsed_globals)
|
6522
|
-
|
6523
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6524
|
-
cred = credential.CVMRoleCredential()
|
6525
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6526
|
-
cred = credential.STSAssumeRoleCredential(
|
6527
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6528
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6529
|
-
)
|
6530
|
-
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):
|
6531
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6532
|
-
else:
|
6533
|
-
cred = credential.Credential(
|
6534
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6535
|
-
)
|
6536
|
-
http_profile = HttpProfile(
|
6537
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6538
|
-
reqMethod="POST",
|
6539
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
6540
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6541
|
-
)
|
6542
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6543
|
-
if g_param[OptionsDefine.Language]:
|
6544
|
-
profile.language = g_param[OptionsDefine.Language]
|
6545
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6546
|
-
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6547
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
6548
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6549
|
-
model = models.DescribeCpuExpandStrategyRequest()
|
6550
|
-
model.from_json_string(json.dumps(args))
|
6551
|
-
start_time = time.time()
|
6552
|
-
while True:
|
6553
|
-
rsp = client.DescribeCpuExpandStrategy(model)
|
6554
|
-
result = rsp.to_json_string()
|
6555
|
-
try:
|
6556
|
-
json_obj = json.loads(result)
|
6557
|
-
except TypeError as e:
|
6558
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6559
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6560
|
-
break
|
6561
|
-
cur_time = time.time()
|
6562
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6563
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6564
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6565
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6566
|
-
else:
|
6567
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6568
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6569
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6570
|
-
|
6571
|
-
|
6572
6520
|
def doReloadBalanceProxyNode(args, parsed_globals):
|
6573
6521
|
g_param = parse_global_arg(parsed_globals)
|
6574
6522
|
|
@@ -9149,7 +9097,6 @@ ACTION_MAP = {
|
|
9149
9097
|
"CreateRotationPassword": doCreateRotationPassword,
|
9150
9098
|
"CreateDBImportJob": doCreateDBImportJob,
|
9151
9099
|
"RestartDBInstances": doRestartDBInstances,
|
9152
|
-
"DescribeCpuExpandStrategy": doDescribeCpuExpandStrategy,
|
9153
9100
|
"ReloadBalanceProxyNode": doReloadBalanceProxyNode,
|
9154
9101
|
"ModifyRoGroupInfo": doModifyRoGroupInfo,
|
9155
9102
|
"DescribeBackupDownloadRestriction": doDescribeBackupDownloadRestriction,
|
@@ -455,13 +455,6 @@
|
|
455
455
|
"output": "DescribeClusterInfoResponse",
|
456
456
|
"status": "online"
|
457
457
|
},
|
458
|
-
"DescribeCpuExpandStrategy": {
|
459
|
-
"document": "DescribeCpuExpandStrategy\n\n通过该 API 可以查询实例的 CPU 弹性扩容策略",
|
460
|
-
"input": "DescribeCpuExpandStrategyRequest",
|
461
|
-
"name": "查询实例的 CPU 弹性扩容策略",
|
462
|
-
"output": "DescribeCpuExpandStrategyResponse",
|
463
|
-
"status": "deprecated"
|
464
|
-
},
|
465
458
|
"DescribeDBFeatures": {
|
466
459
|
"document": "本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。",
|
467
460
|
"input": "DescribeDBFeaturesRequest",
|
@@ -9523,63 +9516,6 @@
|
|
9523
9516
|
],
|
9524
9517
|
"type": "object"
|
9525
9518
|
},
|
9526
|
-
"DescribeCpuExpandStrategyRequest": {
|
9527
|
-
"document": "DescribeCpuExpandStrategy请求参数结构体",
|
9528
|
-
"members": [
|
9529
|
-
{
|
9530
|
-
"disabled": false,
|
9531
|
-
"document": "实例 ID 。",
|
9532
|
-
"example": "cdb-xxdasd",
|
9533
|
-
"member": "string",
|
9534
|
-
"name": "InstanceId",
|
9535
|
-
"required": true,
|
9536
|
-
"type": "string"
|
9537
|
-
}
|
9538
|
-
],
|
9539
|
-
"type": "object"
|
9540
|
-
},
|
9541
|
-
"DescribeCpuExpandStrategyResponse": {
|
9542
|
-
"document": "DescribeCpuExpandStrategy返回参数结构体",
|
9543
|
-
"members": [
|
9544
|
-
{
|
9545
|
-
"disabled": false,
|
9546
|
-
"document": "策略类型。可选值 auto、manual。",
|
9547
|
-
"example": "auto",
|
9548
|
-
"member": "string",
|
9549
|
-
"name": "Type",
|
9550
|
-
"output_required": true,
|
9551
|
-
"type": "string",
|
9552
|
-
"value_allowed_null": false
|
9553
|
-
},
|
9554
|
-
{
|
9555
|
-
"disabled": false,
|
9556
|
-
"document": "手动扩容的 CPU 。Type为 manual 时有效。",
|
9557
|
-
"example": "4",
|
9558
|
-
"member": "string",
|
9559
|
-
"name": "ExpandCpu",
|
9560
|
-
"output_required": true,
|
9561
|
-
"type": "string",
|
9562
|
-
"value_allowed_null": false
|
9563
|
-
},
|
9564
|
-
{
|
9565
|
-
"disabled": true,
|
9566
|
-
"document": "自动扩容策略。Type 为 auto 时有效",
|
9567
|
-
"example": "略",
|
9568
|
-
"member": "string",
|
9569
|
-
"name": "AutoStrategy",
|
9570
|
-
"output_required": true,
|
9571
|
-
"type": "string",
|
9572
|
-
"value_allowed_null": false
|
9573
|
-
},
|
9574
|
-
{
|
9575
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9576
|
-
"member": "string",
|
9577
|
-
"name": "RequestId",
|
9578
|
-
"type": "string"
|
9579
|
-
}
|
9580
|
-
],
|
9581
|
-
"type": "object"
|
9582
|
-
},
|
9583
9519
|
"DescribeDBFeaturesRequest": {
|
9584
9520
|
"document": "DescribeDBFeatures请求参数结构体",
|
9585
9521
|
"members": [
|
@@ -556,14 +556,6 @@
|
|
556
556
|
"title": "查询云盘版实例信息"
|
557
557
|
}
|
558
558
|
],
|
559
|
-
"DescribeCpuExpandStrategy": [
|
560
|
-
{
|
561
|
-
"document": "用于查询实例的弹性扩容配置。",
|
562
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCpuExpandStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-sad1dsfa\"\n}",
|
563
|
-
"output": "{\n \"Response\": {\n \"Type\": \"auto\",\n \"ExpandCpu\": \"4\",\n \"AutoStrategy\": \"auto\",\n \"RequestId\": \"dasdqw13-dasdhd3-123v-1234-v432\"\n }\n}",
|
564
|
-
"title": "查询实例的弹性扩容配置"
|
565
|
-
}
|
566
|
-
],
|
567
559
|
"DescribeDBFeatures": [
|
568
560
|
{
|
569
561
|
"document": "查询实例特性,诸如内核小版本、是否开启审计等。",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"CreateInstanceNew": [
|
20
20
|
{
|
21
21
|
"document": "创建集群API",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceNew\n<公共请求参数>\n\n{\n \"InstanceName\": \"xzq-test-按量-hazk2节点\",\n \"MountDiskType\": 0,\n \"HAZk\": true,\n \"Zone\": \"ap-beijing-2\",\n \"DataSpec\": {\n \"SpecName\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceNew\n<公共请求参数>\n\n{\n \"InstanceName\": \"xzq-test-按量-hazk2节点\",\n \"MountDiskType\": 0,\n \"HAZk\": true,\n \"Zone\": \"ap-beijing-2\",\n \"DataSpec\": {\n \"SpecName\": \"S_16_64_H\",\n \"Count\": 2,\n \"DiskSize\": 200\n },\n \"CommonSpec\": {\n \"SpecName\": \"S_4_16_H\",\n \"Count\": 3,\n \"DiskSize\": 100\n },\n \"HaFlag\": false,\n \"UserVPCId\": \"vpc-8visjoh9\",\n \"UserSubnetId\": \"subnet-03ij1dki\",\n \"ProductVersion\": \"23.8.9.1\",\n \"ChargeProperties\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\"\n }\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"InstanceId\": \"cdwch-aijqera\",\n \"FlowId\": \"1231\",\n \"RequestId\": \"lweinasd-28kamasd-xasdas\",\n \"ErrorMsg\": \"\"\n }\n}",
|
24
24
|
"title": "test"
|
25
25
|
}
|
@@ -5765,6 +5765,16 @@
|
|
5765
5765
|
"type": "int",
|
5766
5766
|
"value_allowed_null": false
|
5767
5767
|
},
|
5768
|
+
{
|
5769
|
+
"disabled": false,
|
5770
|
+
"document": "是否用户中止 用户中止返回true",
|
5771
|
+
"example": "false",
|
5772
|
+
"member": "bool",
|
5773
|
+
"name": "UserStopped",
|
5774
|
+
"output_required": false,
|
5775
|
+
"type": "bool",
|
5776
|
+
"value_allowed_null": false
|
5777
|
+
},
|
5768
5778
|
{
|
5769
5779
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5770
5780
|
"member": "string",
|
@@ -13751,7 +13761,7 @@
|
|
13751
13761
|
},
|
13752
13762
|
{
|
13753
13763
|
"disabled": false,
|
13754
|
-
"document": "协议;TCP/UDP/ICMP/ANY",
|
13764
|
+
"document": "协议;TCP/UDP/ICMP/ICMPv6/ANY",
|
13755
13765
|
"example": "ANY",
|
13756
13766
|
"member": "string",
|
13757
13767
|
"name": "Protocol",
|
@@ -347,8 +347,8 @@
|
|
347
347
|
"DescribeEnterpriseSGRuleProgress": [
|
348
348
|
{
|
349
349
|
"document": "",
|
350
|
-
"input": "
|
351
|
-
"output": "{\n \"Response\": {\n \"Progress\":
|
350
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSGRuleProgress\n<公共请求参数>\n\n{}",
|
351
|
+
"output": "{\n \"Response\": {\n \"Progress\": 100,\n \"RequestId\": \"e94a6272-4e68-4614-8433-363f87dfb28b\",\n \"UserStopped\": false\n }\n}",
|
352
352
|
"title": "查询新版安全组下发进度"
|
353
353
|
}
|
354
354
|
],
|
@@ -12777,63 +12777,73 @@
|
|
12777
12777
|
"DspaDiscoveryTask": {
|
12778
12778
|
"document": "分类分级任务相关信息",
|
12779
12779
|
"members": [
|
12780
|
+
{
|
12781
|
+
"disabled": false,
|
12782
|
+
"document": "任务ID",
|
12783
|
+
"example": "1",
|
12784
|
+
"member": "int64",
|
12785
|
+
"name": "TaskId",
|
12786
|
+
"output_required": true,
|
12787
|
+
"type": "int",
|
12788
|
+
"value_allowed_null": false
|
12789
|
+
},
|
12780
12790
|
{
|
12781
12791
|
"disabled": false,
|
12782
12792
|
"document": "任务名称",
|
12783
|
-
"example": "
|
12793
|
+
"example": "分类分级任务",
|
12784
12794
|
"member": "string",
|
12785
12795
|
"name": "Name",
|
12786
|
-
"
|
12796
|
+
"output_required": true,
|
12787
12797
|
"type": "string",
|
12788
12798
|
"value_allowed_null": false
|
12789
12799
|
},
|
12790
12800
|
{
|
12791
12801
|
"disabled": false,
|
12792
12802
|
"document": "任务描述",
|
12793
|
-
"example": "
|
12803
|
+
"example": "分类分级任务描述",
|
12794
12804
|
"member": "string",
|
12795
12805
|
"name": "Description",
|
12796
|
-
"
|
12806
|
+
"output_required": true,
|
12797
12807
|
"type": "string",
|
12798
12808
|
"value_allowed_null": false
|
12799
12809
|
},
|
12800
12810
|
{
|
12801
12811
|
"disabled": false,
|
12802
12812
|
"document": "执行周期,0单次 1每天 2每周 3每月",
|
12803
|
-
"example": "
|
12813
|
+
"example": "0",
|
12804
12814
|
"member": "int64",
|
12805
12815
|
"name": "Period",
|
12806
|
-
"
|
12816
|
+
"output_required": true,
|
12807
12817
|
"type": "int",
|
12808
12818
|
"value_allowed_null": false
|
12809
12819
|
},
|
12810
12820
|
{
|
12811
12821
|
"disabled": false,
|
12812
12822
|
"document": "执行计划,0立即 1定时",
|
12813
|
-
"example": "
|
12823
|
+
"example": "0",
|
12814
12824
|
"member": "int64",
|
12815
12825
|
"name": "Plan",
|
12816
|
-
"
|
12826
|
+
"output_required": true,
|
12817
12827
|
"type": "int",
|
12818
12828
|
"value_allowed_null": false
|
12819
12829
|
},
|
12820
12830
|
{
|
12821
12831
|
"disabled": false,
|
12822
12832
|
"document": "任务开关;1 打开,0 关闭",
|
12823
|
-
"example": "
|
12833
|
+
"example": "1",
|
12824
12834
|
"member": "int64",
|
12825
12835
|
"name": "Enable",
|
12826
|
-
"
|
12836
|
+
"output_required": true,
|
12827
12837
|
"type": "int",
|
12828
12838
|
"value_allowed_null": false
|
12829
12839
|
},
|
12830
12840
|
{
|
12831
12841
|
"disabled": false,
|
12832
12842
|
"document": "元数据对象信息",
|
12833
|
-
"example": "
|
12843
|
+
"example": "{\"ResourceRegion\":\"ap-guangzhou\",\"DataSourceId\":\"cdb-xxxxxxx\",\"DataSourceName\":\"test_db\",\"ProxyAddress\":[],\"Condition\":\"\",\"DataSourceType\":\"cdb\"}",
|
12834
12844
|
"member": "DspaDiscoveryTaskDataSource",
|
12835
12845
|
"name": "DataSourceInfo",
|
12836
|
-
"
|
12846
|
+
"output_required": true,
|
12837
12847
|
"type": "object",
|
12838
12848
|
"value_allowed_null": false
|
12839
12849
|
},
|
@@ -12843,27 +12853,27 @@
|
|
12843
12853
|
"example": "1",
|
12844
12854
|
"member": "int64",
|
12845
12855
|
"name": "GeneralRuleSetEnable",
|
12846
|
-
"
|
12856
|
+
"output_required": true,
|
12847
12857
|
"type": "int",
|
12848
12858
|
"value_allowed_null": false
|
12849
12859
|
},
|
12850
12860
|
{
|
12851
12861
|
"disabled": false,
|
12852
12862
|
"document": "任务最新的一次执行结果信息,该字段用于查询任务列表接口\n注意:此字段可能返回 null,表示取不到有效值。",
|
12853
|
-
"example": "
|
12863
|
+
"example": "{\"Id\":665,\"EndTime\":\"2025-05-12 04:53:03\",\"Status\":3,\"Result\":\"\",\"ResultDescription\":\"\",\"Suggestion\":\"\",\"Progress\":100}",
|
12854
12864
|
"member": "ScanTaskResult",
|
12855
12865
|
"name": "Result",
|
12856
|
-
"
|
12866
|
+
"output_required": true,
|
12857
12867
|
"type": "object",
|
12858
12868
|
"value_allowed_null": true
|
12859
12869
|
},
|
12860
12870
|
{
|
12861
12871
|
"disabled": false,
|
12862
12872
|
"document": "定时开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
12863
|
-
"example": "
|
12873
|
+
"example": "2025-05-1212:12:12",
|
12864
12874
|
"member": "string",
|
12865
12875
|
"name": "TimingStartTime",
|
12866
|
-
"
|
12876
|
+
"output_required": true,
|
12867
12877
|
"type": "string",
|
12868
12878
|
"value_allowed_null": true
|
12869
12879
|
},
|
@@ -12873,7 +12883,7 @@
|
|
12873
12883
|
"example": "true",
|
12874
12884
|
"member": "bool",
|
12875
12885
|
"name": "ComplianceUpdate",
|
12876
|
-
"
|
12886
|
+
"output_required": true,
|
12877
12887
|
"type": "bool",
|
12878
12888
|
"value_allowed_null": true
|
12879
12889
|
}
|
@@ -706,7 +706,7 @@
|
|
706
706
|
{
|
707
707
|
"document": "",
|
708
708
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTasks\n<公共请求参数>\n\n{\n \"DataSourceType\": \"cdb\",\n \"DspaId\": \"dspa-001\",\n \"Limit\": \"1\",\n \"Offset\": \"0\"\n}",
|
709
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Name\": \"通用规则集测试\",\n \"Description\": \"\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"TimingStartTime\": null,\n \"GeneralRuleSetEnable\": 0,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cdb-6dcpe42v\",\n \"DataSourceName\": \"采集测试\",\n \"ProxyAddress\": null,\n \"Condition\": \"test_report,dsgctest001\",\n \"DataSourceType\": \"cdb\"\n },\n \"ComplianceUpdate\": false,\n \"Result\": {\n \"Id\": 4142,\n \"EndTime\": \"2024-11-05 17:17:30\",\n \"Status\": 3,\n \"Result\": \"\"\n }\n }\n ]\n }\n}",
|
709
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"TaskId\": 14596,\n \"Name\": \"通用规则集测试\",\n \"Description\": \"\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"TimingStartTime\": null,\n \"GeneralRuleSetEnable\": 0,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cdb-6dcpe42v\",\n \"DataSourceName\": \"采集测试\",\n \"ProxyAddress\": null,\n \"Condition\": \"test_report,dsgctest001\",\n \"DataSourceType\": \"cdb\"\n },\n \"ComplianceUpdate\": false,\n \"Result\": {\n \"Id\": 4142,\n \"EndTime\": \"2024-11-05 17:17:30\",\n \"Status\": 3,\n \"Result\": \"\"\n }\n }\n ]\n }\n}",
|
710
710
|
"title": "获取分类分级任务列表"
|
711
711
|
}
|
712
712
|
],
|