"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Client = void 0;
/* eslint-disable @typescript-eslint/no-unused-vars */
/*
 * Copyright (c) 2018 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
const abstract_client_1 = require("../../../common/abstract_client");
/**
 * dbs client
 * @class
 */
class Client extends abstract_client_1.AbstractClient {
    constructor(clientConfig) {
        super("dbs.tencentcloudapi.com", "2021-11-08", clientConfig);
    }
    /**
     * 本接口（ConfigureBackupPlan）用于配置备份计划。包括配置备份源实例信息、备份对象以及备份策略等。
     */
    async ConfigureBackupPlan(req, cb) {
        return this.request("ConfigureBackupPlan", req, cb);
    }
    /**
     * 本接口（StartBackupPlan）用于启动备份计划。调用此接口前，请务必先使用 StartBackupCheckJob 创建备份计划预校验任务，并通过 DescribeBackupCheckJob 接口查询到任务状态为校验通过时，才能启动备份计划。
     */
    async StartBackupPlan(req, cb) {
        return this.request("StartBackupPlan", req, cb);
    }
    /**
     * 本接口（DescribeBackupCheckJob）用于查询备份计划预校验任务的结果。仅对于预校验通过的任务，才能启动备份计划。
     */
    async DescribeBackupCheckJob(req, cb) {
        return this.request("DescribeBackupCheckJob", req, cb);
    }
    /**
     * 该接口用于创建连通性检测任务，请在创建备份计划前，通过该接口来检测你的源端实例是否连通性正常。
     */
    async CreateConnectTestJob(req, cb) {
        return this.request("CreateConnectTestJob", req, cb);
    }
    /**
     * 本接口（StartBackupCheckJob）用于创建备份计划预校验任务。
     */
    async StartBackupCheckJob(req, cb) {
        return this.request("StartBackupCheckJob", req, cb);
    }
}
exports.Client = Client;
