tencentcloud-sdk-nodejs-tcbr 4.0.363
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.
- package/CHANGELOG.md +82550 -0
- package/LICENSE +201 -0
- package/README.md +149 -0
- package/SERVICE_CHANGELOG.md +81461 -0
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/package.json +47 -0
- package/prettier.config.js +38 -0
- package/products.md +210 -0
- package/src/index.ts +1 -0
- package/src/services/index.ts +1 -0
- package/src/services/tcbr/index.ts +5 -0
- package/src/services/tcbr/v20220217/index.ts +6 -0
- package/src/services/tcbr/v20220217/tcbr_client.ts +129 -0
- package/src/services/tcbr/v20220217/tcbr_models.ts +876 -0
- package/tencentcloud/index.d.ts +1 -0
- package/tencentcloud/index.js +4 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/tcbr/index.d.ts +6 -0
- package/tencentcloud/services/tcbr/index.js +7 -0
- package/tencentcloud/services/tcbr/v20220217/index.d.ts +6 -0
- package/tencentcloud/services/tcbr/v20220217/index.js +9 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +37 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +73 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +723 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.js +18 -0
- package/tsconfig.json +33 -0
- package/typings/index.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { tcbr } from "./tcbr";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20220217 = void 0;
|
|
4
|
+
const Models = require("./tcbr_models");
|
|
5
|
+
const tcbr_client_1 = require("./tcbr_client");
|
|
6
|
+
exports.v20220217 = {
|
|
7
|
+
Client: tcbr_client_1.Client,
|
|
8
|
+
Models: Models,
|
|
9
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
import { DescribeCloudRunServersResponse, DescribeEnvBaseInfoResponse, CreateCloudRunServerRequest, DescribeCloudRunEnvsResponse, DescribeCloudRunEnvsRequest, UpdateCloudRunServerRequest, DescribeCloudRunServerDetailRequest, DescribeCloudRunServersRequest, DescribeCloudRunServerDetailResponse, CreateCloudRunEnvResponse, DescribeEnvBaseInfoRequest, CreateCloudRunServerResponse, UpdateCloudRunServerResponse, CreateCloudRunEnvRequest } from "./tcbr_models";
|
|
3
|
+
/**
|
|
4
|
+
* tcbr client
|
|
5
|
+
* @class
|
|
6
|
+
*/
|
|
7
|
+
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 创建云托管服务接口
|
|
11
|
+
*/
|
|
12
|
+
CreateCloudRunServer(req: CreateCloudRunServerRequest, cb?: (error: string, rep: CreateCloudRunServerResponse) => void): Promise<CreateCloudRunServerResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 更新云托管服务
|
|
15
|
+
*/
|
|
16
|
+
UpdateCloudRunServer(req: UpdateCloudRunServerRequest, cb?: (error: string, rep: UpdateCloudRunServerResponse) => void): Promise<UpdateCloudRunServerResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 查询环境基础信息
|
|
19
|
+
*/
|
|
20
|
+
DescribeEnvBaseInfo(req: DescribeEnvBaseInfoRequest, cb?: (error: string, rep: DescribeEnvBaseInfoResponse) => void): Promise<DescribeEnvBaseInfoResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* 查询云托管服务列表接口
|
|
23
|
+
*/
|
|
24
|
+
DescribeCloudRunServers(req: DescribeCloudRunServersRequest, cb?: (error: string, rep: DescribeCloudRunServersResponse) => void): Promise<DescribeCloudRunServersResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 创建云托管环境,并开通资源。
|
|
27
|
+
*/
|
|
28
|
+
CreateCloudRunEnv(req: CreateCloudRunEnvRequest, cb?: (error: string, rep: CreateCloudRunEnvResponse) => void): Promise<CreateCloudRunEnvResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
|
|
31
|
+
*/
|
|
32
|
+
DescribeCloudRunEnvs(req: DescribeCloudRunEnvsRequest, cb?: (error: string, rep: DescribeCloudRunEnvsResponse) => void): Promise<DescribeCloudRunEnvsResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 查询云托管服务详情
|
|
35
|
+
*/
|
|
36
|
+
DescribeCloudRunServerDetail(req: DescribeCloudRunServerDetailRequest, cb?: (error: string, rep: DescribeCloudRunServerDetailResponse) => void): Promise<DescribeCloudRunServerDetailResponse>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
/**
|
|
23
|
+
* tcbr client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends TencentCloudCommon.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("tcbr.tencentcloudapi.com", "2022-02-17", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 创建云托管服务接口
|
|
32
|
+
*/
|
|
33
|
+
async CreateCloudRunServer(req, cb) {
|
|
34
|
+
return this.request("CreateCloudRunServer", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 更新云托管服务
|
|
38
|
+
*/
|
|
39
|
+
async UpdateCloudRunServer(req, cb) {
|
|
40
|
+
return this.request("UpdateCloudRunServer", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 查询环境基础信息
|
|
44
|
+
*/
|
|
45
|
+
async DescribeEnvBaseInfo(req, cb) {
|
|
46
|
+
return this.request("DescribeEnvBaseInfo", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 查询云托管服务列表接口
|
|
50
|
+
*/
|
|
51
|
+
async DescribeCloudRunServers(req, cb) {
|
|
52
|
+
return this.request("DescribeCloudRunServers", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建云托管环境,并开通资源。
|
|
56
|
+
*/
|
|
57
|
+
async CreateCloudRunEnv(req, cb) {
|
|
58
|
+
return this.request("CreateCloudRunEnv", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
|
|
62
|
+
*/
|
|
63
|
+
async DescribeCloudRunEnvs(req, cb) {
|
|
64
|
+
return this.request("DescribeCloudRunEnvs", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 查询云托管服务详情
|
|
68
|
+
*/
|
|
69
|
+
async DescribeCloudRunServerDetail(req, cb) {
|
|
70
|
+
return this.request("DescribeCloudRunServerDetail", req, cb);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Client = Client;
|