tencentcloud-sdk-nodejs 4.1.35 → 4.1.37
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/es/common/sdk_version.js +1 -1
- package/es/services/billing/v20180709/billing_client.js +46 -4
- package/es/services/dbbrain/v20210527/dbbrain_client.js +12 -6
- package/es/services/dnspod/v20210323/dnspod_client.js +3 -0
- package/es/services/thpc/v20230321/thpc_client.js +3 -0
- package/es/services/tmt/v20180321/tmt_client.js +5 -2
- package/es/services/wedata/v20210820/wedata_client.js +6 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +10 -2
- package/tencentcloud/services/as/v20180419/as_models.d.ts +20 -9
- package/tencentcloud/services/batch/v20170312/batch_client.d.ts +3 -3
- package/tencentcloud/services/batch/v20170312/batch_client.js +3 -3
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +121 -90
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +61 -5
- package/tencentcloud/services/billing/v20180709/billing_client.js +90 -6
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +860 -224
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +9 -9
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +7 -7
- package/tencentcloud/services/clb/v20180317/clb_client.js +7 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +21 -16
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +15 -7
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +21 -9
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +144 -44
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +207 -73
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +29 -17
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +3 -3
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +76 -12
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +14 -14
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +54 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +90 -32
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +4 -2
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +4 -4
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +10 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +0 -10
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +1 -1
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -2
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +25 -4
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +105 -37
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +12 -3
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +14 -3
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +335 -258
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -9
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +9 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +12 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +567 -268
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.37";
|
|
@@ -6,6 +6,9 @@ export class Client extends AbstractClient {
|
|
|
6
6
|
async DescribeBillDetailForOrganization(req, cb) {
|
|
7
7
|
return this.request("DescribeBillDetailForOrganization", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DeleteGatherRule(req, cb) {
|
|
10
|
+
return this.request("DeleteGatherRule", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async DescribeCostSummaryByResource(req, cb) {
|
|
10
13
|
return this.request("DescribeCostSummaryByResource", req, cb);
|
|
11
14
|
}
|
|
@@ -15,11 +18,14 @@ export class Client extends AbstractClient {
|
|
|
15
18
|
async DescribeAllocationSummaryByResource(req, cb) {
|
|
16
19
|
return this.request("DescribeAllocationSummaryByResource", req, cb);
|
|
17
20
|
}
|
|
21
|
+
async DescribeAllocationRuleSummary(req, cb) {
|
|
22
|
+
return this.request("DescribeAllocationRuleSummary", req, cb);
|
|
23
|
+
}
|
|
18
24
|
async DescribeBillResourceSummary(req, cb) {
|
|
19
25
|
return this.request("DescribeBillResourceSummary", req, cb);
|
|
20
26
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
27
|
+
async DeleteAllocationUnit(req, cb) {
|
|
28
|
+
return this.request("DeleteAllocationUnit", req, cb);
|
|
23
29
|
}
|
|
24
30
|
async DescribeAllocateConditions(req, cb) {
|
|
25
31
|
return this.request("DescribeAllocateConditions", req, cb);
|
|
@@ -30,6 +36,9 @@ export class Client extends AbstractClient {
|
|
|
30
36
|
async DescribeDosageDetailList(req, cb) {
|
|
31
37
|
return this.request("DescribeDosageDetailList", req, cb);
|
|
32
38
|
}
|
|
39
|
+
async CreateAllocationUnit(req, cb) {
|
|
40
|
+
return this.request("CreateAllocationUnit", req, cb);
|
|
41
|
+
}
|
|
33
42
|
async CreateAllocationTag(req, cb) {
|
|
34
43
|
return this.request("CreateAllocationTag", req, cb);
|
|
35
44
|
}
|
|
@@ -51,12 +60,24 @@ export class Client extends AbstractClient {
|
|
|
51
60
|
async DescribeBillSummary(req, cb) {
|
|
52
61
|
return this.request("DescribeBillSummary", req, cb);
|
|
53
62
|
}
|
|
63
|
+
async DeleteAllocationRule(req, cb) {
|
|
64
|
+
return this.request("DeleteAllocationRule", req, cb);
|
|
65
|
+
}
|
|
54
66
|
async DescribeBillSummaryByPayMode(req, cb) {
|
|
55
67
|
return this.request("DescribeBillSummaryByPayMode", req, cb);
|
|
56
68
|
}
|
|
69
|
+
async DescribeAllocationRuleDetail(req, cb) {
|
|
70
|
+
return this.request("DescribeAllocationRuleDetail", req, cb);
|
|
71
|
+
}
|
|
57
72
|
async DescribeCostSummaryByRegion(req, cb) {
|
|
58
73
|
return this.request("DescribeCostSummaryByRegion", req, cb);
|
|
59
74
|
}
|
|
75
|
+
async DescribeVoucherUsageDetails(req, cb) {
|
|
76
|
+
return this.request("DescribeVoucherUsageDetails", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async ModifyGatherRule(req, cb) {
|
|
79
|
+
return this.request("ModifyGatherRule", req, cb);
|
|
80
|
+
}
|
|
60
81
|
async DescribeAllocationTrendByMonth(req, cb) {
|
|
61
82
|
return this.request("DescribeAllocationTrendByMonth", req, cb);
|
|
62
83
|
}
|
|
@@ -66,15 +87,27 @@ export class Client extends AbstractClient {
|
|
|
66
87
|
async DescribeDosageCosDetailByDate(req, cb) {
|
|
67
88
|
return this.request("DescribeDosageCosDetailByDate", req, cb);
|
|
68
89
|
}
|
|
90
|
+
async CreateGatherRule(req, cb) {
|
|
91
|
+
return this.request("CreateGatherRule", req, cb);
|
|
92
|
+
}
|
|
69
93
|
async DescribeAllocationBillConditions(req, cb) {
|
|
70
94
|
return this.request("DescribeAllocationBillConditions", req, cb);
|
|
71
95
|
}
|
|
72
96
|
async DescribeAccountBalance(req, cb) {
|
|
73
97
|
return this.request("DescribeAccountBalance", req, cb);
|
|
74
98
|
}
|
|
99
|
+
async DescribeGatherRuleDetail(req, cb) {
|
|
100
|
+
return this.request("DescribeGatherRuleDetail", req, cb);
|
|
101
|
+
}
|
|
75
102
|
async DescribeDosageDetailByDate(req, cb) {
|
|
76
103
|
return this.request("DescribeDosageDetailByDate", req, cb);
|
|
77
104
|
}
|
|
105
|
+
async DescribeAllocationTree(req, cb) {
|
|
106
|
+
return this.request("DescribeAllocationTree", req, cb);
|
|
107
|
+
}
|
|
108
|
+
async DescribeAllocationUnitDetail(req, cb) {
|
|
109
|
+
return this.request("DescribeAllocationUnitDetail", req, cb);
|
|
110
|
+
}
|
|
78
111
|
async DescribeBillAdjustInfo(req, cb) {
|
|
79
112
|
return this.request("DescribeBillAdjustInfo", req, cb);
|
|
80
113
|
}
|
|
@@ -90,6 +123,9 @@ export class Client extends AbstractClient {
|
|
|
90
123
|
async DescribeAllocationMonthOverview(req, cb) {
|
|
91
124
|
return this.request("DescribeAllocationMonthOverview", req, cb);
|
|
92
125
|
}
|
|
126
|
+
async CreateAllocationRule(req, cb) {
|
|
127
|
+
return this.request("CreateAllocationRule", req, cb);
|
|
128
|
+
}
|
|
93
129
|
async DescribeBillSummaryByTag(req, cb) {
|
|
94
130
|
return this.request("DescribeBillSummaryByTag", req, cb);
|
|
95
131
|
}
|
|
@@ -105,8 +141,11 @@ export class Client extends AbstractClient {
|
|
|
105
141
|
async DescribeTagList(req, cb) {
|
|
106
142
|
return this.request("DescribeTagList", req, cb);
|
|
107
143
|
}
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
144
|
+
async ModifyAllocationUnit(req, cb) {
|
|
145
|
+
return this.request("ModifyAllocationUnit", req, cb);
|
|
146
|
+
}
|
|
147
|
+
async DescribeAllocationSummaryByBusiness(req, cb) {
|
|
148
|
+
return this.request("DescribeAllocationSummaryByBusiness", req, cb);
|
|
110
149
|
}
|
|
111
150
|
async PayDeals(req, cb) {
|
|
112
151
|
return this.request("PayDeals", req, cb);
|
|
@@ -126,6 +165,9 @@ export class Client extends AbstractClient {
|
|
|
126
165
|
async DescribeBillSummaryByProduct(req, cb) {
|
|
127
166
|
return this.request("DescribeBillSummaryByProduct", req, cb);
|
|
128
167
|
}
|
|
168
|
+
async ModifyAllocationRule(req, cb) {
|
|
169
|
+
return this.request("ModifyAllocationRule", req, cb);
|
|
170
|
+
}
|
|
129
171
|
async DescribeCostDetail(req, cb) {
|
|
130
172
|
return this.request("DescribeCostDetail", req, cb);
|
|
131
173
|
}
|
|
@@ -45,8 +45,8 @@ export class Client extends AbstractClient {
|
|
|
45
45
|
async UpdateMonitorSwitch(req, cb) {
|
|
46
46
|
return this.request("UpdateMonitorSwitch", req, cb);
|
|
47
47
|
}
|
|
48
|
-
async
|
|
49
|
-
return this.request("
|
|
48
|
+
async DescribeRedisTopKeyPrefixList(req, cb) {
|
|
49
|
+
return this.request("DescribeRedisTopKeyPrefixList", req, cb);
|
|
50
50
|
}
|
|
51
51
|
async CreateRedisBigKeyAnalysisTask(req, cb) {
|
|
52
52
|
return this.request("CreateRedisBigKeyAnalysisTask", req, cb);
|
|
@@ -117,6 +117,9 @@ export class Client extends AbstractClient {
|
|
|
117
117
|
async DescribeRedisBigKeyAnalysisTasks(req, cb) {
|
|
118
118
|
return this.request("DescribeRedisBigKeyAnalysisTasks", req, cb);
|
|
119
119
|
}
|
|
120
|
+
async DescribeRedisCommandCostStatistics(req, cb) {
|
|
121
|
+
return this.request("DescribeRedisCommandCostStatistics", req, cb);
|
|
122
|
+
}
|
|
120
123
|
async CreateAuditLogFile(req, cb) {
|
|
121
124
|
return this.request("CreateAuditLogFile", req, cb);
|
|
122
125
|
}
|
|
@@ -132,8 +135,8 @@ export class Client extends AbstractClient {
|
|
|
132
135
|
async DescribeAllUserContact(req, cb) {
|
|
133
136
|
return this.request("DescribeAllUserContact", req, cb);
|
|
134
137
|
}
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
138
|
+
async CancelDBAutonomyEvent(req, cb) {
|
|
139
|
+
return this.request("CancelDBAutonomyEvent", req, cb);
|
|
137
140
|
}
|
|
138
141
|
async DescribeSlowLogs(req, cb) {
|
|
139
142
|
return this.request("DescribeSlowLogs", req, cb);
|
|
@@ -186,6 +189,9 @@ export class Client extends AbstractClient {
|
|
|
186
189
|
async DescribeIndexRecommendAggregationSlowLogs(req, cb) {
|
|
187
190
|
return this.request("DescribeIndexRecommendAggregationSlowLogs", req, cb);
|
|
188
191
|
}
|
|
192
|
+
async ModifyDiagDBInstanceConf(req, cb) {
|
|
193
|
+
return this.request("ModifyDiagDBInstanceConf", req, cb);
|
|
194
|
+
}
|
|
189
195
|
async CancelDBAutonomyAction(req, cb) {
|
|
190
196
|
return this.request("CancelDBAutonomyAction", req, cb);
|
|
191
197
|
}
|
|
@@ -222,8 +228,8 @@ export class Client extends AbstractClient {
|
|
|
222
228
|
async DescribeDBDiagReportContent(req, cb) {
|
|
223
229
|
return this.request("DescribeDBDiagReportContent", req, cb);
|
|
224
230
|
}
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
231
|
+
async DescribeDBAutonomyAction(req, cb) {
|
|
232
|
+
return this.request("DescribeDBAutonomyAction", req, cb);
|
|
227
233
|
}
|
|
228
234
|
async ModifySqlFilters(req, cb) {
|
|
229
235
|
return this.request("ModifySqlFilters", req, cb);
|
|
@@ -33,6 +33,9 @@ export class Client extends AbstractClient {
|
|
|
33
33
|
async CreateLineGroup(req, cb) {
|
|
34
34
|
return this.request("CreateLineGroup", req, cb);
|
|
35
35
|
}
|
|
36
|
+
async DescribeDomainAndRecordList(req, cb) {
|
|
37
|
+
return this.request("DescribeDomainAndRecordList", req, cb);
|
|
38
|
+
}
|
|
36
39
|
async DescribeDomain(req, cb) {
|
|
37
40
|
return this.request("DescribeDomain", req, cb);
|
|
38
41
|
}
|
|
@@ -69,6 +69,9 @@ export class Client extends AbstractClient {
|
|
|
69
69
|
async AddClusterStorageOption(req, cb) {
|
|
70
70
|
return this.request("AddClusterStorageOption", req, cb);
|
|
71
71
|
}
|
|
72
|
+
async ModifyWorkspacesRenewFlag(req, cb) {
|
|
73
|
+
return this.request("ModifyWorkspacesRenewFlag", req, cb);
|
|
74
|
+
}
|
|
72
75
|
async DeleteQueue(req, cb) {
|
|
73
76
|
return this.request("DeleteQueue", req, cb);
|
|
74
77
|
}
|
|
@@ -9,12 +9,15 @@ export class Client extends AbstractClient {
|
|
|
9
9
|
async TextTranslateBatch(req, cb) {
|
|
10
10
|
return this.request("TextTranslateBatch", req, cb);
|
|
11
11
|
}
|
|
12
|
-
async
|
|
13
|
-
return this.request("
|
|
12
|
+
async ImageTranslateLLM(req, cb) {
|
|
13
|
+
return this.request("ImageTranslateLLM", req, cb);
|
|
14
14
|
}
|
|
15
15
|
async GetFileTranslate(req, cb) {
|
|
16
16
|
return this.request("GetFileTranslate", req, cb);
|
|
17
17
|
}
|
|
18
|
+
async ImageTranslate(req, cb) {
|
|
19
|
+
return this.request("ImageTranslate", req, cb);
|
|
20
|
+
}
|
|
18
21
|
async TextTranslate(req, cb) {
|
|
19
22
|
return this.request("TextTranslate", req, cb);
|
|
20
23
|
}
|
|
@@ -45,6 +45,9 @@ export class Client extends AbstractClient {
|
|
|
45
45
|
async DescribeTaskByCycleReport(req, cb) {
|
|
46
46
|
return this.request("DescribeTaskByCycleReport", req, cb);
|
|
47
47
|
}
|
|
48
|
+
async DownloadLogByLine(req, cb) {
|
|
49
|
+
return this.request("DownloadLogByLine", req, cb);
|
|
50
|
+
}
|
|
48
51
|
async DescribeDataCheckStat(req, cb) {
|
|
49
52
|
return this.request("DescribeDataCheckStat", req, cb);
|
|
50
53
|
}
|
|
@@ -315,6 +318,9 @@ export class Client extends AbstractClient {
|
|
|
315
318
|
async DescribeTaskByStatusReport(req, cb) {
|
|
316
319
|
return this.request("DescribeTaskByStatusReport", req, cb);
|
|
317
320
|
}
|
|
321
|
+
async DescribeTaskTemplates(req, cb) {
|
|
322
|
+
return this.request("DescribeTaskTemplates", req, cb);
|
|
323
|
+
}
|
|
318
324
|
async GetOfflineInstanceList(req, cb) {
|
|
319
325
|
return this.request("GetOfflineInstanceList", req, cb);
|
|
320
326
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.37";
|
|
@@ -122,11 +122,11 @@ export interface ModifyApmInstanceRequest {
|
|
|
122
122
|
*/
|
|
123
123
|
IsMemoryHijackingAnalysis?: number;
|
|
124
124
|
/**
|
|
125
|
-
* 0=全文索引,1=键值索引
|
|
125
|
+
* CLS索引类型(0=全文索引,1=键值索引)
|
|
126
126
|
*/
|
|
127
127
|
LogIndexType?: number;
|
|
128
128
|
/**
|
|
129
|
-
* traceId的索引key
|
|
129
|
+
* traceId的索引key: 当CLS索引类型为键值索引时生效
|
|
130
130
|
*/
|
|
131
131
|
LogTraceIdKey?: string;
|
|
132
132
|
}
|
|
@@ -296,6 +296,14 @@ export interface ApmInstanceDetail {
|
|
|
296
296
|
* 是否开内存马执行检测(0=关, 1=开)
|
|
297
297
|
*/
|
|
298
298
|
IsMemoryHijackingAnalysis?: number;
|
|
299
|
+
/**
|
|
300
|
+
* CLS索引类型(0=全文索引,1=键值索引)
|
|
301
|
+
*/
|
|
302
|
+
LogIndexType?: number;
|
|
303
|
+
/**
|
|
304
|
+
* traceId的索引key: 当CLS索引类型为键值索引时生效
|
|
305
|
+
*/
|
|
306
|
+
LogTraceIdKey?: string;
|
|
299
307
|
}
|
|
300
308
|
/**
|
|
301
309
|
* CreateApmInstance请求参数结构体
|
|
@@ -1573,7 +1573,7 @@ export interface ScaleInInstancesResponse {
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* 伸缩活动ID。
|
|
1575
1575
|
*/
|
|
1576
|
-
ActivityId
|
|
1576
|
+
ActivityId?: string;
|
|
1577
1577
|
/**
|
|
1578
1578
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1579
1579
|
*/
|
|
@@ -1683,6 +1683,10 @@ export interface DescribeAutoScalingGroupLastActivitiesRequest {
|
|
|
1683
1683
|
* 伸缩组ID列表
|
|
1684
1684
|
*/
|
|
1685
1685
|
AutoScalingGroupIds: Array<string>;
|
|
1686
|
+
/**
|
|
1687
|
+
* 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
|
1688
|
+
*/
|
|
1689
|
+
ExcludeCancelledActivity?: boolean;
|
|
1686
1690
|
}
|
|
1687
1691
|
/**
|
|
1688
1692
|
* 云服务器主机名(HostName)的相关设置
|
|
@@ -1821,7 +1825,7 @@ export interface ModifyNotificationConfigurationRequest {
|
|
|
1821
1825
|
*/
|
|
1822
1826
|
export interface DeleteLifecycleHookRequest {
|
|
1823
1827
|
/**
|
|
1824
|
-
* 生命周期挂钩ID
|
|
1828
|
+
* 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
|
1825
1829
|
*/
|
|
1826
1830
|
LifecycleHookId: string;
|
|
1827
1831
|
}
|
|
@@ -3522,11 +3526,13 @@ export interface DescribeNotificationConfigurationsRequest {
|
|
|
3522
3526
|
*/
|
|
3523
3527
|
export interface ScaleInInstancesRequest {
|
|
3524
3528
|
/**
|
|
3525
|
-
* 伸缩组ID
|
|
3529
|
+
* 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
3530
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
3531
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
3526
3532
|
*/
|
|
3527
3533
|
AutoScalingGroupId: string;
|
|
3528
3534
|
/**
|
|
3529
|
-
*
|
|
3535
|
+
* 希望缩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最小值的差值。例如伸缩组期望数为 100,最小值为 20,此时可取值范围为 [1,80]。
|
|
3530
3536
|
*/
|
|
3531
3537
|
ScaleInNumber: number;
|
|
3532
3538
|
}
|
|
@@ -3547,15 +3553,19 @@ export interface LifecycleHook {
|
|
|
3547
3553
|
*/
|
|
3548
3554
|
AutoScalingGroupId?: string;
|
|
3549
3555
|
/**
|
|
3550
|
-
*
|
|
3556
|
+
* 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
|
3557
|
+
- CONTINUE: 默认值,表示继续执行扩缩容活动
|
|
3558
|
+
- ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动
|
|
3551
3559
|
*/
|
|
3552
3560
|
DefaultResult?: string;
|
|
3553
3561
|
/**
|
|
3554
|
-
*
|
|
3562
|
+
* 生命周期挂钩超时等待时间(以秒为单位),范围从 30 到 7200 秒。
|
|
3555
3563
|
*/
|
|
3556
3564
|
HeartbeatTimeout?: number;
|
|
3557
3565
|
/**
|
|
3558
|
-
*
|
|
3566
|
+
* 生命周期挂钩场景,取值范围如下:
|
|
3567
|
+
- INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
|
3568
|
+
- INSTANCE_TERMINATING: 缩容生命周期挂钩
|
|
3559
3569
|
*/
|
|
3560
3570
|
LifecycleTransition?: string;
|
|
3561
3571
|
/**
|
|
@@ -3563,7 +3573,7 @@ export interface LifecycleHook {
|
|
|
3563
3573
|
*/
|
|
3564
3574
|
NotificationMetadata?: string;
|
|
3565
3575
|
/**
|
|
3566
|
-
*
|
|
3576
|
+
* 创建时间,采用 UTC 标准计时
|
|
3567
3577
|
*/
|
|
3568
3578
|
CreatedTime?: string;
|
|
3569
3579
|
/**
|
|
@@ -3571,7 +3581,8 @@ export interface LifecycleHook {
|
|
|
3571
3581
|
*/
|
|
3572
3582
|
NotificationTarget?: NotificationTarget;
|
|
3573
3583
|
/**
|
|
3574
|
-
*
|
|
3584
|
+
* 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
|
3585
|
+
说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
|
3575
3586
|
*/
|
|
3576
3587
|
LifecycleTransitionType?: string;
|
|
3577
3588
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class Client extends AbstractClient {
|
|
|
57
57
|
/**
|
|
58
58
|
* 用于终止作业。
|
|
59
59
|
当作业处于“SUBMITTED”状态时,禁止终止操作;当作业处于“SUCCEED”状态时,终止操作不会生效。
|
|
60
|
-
终止作业是一个异步过程。整个终止过程的耗时和任务总数成正比。终止的效果相当于所含的所有任务实例进行TerminateTaskInstance操作。具体效果和用法可参考TerminateTaskInstance。
|
|
60
|
+
终止作业是一个异步过程。整个终止过程的耗时和任务总数成正比。终止的效果相当于所含的所有任务实例进行[TerminateTaskInstance](https://cloud.tencent.com/document/product/599/15908)操作。具体效果和用法可参考[TerminateTaskInstance](https://cloud.tencent.com/document/product/599/15908)。
|
|
61
61
|
*/
|
|
62
62
|
TerminateJob(req: TerminateJobRequest, cb?: (error: string, rep: TerminateJobResponse) => void): Promise<TerminateJobResponse>;
|
|
63
63
|
/**
|
|
@@ -96,7 +96,7 @@ export declare class Client extends AbstractClient {
|
|
|
96
96
|
* 用于终止任务实例。
|
|
97
97
|
对于状态已经为“SUCCEED”和“FAILED”的任务实例,不做处理。
|
|
98
98
|
对于状态为“SUBMITTED”、“PENDING”、“RUNNABLE”的任务实例,状态将置为“FAILED”状态。
|
|
99
|
-
对于状态为“STARTING”、“RUNNING”、“FAILED_INTERRUPTED
|
|
99
|
+
对于状态为“STARTING”、“RUNNING”、“FAILED_INTERRUPTED”的任务实例,区分两种情况:如果未显示指定计算环境,会先销毁CVM服务器,然后将状态置为“FAILED”,具有一定耗时;如果指定了计算环境EnvId,任务实例状态置为“FAILED”,并重启执行该任务的CVM服务器,具有一定的耗时。
|
|
100
100
|
对于状态为“FAILED_INTERRUPTED”的任务实例,终止操作实际成功之后,相关资源和配额才会释放。
|
|
101
101
|
*/
|
|
102
102
|
TerminateTaskInstance(req: TerminateTaskInstanceRequest, cb?: (error: string, rep: TerminateTaskInstanceResponse) => void): Promise<TerminateTaskInstanceResponse>;
|
|
@@ -136,7 +136,7 @@ export declare class Client extends AbstractClient {
|
|
|
136
136
|
ModifyTaskTemplate(req: ModifyTaskTemplateRequest, cb?: (error: string, rep: ModifyTaskTemplateResponse) => void): Promise<ModifyTaskTemplateResponse>;
|
|
137
137
|
/**
|
|
138
138
|
* 用于重试作业中失败的任务实例。
|
|
139
|
-
|
|
139
|
+
仅当作业处于“FAILED”状态,支持重试操作。重试操作成功后,作业会按照有向无环图中指定的任务依赖关系,依次重试各个任务中失败的任务实例。任务实例的历史信息将被重置,如同首次运行一样,参与后续的调度和执行。
|
|
140
140
|
*/
|
|
141
141
|
RetryJobs(req: RetryJobsRequest, cb?: (error: string, rep: RetryJobsResponse) => void): Promise<RetryJobsResponse>;
|
|
142
142
|
}
|
|
@@ -97,7 +97,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
97
97
|
/**
|
|
98
98
|
* 用于终止作业。
|
|
99
99
|
当作业处于“SUBMITTED”状态时,禁止终止操作;当作业处于“SUCCEED”状态时,终止操作不会生效。
|
|
100
|
-
终止作业是一个异步过程。整个终止过程的耗时和任务总数成正比。终止的效果相当于所含的所有任务实例进行TerminateTaskInstance操作。具体效果和用法可参考TerminateTaskInstance。
|
|
100
|
+
终止作业是一个异步过程。整个终止过程的耗时和任务总数成正比。终止的效果相当于所含的所有任务实例进行[TerminateTaskInstance](https://cloud.tencent.com/document/product/599/15908)操作。具体效果和用法可参考[TerminateTaskInstance](https://cloud.tencent.com/document/product/599/15908)。
|
|
101
101
|
*/
|
|
102
102
|
async TerminateJob(req, cb) {
|
|
103
103
|
return this.request("TerminateJob", req, cb);
|
|
@@ -154,7 +154,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
154
154
|
* 用于终止任务实例。
|
|
155
155
|
对于状态已经为“SUCCEED”和“FAILED”的任务实例,不做处理。
|
|
156
156
|
对于状态为“SUBMITTED”、“PENDING”、“RUNNABLE”的任务实例,状态将置为“FAILED”状态。
|
|
157
|
-
对于状态为“STARTING”、“RUNNING”、“FAILED_INTERRUPTED
|
|
157
|
+
对于状态为“STARTING”、“RUNNING”、“FAILED_INTERRUPTED”的任务实例,区分两种情况:如果未显示指定计算环境,会先销毁CVM服务器,然后将状态置为“FAILED”,具有一定耗时;如果指定了计算环境EnvId,任务实例状态置为“FAILED”,并重启执行该任务的CVM服务器,具有一定的耗时。
|
|
158
158
|
对于状态为“FAILED_INTERRUPTED”的任务实例,终止操作实际成功之后,相关资源和配额才会释放。
|
|
159
159
|
*/
|
|
160
160
|
async TerminateTaskInstance(req, cb) {
|
|
@@ -212,7 +212,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
214
|
* 用于重试作业中失败的任务实例。
|
|
215
|
-
|
|
215
|
+
仅当作业处于“FAILED”状态,支持重试操作。重试操作成功后,作业会按照有向无环图中指定的任务依赖关系,依次重试各个任务中失败的任务实例。任务实例的历史信息将被重置,如同首次运行一样,参与后续的调度和执行。
|
|
216
216
|
*/
|
|
217
217
|
async RetryJobs(req, cb) {
|
|
218
218
|
return this.request("RetryJobs", req, cb);
|