tccli 3.0.848.1__py2.py3-none-any.whl → 3.0.849.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +1 -0
- tccli/services/bma/v20221115/api.json +9 -0
- tccli/services/bma/v20221115/examples.json +1 -1
- tccli/services/cwp/cwp_client.py +61 -8
- tccli/services/cwp/v20180228/api.json +319 -0
- tccli/services/cwp/v20180228/examples.json +8 -0
- tccli/services/dlc/v20210125/api.json +1 -1
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +5 -20
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/ocr/v20181119/api.json +20 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +0 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/thpc/thpc_client.py +13 -8
- tccli/services/thpc/v20230321/api.json +2414 -0
- tccli/services/thpc/v20230321/examples.json +125 -0
- tccli/services/trtc/v20190722/api.json +4 -16
- tccli/services/tse/v20201207/api.json +45 -2
- tccli/services/tts/v20190823/api.json +1 -16
- tccli/services/tts/v20190823/examples.json +1 -1
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/METADATA +2 -2
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/RECORD +28 -26
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.848.1.dist-info → tccli-3.0.849.1.dist-info}/top_level.txt +0 -0
@@ -155,7 +155,7 @@
|
|
155
155
|
"status": "online"
|
156
156
|
},
|
157
157
|
"InquirePriceModifyDBInstanceSpec": {
|
158
|
-
"document": "本接口 (InquirePriceModifyDBInstanceSpec)
|
158
|
+
"document": "本接口 (InquirePriceModifyDBInstanceSpec) 用于查询实例配置变更后的价格。",
|
159
159
|
"input": "InquirePriceModifyDBInstanceSpecRequest",
|
160
160
|
"name": "变更配置询价",
|
161
161
|
"output": "InquirePriceModifyDBInstanceSpecResponse",
|
@@ -2436,7 +2436,6 @@
|
|
2436
2436
|
"document": "DescribeSlowLogs请求参数结构体",
|
2437
2437
|
"members": [
|
2438
2438
|
{
|
2439
|
-
"default": "",
|
2440
2439
|
"document": "实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同",
|
2441
2440
|
"example": "cmgo-a3bm93hf",
|
2442
2441
|
"member": "string",
|
@@ -2445,7 +2444,6 @@
|
|
2445
2444
|
"type": "string"
|
2446
2445
|
},
|
2447
2446
|
{
|
2448
|
-
"default": "",
|
2449
2447
|
"document": "慢日志起始时间,格式:yyyy-mm-dd hh:mm:ss,如:2019-06-01 10:00:00。查询起止时间间隔不能超过24小时,只允许查询最近7天内慢日志。",
|
2450
2448
|
"example": "2020-04-20 00:00:00",
|
2451
2449
|
"member": "datetime",
|
@@ -2454,7 +2452,6 @@
|
|
2454
2452
|
"type": "string"
|
2455
2453
|
},
|
2456
2454
|
{
|
2457
|
-
"default": "",
|
2458
2455
|
"document": "慢日志终止时间,格式:yyyy-mm-dd hh:mm:ss,如:2019-06-02 12:00:00。查询起止时间间隔不能超过24小时,只允许查询最近7天内慢日志。",
|
2459
2456
|
"example": "2020-04-20 22:00:00",
|
2460
2457
|
"member": "datetime",
|
@@ -2463,7 +2460,6 @@
|
|
2463
2460
|
"type": "string"
|
2464
2461
|
},
|
2465
2462
|
{
|
2466
|
-
"default": "",
|
2467
2463
|
"document": "慢日志执行时间阈值,返回执行时间超过该阈值的慢日志,单位为毫秒(ms),最小为100毫秒。",
|
2468
2464
|
"example": "100",
|
2469
2465
|
"member": "uint64",
|
@@ -2472,7 +2468,6 @@
|
|
2472
2468
|
"type": "int"
|
2473
2469
|
},
|
2474
2470
|
{
|
2475
|
-
"default": "",
|
2476
2471
|
"document": "偏移量,最小值为0,最大值为10000,默认值为0。",
|
2477
2472
|
"example": "0",
|
2478
2473
|
"member": "uint64",
|
@@ -2481,7 +2476,6 @@
|
|
2481
2476
|
"type": "int"
|
2482
2477
|
},
|
2483
2478
|
{
|
2484
|
-
"default": "",
|
2485
2479
|
"document": "分页大小,最小值为1,最大值为100,默认值为20。",
|
2486
2480
|
"example": "100",
|
2487
2481
|
"member": "uint64",
|
@@ -2490,8 +2484,7 @@
|
|
2490
2484
|
"type": "int"
|
2491
2485
|
},
|
2492
2486
|
{
|
2493
|
-
"
|
2494
|
-
"document": "慢日志返回格式,可设置为json,不传默认返回原生慢日志格式。",
|
2487
|
+
"document": "慢日志返回格式。默认返回原生慢日志格式,4.4及以上版本可设置为json。",
|
2495
2488
|
"example": "json",
|
2496
2489
|
"member": "string",
|
2497
2490
|
"name": "Format",
|
@@ -2509,7 +2502,6 @@
|
|
2509
2502
|
"example": "20",
|
2510
2503
|
"member": "uint64",
|
2511
2504
|
"name": "Count",
|
2512
|
-
"required": true,
|
2513
2505
|
"type": "int",
|
2514
2506
|
"value_allowed_null": false
|
2515
2507
|
},
|
@@ -2518,7 +2510,6 @@
|
|
2518
2510
|
"example": "[\"Mon Apr 20 13:55:21.623 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362108, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 5335ms\",\"Mon Apr 20 14:01:00.309 I COMMAND [conn1313] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362457, 1), signature: { hash: BinData(0, DC2B16681C70845D7B6C8C6C97400D4DFB394CA0), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362455, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 1264ms\",\"Mon Apr 20 14:20:15.283 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587363613, 1), signature: { hash: BinData(0, 72D24884320C8A9A26AF8C4DD1127874085DFAE5), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587363603, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 426ms\",\"Mon Apr 20 10:25:45.487 I COMMAND [conn48] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"10.53.61.24:7004\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { wtimeout: 0, w: 1 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 423ms\",\"Mon Apr 20 10:25:34.934 I COMMAND [conn28] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 414ms\",\"Mon Apr 20 10:24:52.278 I COMMAND [conn30] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 406ms\",\"Mon Apr 20 10:25:02.675 I COMMAND [conn50] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"9.34.46.139:7003\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 373ms\",\"Mon Apr 20 18:35:15.103 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587378913, 1), signature: { hash: BinData(0, A3C176F81B64A7473F88F3F40B84C59EC9E1E1AE), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587378912, 1), t: 2 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 248ms\",\"Mon Apr 20 10:27:38.171 I COMMAND [conn281] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 212ms\",\"Mon Apr 20 10:26:27.924 I COMMAND [conn111] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.53.80.6:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"100.93.44.26:7013\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d0841f0f688fc992fd087') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 212ms\",\"Mon Apr 20 13:55:15.051 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362085, 6), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 192ms\",\"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 183ms\",\"Mon Apr 20 10:26:09.357 I COMMAND [conn36] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 59 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 134ms\",\"Mon Apr 20 13:00:16.363 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587358814, 1), signature: { hash: BinData(0, 90BD7BB9B481B9825527D89A3579B52E6C0C3915), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587358809, 2), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 123ms\",\"Mon Apr 20 13:35:14.983 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587360912, 1), signature: { hash: BinData(0, 06A84575A66B9316D1ECBFB9FB1C7B2F605AB3A8), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587360909, 5), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 122ms\",\"Mon Apr 20 10:24:43.760 I COMMAND [conn16] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 39 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 112ms\",\"Mon Apr 20 10:25:26.300 I COMMAND [conn15] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 24 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 7 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 110ms\",\"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 107ms\",\"Mon Apr 20 10:27:38.065 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 1, W: 1 } }, Collection: { acquireCount: { w: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_msg 107ms\",\"Mon Apr 20 10:27:38.170 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 105ms\"]",
|
2519
2511
|
"member": "string",
|
2520
2512
|
"name": "SlowLogs",
|
2521
|
-
"required": true,
|
2522
2513
|
"type": "list",
|
2523
2514
|
"value_allowed_null": true
|
2524
2515
|
},
|
@@ -2778,8 +2769,7 @@
|
|
2778
2769
|
"document": "InquirePriceModifyDBInstanceSpec请求参数结构体",
|
2779
2770
|
"members": [
|
2780
2771
|
{
|
2781
|
-
"
|
2782
|
-
"document": "实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。",
|
2772
|
+
"document": "实例 ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同。",
|
2783
2773
|
"example": "cmgo-8oij5631",
|
2784
2774
|
"member": "string",
|
2785
2775
|
"name": "InstanceId",
|
@@ -2787,7 +2777,6 @@
|
|
2787
2777
|
"type": "string"
|
2788
2778
|
},
|
2789
2779
|
{
|
2790
|
-
"default": "",
|
2791
2780
|
"document": "变更配置后实例内存大小,单位:GB。",
|
2792
2781
|
"example": "8",
|
2793
2782
|
"member": "int64",
|
@@ -2796,7 +2785,6 @@
|
|
2796
2785
|
"type": "int"
|
2797
2786
|
},
|
2798
2787
|
{
|
2799
|
-
"default": "",
|
2800
2788
|
"document": "变更配置后实例磁盘大小,单位:GB。",
|
2801
2789
|
"example": "200",
|
2802
2790
|
"member": "int64",
|
@@ -2805,8 +2793,7 @@
|
|
2805
2793
|
"type": "int"
|
2806
2794
|
},
|
2807
2795
|
{
|
2808
|
-
"
|
2809
|
-
"document": "实例变更后的节点数,取值范围具体参照查询云数据库的售卖规格返回参数。默认为不变更节点数",
|
2796
|
+
"document": "实例节点数。默认为不变更节点数,暂不支持变更。",
|
2810
2797
|
"example": "3",
|
2811
2798
|
"member": "int64",
|
2812
2799
|
"name": "NodeNum",
|
@@ -2814,8 +2801,7 @@
|
|
2814
2801
|
"type": "int"
|
2815
2802
|
},
|
2816
2803
|
{
|
2817
|
-
"
|
2818
|
-
"document": "实例变更后的分片数,取值范围具体参照查询云数据库的售卖规格返回参数。只能增加不能减少,默认为不变更分片数",
|
2804
|
+
"document": "实例分片数。默认为不变更分片数,暂不支持变更。",
|
2819
2805
|
"example": "2",
|
2820
2806
|
"member": "int64",
|
2821
2807
|
"name": "ReplicateSetNum",
|
@@ -2833,7 +2819,6 @@
|
|
2833
2819
|
"example": "无",
|
2834
2820
|
"member": "DBInstancePrice",
|
2835
2821
|
"name": "Price",
|
2836
|
-
"required": true,
|
2837
2822
|
"type": "object",
|
2838
2823
|
"value_allowed_null": false
|
2839
2824
|
},
|
@@ -146,10 +146,10 @@
|
|
146
146
|
],
|
147
147
|
"DescribeSlowLogs": [
|
148
148
|
{
|
149
|
-
"document": "",
|
150
|
-
"input": "
|
149
|
+
"document": "以下示例为获取一实例的慢日志信息。",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLogs\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"StartTime\": \"2020-09-22 00:00:00\",\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"SlowMS\": 1,\n \"Offset\": 1,\n \"Limit\": 1,\n \"Format\": \"abc\"\n}",
|
151
151
|
"output": "{\n \"Response\": {\n \"Count\": 20,\n \"RequestId\": \"3a36aa6e-67e2-42a9-adfe-fc694334cc78\",\n \"SlowLogs\": [\n \"Mon Apr 20 13:55:21.623 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362108, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 5335ms\",\n \"Mon Apr 20 14:01:00.309 I COMMAND [conn1313] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362457, 1), signature: { hash: BinData(0, DC2B16681C70845D7B6C8C6C97400D4DFB394CA0), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362455, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 1264ms\",\n \"Mon Apr 20 14:20:15.283 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587363613, 1), signature: { hash: BinData(0, 72D24884320C8A9A26AF8C4DD1127874085DFAE5), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587363603, 1), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 426ms\",\n \"Mon Apr 20 10:25:45.487 I COMMAND [conn48] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"10.53.61.24:7004\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { wtimeout: 0, w: 1 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 423ms\",\n \"Mon Apr 20 10:25:34.934 I COMMAND [conn28] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.112.91.43:7009\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d08160c269352426f9575') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 414ms\",\n \"Mon Apr 20 10:24:52.278 I COMMAND [conn30] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 2, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 406ms\",\n \"Mon Apr 20 10:25:02.675 I COMMAND [conn50] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"100.93.44.26:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"9.34.46.139:7003\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d07ebf3f99b58c95a33fb') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 373ms\",\n \"Mon Apr 20 18:35:15.103 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587378913, 1), signature: { hash: BinData(0, A3C176F81B64A7473F88F3F40B84C59EC9E1E1AE), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587378912, 1), t: 2 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 248ms\",\n \"Mon Apr 20 10:27:38.171 I COMMAND [conn281] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 212ms\",\n \"Mon Apr 20 10:26:27.924 I COMMAND [conn111] command local.system.replset command: replSetReconfig { replSetReconfig: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 3, protocolVersion: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 2, host: \\\"10.53.80.6:7012\\\", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, slaveDelay: 0, votes: 1 }, { _id: 3, host: \\\"100.93.44.26:7013\\\" } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5e9d0841f0f688fc992fd087') } }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 } }, Database: { acquireCount: { w: 1, W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 212ms\",\n \"Mon Apr 20 13:55:15.051 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587362114, 1), signature: { hash: BinData(0, 259955995BDC7E0CA35C4276EB23341C03910A48), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587362085, 6), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 192ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: setFeatureCompatibilityVersion { setFeatureCompatibilityVersion: \\\"4.0\\\", $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 183ms\",\n \"Mon Apr 20 10:26:09.357 I COMMAND [conn36] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_2\\\", version: 1, members: [ { _id: 1, host: \\\"10.112.90.165:7002\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 59 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 134ms\",\n \"Mon Apr 20 13:00:16.363 I COMMAND [conn16903] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587358814, 1), signature: { hash: BinData(0, 90BD7BB9B481B9825527D89A3579B52E6C0C3915), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587358809, 2), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 123ms\",\n \"Mon Apr 20 13:35:14.983 I COMMAND [conn586] command admin.$cmd command: _flushRoutingTableCacheUpdates { forceRoutingTableRefresh: \\\"config.system.sessions\\\", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1587360912, 1), signature: { hash: BinData(0, 06A84575A66B9316D1ECBFB9FB1C7B2F605AB3A8), keyId: 6817613949303783443 } }, $configServerState: { opTime: { ts: Timestamp(1587360909, 5), t: 1 } }, $db: \\\"admin\\\" } numYields:0 reslen:288 locks:{ Global: { acquireCount: { r: 4 } }, Database: { acquireCount: { r: 2 } }, Collection: { acquireCount: { r: 2 } } } protocol:op_msg 122ms\",\n \"Mon Apr 20 10:24:43.760 I COMMAND [conn16] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_0\\\", version: 1, members: [ { _id: 1, host: \\\"10.53.80.6:7011\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 39 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 112ms\",\n \"Mon Apr 20 10:25:26.300 I COMMAND [conn15] command local.system.replset command: replSetInitiate { replSetInitiate: { _id: \\\"cmgo-a3bm93hf_1\\\", version: 1, members: [ { _id: 1, host: \\\"100.93.44.85:7005\\\" } ] }, $readPreference: { mode: \\\"secondaryPreferred\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:60 locks:{ Global: { acquireCount: { r: 23, w: 7, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 24 } }, Database: { acquireCount: { r: 7, w: 4, W: 3 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 7 } }, Collection: { acquireCount: { r: 3, w: 2 } }, oplog: { acquireCount: { r: 2, w: 3 } } } protocol:op_query 110ms\",\n \"Mon Apr 20 10:27:39.400 I COMMAND [conn213] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.065 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 1, W: 1 } }, Collection: { acquireCount: { w: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_msg 107ms\",\n \"Mon Apr 20 10:27:38.170 I COMMAND [conn281] command admin.$cmd command: update { update: \\\"system.version\\\", writeConcern: { w: \\\"majority\\\" }, $db: \\\"admin\\\" } numYields:0 reslen:370 locks:{ Global: { acquireCount: { r: 5, w: 4, R: 1 } }, Database: { acquireCount: { w: 2, W: 2 } }, Collection: { acquireCount: { w: 2 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_msg 105ms\"\n ]\n }\n}",
|
152
|
-
"title": "
|
152
|
+
"title": "获取实例慢日志信息"
|
153
153
|
}
|
154
154
|
],
|
155
155
|
"DescribeSpecInfo": [
|
@@ -178,10 +178,10 @@
|
|
178
178
|
],
|
179
179
|
"InquirePriceModifyDBInstanceSpec": [
|
180
180
|
{
|
181
|
-
"document": "",
|
181
|
+
"document": "查询指定实例变配后的价格",
|
182
182
|
"input": "https://mongodb.tencentcloudapi.com/?Action=InquirePriceModifyDBInstanceSpec\n&InstanceId=cmgo-8oij5631\n&Memory=8\n&Volume=200\n&<公共请求参数>",
|
183
183
|
"output": "{\n \"Response\": {\n \"Price\": {\n \"DiscountPrice\": 449.36,\n \"OriginalPrice\": 660.82,\n \"UnitPrice\": 0\n },\n \"RequestId\": \"ac618a97-5a29-4003-8489-fd8a1e1cc8e9\"\n }\n}",
|
184
|
-
"title": "
|
184
|
+
"title": "示例一"
|
185
185
|
}
|
186
186
|
],
|
187
187
|
"InquirePriceRenewDBInstances": [
|
@@ -7810,7 +7810,26 @@
|
|
7810
7810
|
},
|
7811
7811
|
"SmartFormFileUrl": {
|
7812
7812
|
"document": "智慧表单上传文件信息",
|
7813
|
-
"members": [
|
7813
|
+
"members": [
|
7814
|
+
{
|
7815
|
+
"document": "文件url地址",
|
7816
|
+
"example": "无",
|
7817
|
+
"member": "string",
|
7818
|
+
"name": "FileUrl",
|
7819
|
+
"required": true,
|
7820
|
+
"type": "string",
|
7821
|
+
"value_allowed_null": false
|
7822
|
+
},
|
7823
|
+
{
|
7824
|
+
"document": "文件的顺序,顺序从1开始",
|
7825
|
+
"example": "1",
|
7826
|
+
"member": "uint64",
|
7827
|
+
"name": "FileOrderNumber",
|
7828
|
+
"required": true,
|
7829
|
+
"type": "int",
|
7830
|
+
"value_allowed_null": false
|
7831
|
+
}
|
7832
|
+
],
|
7814
7833
|
"usage": "in"
|
7815
7834
|
},
|
7816
7835
|
"SmartStructuralOCRRequest": {
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"CreateAIFormTask": [
|
76
76
|
{
|
77
77
|
"document": "创建文件识别任务示例",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAIFormTask\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"FileList\": [\n {},\n {}\n ]\n}",
|
78
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAIFormTask\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"FileList\": [\n {\n \"FileUrl\": \"https://xxx.jpg\",\n \"FileOrderNumber\": 1\n },\n {\n \"FileUrl\": \"https://xxx.jpg\",\n \"FileOrderNumber\": 2\n }\n ]\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e522a812-cb79-1ed4-77ab-908572ghu6qq\",\n \"TaskId\": \"209fef6e-117c-11ed-9368-525400e51a47\",\n \"OperateUrl\": \"https://ocr.smartform.cloud.tencent.com?taskId=209fef6e-117c-11ed-9368-525400e51a47\"\n }\n}",
|
80
80
|
"title": "创建文件识别任务示例"
|
81
81
|
}
|
@@ -855,7 +855,6 @@
|
|
855
855
|
"document": "CheckCertificateChain请求参数结构体",
|
856
856
|
"members": [
|
857
857
|
{
|
858
|
-
"default": "",
|
859
858
|
"document": "待检查的证书链",
|
860
859
|
"example": "无",
|
861
860
|
"member": "string",
|
@@ -874,7 +873,6 @@
|
|
874
873
|
"example": "1",
|
875
874
|
"member": "bool",
|
876
875
|
"name": "IsValid",
|
877
|
-
"required": true,
|
878
876
|
"type": "bool",
|
879
877
|
"value_allowed_null": false
|
880
878
|
},
|
@@ -883,7 +881,6 @@
|
|
883
881
|
"example": "1",
|
884
882
|
"member": "bool",
|
885
883
|
"name": "IsTrustedCA",
|
886
|
-
"required": true,
|
887
884
|
"type": "bool",
|
888
885
|
"value_allowed_null": false
|
889
886
|
},
|
@@ -892,7 +889,6 @@
|
|
892
889
|
"example": "[\"qcloud.com\",\"WoTrus DV Server CA [Run by the Issuer]\"]",
|
893
890
|
"member": "string",
|
894
891
|
"name": "Chains",
|
895
|
-
"required": true,
|
896
892
|
"type": "list",
|
897
893
|
"value_allowed_null": false
|
898
894
|
},
|
@@ -20,7 +20,7 @@
|
|
20
20
|
{
|
21
21
|
"document": "对证书链完整性进行检查",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckCertificateChain\n<公共请求参数>\n\n{\n \"CertificateChain\": \"-----BEGIN CERTIFICATE-----MIIFrDCCBJSgAwIBA.................BJSgAwIBA-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----MIIErjCCA5agAwIB.................DCCBJSg-----END CERTIFICATE-----\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"IsValid\": true,\n \"IsTrustedCA\": true,\n \"Chains\": [\n \"
|
23
|
+
"output": "{\n \"Response\": {\n \"IsValid\": true,\n \"IsTrustedCA\": true,\n \"Chains\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
24
24
|
"title": "对证书链进行检查"
|
25
25
|
}
|
26
26
|
],
|
@@ -11,6 +11,8 @@ from tccli.exceptions import ConfigurationError, ClientError, ParamError
|
|
11
11
|
from tencentcloud.common import credential
|
12
12
|
from tencentcloud.common.profile.http_profile import HttpProfile
|
13
13
|
from tencentcloud.common.profile.client_profile import ClientProfile
|
14
|
+
from tencentcloud.thpc.v20230321 import thpc_client as thpc_client_v20230321
|
15
|
+
from tencentcloud.thpc.v20230321 import models as models_v20230321
|
14
16
|
from tencentcloud.thpc.v20220401 import thpc_client as thpc_client_v20220401
|
15
17
|
from tencentcloud.thpc.v20220401 import models as models_v20220401
|
16
18
|
from tencentcloud.thpc.v20211109 import thpc_client as thpc_client_v20211109
|
@@ -487,7 +489,7 @@ def doDeleteQueue(args, parsed_globals):
|
|
487
489
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
488
490
|
|
489
491
|
|
490
|
-
def
|
492
|
+
def doDescribeQueues(args, parsed_globals):
|
491
493
|
g_param = parse_global_arg(parsed_globals)
|
492
494
|
|
493
495
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -516,11 +518,11 @@ def doDescribeAutoScalingConfiguration(args, parsed_globals):
|
|
516
518
|
client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
|
517
519
|
client._sdkVersion += ("_CLI_" + __version__)
|
518
520
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
519
|
-
model = models.
|
521
|
+
model = models.DescribeQueuesRequest()
|
520
522
|
model.from_json_string(json.dumps(args))
|
521
523
|
start_time = time.time()
|
522
524
|
while True:
|
523
|
-
rsp = client.
|
525
|
+
rsp = client.DescribeQueues(model)
|
524
526
|
result = rsp.to_json_string()
|
525
527
|
try:
|
526
528
|
json_obj = json.loads(result)
|
@@ -591,7 +593,7 @@ def doAddNodes(args, parsed_globals):
|
|
591
593
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
592
594
|
|
593
595
|
|
594
|
-
def
|
596
|
+
def doDescribeAutoScalingConfiguration(args, parsed_globals):
|
595
597
|
g_param = parse_global_arg(parsed_globals)
|
596
598
|
|
597
599
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -620,11 +622,11 @@ def doDescribeQueues(args, parsed_globals):
|
|
620
622
|
client = mod.ThpcClient(cred, g_param[OptionsDefine.Region], profile)
|
621
623
|
client._sdkVersion += ("_CLI_" + __version__)
|
622
624
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
623
|
-
model = models.
|
625
|
+
model = models.DescribeAutoScalingConfigurationRequest()
|
624
626
|
model.from_json_string(json.dumps(args))
|
625
627
|
start_time = time.time()
|
626
628
|
while True:
|
627
|
-
rsp = client.
|
629
|
+
rsp = client.DescribeAutoScalingConfiguration(model)
|
628
630
|
result = rsp.to_json_string()
|
629
631
|
try:
|
630
632
|
json_obj = json.loads(result)
|
@@ -852,12 +854,14 @@ def doDeleteCluster(args, parsed_globals):
|
|
852
854
|
|
853
855
|
|
854
856
|
CLIENT_MAP = {
|
857
|
+
"v20230321": thpc_client_v20230321,
|
855
858
|
"v20220401": thpc_client_v20220401,
|
856
859
|
"v20211109": thpc_client_v20211109,
|
857
860
|
|
858
861
|
}
|
859
862
|
|
860
863
|
MODELS_MAP = {
|
864
|
+
"v20230321": models_v20230321,
|
861
865
|
"v20220401": models_v20220401,
|
862
866
|
"v20211109": models_v20211109,
|
863
867
|
|
@@ -873,9 +877,9 @@ ACTION_MAP = {
|
|
873
877
|
"AddQueue": doAddQueue,
|
874
878
|
"DescribeNodes": doDescribeNodes,
|
875
879
|
"DeleteQueue": doDeleteQueue,
|
876
|
-
"DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
|
877
|
-
"AddNodes": doAddNodes,
|
878
880
|
"DescribeQueues": doDescribeQueues,
|
881
|
+
"AddNodes": doAddNodes,
|
882
|
+
"DescribeAutoScalingConfiguration": doDescribeAutoScalingConfiguration,
|
879
883
|
"DescribeClusters": doDescribeClusters,
|
880
884
|
"AddClusterStorageOption": doAddClusterStorageOption,
|
881
885
|
"DescribeClusterActivities": doDescribeClusterActivities,
|
@@ -884,6 +888,7 @@ ACTION_MAP = {
|
|
884
888
|
}
|
885
889
|
|
886
890
|
AVAILABLE_VERSION_LIST = [
|
891
|
+
"v20230321",
|
887
892
|
"v20220401",
|
888
893
|
"v20211109",
|
889
894
|
|