2 Star 2 Fork 2

tencentcloud / tencentcloud-sdk-nodejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cloudhsm_client.js 3.15 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2023-03-10 10:07 . release 4.0.556
"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;
1
https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs.git
git@gitee.com:tencentcloud/tencentcloud-sdk-nodejs.git
tencentcloud
tencentcloud-sdk-nodejs
tencentcloud-sdk-nodejs
master

搜索帮助