tccli 3.0.1386.1__py2.py3-none-any.whl → 3.0.1387.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 +20 -10
- tccli/services/apm/v20210622/examples.json +2 -2
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/ccc/ccc_client.py +134 -28
- tccli/services/ccc/v20200210/api.json +514 -0
- tccli/services/ccc/v20200210/examples.json +16 -0
- tccli/services/cdwpg/v20201230/api.json +22 -4
- tccli/services/ckafka/v20190819/api.json +83 -85
- tccli/services/ckafka/v20190819/examples.json +6 -6
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/csip/v20221121/api.json +66 -16
- tccli/services/cynosdb/v20190107/api.json +36 -36
- tccli/services/dlc/v20210125/api.json +342 -1
- tccli/services/dlc/v20210125/examples.json +8 -2
- tccli/services/dnspod/v20210323/api.json +22 -12
- tccli/services/es/v20180416/api.json +7 -7
- tccli/services/faceid/v20180301/api.json +12 -2
- tccli/services/gs/gs_client.py +57 -4
- tccli/services/gs/v20191118/api.json +34 -0
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/ioa/ioa_client.py +267 -55
- tccli/services/ioa/v20220601/api.json +963 -98
- tccli/services/ioa/v20220601/examples.json +39 -1
- tccli/services/iotexplorer/v20190423/api.json +154 -2
- tccli/services/lke/v20231130/api.json +57 -19
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +46 -2
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +25 -25
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/omics/v20221128/api.json +163 -13
- tccli/services/redis/v20180412/api.json +124 -42
- tccli/services/redis/v20180412/examples.json +6 -6
- tccli/services/tcaplusdb/v20190823/api.json +23 -3
- tccli/services/tione/v20211111/api.json +65 -15
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +97 -14
- tccli/services/vdb/v20230616/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +39 -10
- tccli/services/vpc/v20170312/examples.json +2 -2
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1387.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1387.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1387.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1387.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1387.1.dist-info}/license_files/LICENSE +0 -0
@@ -80,7 +80,7 @@
|
|
80
80
|
"CreateInstanceAccount": {
|
81
81
|
"document": "本接口(CreateInstanceAccount)用于自定义访问实例的账号。",
|
82
82
|
"input": "CreateInstanceAccountRequest",
|
83
|
-
"name": "
|
83
|
+
"name": "自定义实例账号",
|
84
84
|
"output": "CreateInstanceAccountResponse",
|
85
85
|
"status": "online"
|
86
86
|
},
|
@@ -575,9 +575,9 @@
|
|
575
575
|
"status": "online"
|
576
576
|
},
|
577
577
|
"ModifyInstanceAccount": {
|
578
|
-
"document": "本接口(ModifyInstanceAccount
|
578
|
+
"document": "本接口(ModifyInstanceAccount)用于修改实例账号。",
|
579
579
|
"input": "ModifyInstanceAccountRequest",
|
580
|
-
"name": "
|
580
|
+
"name": "修改实例账号",
|
581
581
|
"output": "ModifyInstanceAccountResponse",
|
582
582
|
"status": "online"
|
583
583
|
},
|
@@ -1605,6 +1605,15 @@
|
|
1605
1605
|
"name": "Password",
|
1606
1606
|
"required": false,
|
1607
1607
|
"type": "string"
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"disabled": false,
|
1611
|
+
"document": "是否加密密码",
|
1612
|
+
"example": "false",
|
1613
|
+
"member": "bool",
|
1614
|
+
"name": "EncryptPassword",
|
1615
|
+
"required": false,
|
1616
|
+
"type": "bool"
|
1608
1617
|
}
|
1609
1618
|
],
|
1610
1619
|
"type": "object"
|
@@ -1691,7 +1700,7 @@
|
|
1691
1700
|
{
|
1692
1701
|
"disabled": false,
|
1693
1702
|
"document": "克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。",
|
1694
|
-
"example": "154572601-1165734322-
|
1703
|
+
"example": "154572601-1165734322-153705740",
|
1695
1704
|
"member": "string",
|
1696
1705
|
"name": "BackupId",
|
1697
1706
|
"required": true,
|
@@ -1736,7 +1745,7 @@
|
|
1736
1745
|
{
|
1737
1746
|
"disabled": false,
|
1738
1747
|
"document": "克隆实例的访问密码。<ul><li>当输入参数<b>NoAuth</b>为<b>true</b>时,可不设置该参数。</li><li>当实例为Redis2.8、4.0和5.0时,其密码格式为:8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以\"/\"开头;</li><li>当实例为CKV 3.2时,其密码格式为:8-30个字符,必须包含字母和数字,且不包含其他字符。</li></ul>",
|
1739
|
-
"example": "
|
1748
|
+
"example": "305961MyP@ssword",
|
1740
1749
|
"member": "string",
|
1741
1750
|
"name": "Password",
|
1742
1751
|
"required": false,
|
@@ -1799,7 +1808,7 @@
|
|
1799
1808
|
{
|
1800
1809
|
"disabled": false,
|
1801
1810
|
"document": "指定克隆实例的告警策略 ID。请登录[腾讯云可观测平台控制台](https://console.cloud.tencent.com/monitor/alarm2/policy),在 <b>告警管理</b> > <b>策略管理</b>页面获取策略 ID 信息。",
|
1802
|
-
"example": "policy-ny3vfcp0",
|
1811
|
+
"example": "[\"policy-ny3vfcp0\"]",
|
1803
1812
|
"member": "string",
|
1804
1813
|
"name": "AlarmPolicyList",
|
1805
1814
|
"required": false,
|
@@ -1813,6 +1822,15 @@
|
|
1813
1822
|
"name": "CloneTime",
|
1814
1823
|
"required": false,
|
1815
1824
|
"type": "string"
|
1825
|
+
},
|
1826
|
+
{
|
1827
|
+
"disabled": false,
|
1828
|
+
"document": "是否加密密码",
|
1829
|
+
"example": "false",
|
1830
|
+
"member": "bool",
|
1831
|
+
"name": "EncryptPassword",
|
1832
|
+
"required": false,
|
1833
|
+
"type": "bool"
|
1816
1834
|
}
|
1817
1835
|
],
|
1818
1836
|
"type": "object"
|
@@ -1953,7 +1971,7 @@
|
|
1953
1971
|
},
|
1954
1972
|
{
|
1955
1973
|
"disabled": false,
|
1956
|
-
"document": "账户读写权限,支持选择只读与读写权限。\n- r
|
1974
|
+
"document": "账户读写权限,支持选择只读与读写权限。\n- r:只读。\n- rw: 读写。",
|
1957
1975
|
"example": "rw",
|
1958
1976
|
"member": "string",
|
1959
1977
|
"name": "Privilege",
|
@@ -1962,12 +1980,21 @@
|
|
1962
1980
|
},
|
1963
1981
|
{
|
1964
1982
|
"disabled": false,
|
1965
|
-
"document": "
|
1983
|
+
"document": "账号备注描述信息,长度为[0,64] 字节,支持中文。",
|
1966
1984
|
"example": "\"生产账号\"",
|
1967
1985
|
"member": "string",
|
1968
1986
|
"name": "Remark",
|
1969
1987
|
"required": false,
|
1970
1988
|
"type": "string"
|
1989
|
+
},
|
1990
|
+
{
|
1991
|
+
"disabled": false,
|
1992
|
+
"document": "是否加密密码",
|
1993
|
+
"example": "false",
|
1994
|
+
"member": "bool",
|
1995
|
+
"name": "EncryptPassword",
|
1996
|
+
"required": false,
|
1997
|
+
"type": "bool"
|
1971
1998
|
}
|
1972
1999
|
],
|
1973
2000
|
"type": "object"
|
@@ -1977,7 +2004,7 @@
|
|
1977
2004
|
"members": [
|
1978
2005
|
{
|
1979
2006
|
"disabled": false,
|
1980
|
-
"document": "任务ID",
|
2007
|
+
"document": "任务ID。",
|
1981
2008
|
"example": "29600111",
|
1982
2009
|
"member": "int64",
|
1983
2010
|
"name": "TaskId",
|
@@ -2054,7 +2081,7 @@
|
|
2054
2081
|
{
|
2055
2082
|
"disabled": false,
|
2056
2083
|
"document": "访问实例的密码。\n- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。\n- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以\"/\"开头。\n- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。",
|
2057
|
-
"example": "
|
2084
|
+
"example": "260945MyP@ssword",
|
2058
2085
|
"member": "string",
|
2059
2086
|
"name": "Password",
|
2060
2087
|
"required": false,
|
@@ -2230,6 +2257,15 @@
|
|
2230
2257
|
"name": "AlarmPolicyList",
|
2231
2258
|
"required": false,
|
2232
2259
|
"type": "list"
|
2260
|
+
},
|
2261
|
+
{
|
2262
|
+
"disabled": false,
|
2263
|
+
"document": "是否加密密码",
|
2264
|
+
"example": "false",
|
2265
|
+
"member": "bool",
|
2266
|
+
"name": "EncryptPassword",
|
2267
|
+
"required": false,
|
2268
|
+
"type": "bool"
|
2233
2269
|
}
|
2234
2270
|
],
|
2235
2271
|
"type": "object"
|
@@ -2250,7 +2286,7 @@
|
|
2250
2286
|
{
|
2251
2287
|
"disabled": false,
|
2252
2288
|
"document": "实例ID。",
|
2253
|
-
"example": "\"crs-bzssy0cp\",\"crs-a47h97c1\"",
|
2289
|
+
"example": "[\"crs-bzssy0cp\",\"crs-a47h97c1\"]",
|
2254
2290
|
"member": "string",
|
2255
2291
|
"name": "InstanceIds",
|
2256
2292
|
"output_required": true,
|
@@ -2271,7 +2307,7 @@
|
|
2271
2307
|
"members": [
|
2272
2308
|
{
|
2273
2309
|
"disabled": false,
|
2274
|
-
"document": "
|
2310
|
+
"document": "参数模板名称。字符长度要求为[2,64]。",
|
2275
2311
|
"example": "自定义参数模板",
|
2276
2312
|
"member": "string",
|
2277
2313
|
"name": "Name",
|
@@ -2289,7 +2325,7 @@
|
|
2289
2325
|
},
|
2290
2326
|
{
|
2291
2327
|
"disabled": false,
|
2292
|
-
"document": "产品类型。\n-
|
2328
|
+
"document": "产品类型。\n- 6:Redis 4.0 内存版(标准架构)。\n- 7:Redis 4.0 内存版(集群架构)。\n- 8:Redis 5.0 内存版(标准架构)。\n- 9:Redis 5.0 内存版(集群架构)。\n- 15:Redis 6.2 内存版(标准架构)。\n- 16:Redis 6.2 内存版(集群架构)。\n- 17:Redis 7.0 内存版(标准架构)。\n- 18:Redis 7.0 内存版(集群架构)。",
|
2293
2329
|
"example": "6",
|
2294
2330
|
"member": "uint64",
|
2295
2331
|
"name": "ProductType",
|
@@ -2420,7 +2456,7 @@
|
|
2420
2456
|
{
|
2421
2457
|
"disabled": false,
|
2422
2458
|
"document": "修改时间。",
|
2423
|
-
"example": "
|
2459
|
+
"example": "1718073070",
|
2424
2460
|
"member": "int64",
|
2425
2461
|
"name": "Updatetime",
|
2426
2462
|
"output_required": true,
|
@@ -3410,7 +3446,7 @@
|
|
3410
3446
|
{
|
3411
3447
|
"disabled": false,
|
3412
3448
|
"document": "备份任务的状态:\n1:备份在流程中。\n2:备份正常。\n3:备份转RDB文件处理中。\n4:已完成RDB转换。\n-1:备份已过期。\n-2:备份已删除。",
|
3413
|
-
"example": "2",
|
3449
|
+
"example": "[2]",
|
3414
3450
|
"member": "int64",
|
3415
3451
|
"name": "Status",
|
3416
3452
|
"required": false,
|
@@ -3805,7 +3841,7 @@
|
|
3805
3841
|
"members": [
|
3806
3842
|
{
|
3807
3843
|
"disabled": false,
|
3808
|
-
"document": "实例ID。",
|
3844
|
+
"document": "实例ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance)在实例列表复制实例 ID。",
|
3809
3845
|
"example": "crs-d8ej0xn2",
|
3810
3846
|
"member": "string",
|
3811
3847
|
"name": "InstanceId",
|
@@ -4324,7 +4360,7 @@
|
|
4324
4360
|
"members": [
|
4325
4361
|
{
|
4326
4362
|
"disabled": false,
|
4327
|
-
"document": "实例
|
4363
|
+
"document": "实例 ID 。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。",
|
4328
4364
|
"example": "crs-5a4py64p",
|
4329
4365
|
"member": "string",
|
4330
4366
|
"name": "InstanceId",
|
@@ -4333,7 +4369,7 @@
|
|
4333
4369
|
},
|
4334
4370
|
{
|
4335
4371
|
"disabled": false,
|
4336
|
-
"document": "
|
4372
|
+
"document": "分页大小。默认为100,最大值为 200。",
|
4337
4373
|
"example": "100",
|
4338
4374
|
"member": "uint64",
|
4339
4375
|
"name": "Limit",
|
@@ -4342,7 +4378,7 @@
|
|
4342
4378
|
},
|
4343
4379
|
{
|
4344
4380
|
"disabled": false,
|
4345
|
-
"document": "偏移量,取Limit
|
4381
|
+
"document": "偏移量,取Limit整数倍,默认值为0。计算公式:offset=limit*(页码-1)。",
|
4346
4382
|
"example": "0",
|
4347
4383
|
"member": "uint64",
|
4348
4384
|
"name": "Offset",
|
@@ -4466,8 +4502,8 @@
|
|
4466
4502
|
"members": [
|
4467
4503
|
{
|
4468
4504
|
"disabled": false,
|
4469
|
-
"document": "实例 ID 列表,数组长度限制[0,100]
|
4470
|
-
"example": "[\"crs-f2ho5rsz
|
4505
|
+
"document": "实例 ID 列表,数组长度限制[0,100]。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。",
|
4506
|
+
"example": "[\"crs-f2ho5rsz\"]",
|
4471
4507
|
"member": "string",
|
4472
4508
|
"name": "InstanceIds",
|
4473
4509
|
"required": true,
|
@@ -5443,7 +5479,7 @@
|
|
5443
5479
|
{
|
5444
5480
|
"disabled": false,
|
5445
5481
|
"document": "Redis独享集群 ID。请登录[专用集群控制台](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1\n)切换至**云服务管理**页面,在下拉框选择**云数据库 Redis**,可获取独享集群ID。",
|
5446
|
-
"example": "[
|
5482
|
+
"example": "[\"crs-cdc-p8ktf94h\"]",
|
5447
5483
|
"member": "string",
|
5448
5484
|
"name": "RedisClusterIds",
|
5449
5485
|
"required": false,
|
@@ -6421,7 +6457,7 @@
|
|
6421
6457
|
{
|
6422
6458
|
"disabled": false,
|
6423
6459
|
"document": "实例ID列表,一个或者多个实例 ID 组成的数组。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。",
|
6424
|
-
"example": "[\"crs-eb2w7dto
|
6460
|
+
"example": "[\"crs-eb2w7dto\"]",
|
6425
6461
|
"member": "string",
|
6426
6462
|
"name": "InstanceIds",
|
6427
6463
|
"required": true,
|
@@ -7768,8 +7804,8 @@
|
|
7768
7804
|
},
|
7769
7805
|
{
|
7770
7806
|
"disabled": false,
|
7771
|
-
"document": "用户
|
7772
|
-
"example": "
|
7807
|
+
"document": "用户AppId。AppId是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 AppId。\n",
|
7808
|
+
"example": "13103214145",
|
7773
7809
|
"member": "int64",
|
7774
7810
|
"name": "Appid",
|
7775
7811
|
"output_required": true,
|
@@ -7869,7 +7905,7 @@
|
|
7869
7905
|
{
|
7870
7906
|
"disabled": false,
|
7871
7907
|
"document": "实例内存容量大小。单位:MB,1MB=1024KB。",
|
7872
|
-
"example": "1451",
|
7908
|
+
"example": "1451.0",
|
7873
7909
|
"member": "float",
|
7874
7910
|
"name": "Size",
|
7875
7911
|
"output_required": true,
|
@@ -7879,7 +7915,7 @@
|
|
7879
7915
|
{
|
7880
7916
|
"disabled": true,
|
7881
7917
|
"document": "该字段已废弃。请使用腾讯云可观测平台API 接口 [GetMonitorData](https://cloud.tencent.com/document/product/248/31014) 获取实例已使用的内存容量。",
|
7882
|
-
"example": "0",
|
7918
|
+
"example": "0.0",
|
7883
7919
|
"member": "float",
|
7884
7920
|
"name": "SizeUsed",
|
7885
7921
|
"output_required": true,
|
@@ -7999,7 +8035,7 @@
|
|
7999
8035
|
{
|
8000
8036
|
"disabled": false,
|
8001
8037
|
"document": "反亲和性标签。",
|
8002
|
-
"example": "
|
8038
|
+
"example": "[\"tag1\"]",
|
8003
8039
|
"member": "string",
|
8004
8040
|
"name": "Tags",
|
8005
8041
|
"output_required": true,
|
@@ -8089,7 +8125,7 @@
|
|
8089
8125
|
{
|
8090
8126
|
"disabled": false,
|
8091
8127
|
"document": "项目名称。",
|
8092
|
-
"example": "
|
8128
|
+
"example": "project",
|
8093
8129
|
"member": "string",
|
8094
8130
|
"name": "ProjectName",
|
8095
8131
|
"output_required": true,
|
@@ -8345,6 +8381,16 @@
|
|
8345
8381
|
"output_required": false,
|
8346
8382
|
"type": "string",
|
8347
8383
|
"value_allowed_null": false
|
8384
|
+
},
|
8385
|
+
{
|
8386
|
+
"disabled": false,
|
8387
|
+
"document": "删除保护开关,0关闭,1开启",
|
8388
|
+
"example": "0",
|
8389
|
+
"member": "int64",
|
8390
|
+
"name": "DeleteProtectionSwitch",
|
8391
|
+
"output_required": false,
|
8392
|
+
"type": "int",
|
8393
|
+
"value_allowed_null": false
|
8348
8394
|
}
|
8349
8395
|
],
|
8350
8396
|
"usage": "out"
|
@@ -8934,6 +8980,15 @@
|
|
8934
8980
|
"name": "Password",
|
8935
8981
|
"required": true,
|
8936
8982
|
"type": "string"
|
8983
|
+
},
|
8984
|
+
{
|
8985
|
+
"disabled": false,
|
8986
|
+
"document": "是否加密密码",
|
8987
|
+
"example": "false",
|
8988
|
+
"member": "bool",
|
8989
|
+
"name": "EncryptPassword",
|
8990
|
+
"required": false,
|
8991
|
+
"type": "bool"
|
8937
8992
|
}
|
8938
8993
|
],
|
8939
8994
|
"type": "object"
|
@@ -9140,7 +9195,7 @@
|
|
9140
9195
|
},
|
9141
9196
|
{
|
9142
9197
|
"disabled": false,
|
9143
|
-
"document": "附加带宽,大于0,单位MB
|
9198
|
+
"document": "附加带宽,大于0,单位MB。\n**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。",
|
9144
9199
|
"example": "5",
|
9145
9200
|
"member": "int64",
|
9146
9201
|
"name": "Bandwidth",
|
@@ -9149,7 +9204,7 @@
|
|
9149
9204
|
},
|
9150
9205
|
{
|
9151
9206
|
"disabled": false,
|
9152
|
-
"document": "单分片的总连接数。\n- 未开启副本只读时,下限为10000,上限为40000。\n- 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)
|
9207
|
+
"document": "单分片的总连接数。\n- 未开启副本只读时,下限为10000,上限为40000。\n- 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)。\n**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。",
|
9153
9208
|
"example": "20000",
|
9154
9209
|
"member": "int64",
|
9155
9210
|
"name": "ClientLimit",
|
@@ -9240,7 +9295,7 @@
|
|
9240
9295
|
},
|
9241
9296
|
{
|
9242
9297
|
"disabled": false,
|
9243
|
-
"document": "
|
9298
|
+
"document": "指定需修改的账号。\n- root:指在创建 Redis 数据库实例时自动生成的账号。用户无法修改其读写权限,仅可修改其请求路由策略。\n- 自定义的账号:用户在实例创建成功后手动创建的账号。用户可以随时修改其读写权限与请求路由策略。",
|
9244
9299
|
"example": "example_name",
|
9245
9300
|
"member": "string",
|
9246
9301
|
"name": "AccountName",
|
@@ -9249,7 +9304,7 @@
|
|
9249
9304
|
},
|
9250
9305
|
{
|
9251
9306
|
"disabled": false,
|
9252
|
-
"document": "
|
9307
|
+
"document": "指定所修改账号访问的密码。",
|
9253
9308
|
"example": "redis***",
|
9254
9309
|
"member": "string",
|
9255
9310
|
"name": "AccountPassword",
|
@@ -9258,7 +9313,7 @@
|
|
9258
9313
|
},
|
9259
9314
|
{
|
9260
9315
|
"disabled": false,
|
9261
|
-
"document": "
|
9316
|
+
"document": "账号描述信息",
|
9262
9317
|
"example": "some account instruction",
|
9263
9318
|
"member": "string",
|
9264
9319
|
"name": "Remark",
|
@@ -9267,7 +9322,7 @@
|
|
9267
9322
|
},
|
9268
9323
|
{
|
9269
9324
|
"disabled": false,
|
9270
|
-
"document": "
|
9325
|
+
"document": "指定所修改账号读写请求路由的策略。\n- master:表示读写请求路由至主节点。\n- replication:表示读写请求路由至从节点。",
|
9271
9326
|
"example": "master",
|
9272
9327
|
"member": "string",
|
9273
9328
|
"name": "ReadonlyPolicy",
|
@@ -9276,7 +9331,7 @@
|
|
9276
9331
|
},
|
9277
9332
|
{
|
9278
9333
|
"disabled": false,
|
9279
|
-
"document": "
|
9334
|
+
"document": "指定所修改账号的读写权限。\n- r:只读。\n- w:只写。\n- rw:读写。",
|
9280
9335
|
"example": "rw",
|
9281
9336
|
"member": "string",
|
9282
9337
|
"name": "Privilege",
|
@@ -9285,12 +9340,21 @@
|
|
9285
9340
|
},
|
9286
9341
|
{
|
9287
9342
|
"disabled": false,
|
9288
|
-
"document": "
|
9343
|
+
"document": "指定是否将默认账号(root)设置为免密账号。自定义账号不支持免密访问。\n- true:默认账号(root)设置为免密账号。\n- false:默认账号(root)不设置为免密账号。",
|
9289
9344
|
"example": "true",
|
9290
9345
|
"member": "bool",
|
9291
9346
|
"name": "NoAuth",
|
9292
9347
|
"required": false,
|
9293
9348
|
"type": "bool"
|
9349
|
+
},
|
9350
|
+
{
|
9351
|
+
"disabled": false,
|
9352
|
+
"document": "指定所修改的账号是否加密密码",
|
9353
|
+
"example": "false",
|
9354
|
+
"member": "bool",
|
9355
|
+
"name": "EncryptPassword",
|
9356
|
+
"required": false,
|
9357
|
+
"type": "bool"
|
9294
9358
|
}
|
9295
9359
|
],
|
9296
9360
|
"type": "object"
|
@@ -9300,7 +9364,7 @@
|
|
9300
9364
|
"members": [
|
9301
9365
|
{
|
9302
9366
|
"disabled": false,
|
9303
|
-
"document": "任务ID",
|
9367
|
+
"document": "任务ID。",
|
9304
9368
|
"example": "11011",
|
9305
9369
|
"member": "int64",
|
9306
9370
|
"name": "TaskId",
|
@@ -9770,7 +9834,7 @@
|
|
9770
9834
|
"members": [
|
9771
9835
|
{
|
9772
9836
|
"disabled": false,
|
9773
|
-
"document": "修改实例操作。如填写:\n- rename:表示实例重命名。\n- modifyProject:修改实例所属项目。\n- modifyAutoRenew
|
9837
|
+
"document": "修改实例操作。如填写:\n- rename:表示实例重命名。\n- modifyProject:修改实例所属项目。\n- modifyAutoRenew:修改实例续费标记。\n- modifyDeleteProtectionSwitch:修改实例删除保护。",
|
9774
9838
|
"example": "rename",
|
9775
9839
|
"member": "string",
|
9776
9840
|
"name": "Operation",
|
@@ -9813,6 +9877,15 @@
|
|
9813
9877
|
"required": false,
|
9814
9878
|
"type": "list"
|
9815
9879
|
},
|
9880
|
+
{
|
9881
|
+
"disabled": false,
|
9882
|
+
"document": "删除保护开关。- 0:默认状态,指关闭。- 1:开关打开。",
|
9883
|
+
"example": "[1,0]",
|
9884
|
+
"member": "int64",
|
9885
|
+
"name": "DeleteProtectionSwitches",
|
9886
|
+
"required": false,
|
9887
|
+
"type": "list"
|
9888
|
+
},
|
9816
9889
|
{
|
9817
9890
|
"disabled": true,
|
9818
9891
|
"document": "目前在废弃中,存量用户还可以使用,建议新用户使用 InstanceIds。",
|
@@ -11488,6 +11561,15 @@
|
|
11488
11561
|
"name": "NoAuth",
|
11489
11562
|
"required": false,
|
11490
11563
|
"type": "bool"
|
11564
|
+
},
|
11565
|
+
{
|
11566
|
+
"disabled": false,
|
11567
|
+
"document": "是否加密密码",
|
11568
|
+
"example": "false",
|
11569
|
+
"member": "bool",
|
11570
|
+
"name": "EncryptPassword",
|
11571
|
+
"required": false,
|
11572
|
+
"type": "bool"
|
11491
11573
|
}
|
11492
11574
|
],
|
11493
11575
|
"type": "object"
|
@@ -11579,7 +11661,7 @@
|
|
11579
11661
|
"members": [
|
11580
11662
|
{
|
11581
11663
|
"disabled": false,
|
11582
|
-
"document": "待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。",
|
11664
|
+
"document": "待操作的实例ID,可通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口返回值中的 InstanceId 获取。",
|
11583
11665
|
"example": "crs-5a4py64p",
|
11584
11666
|
"member": "string",
|
11585
11667
|
"name": "InstanceId",
|
@@ -11588,8 +11670,8 @@
|
|
11588
11670
|
},
|
11589
11671
|
{
|
11590
11672
|
"disabled": false,
|
11591
|
-
"document": "备份ID,可通过
|
11592
|
-
"example": "
|
11673
|
+
"document": "备份ID,可通过 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 接口返回的参数 RedisBackupSet 获取。",
|
11674
|
+
"example": "\"154572601-1165734321-153731245\"",
|
11593
11675
|
"member": "string",
|
11594
11676
|
"name": "BackupId",
|
11595
11677
|
"required": true,
|
@@ -225,7 +225,7 @@
|
|
225
225
|
"DescribeInstanceBackups": [
|
226
226
|
{
|
227
227
|
"document": "通过该接口查询实例 crs-c7nuafdt 的备份列表。",
|
228
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<公共请求参数>\n\n{\n \"Status\": [\n
|
228
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceBackups\n<公共请求参数>\n\n{\n \"Status\": [\n 2\n ],\n \"InstanceId\": \"crs-c7nuafdt\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
229
229
|
"output": "{\n \"Response\": {\n \"BackupSet\": [\n {\n \"BackupId\": \"154572601-1165734322-153731238\",\n \"BackupSize\": 191,\n \"BackupType\": \"0\",\n \"EndTime\": \"2022-12-23 16:25:18\",\n \"ExpireTime\": \"2022-12-30 16:24:41\",\n \"FileType\": \"RDB-Redis 4.0\",\n \"FullBackup\": 0,\n \"InstanceId\": \"crs-c7nuafdt\",\n \"InstanceName\": \"备份test\",\n \"InstanceType\": 6,\n \"Locked\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"test001\",\n \"StartTime\": \"2022-12-23 16:24:41\",\n \"Status\": 2\n }\n ],\n \"RequestId\": \"2a95bfa4-ac8c-43cd-b7b1-5a93817d8de2\",\n \"TotalCount\": 1\n }\n}",
|
230
230
|
"title": "示例1"
|
231
231
|
}
|
@@ -441,7 +441,7 @@
|
|
441
441
|
"DescribeProjectSecurityGroups": [
|
442
442
|
{
|
443
443
|
"document": "",
|
444
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<公共请求参数>\n\n{\n \"ProjectId\":
|
444
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectSecurityGroups\n<公共请求参数>\n\n{\n \"ProjectId\": 11954,\n \"Product\": \"redis\"\n}",
|
445
445
|
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A1\",\n \"Groups\": [\n {\n \"Outbound\": [],\n \"SecurityGroupName\": \"CDB\",\n \"Inbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-ajr1jzgj\",\n \"SecurityGroupRemark\": \"\",\n \"CreateTime\": \"2017-04-13 15:00:06\"\n }\n ]\n }\n}",
|
446
446
|
"title": "请求示例"
|
447
447
|
}
|
@@ -471,7 +471,7 @@
|
|
471
471
|
"DescribeRedisClusters": [
|
472
472
|
{
|
473
473
|
"document": "",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<公共请求参数>\n\n{\n \"Limit\":
|
474
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisClusters\n<公共请求参数>\n\n{\n \"Limit\": 100,\n \"DedicatedClusterId\": \"cluster-0astoh6a\",\n \"Offset\": 0\n}",
|
475
475
|
"output": "{\n \"Response\": {\n \"Total\": 4,\n \"Resources\": [\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-9nyfki8h\",\n \"StartTime\": \"2022-06-10 14:40:33\",\n \"EndTime\": \"2022-07-10 14:40:33\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-9nyfki8h\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-3blwadqr\",\n \"StartTime\": \"2022-06-10 11:43:57\",\n \"EndTime\": \"2022-07-10 11:43:57\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-3blwadqr\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-etfesut3\",\n \"StartTime\": \"2022-06-10 11:00:25\",\n \"EndTime\": \"2022-07-10 11:00:25\",\n \"Status\": 1,\n \"RedisClusterId\": \"crs-cdc-etfesut3\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-large\",\n \"AvailableMemory\": 538,\n \"Count\": 1\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n },\n {\n \"AppId\": 251200288,\n \"RegionId\": 1,\n \"ZoneId\": 100002,\n \"PayMode\": 1,\n \"ProjectId\": 0,\n \"AutoRenewFlag\": 0,\n \"ClusterName\": \"crs-cdc-4myknrdf\",\n \"StartTime\": \"2022-06-10 10:33:12\",\n \"EndTime\": \"2022-08-10 10:33:12\",\n \"Status\": 2,\n \"RedisClusterId\": \"crs-cdc-4myknrdf\",\n \"BaseBundles\": [\n {\n \"ResourceBundleName\": \"cc-standard\",\n \"AvailableMemory\": 0,\n \"Count\": 1\n }\n ],\n \"ResourceBundles\": [\n {\n \"ResourceBundleName\": \"resource-bundle-mini\",\n \"AvailableMemory\": 16,\n \"Count\": 1\n },\n {\n \"ResourceBundleName\": \"resource-bundle-small-1\",\n \"AvailableMemory\": 48,\n \"Count\": 2\n }\n ],\n \"DedicatedClusterId\": \"cluster-0astoh6a\"\n }\n ],\n \"RequestId\": \"1504cdf3-0095-4694-86d2-5f2a6f8c99a4\"\n }\n}",
|
476
476
|
"title": "示例1"
|
477
477
|
}
|
@@ -628,7 +628,7 @@
|
|
628
628
|
{
|
629
629
|
"document": "手动备份",
|
630
630
|
"input": "https://redis.tencentcloudapi.com/?Action=ManualBackupInstance\n&InstanceId=crs-5a4p****\n&Remark=note_message\n&<公共请求参数>",
|
631
|
-
"output": "{\n \"Response\": {\n \"TaskId\":
|
631
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
632
632
|
"title": "请求示例"
|
633
633
|
}
|
634
634
|
],
|
@@ -683,7 +683,7 @@
|
|
683
683
|
"ModifyInstanceAccount": [
|
684
684
|
{
|
685
685
|
"document": "",
|
686
|
-
"input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs
|
686
|
+
"input": "https://redis.tencentcloudapi.com/?Action=ModifyInstanceAccount\n&InstanceId=crs-********\n&AccountName=test_account\n&<公共请求参数>",
|
687
687
|
"output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
|
688
688
|
"title": "请求示例"
|
689
689
|
}
|
@@ -828,7 +828,7 @@
|
|
828
828
|
{
|
829
829
|
"document": "",
|
830
830
|
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestoreInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-5a4py64p\",\n \"BackupId\": \"678362566696298532848117\",\n \"Password\": \"mypassword\"\n}",
|
831
|
-
"output": "{\n \"Response\": {\n \"TaskId\":
|
831
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 6954227,\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
832
832
|
"title": "恢复 CRS 实例"
|
833
833
|
}
|
834
834
|
],
|
@@ -1081,7 +1081,7 @@
|
|
1081
1081
|
{
|
1082
1082
|
"disabled": false,
|
1083
1083
|
"document": "独占server机器信息",
|
1084
|
-
"example": "
|
1084
|
+
"example": "无",
|
1085
1085
|
"member": "ServerDetailInfo",
|
1086
1086
|
"name": "ServerList",
|
1087
1087
|
"output_required": false,
|
@@ -1091,7 +1091,7 @@
|
|
1091
1091
|
{
|
1092
1092
|
"disabled": false,
|
1093
1093
|
"document": "独占proxy机器信息",
|
1094
|
-
"example": "
|
1094
|
+
"example": "无",
|
1095
1095
|
"member": "ProxyDetailInfo",
|
1096
1096
|
"name": "ProxyList",
|
1097
1097
|
"output_required": false,
|
@@ -1111,7 +1111,7 @@
|
|
1111
1111
|
{
|
1112
1112
|
"disabled": false,
|
1113
1113
|
"document": "审批人uin列表",
|
1114
|
-
"example": "
|
1114
|
+
"example": "[\"name\"]",
|
1115
1115
|
"member": "string",
|
1116
1116
|
"name": "DbaUins",
|
1117
1117
|
"output_required": false,
|
@@ -1177,6 +1177,26 @@
|
|
1177
1177
|
"output_required": false,
|
1178
1178
|
"type": "int",
|
1179
1179
|
"value_allowed_null": false
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
"disabled": false,
|
1183
|
+
"document": "该集群shard总数",
|
1184
|
+
"example": "0",
|
1185
|
+
"member": "int64",
|
1186
|
+
"name": "ShardTotalNum",
|
1187
|
+
"output_required": false,
|
1188
|
+
"type": "int",
|
1189
|
+
"value_allowed_null": false
|
1190
|
+
},
|
1191
|
+
{
|
1192
|
+
"disabled": false,
|
1193
|
+
"document": "已使用的shard总数",
|
1194
|
+
"example": "0",
|
1195
|
+
"member": "int64",
|
1196
|
+
"name": "ShardUsedNum",
|
1197
|
+
"output_required": false,
|
1198
|
+
"type": "int",
|
1199
|
+
"value_allowed_null": false
|
1180
1200
|
}
|
1181
1201
|
],
|
1182
1202
|
"usage": "out"
|