tencentcloud-sdk-nodejs-eis 4.0.1052 → 4.1.10

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.
@@ -1,330 +0,0 @@
1
- /*
2
- * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing,
11
- * software distributed under the License is distributed on an
12
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
- * KIND, either express or implied. See the License for the
14
- * specific language governing permissions and limitations
15
- * under the License.
16
- */
17
-
18
- /**
19
- * 连接器操作
20
- */
21
- export interface EisConnectionOperation {
22
- /**
23
- * 连接器操作名称
24
- */
25
- OperationName: string
26
- /**
27
- * 连接器展示名称
28
- */
29
- DisplayName: string
30
- /**
31
- * 操作是否为触发器
32
- */
33
- IsTrigger: boolean
34
- }
35
-
36
- /**
37
- * ListEisConnectors请求参数结构体
38
- */
39
- export interface ListEisConnectorsRequest {
40
- /**
41
- * 连接器名称,非必输,如输入则按照输入值模糊匹配
42
- */
43
- ConnectorName?: string
44
- /**
45
- * 分页参数,数据偏移量
46
- */
47
- Offset?: number
48
- /**
49
- * 分页参数,每页显示的条数
50
- */
51
- Limit?: number
52
- }
53
-
54
- /**
55
- * 连接器概要信息
56
- */
57
- export interface EisConnectorSummary {
58
- /**
59
- * 连接器名称
60
- */
61
- ConnectorName: string
62
- /**
63
- * 连接器展示名称
64
- */
65
- DisplayName: string
66
- /**
67
- * 连接器对应企业
68
- */
69
- Company: string
70
- /**
71
- * 连接器对应产品
72
- */
73
- Product: string
74
- /**
75
- * 连接器版本
76
- */
77
- ConnectorVersion: string
78
- /**
79
- * 连接器创建时间
80
- */
81
- CreateTime: number
82
- }
83
-
84
- /**
85
- * ListEisConnectorOperations返回参数结构体
86
- */
87
- export interface ListEisConnectorOperationsResponse {
88
- /**
89
- * 连接器列表
90
- */
91
- Operations: Array<EisConnectionOperation>
92
- /**
93
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
94
- */
95
- RequestId?: string
96
- }
97
-
98
- /**
99
- * DescribeEisConnectorConfig返回参数结构体
100
- */
101
- export interface DescribeEisConnectorConfigResponse {
102
- /**
103
- * 连接器配置参数描述(json结构),示例如下:
104
- {
105
- "attributes":{
106
- "description":"测试", // 连接器的描述
107
- "displayName":"测试", // 连接器的展示名
108
- "name":"test", // 连接器的名称
109
- "version":"1.0.0" // 连接器的版本号
110
- },
111
- "properties":[
112
- {
113
- "attributes":{
114
- "displayName":"企业ID", // 参数的展示名
115
- "name":"para1", // 参数名
116
- "required":"true", // 是否必填
117
- "type":"int" // 参数的类型
118
- }
119
- },
120
- {
121
- "attributes":{
122
- "displayName":"成员管理密钥",
123
- "name":"para2",
124
- "required":"true",
125
- "type":"float"
126
- }
127
- },
128
- {
129
- "attributes":{
130
- "displayName":"应用管理密钥",
131
- "name":"para3",
132
- "required":"true",
133
- "type":"string"
134
- }
135
- },
136
- {
137
- "attributes":{
138
- "displayName":"企业ID",
139
- "name":"para4",
140
- "required":"true",
141
- "type":"decimal"
142
- }
143
- },
144
- {
145
- "attributes":{
146
- "displayName":"成员管理密钥",
147
- "name":"para5",
148
- "required":"true",
149
- "type":"bool"
150
- }
151
- },
152
- {
153
- "attributes":{
154
- "displayName":"应用管理密钥",
155
- "name":"para6",
156
- "required":"true",
157
- "type":"date"
158
- }
159
- },
160
- {
161
- "attributes":{
162
- "displayName":"企业ID",
163
- "name":"para7",
164
- "required":"true",
165
- "type":"time"
166
- }
167
- },
168
- {
169
- "attributes":{
170
- "displayName":"成员管理密钥",
171
- "name":"para8",
172
- "required":"true",
173
- "type":"datetime"
174
- }
175
- },
176
- {
177
- "attributes":{
178
- "displayName":"应用管理密钥",
179
- "name":"para9",
180
- "required":"true",
181
- "type":"map"
182
- },
183
- "children":[
184
- {
185
- "attributes":{
186
- "displayName":"key",
187
- "name":"key",
188
- "required":"true",
189
- "type":"string"
190
- }
191
- },
192
- {
193
- "attributes":{
194
- "displayName":"value",
195
- "name":"value",
196
- "required":"true",
197
- "type":"any"
198
- }
199
- }
200
- ]
201
- },
202
- {
203
- "attributes":{
204
- "displayName":"企业ID",
205
- "name":"para10",
206
- "required":"true",
207
- "type":"list" // list,list里元素的类型是结构体,children里是结构体的描述
208
- },
209
- "children":[
210
- {
211
- "attributes":{
212
- "displayName":"field1",
213
- "name":"field1",
214
- "required":"true",
215
- "type":"string"
216
- }
217
- },
218
- {
219
- "attributes":{
220
- "displayName":"field2",
221
- "name":"field2",
222
- "required":"true",
223
- "type":"any"
224
- }
225
- }
226
- ]
227
- },
228
- {
229
- "attributes":{
230
- "displayName":"成员管理密钥",
231
- "name":"para11",
232
- "required":"true",
233
- "type":"struct"
234
- },
235
- "children":[
236
- {
237
- "attributes":{
238
- "displayName":"field1", // 结构体属性的展示名
239
- "name":"field1", // 结构体属性的名称
240
- "required":"true", // 是否必填
241
- "type":"string" // 属性的类型
242
- }
243
- },
244
- {
245
- "attributes":{
246
- "displayName":"field2",
247
- "name":"field2",
248
- "required":"true",
249
- "type":"any"
250
- }
251
- }
252
- ]
253
- },
254
- {
255
- "attributes":{
256
- "displayName":"应用管理密钥",
257
- "name":"para12",
258
- "required":"true",
259
- "type":"enum"
260
- },
261
- "children":[
262
- {
263
- "attributes":{
264
- "displayName":"PC", // 枚举值的展示名
265
- "name":"PC" // 枚举值的名称
266
- }
267
- },
268
- {
269
- "attributes":{
270
- "displayName":"MAC",
271
- "name":"MAC"
272
- }
273
- }
274
- ]
275
- }
276
- ]
277
- }
278
- */
279
- ConnectorParameter: string
280
- /**
281
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
282
- */
283
- RequestId?: string
284
- }
285
-
286
- /**
287
- * ListEisConnectorOperations请求参数结构体
288
- */
289
- export interface ListEisConnectorOperationsRequest {
290
- /**
291
- * 连接器名称
292
- */
293
- ConnectorName: string
294
- /**
295
- * 连接器版本
296
- */
297
- ConnectorVersion: string
298
- }
299
-
300
- /**
301
- * DescribeEisConnectorConfig请求参数结构体
302
- */
303
- export interface DescribeEisConnectorConfigRequest {
304
- /**
305
- * 连接器名称
306
- */
307
- ConnectorName: string
308
- /**
309
- * 连接器版本
310
- */
311
- ConnectorVersion: string
312
- }
313
-
314
- /**
315
- * ListEisConnectors返回参数结构体
316
- */
317
- export interface ListEisConnectorsResponse {
318
- /**
319
- * 连接器总数
320
- */
321
- TotalCount: number
322
- /**
323
- * 连接器列表
324
- */
325
- Connectors: Array<EisConnectorSummary>
326
- /**
327
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
328
- */
329
- RequestId?: string
330
- }
@@ -1,6 +0,0 @@
1
- import * as Models from "./eis_models"
2
- import { Client } from "./eis_client"
3
- export const v20200715 = {
4
- Client: Client,
5
- Models: Models,
6
- }
@@ -1,95 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- /*
3
- * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing,
12
- * software distributed under the License is distributed on an
13
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- * KIND, either express or implied. See the License for the
15
- * specific language governing permissions and limitations
16
- * under the License.
17
- */
18
- import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
- import {
20
- ListRuntimesMCResponse,
21
- RuntimeMC,
22
- GetRuntimeResourceMonitorMetricMCResponse,
23
- ListRuntimeDeployedInstancesMCRequest,
24
- RuntimeExtensionMC,
25
- ListDeployableRuntimesMCResponse,
26
- GetRuntimeMCResponse,
27
- ListDeployableRuntimesMCRequest,
28
- ListRuntimesMCRequest,
29
- GetRuntimeMCRequest,
30
- MetricValueMC,
31
- GetRuntimeResourceMonitorMetricMCRequest,
32
- AbstractRuntimeMC,
33
- ListRuntimeDeployedInstancesMCResponse,
34
- RuntimeDeployedInstanceMC,
35
- } from "./eis_models"
36
-
37
- /**
38
- * eis client
39
- * @class
40
- */
41
- export class Client extends TencentCloudCommon.AbstractClient {
42
- constructor(clientConfig: TencentCloudCommon.ClientConfig) {
43
- super("eis.tencentcloudapi.com", "2021-06-01", clientConfig)
44
- }
45
-
46
- /**
47
- * 获取运行时详情
48
- */
49
- async GetRuntimeMC(
50
- req: GetRuntimeMCRequest,
51
- cb?: (error: string, rep: GetRuntimeMCResponse) => void
52
- ): Promise<GetRuntimeMCResponse> {
53
- return this.request("GetRuntimeMC", req, cb)
54
- }
55
-
56
- /**
57
- * 返回用户可用的运行时列表,发布应用时返回的运行时环境,仅shared和private运行时,无sandbox运行时,并且只有running/scaling状态的
58
- */
59
- async ListDeployableRuntimesMC(
60
- req: ListDeployableRuntimesMCRequest,
61
- cb?: (error: string, rep: ListDeployableRuntimesMCResponse) => void
62
- ): Promise<ListDeployableRuntimesMCResponse> {
63
- return this.request("ListDeployableRuntimesMC", req, cb)
64
- }
65
-
66
- /**
67
- * 获取运行时资源监控详情,cpu,memory,bandwidth
68
- */
69
- async GetRuntimeResourceMonitorMetricMC(
70
- req: GetRuntimeResourceMonitorMetricMCRequest,
71
- cb?: (error: string, rep: GetRuntimeResourceMonitorMetricMCResponse) => void
72
- ): Promise<GetRuntimeResourceMonitorMetricMCResponse> {
73
- return this.request("GetRuntimeResourceMonitorMetricMC", req, cb)
74
- }
75
-
76
- /**
77
- * 获取运行时部署的应用实例列表
78
- */
79
- async ListRuntimeDeployedInstancesMC(
80
- req: ListRuntimeDeployedInstancesMCRequest,
81
- cb?: (error: string, rep: ListRuntimeDeployedInstancesMCResponse) => void
82
- ): Promise<ListRuntimeDeployedInstancesMCResponse> {
83
- return this.request("ListRuntimeDeployedInstancesMC", req, cb)
84
- }
85
-
86
- /**
87
- * 返回用户的运行时列表,运行时管理主页使用,包含沙箱、共享运行时及独立运行时环境,不包含已经删除的运行时
88
- */
89
- async ListRuntimesMC(
90
- req: ListRuntimesMCRequest,
91
- cb?: (error: string, rep: ListRuntimesMCResponse) => void
92
- ): Promise<ListRuntimesMCResponse> {
93
- return this.request("ListRuntimesMC", req, cb)
94
- }
95
- }