@ucloud-sdks/ucloud-sdk-js 0.2.16 → 0.2.18
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.
|
@@ -13,7 +13,7 @@ class UDBClient extends client_1.default {
|
|
|
13
13
|
super({ config, credential });
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* BackupUDBInstance -
|
|
16
|
+
* BackupUDBInstance - 发起实例备份。
|
|
17
17
|
*
|
|
18
18
|
* See also: https://docs.ucloud.cn/api/udb-api/backup_udb_instance
|
|
19
19
|
*/
|
|
@@ -85,7 +85,7 @@ class UDBClient extends client_1.default {
|
|
|
85
85
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* CreateMongoDBReplicaSet - 一键创建DB
|
|
88
|
+
* CreateMongoDBReplicaSet - 一键创建DB副本集,本接口适用于物理机MongoDB,该架构即将下线, 若要使用快杰MongoDB,请参考https://docs.ucloud.cn/api/umongodb-api/index
|
|
89
89
|
*
|
|
90
90
|
* See also: https://docs.ucloud.cn/api/udb-api/create_mongo_db_replica_set
|
|
91
91
|
*/
|
|
@@ -130,7 +130,7 @@ class UDBClient extends client_1.default {
|
|
|
130
130
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* CreateUDBReplicationInstance - 创建MongoDB
|
|
133
|
+
* CreateUDBReplicationInstance - 创建MongoDB的副本节点(包括仲裁), 本接口适用于物理机MongoDB,该架构即将下线, 若要使用快杰MongoDB,请参考https://docs.ucloud.cn/api/umongodb-api/index
|
|
134
134
|
*
|
|
135
135
|
* See also: https://docs.ucloud.cn/api/udb-api/create_udb_replication_instance
|
|
136
136
|
*/
|
|
@@ -139,7 +139,7 @@ class UDBClient extends client_1.default {
|
|
|
139
139
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
* CreateUDBRouteInstance -
|
|
142
|
+
* CreateUDBRouteInstance - 本接口适用于物理机MongoDB,该架构即将下线, 若要使用快杰MongoDB,请参考https://docs.ucloud.cn/api/umongodb-api/index
|
|
143
143
|
*
|
|
144
144
|
* See also: https://docs.ucloud.cn/api/udb-api/create_udb_route_instance
|
|
145
145
|
*/
|
|
@@ -210,6 +210,15 @@ class UDBClient extends client_1.default {
|
|
|
210
210
|
const args = Object.assign({ Action: 'DescribeUDBBackupBlacklist' }, (request || {}));
|
|
211
211
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* DescribeUDBBackupStrategy - 获取实例备份策略
|
|
215
|
+
*
|
|
216
|
+
* See also: https://docs.ucloud.cn/api/udb-api/describe_udb_backup_strategy
|
|
217
|
+
*/
|
|
218
|
+
describeUDBBackupStrategy(request) {
|
|
219
|
+
const args = Object.assign({ Action: 'DescribeUDBBackupStrategy' }, (request || {}));
|
|
220
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
221
|
+
}
|
|
213
222
|
/**
|
|
214
223
|
* DescribeUDBBinlogBackup - 列表UDB实例Binlog自动备份信息
|
|
215
224
|
*
|
|
@@ -219,6 +228,15 @@ class UDBClient extends client_1.default {
|
|
|
219
228
|
const args = Object.assign({ Action: 'DescribeUDBBinlogBackup' }, (request || {}));
|
|
220
229
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
221
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* DescribeUDBBinlogBackupStrategy - 获取UDB实例binlog自动备份策略
|
|
233
|
+
*
|
|
234
|
+
* See also: https://docs.ucloud.cn/api/udb-api/describe_udb_binlog_backup_strategy
|
|
235
|
+
*/
|
|
236
|
+
describeUDBBinlogBackupStrategy(request) {
|
|
237
|
+
const args = Object.assign({ Action: 'DescribeUDBBinlogBackupStrategy' }, (request || {}));
|
|
238
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
239
|
+
}
|
|
222
240
|
/**
|
|
223
241
|
* DescribeUDBBinlogBackupURL - 获取UDB的Binlog或者错误日志或者慢查询日志的备份地址
|
|
224
242
|
*
|
|
@@ -417,6 +435,15 @@ class UDBClient extends client_1.default {
|
|
|
417
435
|
const args = Object.assign({ Action: 'GetUDBInstanceSSLCertURL' }, (request || {}));
|
|
418
436
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
419
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* ListUDBInstanceFailoverRecord - 获取实例容灾记录列表
|
|
440
|
+
*
|
|
441
|
+
* See also: https://docs.ucloud.cn/api/udb-api/list_udb_instance_failover_record
|
|
442
|
+
*/
|
|
443
|
+
listUDBInstanceFailoverRecord(request) {
|
|
444
|
+
const args = Object.assign({ Action: 'ListUDBInstanceFailoverRecord' }, (request || {}));
|
|
445
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
446
|
+
}
|
|
420
447
|
/**
|
|
421
448
|
* ListUDBMachineType - 获取UDB云数据库支持的计算规格列表,暂不支持获取跨可用区实例的计算规格,目前支持的数据库品类包括:NVMe版和SSD云盘版MySQL
|
|
422
449
|
*
|