tencentcloud-sdk-nodejs-dbs 4.1.158

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.
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
5
+ /* eslint-disable @typescript-eslint/no-unused-vars */
6
+ /*
7
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing,
16
+ * software distributed under the License is distributed on an
17
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
+ * KIND, either express or implied. See the License for the
19
+ * specific language governing permissions and limitations
20
+ * under the License.
21
+ */
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
23
+ /**
24
+ * dbs client
25
+ * @class
26
+ */
27
+ class Client extends TencentCloudCommon.AbstractClient {
28
+ constructor(clientConfig) {
29
+ super("dbs.tencentcloudapi.com", "2021-11-08", clientConfig);
30
+ }
31
+ /**
32
+ * 该接口用于创建连通性检测任务,请在创建备份计划前,通过该接口来检测你的源端实例是否连通性正常。
33
+ */
34
+ async CreateConnectTestJob(req, cb) {
35
+ return this.request("CreateConnectTestJob", req, cb);
36
+ }
37
+ /**
38
+ * 本接口(StartBackupCheckJob)用于创建备份计划预校验任务。
39
+ */
40
+ async StartBackupCheckJob(req, cb) {
41
+ return this.request("StartBackupCheckJob", req, cb);
42
+ }
43
+ /**
44
+ * 本接口(StartBackupPlan)用于启动备份计划。调用此接口前,请务必先使用 StartBackupCheckJob 创建备份计划预校验任务,并通过 DescribeBackupCheckJob 接口查询到任务状态为校验通过时,才能启动备份计划。
45
+ */
46
+ async StartBackupPlan(req, cb) {
47
+ return this.request("StartBackupPlan", req, cb);
48
+ }
49
+ /**
50
+ * 本接口(DescribeBackupPlans)用于查询备份计划列表。
51
+ */
52
+ async DescribeBackupPlans(req, cb) {
53
+ return this.request("DescribeBackupPlans", req, cb);
54
+ }
55
+ /**
56
+ * 本接口(ConfigureBackupPlan)用于配置备份计划。包括配置备份源实例信息、备份对象以及备份策略等。
57
+ */
58
+ async ConfigureBackupPlan(req, cb) {
59
+ return this.request("ConfigureBackupPlan", req, cb);
60
+ }
61
+ /**
62
+ * 本接口(DescribeBackupCheckJob)用于查询备份计划预校验任务的结果。仅对于预校验通过的任务,才能启动备份计划。
63
+ */
64
+ async DescribeBackupCheckJob(req, cb) {
65
+ return this.request("DescribeBackupCheckJob", req, cb);
66
+ }
67
+ /**
68
+ * 该接口用于创建备份计划。
69
+ */
70
+ async CreateBackupPlan(req, cb) {
71
+ return this.request("CreateBackupPlan", req, cb);
72
+ }
73
+ /**
74
+ * 该接口用于查询连通性检测任务的结果
75
+ */
76
+ async DescribeConnectTestResult(req, cb) {
77
+ return this.request("DescribeConnectTestResult", req, cb);
78
+ }
79
+ }
80
+ exports.Client = Client;