tccli 3.0.1372.1__py2.py3-none-any.whl → 3.0.1374.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/ai3d/v20250513/api.json +1 -1
- tccli/services/batch/v20170312/api.json +3 -3
- tccli/services/cfs/v20190719/api.json +10 -10
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +252 -3
- tccli/services/cls/v20201016/api.json +244 -106
- tccli/services/cls/v20201016/examples.json +7 -7
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/v20201111/api.json +69 -0
- tccli/services/essbasic/v20210526/api.json +39 -0
- tccli/services/keewidb/v20220308/api.json +24 -24
- tccli/services/lcic/v20220817/api.json +46 -18
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +1344 -246
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +4 -4
- tccli/services/mps/v20190612/api.json +42 -2
- tccli/services/ocr/v20181119/api.json +31 -12
- tccli/services/partners/v20180321/api.json +4 -4
- tccli/services/postgres/postgres_client.py +12 -171
- tccli/services/postgres/v20170312/api.json +20 -819
- tccli/services/postgres/v20170312/examples.json +6 -30
- tccli/services/scf/v20180416/api.json +2 -0
- tccli/services/sqlserver/v20180328/api.json +19 -17
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/sts/v20180813/api.json +4 -4
- tccli/services/tcbr/v20220217/api.json +92 -0
- tccli/services/tcss/v20201101/api.json +32 -2
- tccli/services/tcss/v20201101/examples.json +3 -3
- tccli/services/tke/v20180525/api.json +10 -1
- tccli/services/trabbit/v20230418/api.json +50 -2
- tccli/services/trocket/trocket_client.py +65 -12
- tccli/services/trocket/v20230308/api.json +156 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +10 -10
- tccli/services/tsf/v20180326/api.json +573 -371
- tccli/services/tsf/v20180326/examples.json +8 -8
- tccli/services/vod/v20180717/api.json +325 -32
- tccli/services/vod/v20180717/examples.json +33 -1
- tccli/services/vod/vod_client.py +212 -0
- tccli/services/waf/v20180125/api.json +717 -38
- tccli/services/waf/v20180125/examples.json +56 -0
- tccli/services/waf/waf_client.py +444 -73
- tccli/services/wedata/v20210820/api.json +138 -6
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/RECORD +52 -52
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/license_files/LICENSE +0 -0
@@ -128,14 +128,6 @@
|
|
128
128
|
"title": "创建RO组网络"
|
129
129
|
}
|
130
130
|
],
|
131
|
-
"CreateServerlessDBInstance": [
|
132
|
-
{
|
133
|
-
"document": "创建一个实例名为“serverlessdb-test”的serverless实例,实例数据库版本为10.4,服务端database字符集为UTF8。",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateServerlessDBInstance\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-3\",\n \"DBVersion\": \"10.4\",\n \"DBInstanceName\": \"serverlessdb-test\",\n \"DBCharset\": \"UTF8\",\n \"SubnetId\": \"subnet-xxx\"\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DBInstanceId\": \"postgres-xxxxx\"\n }\n}",
|
136
|
-
"title": "创建serverlessDB实例"
|
137
|
-
}
|
138
|
-
],
|
139
131
|
"DeleteAccount": [
|
140
132
|
{
|
141
133
|
"document": "删除数据库账号",
|
@@ -277,7 +269,7 @@
|
|
277
269
|
"DescribeBackupSummaries": [
|
278
270
|
{
|
279
271
|
"document": "",
|
280
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupSummaries\n<公共请求参数>\n\n{\n \"Limit\":
|
272
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupSummaries\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"OrderByType\": \"desc\"\n}",
|
281
273
|
"output": "{\n \"Response\": {\n \"BackupSummarySet\": [\n {\n \"AutoBaseBackupCount\": 3,\n \"AutoBaseBackupSize\": 3535342436352,\n \"DBInstanceId\": \"postgres-lsw5y0bp\",\n \"LogBackupCount\": 2,\n \"LogBackupSize\": 167792640,\n \"ManualBaseBackupCount\": 1,\n \"ManualBaseBackupSize\": 1178447478784,\n \"TotalBackupCount\": 6,\n \"TotalBackupSize\": 4713957707776\n }\n ],\n \"RequestId\": \"3929dd3a-d95d-4ec2-ae69-a98317ce24fa\",\n \"TotalCount\": 10\n }\n}",
|
282
274
|
"title": "查询备份统计信息"
|
283
275
|
}
|
@@ -400,14 +392,6 @@
|
|
400
392
|
"title": "根据实例ID查询实例信息"
|
401
393
|
}
|
402
394
|
],
|
403
|
-
"DescribeDBSlowlogs": [
|
404
|
-
{
|
405
|
-
"document": "获取实例postgres-apzvwncr慢查询日志",
|
406
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBSlowlogs\n<公共请求参数>\n\n{\n \"EndTime\": \"2018-06-11 17:06:38\",\n \"DBInstanceId\": \"postgres-apzvwncr\",\n \"StartTime\": \"2018-06-10 17:06:38\"\n}",
|
407
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Detail\": {\n \"TotalTime\": 0.0,\n \"NormalQueries\": [\n {\n \"UserName\": \"user\",\n \"MaxCostTime\": 0.0,\n \"Rows\": 0,\n \"CostTime\": 0.0,\n \"SharedReadBlks\": 0,\n \"Calls\": 0,\n \"WriteCostTime\": 0,\n \"ReadCostTime\": 0,\n \"CallsGrids\": [\n 0\n ],\n \"NormalQuery\": \"select 1;\",\n \"MinCostTime\": 0.0,\n \"DatabaseName\": \"postgres-apzvwncr\",\n \"FirstTime\": \"2018-06-10 17:06:38\",\n \"LastTime\": \"2018-06-11 17:06:38\",\n \"SharedWriteBlks\": 0\n }\n ],\n \"TotalCalls\": 0\n },\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
408
|
-
"title": "获取实例慢查询日志"
|
409
|
-
}
|
410
|
-
],
|
411
395
|
"DescribeDBVersions": [
|
412
396
|
{
|
413
397
|
"document": "新购实例、升级实例版本号时,可通过此接口查询有效的数据库版本号列表",
|
@@ -538,9 +522,9 @@
|
|
538
522
|
],
|
539
523
|
"DescribeProductConfig": [
|
540
524
|
{
|
541
|
-
"document": "
|
542
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductConfig\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-
|
543
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa0a364-08c9-42f6-888e-4e3b7e99b50d\",\n \"SpecInfoList\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-
|
525
|
+
"document": "查询广州三区的售卖规格信息",
|
526
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductConfig\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-3\"\n}",
|
527
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa0a364-08c9-42f6-888e-4e3b7e99b50d\",\n \"SpecInfoList\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"SupportKMSRegions\": [\n \"ap-guangzhou\"\n ],\n \"SpecItemInfoList\": [\n {\n \"Cpu\": 1,\n \"IsSupportTDE\": 1,\n \"KernelVersion\": \"v17.4_r1.7\",\n \"MajorVersion\": \"17\",\n \"MaxStorage\": 3000,\n \"Memory\": 2048,\n \"MinStorage\": 10,\n \"Pid\": 0,\n \"Qps\": 1800,\n \"SpecCode\": \"pg.it.small2\",\n \"Type\": \"\",\n \"Version\": \"17.4\",\n \"VersionName\": \"PostgreSQL 17\"\n }\n ]\n }\n ]\n }\n}",
|
544
528
|
"title": "查询某个地域某个可用区的售卖规格信息"
|
545
529
|
}
|
546
530
|
],
|
@@ -560,14 +544,6 @@
|
|
560
544
|
"title": "查询所有地域"
|
561
545
|
}
|
562
546
|
],
|
563
|
-
"DescribeServerlessDBInstances": [
|
564
|
-
{
|
565
|
-
"document": "",
|
566
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerlessDBInstances\n<公共请求参数>\n\n{\n \"Filter\": [\n {\n \"Name\": \"db-instance-name\",\n \"Values\": [\n \"user-data-db\"\n ]\n }\n ],\n \"Limit\": \"0\",\n \"Offset\": \"1\"\n}",
|
567
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"DBInstanceId\": \"postgres-dnlizio3\",\n \"DBInstanceName\": \"user-data-db\",\n \"DBInstanceStatus\": \"running\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-49ab5lb9\",\n \"SubnetId\": \"subnet-b23o6b22\",\n \"DBCharset\": \"UTF8\",\n \"DBVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2020-03-20 12:19:14\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.*.*.*\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"initing\",\n \"NetType\": \"public\"\n }\n ],\n \"DBAccountSet\": [],\n \"DBDatabaseList\": null\n }\n ],\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
568
|
-
"title": "查询ServerlessDB实例列表"
|
569
|
-
}
|
570
|
-
],
|
571
547
|
"DescribeSlowQueryAnalysis": [
|
572
548
|
{
|
573
549
|
"document": "获取指定时间范围内实例的慢查询统计分析结果。\n",
|
@@ -608,7 +584,7 @@
|
|
608
584
|
{
|
609
585
|
"document": "",
|
610
586
|
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\n<公共请求参数>\n\n{}",
|
611
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"59c438d4-95ab-4865-993d-dc388d2660d8\",\n \"TotalCount\": 3,\n \"ZoneSet\": [\n {\n \"Zone\": \"ap-guangzhou-
|
587
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"59c438d4-95ab-4865-993d-dc388d2660d8\",\n \"TotalCount\": 3,\n \"ZoneSet\": [\n {\n \"StandbyZoneSet\": null,\n \"Zone\": \"ap-guangzhou-1\",\n \"ZoneId\": 100001,\n \"ZoneName\": \"广州一区\",\n \"ZoneState\": \"UNAVAILABLE\",\n \"ZoneSupportIpv6\": 0\n },\n {\n \"StandbyZoneSet\": [\n \"ap-guangzhou-4\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"Zone\": \"ap-guangzhou-7\",\n \"ZoneId\": 100007,\n \"ZoneName\": \"广州七区\",\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneSupportIpv6\": 0\n },\n {\n \"StandbyZoneSet\": [\n \"ap-guangzhou-4\",\n \"ap-guangzhou-6\",\n \"ap-guangzhou-7\"\n ],\n \"Zone\": \"ap-guangzhou-4\",\n \"ZoneId\": 100004,\n \"ZoneName\": \"广州四区\",\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneSupportIpv6\": 0\n }\n ]\n }\n}",
|
612
588
|
"title": "查询特定地域下的可用区"
|
613
589
|
}
|
614
590
|
],
|
@@ -859,7 +835,7 @@
|
|
859
835
|
"ModifyReadOnlyGroupConfig": [
|
860
836
|
{
|
861
837
|
"document": "",
|
862
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyReadOnlyGroupConfig\n<公共请求参数>\n\n{\n \"MaxReplayLag\": 0,\n \"ReplayLagEliminate\": 0,\n \"MaxReplayLatency\": 512,\n \"MinDelayEliminateReserve\": 0,\n \"ReadOnlyGroupName\": \"
|
838
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyReadOnlyGroupConfig\n<公共请求参数>\n\n{\n \"MaxReplayLag\": 0,\n \"ReplayLagEliminate\": 0,\n \"MaxReplayLatency\": 512,\n \"MinDelayEliminateReserve\": 0,\n \"ReadOnlyGroupName\": \"ReadOnlyGroupName\",\n \"ReadOnlyGroupId\": \"pgrogrp-e0tfm161\",\n \"Rebalance\": 1\n}",
|
863
839
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
864
840
|
"title": "修改只读组配置信息"
|
865
841
|
}
|
@@ -4101,6 +4101,7 @@
|
|
4101
4101
|
"example": "'FALSE'",
|
4102
4102
|
"member": "string",
|
4103
4103
|
"name": "DynamicEnabled",
|
4104
|
+
"output_required": true,
|
4104
4105
|
"required": false,
|
4105
4106
|
"type": "string",
|
4106
4107
|
"value_allowed_null": true
|
@@ -4111,6 +4112,7 @@
|
|
4111
4112
|
"example": "1",
|
4112
4113
|
"member": "uint64",
|
4113
4114
|
"name": "MaxConcurrency",
|
4115
|
+
"output_required": false,
|
4114
4116
|
"required": false,
|
4115
4117
|
"type": "int",
|
4116
4118
|
"value_allowed_null": true
|
@@ -2286,7 +2286,7 @@
|
|
2286
2286
|
},
|
2287
2287
|
{
|
2288
2288
|
"disabled": false,
|
2289
|
-
"document": "实例ID
|
2289
|
+
"document": "实例ID,形如mssql-i1z41iwd",
|
2290
2290
|
"example": "mssql-njj2mtpl",
|
2291
2291
|
"member": "string",
|
2292
2292
|
"name": "InstanceId",
|
@@ -5950,15 +5950,17 @@
|
|
5950
5950
|
"example": "1",
|
5951
5951
|
"member": "int64",
|
5952
5952
|
"name": "TotalCount",
|
5953
|
+
"output_required": true,
|
5953
5954
|
"type": "int",
|
5954
5955
|
"value_allowed_null": false
|
5955
5956
|
},
|
5956
5957
|
{
|
5957
5958
|
"disabled": false,
|
5958
5959
|
"document": "账号权限列表",
|
5959
|
-
"example": "
|
5960
|
+
"example": "无",
|
5960
5961
|
"member": "AccountPrivilege",
|
5961
5962
|
"name": "Accounts",
|
5963
|
+
"output_required": true,
|
5962
5964
|
"type": "list",
|
5963
5965
|
"value_allowed_null": false
|
5964
5966
|
},
|
@@ -6660,7 +6662,7 @@
|
|
6660
6662
|
{
|
6661
6663
|
"disabled": false,
|
6662
6664
|
"document": "一个或者多个实例ID。实例ID,格式如:mssql-si2823jyl。",
|
6663
|
-
"example": "[mssql-7vfv3rk3]",
|
6665
|
+
"example": "[\"mssql-7vfv3rk3\"]",
|
6664
6666
|
"member": "string",
|
6665
6667
|
"name": "InstanceIdSet",
|
6666
6668
|
"required": false,
|
@@ -6669,7 +6671,7 @@
|
|
6669
6671
|
{
|
6670
6672
|
"disabled": false,
|
6671
6673
|
"document": "实例名称列表,模糊查询。",
|
6672
|
-
"example": "[name]",
|
6674
|
+
"example": "[\"name\"]",
|
6673
6675
|
"member": "string",
|
6674
6676
|
"name": "InstanceNameSet",
|
6675
6677
|
"required": false,
|
@@ -6678,7 +6680,7 @@
|
|
6678
6680
|
{
|
6679
6681
|
"disabled": false,
|
6680
6682
|
"document": "排序字段,默认default,则按照备份空间降序。\ndefault 按照备份空间排序\ndata 数据备份排序\nlog 日志备份排序\nauto 自动备份排序\nmanual 手动备份排序",
|
6681
|
-
"example": "
|
6683
|
+
"example": "order",
|
6682
6684
|
"member": "string",
|
6683
6685
|
"name": "OrderBy",
|
6684
6686
|
"required": false,
|
@@ -6705,7 +6707,7 @@
|
|
6705
6707
|
"example": "1",
|
6706
6708
|
"member": "uint64",
|
6707
6709
|
"name": "TotalCount",
|
6708
|
-
"
|
6710
|
+
"output_required": true,
|
6709
6711
|
"type": "int",
|
6710
6712
|
"value_allowed_null": false
|
6711
6713
|
},
|
@@ -6715,7 +6717,7 @@
|
|
6715
6717
|
"example": "无",
|
6716
6718
|
"member": "SummaryDetailRes",
|
6717
6719
|
"name": "Items",
|
6718
|
-
"
|
6720
|
+
"output_required": true,
|
6719
6721
|
"type": "list",
|
6720
6722
|
"value_allowed_null": false
|
6721
6723
|
},
|
@@ -7384,7 +7386,7 @@
|
|
7384
7386
|
{
|
7385
7387
|
"disabled": false,
|
7386
7388
|
"document": "实例ID列表",
|
7387
|
-
"example": "[mssql-6upluvd5]",
|
7389
|
+
"example": "[\"mssql-6upluvd5\"]",
|
7388
7390
|
"member": "string",
|
7389
7391
|
"name": "InstanceIdSet",
|
7390
7392
|
"required": false,
|
@@ -7393,7 +7395,7 @@
|
|
7393
7395
|
{
|
7394
7396
|
"disabled": false,
|
7395
7397
|
"document": "实例名称列表",
|
7396
|
-
"example": "[name]",
|
7398
|
+
"example": "[\"name\"]",
|
7397
7399
|
"member": "string",
|
7398
7400
|
"name": "InstanceNameSet",
|
7399
7401
|
"required": false,
|
@@ -7419,8 +7421,8 @@
|
|
7419
7421
|
},
|
7420
7422
|
{
|
7421
7423
|
"disabled": false,
|
7422
|
-
"document": "排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log
|
7423
|
-
"example": "
|
7424
|
+
"document": "排序字段,默认default-按照备份空间降序排序,data-按照数据备份排序,log-按照日志备份",
|
7425
|
+
"example": "instanceId",
|
7424
7426
|
"member": "string",
|
7425
7427
|
"name": "OrderBy",
|
7426
7428
|
"required": false,
|
@@ -7447,7 +7449,7 @@
|
|
7447
7449
|
"example": "1",
|
7448
7450
|
"member": "int64",
|
7449
7451
|
"name": "TotalCount",
|
7450
|
-
"
|
7452
|
+
"output_required": true,
|
7451
7453
|
"type": "int",
|
7452
7454
|
"value_allowed_null": false
|
7453
7455
|
},
|
@@ -7457,7 +7459,7 @@
|
|
7457
7459
|
"example": "无",
|
7458
7460
|
"member": "CrossSummaryDetailRes",
|
7459
7461
|
"name": "Items",
|
7460
|
-
"
|
7462
|
+
"output_required": true,
|
7461
7463
|
"type": "list",
|
7462
7464
|
"value_allowed_null": false
|
7463
7465
|
},
|
@@ -10785,7 +10787,7 @@
|
|
10785
10787
|
"example": "[\"2022-10-24 00:00:00\"]",
|
10786
10788
|
"member": "string",
|
10787
10789
|
"name": "SaveModePeriod",
|
10788
|
-
"
|
10790
|
+
"output_required": true,
|
10789
10791
|
"type": "list",
|
10790
10792
|
"value_allowed_null": false
|
10791
10793
|
},
|
@@ -10795,7 +10797,7 @@
|
|
10795
10797
|
"example": "[\"2022-10-25 00:00:00\"]",
|
10796
10798
|
"member": "string",
|
10797
10799
|
"name": "SaveModeRegular",
|
10798
|
-
"
|
10800
|
+
"output_required": true,
|
10799
10801
|
"type": "list",
|
10800
10802
|
"value_allowed_null": false
|
10801
10803
|
},
|
@@ -11688,7 +11690,7 @@
|
|
11688
11690
|
{
|
11689
11691
|
"disabled": false,
|
11690
11692
|
"document": "扩展事件列表",
|
11691
|
-
"example": "
|
11693
|
+
"example": "无",
|
11692
11694
|
"member": "Events",
|
11693
11695
|
"name": "Events",
|
11694
11696
|
"output_required": true,
|
@@ -13515,7 +13517,7 @@
|
|
13515
13517
|
},
|
13516
13518
|
{
|
13517
13519
|
"disabled": false,
|
13518
|
-
"document": "
|
13520
|
+
"document": "备份模式,master_pkg-主节点上打包备份文件;master_no_pkg-主节点单库备份文件;slave_pkg-从节点上打包备份文件;slave_no_pkg-从节点上单库备份文件,从节点上备份只有在always on容灾模式下支持。",
|
13519
13521
|
"example": "master_no_pkg",
|
13520
13522
|
"member": "string",
|
13521
13523
|
"name": "BackupModel",
|
@@ -674,10 +674,10 @@
|
|
674
674
|
],
|
675
675
|
"DescribeRegularBackupPlan": [
|
676
676
|
{
|
677
|
-
"document": "",
|
677
|
+
"document": "查询实例定期备份保留计划",
|
678
678
|
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegularBackupPlan\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-j8kv137v\",\n \"RegularBackupCounts\": \"1\",\n \"RegularBackupSaveDays\": \"365\",\n \"RegularBackupStrategy\": \"month\",\n \"RegularBackupStartTime\": \"2022-10-10\",\n \"BackupCycle\": [\n 1,\n 2,\n 3\n ]\n}",
|
679
679
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a62cac28-1656-4115-bf8d-189bef5e1102\",\n \"SaveModePeriod\": [\n \"2022-10-24 00:00:00\"\n ],\n \"SaveModeRegular\": [\n \"2022-10-26 00:00:00\"\n ]\n }\n}",
|
680
|
-
"title": "
|
680
|
+
"title": "查询实例定期备份保留计划"
|
681
681
|
}
|
682
682
|
],
|
683
683
|
"DescribeRestoreTask": [
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"AssumeRole": {
|
4
|
-
"document": "
|
4
|
+
"document": "**使用说明**\n\n1. 申请扮演某个角色的临时访问凭证,返回临时身份的token和能够扮演该角色的临时密钥;\n2. 角色策略组成 \n(1)角色载体:指定谁可以扮演该角色; \n(2)角色权限:指定扮演角色后可以执行哪些操作,操作哪些资源。\n\n3. 角色可被扮演的条件 \n(1)给该用户绑定包含AssumeRole的策略; \n(2)将该用户配置为角色载体的主体。\n\n4. 此接口可以支持永久密钥或临时密钥调用。\n\n\n**典型场景**\n\n1. 跨账号授权:主账号A需要操作主账号B的资源。 \n例如:A账号下有子用户a,B账号下有角色role b,a可以通过AssumeRole接口扮演b,以角色b身份登录账号B的控制台,并操作资源。\n\n2. 跨服务调用:云上的A服务需要访问或操作B服务的资源。 \n例如:为A服务接入一个服务相关角色,用户授权创建角色和策略后,A服务即可调用AssumeRole获取用户的服务相关角色临时密钥,调用B服务接口并访问资源。\n\n\n\n**最佳实践**\n1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;\n2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;\n3. 建议不要使用主账号永久密钥,对该接口进行调用。",
|
5
5
|
"input": "AssumeRoleRequest",
|
6
6
|
"name": "申请扮演角色临时访问凭证",
|
7
7
|
"output": "AssumeRoleResponse",
|
@@ -135,7 +135,7 @@
|
|
135
135
|
{
|
136
136
|
"disabled": false,
|
137
137
|
"document": "角色外部ID,可在[访问管理](https://console.cloud.tencent.com/cam/role),点击角色名获取。\n长度在2到128之间,可包含大小写字符,数字以及特殊字符:=,.@:/-。 正则为:[\\w+=,.@:\\/-]*",
|
138
|
-
"example": "role-
|
138
|
+
"example": "role-external-id",
|
139
139
|
"member": "string",
|
140
140
|
"name": "ExternalId",
|
141
141
|
"required": false,
|
@@ -144,7 +144,7 @@
|
|
144
144
|
{
|
145
145
|
"disabled": false,
|
146
146
|
"document": "会话标签列表。最多可以传递 50 个会话标签,不支持包含相同标签键。",
|
147
|
-
"example": "
|
147
|
+
"example": "无",
|
148
148
|
"member": "Tag",
|
149
149
|
"name": "Tags",
|
150
150
|
"required": false,
|
@@ -186,7 +186,7 @@
|
|
186
186
|
{
|
187
187
|
"disabled": false,
|
188
188
|
"document": "临时访问凭证",
|
189
|
-
"example": "
|
189
|
+
"example": "无",
|
190
190
|
"member": "Credentials",
|
191
191
|
"name": "Credentials",
|
192
192
|
"output_required": true,
|
@@ -908,6 +908,15 @@
|
|
908
908
|
"name": "VpcConf",
|
909
909
|
"required": false,
|
910
910
|
"type": "object"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"disabled": false,
|
914
|
+
"document": "存储配置信息",
|
915
|
+
"example": "无",
|
916
|
+
"member": "VolumeConf",
|
917
|
+
"name": "VolumesConf",
|
918
|
+
"required": false,
|
919
|
+
"type": "list"
|
911
920
|
}
|
912
921
|
],
|
913
922
|
"usage": "in"
|
@@ -1897,6 +1906,17 @@
|
|
1897
1906
|
"required": false,
|
1898
1907
|
"type": "object",
|
1899
1908
|
"value_allowed_null": false
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
"disabled": false,
|
1912
|
+
"document": "存储配置信息",
|
1913
|
+
"example": "无",
|
1914
|
+
"member": "VolumeConf",
|
1915
|
+
"name": "VolumesConf",
|
1916
|
+
"output_required": false,
|
1917
|
+
"required": false,
|
1918
|
+
"type": "list",
|
1919
|
+
"value_allowed_null": false
|
1900
1920
|
}
|
1901
1921
|
],
|
1902
1922
|
"usage": "both"
|
@@ -2587,6 +2607,78 @@
|
|
2587
2607
|
],
|
2588
2608
|
"usage": "in"
|
2589
2609
|
},
|
2610
|
+
"VolumeConf": {
|
2611
|
+
"document": "存储配置",
|
2612
|
+
"members": [
|
2613
|
+
{
|
2614
|
+
"disabled": false,
|
2615
|
+
"document": "存储类型",
|
2616
|
+
"example": "\"COS\",\"CFS\"",
|
2617
|
+
"member": "string",
|
2618
|
+
"name": "Type",
|
2619
|
+
"output_required": false,
|
2620
|
+
"required": false,
|
2621
|
+
"type": "string",
|
2622
|
+
"value_allowed_null": false
|
2623
|
+
},
|
2624
|
+
{
|
2625
|
+
"disabled": false,
|
2626
|
+
"document": "对象存储桶名称",
|
2627
|
+
"example": "xxx-appid",
|
2628
|
+
"member": "string",
|
2629
|
+
"name": "BucketName",
|
2630
|
+
"output_required": false,
|
2631
|
+
"required": false,
|
2632
|
+
"type": "string",
|
2633
|
+
"value_allowed_null": false
|
2634
|
+
},
|
2635
|
+
{
|
2636
|
+
"disabled": false,
|
2637
|
+
"document": "存储连接地址",
|
2638
|
+
"example": "https://cos.ap-shanghai",
|
2639
|
+
"member": "string",
|
2640
|
+
"name": "Endpoint",
|
2641
|
+
"output_required": false,
|
2642
|
+
"required": false,
|
2643
|
+
"type": "string",
|
2644
|
+
"value_allowed_null": false
|
2645
|
+
},
|
2646
|
+
{
|
2647
|
+
"disabled": false,
|
2648
|
+
"document": "存储连接用户密码",
|
2649
|
+
"example": "xxxx-xxxx",
|
2650
|
+
"member": "string",
|
2651
|
+
"name": "KeyID",
|
2652
|
+
"output_required": false,
|
2653
|
+
"required": false,
|
2654
|
+
"type": "string",
|
2655
|
+
"value_allowed_null": false
|
2656
|
+
},
|
2657
|
+
{
|
2658
|
+
"disabled": false,
|
2659
|
+
"document": "存储挂载目的目录",
|
2660
|
+
"example": "/data",
|
2661
|
+
"member": "string",
|
2662
|
+
"name": "DstPath",
|
2663
|
+
"output_required": false,
|
2664
|
+
"required": false,
|
2665
|
+
"type": "string",
|
2666
|
+
"value_allowed_null": false
|
2667
|
+
},
|
2668
|
+
{
|
2669
|
+
"disabled": false,
|
2670
|
+
"document": "存储挂载源目录",
|
2671
|
+
"example": "/data",
|
2672
|
+
"member": "string",
|
2673
|
+
"name": "SrcPath",
|
2674
|
+
"output_required": false,
|
2675
|
+
"required": false,
|
2676
|
+
"type": "string",
|
2677
|
+
"value_allowed_null": false
|
2678
|
+
}
|
2679
|
+
],
|
2680
|
+
"usage": "both"
|
2681
|
+
},
|
2590
2682
|
"VpcConf": {
|
2591
2683
|
"document": "云托管服务 Vpc 配置",
|
2592
2684
|
"members": [
|
@@ -6174,6 +6174,16 @@
|
|
6174
6174
|
"type": "string",
|
6175
6175
|
"value_allowed_null": false
|
6176
6176
|
},
|
6177
|
+
{
|
6178
|
+
"disabled": false,
|
6179
|
+
"document": "接入/卸载失败原因",
|
6180
|
+
"example": "roles.rbac.authorization.k8s.io \"tcss-admin\" is forbidden: unable to create new content in namespace tcss because it is being terminated",
|
6181
|
+
"member": "string",
|
6182
|
+
"name": "AccessedErrorReason",
|
6183
|
+
"output_required": false,
|
6184
|
+
"type": "string",
|
6185
|
+
"value_allowed_null": false
|
6186
|
+
},
|
6177
6187
|
{
|
6178
6188
|
"disabled": false,
|
6179
6189
|
"document": "节点总数",
|
@@ -14841,6 +14851,16 @@
|
|
14841
14851
|
"type": "string",
|
14842
14852
|
"value_allowed_null": false
|
14843
14853
|
},
|
14854
|
+
{
|
14855
|
+
"disabled": false,
|
14856
|
+
"document": "资产同步时间",
|
14857
|
+
"example": "2024-10-31 22:3****",
|
14858
|
+
"member": "string",
|
14859
|
+
"name": "AssetSyncTime",
|
14860
|
+
"output_required": true,
|
14861
|
+
"type": "string",
|
14862
|
+
"value_allowed_null": false
|
14863
|
+
},
|
14844
14864
|
{
|
14845
14865
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
14846
14866
|
"member": "string",
|
@@ -18896,7 +18916,7 @@
|
|
18896
18916
|
{
|
18897
18917
|
"disabled": false,
|
18898
18918
|
"document": "防御容器状态",
|
18899
|
-
"example": "
|
18919
|
+
"example": "HasRisk",
|
18900
18920
|
"member": "string",
|
18901
18921
|
"name": "DefenderStatus",
|
18902
18922
|
"output_required": true,
|
@@ -19013,6 +19033,16 @@
|
|
19013
19033
|
"type": "string",
|
19014
19034
|
"value_allowed_null": false
|
19015
19035
|
},
|
19036
|
+
{
|
19037
|
+
"disabled": false,
|
19038
|
+
"document": "检查失败原因",
|
19039
|
+
"example": "no-node",
|
19040
|
+
"member": "string",
|
19041
|
+
"name": "CheckFailReason",
|
19042
|
+
"output_required": false,
|
19043
|
+
"type": "string",
|
19044
|
+
"value_allowed_null": false
|
19045
|
+
},
|
19016
19046
|
{
|
19017
19047
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
19018
19048
|
"member": "string",
|
@@ -27243,7 +27273,7 @@
|
|
27243
27273
|
{
|
27244
27274
|
"disabled": false,
|
27245
27275
|
"document": "集群的详细信息",
|
27246
|
-
"example": "
|
27276
|
+
"example": "[{}]",
|
27247
27277
|
"member": "ClusterInfoItem",
|
27248
27278
|
"name": "ClusterInfoList",
|
27249
27279
|
"output_required": true,
|
@@ -842,7 +842,7 @@
|
|
842
842
|
{
|
843
843
|
"document": "查询主机详细信息",
|
844
844
|
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetHostDetail\n<公共请求参数>\n\n{\n \"HostId\": \"dskaldjskld\"\n}",
|
845
|
-
"output": "{\n \"Response\": {\n \"AgentVersion\": \"5.2.1.105\",\n \"ClusterAccessedStatus\": \"AccessedNone\",\n \"ClusterID\": \"cls-dfw3e***\",\n \"ClusterName\": \"clsfoo***\",\n \"ContainerCnt\": 1,\n \"DockerAPIVersion\": \"1.43\",\n \"DockerFileSystemDriver\": \"overlay2\",\n \"DockerGoVersion\": \"go1.20.7\",\n \"DockerRootDir\": \"/var/lib/docker\",\n \"DockerVersion\": \"24.0.6\",\n \"Group\": \"root\",\n \"HostIP\": \"1.1.1.1\",\n \"HostName\": \"机器名称\",\n \"ImageCnt\": 10,\n \"InstanceID\": \"ins-8bc803fd\",\n \"IsContainerd\": false,\n \"K8sMasterIP\": \"10.0.1.92\",\n \"K8sVersion\": \"1.0.1\",\n \"KernelVersion\": \"3.10.0-1160.102.1.el7.x86_64\",\n \"KubeProxyVersion\": \"1.0.1\",\n \"MachineType\": \"CVM\",\n \"OsName\": \"CentOS Linux release 7.9.2009 (Core)\",\n \"Project\": {\n \"ProjectID\": 0,\n \"ProjectName\": \"默认项目\"\n },\n \"PublicIp\": \"1.1.1.1\",\n \"RegionID\": 1,\n \"RequestId\": \"342475fc-76eb-4199-998f-780f9921a5f2\",\n \"Status\": \"ONLINE\",\n \"Tags\": [],\n \"UUID\": \"8bc803fd-d85d-47b8-9e2b-9644674be677\",\n \"UpdateTime\": \"2024-10-30 10:26:52\"\n }\n}",
|
845
|
+
"output": "{\n \"Response\": {\n \"AgentVersion\": \"5.2.1.105\",\n \"ClusterAccessedStatus\": \"AccessedNone\",\n \"ClusterID\": \"cls-dfw3e***\",\n \"ClusterName\": \"clsfoo***\",\n \"ContainerCnt\": 1,\n \"DockerAPIVersion\": \"1.43\",\n \"DockerFileSystemDriver\": \"overlay2\",\n \"DockerGoVersion\": \"go1.20.7\",\n \"DockerRootDir\": \"/var/lib/docker\",\n \"DockerVersion\": \"24.0.6\",\n \"Group\": \"root\",\n \"HostIP\": \"1.1.1.1\",\n \"HostName\": \"机器名称\",\n \"ImageCnt\": 10,\n \"InstanceID\": \"ins-8bc803fd\",\n \"IsContainerd\": false,\n \"K8sMasterIP\": \"10.0.1.92\",\n \"K8sVersion\": \"1.0.1\",\n \"KernelVersion\": \"3.10.0-1160.102.1.el7.x86_64\",\n \"KubeProxyVersion\": \"1.0.1\",\n \"MachineType\": \"CVM\",\n \"OsName\": \"CentOS Linux release 7.9.2009 (Core)\",\n \"Project\": {\n \"ProjectID\": 0,\n \"ProjectName\": \"默认项目\"\n },\n \"PublicIp\": \"1.1.1.1\",\n \"RegionID\": 1,\n \"RequestId\": \"342475fc-76eb-4199-998f-780f9921a5f2\",\n \"Status\": \"ONLINE\",\n \"Tags\": [],\n \"UUID\": \"8bc803fd-d85d-47b8-9e2b-9644674be677\",\n \"UpdateTime\": \"2024-10-30 10:26:52\",\n \"AssetSyncTime\": \"2024-10-30 10:26:52\"\n }\n}",
|
846
846
|
"title": "查询主机详细信息"
|
847
847
|
}
|
848
848
|
],
|
@@ -1163,8 +1163,8 @@
|
|
1163
1163
|
"DescribeClusterDetail": [
|
1164
1164
|
{
|
1165
1165
|
"document": "查询集群的详细信息",
|
1166
|
-
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
1167
|
-
"output": "{\n \"Response\": {\n \"ApiServerAddress\": \"https://
|
1166
|
+
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-20ry\"\n}",
|
1167
|
+
"output": "{\n \"Response\": {\n \"ApiServerAddress\": \"https://10.46.164.12:1053\",\n \"CheckStatus\": \"HasRisk\",\n \"ClusterId\": \"cls-20ry\",\n \"ClusterName\": \"benben-tcss\",\n \"ClusterNodeNum\": 1,\n \"ClusterStatus\": \"CSR_RUNNING\",\n \"ClusterSubStatus\": \"CSR_RUNNING\",\n \"ClusterType\": \"USER_CREATE_CLUSTER\",\n \"ClusterVersion\": \"v1.25.13\",\n \"ContainerRuntime\": \"docker://26.1.4\",\n \"DefenderStatus\": \"Defended\",\n \"HighRiskCount\": 8,\n \"HintRiskCount\": 3,\n \"IngressCount\": 0,\n \"MasterIps\": \"172.16.64.12;\",\n \"MiddleRiskCount\": 9,\n \"NamespaceCount\": 7,\n \"NetworkType\": \"3\",\n \"NodeCount\": 1,\n \"PodCount\": 15,\n \"Region\": \"ap-guangzhou\",\n \"RequestId\": \"7d65a8f8-2a92-4291-9e18-10a9d6a31382\",\n \"ScanTaskProgress\": 100,\n \"SeriousRiskCount\": 0,\n \"ServiceCount\": 2,\n \"TaskCreateTime\": \"2024-10-29 12:59:55\",\n \"WorkloadCount\": 10\n }\n}",
|
1168
1168
|
"title": "查询集群详情"
|
1169
1169
|
}
|
1170
1170
|
],
|
@@ -2919,6 +2919,15 @@
|
|
2919
2919
|
"required": false,
|
2920
2920
|
"type": "string"
|
2921
2921
|
},
|
2922
|
+
{
|
2923
|
+
"disabled": false,
|
2924
|
+
"document": "是否启用 DataPlaneV2(cilium替代kube-proxy) ",
|
2925
|
+
"example": "false",
|
2926
|
+
"member": "bool",
|
2927
|
+
"name": "DataPlaneV2",
|
2928
|
+
"required": false,
|
2929
|
+
"type": "bool"
|
2930
|
+
},
|
2922
2931
|
{
|
2923
2932
|
"disabled": false,
|
2924
2933
|
"document": "是否启用集群删除保护",
|
@@ -2993,7 +3002,7 @@
|
|
2993
3002
|
},
|
2994
3003
|
{
|
2995
3004
|
"disabled": false,
|
2996
|
-
"document": "
|
3005
|
+
"document": "集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。",
|
2997
3006
|
"example": "GR",
|
2998
3007
|
"member": "string",
|
2999
3008
|
"name": "NetworkType",
|