tencentcloud-sdk-nodejs 4.0.698 → 4.0.700
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 +320 -0
- package/SERVICE_CHANGELOG.md +287 -69
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +117 -12
- package/src/services/as/v20180419/as_models.ts +425 -66
- package/src/services/cls/v20201016/cls_client.ts +2 -3
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +24 -3
- package/src/services/ess/v20201111/ess_client.ts +36 -24
- package/src/services/ess/v20201111/ess_models.ts +111 -72
- package/src/services/essbasic/v20210526/essbasic_client.ts +16 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +33 -0
- package/src/services/iai/v20200303/iai_client.ts +0 -1
- package/src/services/iai/v20200303/iai_models.ts +46 -46
- package/src/services/live/v20180801/live_client.ts +1 -2
- package/src/services/live/v20180801/live_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +59 -29
- package/src/services/ocr/v20181119/ocr_models.ts +6 -6
- package/src/services/tcb/v20180608/tcb_client.ts +3 -1
- package/src/services/tcb/v20180608/tcb_models.ts +43 -6
- package/src/services/teo/v20220901/teo_models.ts +2 -8
- package/src/services/tke/v20180525/tke_client.ts +179 -63
- package/src/services/tke/v20180525/tke_models.ts +862 -145
- package/src/services/vpc/v20170312/vpc_client.ts +3 -3
- package/src/services/vpc/v20170312/vpc_models.ts +67 -3
- package/src/services/waf/v20180125/waf_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +48 -4
- package/tencentcloud/services/as/v20180419/as_client.js +62 -4
- package/tencentcloud/services/as/v20180419/as_models.d.ts +406 -66
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +0 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +0 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +23 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -18
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -18
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +109 -72
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +31 -0
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +0 -1
- package/tencentcloud/services/iai/v20200303/iai_client.js +0 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +46 -46
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -2
- package/tencentcloud/services/live/v20180801/live_client.js +1 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +5 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +59 -29
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -6
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +41 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -8
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +55 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +81 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +844 -153
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +67 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +5 -0
- package/test/as.v20180419.test.js +72 -2
- package/test/ess.v20201111.test.js +12 -2
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/tke.v20180525.test.js +108 -18
|
@@ -317,7 +317,7 @@ export declare class Client extends AbstractClient {
|
|
|
317
317
|
/**
|
|
318
318
|
* 本接口(CreateVpcPeeringConnection)用于创建私有网络对等连接。
|
|
319
319
|
*/
|
|
320
|
-
CreateVpcPeeringConnection(req
|
|
320
|
+
CreateVpcPeeringConnection(req: CreateVpcPeeringConnectionRequest, cb?: (error: string, rep: CreateVpcPeeringConnectionResponse) => void): Promise<CreateVpcPeeringConnectionResponse>;
|
|
321
321
|
/**
|
|
322
322
|
* 本接口 (DescribeSpecificTrafficPackageUsedDetails) 用于查询指定 共享流量包 的用量明细。
|
|
323
323
|
*/
|
|
@@ -672,7 +672,7 @@ export declare class Client extends AbstractClient {
|
|
|
672
672
|
/**
|
|
673
673
|
* 本接口(ModifyVpcPeeringConnection)用于修改私有网络对等连接属性。
|
|
674
674
|
*/
|
|
675
|
-
ModifyVpcPeeringConnection(req
|
|
675
|
+
ModifyVpcPeeringConnection(req: ModifyVpcPeeringConnectionRequest, cb?: (error: string, rep: ModifyVpcPeeringConnectionResponse) => void): Promise<ModifyVpcPeeringConnectionResponse>;
|
|
676
676
|
/**
|
|
677
677
|
* 本接口(ModifyCcnRegionBandwidthLimitsType)用于修改后付费云联网实例修改带宽限速策略。
|
|
678
678
|
*/
|
|
@@ -927,7 +927,7 @@ export declare class Client extends AbstractClient {
|
|
|
927
927
|
/**
|
|
928
928
|
* 本接口(RejectVpcPeeringConnection)用于驳回对等连接请求。
|
|
929
929
|
*/
|
|
930
|
-
RejectVpcPeeringConnection(req
|
|
930
|
+
RejectVpcPeeringConnection(req: RejectVpcPeeringConnectionRequest, cb?: (error: string, rep: RejectVpcPeeringConnectionResponse) => void): Promise<RejectVpcPeeringConnectionResponse>;
|
|
931
931
|
/**
|
|
932
932
|
* 本接口(ResetVpnConnection)用于重置VPN通道。
|
|
933
933
|
*/
|
|
@@ -216,7 +216,44 @@ export interface CreateServiceTemplateRequest {
|
|
|
216
216
|
/**
|
|
217
217
|
* CreateVpcPeeringConnection请求参数结构体
|
|
218
218
|
*/
|
|
219
|
-
export
|
|
219
|
+
export interface CreateVpcPeeringConnectionRequest {
|
|
220
|
+
/**
|
|
221
|
+
* 本端VPC唯一ID。
|
|
222
|
+
*/
|
|
223
|
+
SourceVpcId: string;
|
|
224
|
+
/**
|
|
225
|
+
* 对等连接名称。
|
|
226
|
+
*/
|
|
227
|
+
PeeringConnectionName: string;
|
|
228
|
+
/**
|
|
229
|
+
* 对端VPC唯一ID。
|
|
230
|
+
*/
|
|
231
|
+
DestinationVpcId: string;
|
|
232
|
+
/**
|
|
233
|
+
* 对端用户UIN。
|
|
234
|
+
*/
|
|
235
|
+
DestinationUin: string;
|
|
236
|
+
/**
|
|
237
|
+
* 对端地域。
|
|
238
|
+
*/
|
|
239
|
+
DestinationRegion: string;
|
|
240
|
+
/**
|
|
241
|
+
* 带宽上限,单位Mbps。
|
|
242
|
+
*/
|
|
243
|
+
Bandwidth?: number;
|
|
244
|
+
/**
|
|
245
|
+
* 互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。
|
|
246
|
+
*/
|
|
247
|
+
Type?: string;
|
|
248
|
+
/**
|
|
249
|
+
* 计费模式,日峰值POSTPAID_BY_DAY_MAX,月95POSTPAID_BY_MONTH_95。
|
|
250
|
+
*/
|
|
251
|
+
ChargeType?: string;
|
|
252
|
+
/**
|
|
253
|
+
* 服务分级:PT、AU、AG。
|
|
254
|
+
*/
|
|
255
|
+
QosLevel?: string;
|
|
256
|
+
}
|
|
220
257
|
/**
|
|
221
258
|
* CreateCcn返回参数结构体
|
|
222
259
|
*/
|
|
@@ -272,7 +309,12 @@ export interface CreateAssistantCidrRequest {
|
|
|
272
309
|
/**
|
|
273
310
|
* RejectVpcPeeringConnection请求参数结构体
|
|
274
311
|
*/
|
|
275
|
-
export
|
|
312
|
+
export interface RejectVpcPeeringConnectionRequest {
|
|
313
|
+
/**
|
|
314
|
+
* 对等连接唯一ID。
|
|
315
|
+
*/
|
|
316
|
+
PeeringConnectionId: string;
|
|
317
|
+
}
|
|
276
318
|
/**
|
|
277
319
|
* DescribeNetworkInterfaces请求参数结构体
|
|
278
320
|
*/
|
|
@@ -697,7 +739,24 @@ export interface ResourceStatisticsItem {
|
|
|
697
739
|
/**
|
|
698
740
|
* ModifyVpcPeeringConnection请求参数结构体
|
|
699
741
|
*/
|
|
700
|
-
export
|
|
742
|
+
export interface ModifyVpcPeeringConnectionRequest {
|
|
743
|
+
/**
|
|
744
|
+
* 对等连接ID。
|
|
745
|
+
*/
|
|
746
|
+
PeeringConnectionId: string;
|
|
747
|
+
/**
|
|
748
|
+
* 对等连接名称。
|
|
749
|
+
*/
|
|
750
|
+
PeeringConnectionName?: string;
|
|
751
|
+
/**
|
|
752
|
+
* 带宽上限,单位Mbps。
|
|
753
|
+
*/
|
|
754
|
+
Bandwidth?: number;
|
|
755
|
+
/**
|
|
756
|
+
* 计费模式,日峰值POSTPAID_BY_DAY_MAX,月95 POSTPAID_BY_MONTH_95。
|
|
757
|
+
*/
|
|
758
|
+
ChargeType?: string;
|
|
759
|
+
}
|
|
701
760
|
/**
|
|
702
761
|
* DetachClassicLinkVpc请求参数结构体
|
|
703
762
|
*/
|
|
@@ -12301,6 +12360,11 @@ export interface CcnBandwidthInfo {
|
|
|
12301
12360
|
* CreateVpcPeeringConnection返回参数结构体
|
|
12302
12361
|
*/
|
|
12303
12362
|
export interface CreateVpcPeeringConnectionResponse {
|
|
12363
|
+
/**
|
|
12364
|
+
* 对等连接ID
|
|
12365
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12366
|
+
*/
|
|
12367
|
+
PeeringConnectionId?: string;
|
|
12304
12368
|
/**
|
|
12305
12369
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12306
12370
|
*/
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.as.v20180419.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("as.v20180419.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("as.v20180419.StopInstanceRefresh", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.StopInstanceRefresh({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("as.v20180419.ExecuteScalingPolicy", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ExecuteScalingPolicy({})
|
|
@@ -48,6 +58,16 @@ it("as.v20180419.ClearLaunchConfigurationAttributes", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("as.v20180419.StartInstanceRefresh", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.StartInstanceRefresh({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
it("as.v20180419.ModifyScalingPolicy", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.ModifyScalingPolicy({})
|
|
@@ -98,6 +118,16 @@ it("as.v20180419.ScaleOutInstances", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
121
|
+
it("as.v20180419.ExitStandby", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ExitStandby({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
101
131
|
it("as.v20180419.StartAutoScalingInstances", async function () {
|
|
102
132
|
try {
|
|
103
133
|
const data = await client.StartAutoScalingInstances({})
|
|
@@ -118,6 +148,16 @@ it("as.v20180419.UpgradeLaunchConfiguration", async function () {
|
|
|
118
148
|
}
|
|
119
149
|
})
|
|
120
150
|
|
|
151
|
+
it("as.v20180419.DescribeRefreshActivities", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeRefreshActivities({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
121
161
|
it("as.v20180419.ModifyLifecycleHook", async function () {
|
|
122
162
|
try {
|
|
123
163
|
const data = await client.ModifyLifecycleHook({})
|
|
@@ -208,6 +248,16 @@ it("as.v20180419.CreateScheduledAction", async function () {
|
|
|
208
248
|
}
|
|
209
249
|
})
|
|
210
250
|
|
|
251
|
+
it("as.v20180419.SetInstancesProtection", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.SetInstancesProtection({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
211
261
|
it("as.v20180419.DescribeAutoScalingAdvices", async function () {
|
|
212
262
|
try {
|
|
213
263
|
const data = await client.DescribeAutoScalingAdvices({})
|
|
@@ -268,9 +318,9 @@ it("as.v20180419.ModifyDesiredCapacity", async function () {
|
|
|
268
318
|
}
|
|
269
319
|
})
|
|
270
320
|
|
|
271
|
-
it("as.v20180419.
|
|
321
|
+
it("as.v20180419.RollbackInstanceRefresh", async function () {
|
|
272
322
|
try {
|
|
273
|
-
const data = await client.
|
|
323
|
+
const data = await client.RollbackInstanceRefresh({})
|
|
274
324
|
expect(data).to.be.ok
|
|
275
325
|
} catch(error) {
|
|
276
326
|
expect(error.requestId).to.be.ok
|
|
@@ -498,6 +548,26 @@ it("as.v20180419.DeleteNotificationConfiguration", async function () {
|
|
|
498
548
|
}
|
|
499
549
|
})
|
|
500
550
|
|
|
551
|
+
it("as.v20180419.ResumeInstanceRefresh", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.ResumeInstanceRefresh({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
561
|
+
it("as.v20180419.CancelInstanceRefresh", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.CancelInstanceRefresh({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
501
571
|
it("as.v20180419.DescribeAccountLimits", async function () {
|
|
502
572
|
try {
|
|
503
573
|
const data = await client.DescribeAccountLimits({})
|
|
@@ -278,6 +278,16 @@ it("ess.v20201111.CreateReleaseFlow", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("ess.v20201111.CreateSchemeUrl", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateSchemeUrl({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
281
291
|
it("ess.v20201111.DescribeUserAutoSignStatus", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.DescribeUserAutoSignStatus({})
|
|
@@ -558,9 +568,9 @@ it("ess.v20201111.DeleteIntegrationEmployees", async function () {
|
|
|
558
568
|
}
|
|
559
569
|
})
|
|
560
570
|
|
|
561
|
-
it("ess.v20201111.
|
|
571
|
+
it("ess.v20201111.CreateOrganizationInfoChangeUrl", async function () {
|
|
562
572
|
try {
|
|
563
|
-
const data = await client.
|
|
573
|
+
const data = await client.CreateOrganizationInfoChangeUrl({})
|
|
564
574
|
expect(data).to.be.ok
|
|
565
575
|
} catch(error) {
|
|
566
576
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +488,16 @@ it("essbasic.v20210526.ChannelCreateFlowGroupByTemplates", async function () {
|
|
|
488
488
|
}
|
|
489
489
|
})
|
|
490
490
|
|
|
491
|
+
it("essbasic.v20210526.CreateChannelOrganizationInfoChangeUrl", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.CreateChannelOrganizationInfoChangeUrl({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
491
501
|
it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
|
|
492
502
|
try {
|
|
493
503
|
const data = await client.SyncProxyOrganizationOperators({})
|
|
@@ -108,6 +108,16 @@ it("tke.v20180525.DeleteCluster", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("tke.v20180525.UpdateEdgeClusterVersion", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.UpdateEdgeClusterVersion({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
111
121
|
it("tke.v20180525.UninstallEdgeLogAgent", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.UninstallEdgeLogAgent({})
|
|
@@ -128,9 +138,9 @@ it("tke.v20180525.DeleteEdgeClusterInstances", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("tke.v20180525.
|
|
141
|
+
it("tke.v20180525.DescribePostNodeResources", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribePostNodeResources({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +238,9 @@ it("tke.v20180525.CreatePrometheusTemplate", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
231
|
-
it("tke.v20180525.
|
|
241
|
+
it("tke.v20180525.DescribePodsBySpec", async function () {
|
|
232
242
|
try {
|
|
233
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribePodsBySpec({})
|
|
234
244
|
expect(data).to.be.ok
|
|
235
245
|
} catch(error) {
|
|
236
246
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +248,9 @@ it("tke.v20180525.InstallLogAgent", async function () {
|
|
|
238
248
|
}
|
|
239
249
|
})
|
|
240
250
|
|
|
241
|
-
it("tke.v20180525.
|
|
251
|
+
it("tke.v20180525.DescribeReservedInstances", async function () {
|
|
242
252
|
try {
|
|
243
|
-
const data = await client.
|
|
253
|
+
const data = await client.DescribeReservedInstances({})
|
|
244
254
|
expect(data).to.be.ok
|
|
245
255
|
} catch(error) {
|
|
246
256
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +368,9 @@ it("tke.v20180525.DescribeEdgeLogSwitches", async function () {
|
|
|
358
368
|
}
|
|
359
369
|
})
|
|
360
370
|
|
|
361
|
-
it("tke.v20180525.
|
|
371
|
+
it("tke.v20180525.ModifyReservedInstanceScope", async function () {
|
|
362
372
|
try {
|
|
363
|
-
const data = await client.
|
|
373
|
+
const data = await client.ModifyReservedInstanceScope({})
|
|
364
374
|
expect(data).to.be.ok
|
|
365
375
|
} catch(error) {
|
|
366
376
|
expect(error.requestId).to.be.ok
|
|
@@ -418,6 +428,16 @@ it("tke.v20180525.DescribeClusterNodePools", async function () {
|
|
|
418
428
|
}
|
|
419
429
|
})
|
|
420
430
|
|
|
431
|
+
it("tke.v20180525.DescribeVpcCniPodLimits", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.DescribeVpcCniPodLimits({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
421
441
|
it("tke.v20180525.UpdateClusterVersion", async function () {
|
|
422
442
|
try {
|
|
423
443
|
const data = await client.UpdateClusterVersion({})
|
|
@@ -638,6 +658,16 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
|
|
|
638
658
|
}
|
|
639
659
|
})
|
|
640
660
|
|
|
661
|
+
it("tke.v20180525.ListClusterInspectionResults", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.ListClusterInspectionResults({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
641
671
|
it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
|
|
642
672
|
try {
|
|
643
673
|
const data = await client.DescribePrometheusInstanceInitStatus({})
|
|
@@ -718,6 +748,16 @@ it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
|
|
|
718
748
|
}
|
|
719
749
|
})
|
|
720
750
|
|
|
751
|
+
it("tke.v20180525.CreateReservedInstances", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.CreateReservedInstances({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
721
761
|
it("tke.v20180525.UpdateImageCache", async function () {
|
|
722
762
|
try {
|
|
723
763
|
const data = await client.UpdateImageCache({})
|
|
@@ -758,6 +798,16 @@ it("tke.v20180525.AddExistedInstances", async function () {
|
|
|
758
798
|
}
|
|
759
799
|
})
|
|
760
800
|
|
|
801
|
+
it("tke.v20180525.ModifyPrometheusAlertRule", async function () {
|
|
802
|
+
try {
|
|
803
|
+
const data = await client.ModifyPrometheusAlertRule({})
|
|
804
|
+
expect(data).to.be.ok
|
|
805
|
+
} catch(error) {
|
|
806
|
+
expect(error.requestId).to.be.ok
|
|
807
|
+
expect(error.code).to.be.ok
|
|
808
|
+
}
|
|
809
|
+
})
|
|
810
|
+
|
|
761
811
|
it("tke.v20180525.ModifyClusterEndpointSP", async function () {
|
|
762
812
|
try {
|
|
763
813
|
const data = await client.ModifyClusterEndpointSP({})
|
|
@@ -978,9 +1028,9 @@ it("tke.v20180525.UpdateClusterKubeconfig", async function () {
|
|
|
978
1028
|
}
|
|
979
1029
|
})
|
|
980
1030
|
|
|
981
|
-
it("tke.v20180525.
|
|
1031
|
+
it("tke.v20180525.DescribeClusterStatus", async function () {
|
|
982
1032
|
try {
|
|
983
|
-
const data = await client.
|
|
1033
|
+
const data = await client.DescribeClusterStatus({})
|
|
984
1034
|
expect(data).to.be.ok
|
|
985
1035
|
} catch(error) {
|
|
986
1036
|
expect(error.requestId).to.be.ok
|
|
@@ -1238,9 +1288,9 @@ it("tke.v20180525.CreateClusterEndpoint", async function () {
|
|
|
1238
1288
|
}
|
|
1239
1289
|
})
|
|
1240
1290
|
|
|
1241
|
-
it("tke.v20180525.
|
|
1291
|
+
it("tke.v20180525.DescribePodDeductionRate", async function () {
|
|
1242
1292
|
try {
|
|
1243
|
-
const data = await client.
|
|
1293
|
+
const data = await client.DescribePodDeductionRate({})
|
|
1244
1294
|
expect(data).to.be.ok
|
|
1245
1295
|
} catch(error) {
|
|
1246
1296
|
expect(error.requestId).to.be.ok
|
|
@@ -1258,9 +1308,9 @@ it("tke.v20180525.ModifyPrometheusGlobalNotification", async function () {
|
|
|
1258
1308
|
}
|
|
1259
1309
|
})
|
|
1260
1310
|
|
|
1261
|
-
it("tke.v20180525.
|
|
1311
|
+
it("tke.v20180525.DeleteReservedInstances", async function () {
|
|
1262
1312
|
try {
|
|
1263
|
-
const data = await client.
|
|
1313
|
+
const data = await client.DeleteReservedInstances({})
|
|
1264
1314
|
expect(data).to.be.ok
|
|
1265
1315
|
} catch(error) {
|
|
1266
1316
|
expect(error.requestId).to.be.ok
|
|
@@ -1358,6 +1408,16 @@ it("tke.v20180525.DescribeClusterSecurity", async function () {
|
|
|
1358
1408
|
}
|
|
1359
1409
|
})
|
|
1360
1410
|
|
|
1411
|
+
it("tke.v20180525.RenewReservedInstances", async function () {
|
|
1412
|
+
try {
|
|
1413
|
+
const data = await client.RenewReservedInstances({})
|
|
1414
|
+
expect(data).to.be.ok
|
|
1415
|
+
} catch(error) {
|
|
1416
|
+
expect(error.requestId).to.be.ok
|
|
1417
|
+
expect(error.code).to.be.ok
|
|
1418
|
+
}
|
|
1419
|
+
})
|
|
1420
|
+
|
|
1361
1421
|
it("tke.v20180525.DescribePrometheusClusterAgents", async function () {
|
|
1362
1422
|
try {
|
|
1363
1423
|
const data = await client.DescribePrometheusClusterAgents({})
|
|
@@ -1438,6 +1498,16 @@ it("tke.v20180525.DeleteTKEEdgeCluster", async function () {
|
|
|
1438
1498
|
}
|
|
1439
1499
|
})
|
|
1440
1500
|
|
|
1501
|
+
it("tke.v20180525.GetMostSuitableImageCache", async function () {
|
|
1502
|
+
try {
|
|
1503
|
+
const data = await client.GetMostSuitableImageCache({})
|
|
1504
|
+
expect(data).to.be.ok
|
|
1505
|
+
} catch(error) {
|
|
1506
|
+
expect(error.requestId).to.be.ok
|
|
1507
|
+
expect(error.code).to.be.ok
|
|
1508
|
+
}
|
|
1509
|
+
})
|
|
1510
|
+
|
|
1441
1511
|
it("tke.v20180525.DescribeClusterEndpoints", async function () {
|
|
1442
1512
|
try {
|
|
1443
1513
|
const data = await client.DescribeClusterEndpoints({})
|
|
@@ -1588,6 +1658,16 @@ it("tke.v20180525.DescribePrometheusOverviews", async function () {
|
|
|
1588
1658
|
}
|
|
1589
1659
|
})
|
|
1590
1660
|
|
|
1661
|
+
it("tke.v20180525.RemoveNodeFromNodePool", async function () {
|
|
1662
|
+
try {
|
|
1663
|
+
const data = await client.RemoveNodeFromNodePool({})
|
|
1664
|
+
expect(data).to.be.ok
|
|
1665
|
+
} catch(error) {
|
|
1666
|
+
expect(error.requestId).to.be.ok
|
|
1667
|
+
expect(error.code).to.be.ok
|
|
1668
|
+
}
|
|
1669
|
+
})
|
|
1670
|
+
|
|
1591
1671
|
it("tke.v20180525.DescribeTKEEdgeClusterStatus", async function () {
|
|
1592
1672
|
try {
|
|
1593
1673
|
const data = await client.DescribeTKEEdgeClusterStatus({})
|
|
@@ -1688,9 +1768,9 @@ it("tke.v20180525.GetClusterLevelPrice", async function () {
|
|
|
1688
1768
|
}
|
|
1689
1769
|
})
|
|
1690
1770
|
|
|
1691
|
-
it("tke.v20180525.
|
|
1771
|
+
it("tke.v20180525.DescribeRIUtilizationDetail", async function () {
|
|
1692
1772
|
try {
|
|
1693
|
-
const data = await client.
|
|
1773
|
+
const data = await client.DescribeRIUtilizationDetail({})
|
|
1694
1774
|
expect(data).to.be.ok
|
|
1695
1775
|
} catch(error) {
|
|
1696
1776
|
expect(error.requestId).to.be.ok
|
|
@@ -1918,9 +1998,9 @@ it("tke.v20180525.UpdateTKEEdgeCluster", async function () {
|
|
|
1918
1998
|
}
|
|
1919
1999
|
})
|
|
1920
2000
|
|
|
1921
|
-
it("tke.v20180525.
|
|
2001
|
+
it("tke.v20180525.ModifyPrometheusTemplate", async function () {
|
|
1922
2002
|
try {
|
|
1923
|
-
const data = await client.
|
|
2003
|
+
const data = await client.ModifyPrometheusTemplate({})
|
|
1924
2004
|
expect(data).to.be.ok
|
|
1925
2005
|
} catch(error) {
|
|
1926
2006
|
expect(error.requestId).to.be.ok
|
|
@@ -2028,6 +2108,16 @@ it("tke.v20180525.CreateClusterVirtualNode", async function () {
|
|
|
2028
2108
|
}
|
|
2029
2109
|
})
|
|
2030
2110
|
|
|
2111
|
+
it("tke.v20180525.InstallLogAgent", async function () {
|
|
2112
|
+
try {
|
|
2113
|
+
const data = await client.InstallLogAgent({})
|
|
2114
|
+
expect(data).to.be.ok
|
|
2115
|
+
} catch(error) {
|
|
2116
|
+
expect(error.requestId).to.be.ok
|
|
2117
|
+
expect(error.code).to.be.ok
|
|
2118
|
+
}
|
|
2119
|
+
})
|
|
2120
|
+
|
|
2031
2121
|
it("tke.v20180525.CheckEdgeClusterCIDR", async function () {
|
|
2032
2122
|
try {
|
|
2033
2123
|
const data = await client.CheckEdgeClusterCIDR({})
|