@alicloud/cs20151215 4.3.0 → 4.3.2
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/dist/client.d.ts +19 -0
- package/dist/client.js +33 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +37 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.8",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.10",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -208,12 +208,14 @@ export class MaintenanceWindow extends $tea.Model {
|
|
|
208
208
|
duration?: string;
|
|
209
209
|
enable?: boolean;
|
|
210
210
|
maintenanceTime?: string;
|
|
211
|
+
recurrence?: string;
|
|
211
212
|
weeklyPeriod?: string;
|
|
212
213
|
static names(): { [key: string]: string } {
|
|
213
214
|
return {
|
|
214
215
|
duration: 'duration',
|
|
215
216
|
enable: 'enable',
|
|
216
217
|
maintenanceTime: 'maintenance_time',
|
|
218
|
+
recurrence: 'recurrence',
|
|
217
219
|
weeklyPeriod: 'weekly_period',
|
|
218
220
|
};
|
|
219
221
|
}
|
|
@@ -223,6 +225,7 @@ export class MaintenanceWindow extends $tea.Model {
|
|
|
223
225
|
duration: 'string',
|
|
224
226
|
enable: 'boolean',
|
|
225
227
|
maintenanceTime: 'string',
|
|
228
|
+
recurrence: 'string',
|
|
226
229
|
weeklyPeriod: 'string',
|
|
227
230
|
};
|
|
228
231
|
}
|
|
@@ -3659,10 +3662,12 @@ export class DescribeClusterVulsResponse extends $tea.Model {
|
|
|
3659
3662
|
export class DescribeClustersRequest extends $tea.Model {
|
|
3660
3663
|
clusterType?: string;
|
|
3661
3664
|
name?: string;
|
|
3665
|
+
resourceGroupId?: string;
|
|
3662
3666
|
static names(): { [key: string]: string } {
|
|
3663
3667
|
return {
|
|
3664
3668
|
clusterType: 'clusterType',
|
|
3665
3669
|
name: 'name',
|
|
3670
|
+
resourceGroupId: 'resource_group_id',
|
|
3666
3671
|
};
|
|
3667
3672
|
}
|
|
3668
3673
|
|
|
@@ -3670,6 +3675,7 @@ export class DescribeClustersRequest extends $tea.Model {
|
|
|
3670
3675
|
return {
|
|
3671
3676
|
clusterType: 'string',
|
|
3672
3677
|
name: 'string',
|
|
3678
|
+
resourceGroupId: 'string',
|
|
3673
3679
|
};
|
|
3674
3680
|
}
|
|
3675
3681
|
|
|
@@ -11919,12 +11925,14 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
|
|
|
11919
11925
|
cveList?: string[];
|
|
11920
11926
|
name?: string;
|
|
11921
11927
|
necessity?: string;
|
|
11928
|
+
needReboot?: boolean;
|
|
11922
11929
|
static names(): { [key: string]: string } {
|
|
11923
11930
|
return {
|
|
11924
11931
|
aliasName: 'alias_name',
|
|
11925
11932
|
cveList: 'cve_list',
|
|
11926
11933
|
name: 'name',
|
|
11927
11934
|
necessity: 'necessity',
|
|
11935
|
+
needReboot: 'need_reboot',
|
|
11928
11936
|
};
|
|
11929
11937
|
}
|
|
11930
11938
|
|
|
@@ -11934,6 +11942,7 @@ export class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $tea.Mode
|
|
|
11934
11942
|
cveList: { 'type': 'array', 'itemType': 'string' },
|
|
11935
11943
|
name: 'string',
|
|
11936
11944
|
necessity: 'string',
|
|
11945
|
+
needReboot: 'boolean',
|
|
11937
11946
|
};
|
|
11938
11947
|
}
|
|
11939
11948
|
|
|
@@ -14136,12 +14145,15 @@ export default class Client extends OpenApi {
|
|
|
14136
14145
|
}
|
|
14137
14146
|
|
|
14138
14147
|
/**
|
|
14148
|
+
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
14149
|
+
*
|
|
14139
14150
|
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
14140
14151
|
*
|
|
14141
14152
|
* @param headers map
|
|
14142
14153
|
* @param runtime runtime options for this request RuntimeOptions
|
|
14143
14154
|
* @return CancelComponentUpgradeResponse
|
|
14144
14155
|
*/
|
|
14156
|
+
// Deprecated
|
|
14145
14157
|
async cancelComponentUpgradeWithOptions(clusterId: string, componentId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelComponentUpgradeResponse> {
|
|
14146
14158
|
let req = new $OpenApi.OpenApiRequest({
|
|
14147
14159
|
headers: headers,
|
|
@@ -14161,10 +14173,13 @@ export default class Client extends OpenApi {
|
|
|
14161
14173
|
}
|
|
14162
14174
|
|
|
14163
14175
|
/**
|
|
14176
|
+
* @deprecated OpenAPI CancelComponentUpgrade is deprecated
|
|
14177
|
+
*
|
|
14164
14178
|
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
14165
14179
|
*
|
|
14166
14180
|
* @return CancelComponentUpgradeResponse
|
|
14167
14181
|
*/
|
|
14182
|
+
// Deprecated
|
|
14168
14183
|
async cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse> {
|
|
14169
14184
|
let runtime = new $Util.RuntimeOptions({ });
|
|
14170
14185
|
let headers : {[key: string ]: string} = { };
|
|
@@ -16773,6 +16788,10 @@ export default class Client extends OpenApi {
|
|
|
16773
16788
|
query["name"] = request.name;
|
|
16774
16789
|
}
|
|
16775
16790
|
|
|
16791
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
16792
|
+
query["resource_group_id"] = request.resourceGroupId;
|
|
16793
|
+
}
|
|
16794
|
+
|
|
16776
16795
|
let req = new $OpenApi.OpenApiRequest({
|
|
16777
16796
|
headers: headers,
|
|
16778
16797
|
query: OpenApiUtil.query(query),
|
|
@@ -18236,12 +18255,15 @@ export default class Client extends OpenApi {
|
|
|
18236
18255
|
}
|
|
18237
18256
|
|
|
18238
18257
|
/**
|
|
18258
|
+
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
18259
|
+
*
|
|
18239
18260
|
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
18240
18261
|
*
|
|
18241
18262
|
* @param headers map
|
|
18242
18263
|
* @param runtime runtime options for this request RuntimeOptions
|
|
18243
18264
|
* @return GetUpgradeStatusResponse
|
|
18244
18265
|
*/
|
|
18266
|
+
// Deprecated
|
|
18245
18267
|
async getUpgradeStatusWithOptions(ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse> {
|
|
18246
18268
|
let req = new $OpenApi.OpenApiRequest({
|
|
18247
18269
|
headers: headers,
|
|
@@ -18261,10 +18283,13 @@ export default class Client extends OpenApi {
|
|
|
18261
18283
|
}
|
|
18262
18284
|
|
|
18263
18285
|
/**
|
|
18286
|
+
* @deprecated OpenAPI GetUpgradeStatus is deprecated
|
|
18287
|
+
*
|
|
18264
18288
|
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
18265
18289
|
*
|
|
18266
18290
|
* @return GetUpgradeStatusResponse
|
|
18267
18291
|
*/
|
|
18292
|
+
// Deprecated
|
|
18268
18293
|
async getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse> {
|
|
18269
18294
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18270
18295
|
let headers : {[key: string ]: string} = { };
|
|
@@ -19198,12 +19223,15 @@ export default class Client extends OpenApi {
|
|
|
19198
19223
|
}
|
|
19199
19224
|
|
|
19200
19225
|
/**
|
|
19226
|
+
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
19227
|
+
*
|
|
19201
19228
|
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
19202
19229
|
*
|
|
19203
19230
|
* @param headers map
|
|
19204
19231
|
* @param runtime runtime options for this request RuntimeOptions
|
|
19205
19232
|
* @return PauseComponentUpgradeResponse
|
|
19206
19233
|
*/
|
|
19234
|
+
// Deprecated
|
|
19207
19235
|
async pauseComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseComponentUpgradeResponse> {
|
|
19208
19236
|
let req = new $OpenApi.OpenApiRequest({
|
|
19209
19237
|
headers: headers,
|
|
@@ -19223,10 +19251,13 @@ export default class Client extends OpenApi {
|
|
|
19223
19251
|
}
|
|
19224
19252
|
|
|
19225
19253
|
/**
|
|
19254
|
+
* @deprecated OpenAPI PauseComponentUpgrade is deprecated
|
|
19255
|
+
*
|
|
19226
19256
|
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
19227
19257
|
*
|
|
19228
19258
|
* @return PauseComponentUpgradeResponse
|
|
19229
19259
|
*/
|
|
19260
|
+
// Deprecated
|
|
19230
19261
|
async pauseComponentUpgrade(clusterid: string, componentid: string): Promise<PauseComponentUpgradeResponse> {
|
|
19231
19262
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19232
19263
|
let headers : {[key: string ]: string} = { };
|
|
@@ -19515,12 +19546,15 @@ export default class Client extends OpenApi {
|
|
|
19515
19546
|
}
|
|
19516
19547
|
|
|
19517
19548
|
/**
|
|
19549
|
+
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
19550
|
+
*
|
|
19518
19551
|
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
19519
19552
|
*
|
|
19520
19553
|
* @param headers map
|
|
19521
19554
|
* @param runtime runtime options for this request RuntimeOptions
|
|
19522
19555
|
* @return ResumeComponentUpgradeResponse
|
|
19523
19556
|
*/
|
|
19557
|
+
// Deprecated
|
|
19524
19558
|
async resumeComponentUpgradeWithOptions(clusterid: string, componentid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeComponentUpgradeResponse> {
|
|
19525
19559
|
let req = new $OpenApi.OpenApiRequest({
|
|
19526
19560
|
headers: headers,
|
|
@@ -19540,10 +19574,13 @@ export default class Client extends OpenApi {
|
|
|
19540
19574
|
}
|
|
19541
19575
|
|
|
19542
19576
|
/**
|
|
19577
|
+
* @deprecated OpenAPI ResumeComponentUpgrade is deprecated
|
|
19578
|
+
*
|
|
19543
19579
|
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
19544
19580
|
*
|
|
19545
19581
|
* @return ResumeComponentUpgradeResponse
|
|
19546
19582
|
*/
|
|
19583
|
+
// Deprecated
|
|
19547
19584
|
async resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse> {
|
|
19548
19585
|
let runtime = new $Util.RuntimeOptions({ });
|
|
19549
19586
|
let headers : {[key: string ]: string} = { };
|