UNPKG

tencentcloud-sdk-nodejs

Version:
116 lines (115 loc) 3.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Client = void 0; /* eslint-disable @typescript-eslint/no-unused-vars */ /* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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"); /** * cloudhsm client * @class */ class Client extends abstract_client_1.AbstractClient { constructor(clientConfig) { super("cloudhsm.tencentcloudapi.com", "2019-11-12", clientConfig); } /** * 获取告警事件 */ async GetAlarmEvent(req, cb) { return this.request("GetAlarmEvent", req, cb); } /** * 修改VSM属性 */ async ModifyVsmAttributes(req, cb) { return this.request("ModifyVsmAttributes", req, cb); } /** * 获取VSM属性 */ async DescribeVsmAttributes(req, cb) { return this.request("DescribeVsmAttributes", req, cb); } /** * 获取用户VSM列表 */ async DescribeVsms(req, cb) { return this.request("DescribeVsms", req, cb); } /** * 查询用户的私有网络列表 */ async DescribeVpc(req, cb) { return this.request("DescribeVpc", req, cb); } /** * 通过VpcId获取Hsm资源数 */ async DescribeHSMByVpcId(req, cb) { return this.request("DescribeHSMByVpcId", req, cb); } /** * 获取VSM监控信息 */ async GetVsmMonitorInfo(req, cb) { return this.request("GetVsmMonitorInfo", req, cb); } /** * 通过SubnetId获取Hsm资源数 */ async DescribeHSMBySubnetId(req, cb) { return this.request("DescribeHSMBySubnetId", req, cb); } /** * 根据用户的AppId获取用户安全组列表 */ async DescribeUsg(req, cb) { return this.request("DescribeUsg", req, cb); } /** * 查询子网列表 */ async DescribeSubnet(req, cb) { return this.request("DescribeSubnet", req, cb); } /** * 修改告警事件 */ async ModifyAlarmEvent(req, cb) { return this.request("ModifyAlarmEvent", req, cb); } /** * 获取当前地域所支持的设备列表 */ async DescribeSupportedHsm(req, cb) { return this.request("DescribeSupportedHsm", req, cb); } /** * 购买询价接口 */ async InquiryPriceBuyVsm(req, cb) { return this.request("InquiryPriceBuyVsm", req, cb); } /** * 获取安全组详情 */ async DescribeUsgRule(req, cb) { return this.request("DescribeUsgRule", req, cb); } } exports.Client = Client;