@alicloud/cs20151215 4.3.1 → 4.3.3
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 +9 -4
- package/dist/client.js +17 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +23 -4
package/package.json
CHANGED
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
|
|
|
@@ -9449,6 +9455,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9449
9455
|
periodUnit?: string;
|
|
9450
9456
|
platform?: string;
|
|
9451
9457
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
9458
|
+
ramRoleName?: string;
|
|
9452
9459
|
rdsInstances?: string[];
|
|
9453
9460
|
scalingPolicy?: string;
|
|
9454
9461
|
securityGroupId?: string;
|
|
@@ -9496,6 +9503,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9496
9503
|
periodUnit: 'period_unit',
|
|
9497
9504
|
platform: 'platform',
|
|
9498
9505
|
privatePoolOptions: 'private_pool_options',
|
|
9506
|
+
ramRoleName: 'ram_role_name',
|
|
9499
9507
|
rdsInstances: 'rds_instances',
|
|
9500
9508
|
scalingPolicy: 'scaling_policy',
|
|
9501
9509
|
securityGroupId: 'security_group_id',
|
|
@@ -9546,6 +9554,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9546
9554
|
periodUnit: 'string',
|
|
9547
9555
|
platform: 'string',
|
|
9548
9556
|
privatePoolOptions: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions,
|
|
9557
|
+
ramRoleName: 'string',
|
|
9549
9558
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
9550
9559
|
scalingPolicy: 'string',
|
|
9551
9560
|
securityGroupId: 'string',
|
|
@@ -10237,6 +10246,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
10237
10246
|
platform?: string;
|
|
10238
10247
|
privatePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions;
|
|
10239
10248
|
ramPolicy?: string;
|
|
10249
|
+
ramRoleName?: string;
|
|
10240
10250
|
rdsInstances?: string[];
|
|
10241
10251
|
scalingGroupId?: string;
|
|
10242
10252
|
scalingPolicy?: string;
|
|
@@ -10286,6 +10296,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
10286
10296
|
platform: 'platform',
|
|
10287
10297
|
privatePoolOptions: 'private_pool_options',
|
|
10288
10298
|
ramPolicy: 'ram_policy',
|
|
10299
|
+
ramRoleName: 'ram_role_name',
|
|
10289
10300
|
rdsInstances: 'rds_instances',
|
|
10290
10301
|
scalingGroupId: 'scaling_group_id',
|
|
10291
10302
|
scalingPolicy: 'scaling_policy',
|
|
@@ -10338,6 +10349,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
10338
10349
|
platform: 'string',
|
|
10339
10350
|
privatePoolOptions: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions,
|
|
10340
10351
|
ramPolicy: 'string',
|
|
10352
|
+
ramRoleName: 'string',
|
|
10341
10353
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
10342
10354
|
scalingGroupId: 'string',
|
|
10343
10355
|
scalingPolicy: 'string',
|
|
@@ -10795,6 +10807,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
10795
10807
|
platform?: string;
|
|
10796
10808
|
privatePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions;
|
|
10797
10809
|
ramPolicy?: string;
|
|
10810
|
+
ramRoleName?: string;
|
|
10798
10811
|
rdsInstances?: string[];
|
|
10799
10812
|
scalingGroupId?: string;
|
|
10800
10813
|
scalingPolicy?: string;
|
|
@@ -10844,6 +10857,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
10844
10857
|
platform: 'platform',
|
|
10845
10858
|
privatePoolOptions: 'private_pool_options',
|
|
10846
10859
|
ramPolicy: 'ram_policy',
|
|
10860
|
+
ramRoleName: 'ram_role_name',
|
|
10847
10861
|
rdsInstances: 'rds_instances',
|
|
10848
10862
|
scalingGroupId: 'scaling_group_id',
|
|
10849
10863
|
scalingPolicy: 'scaling_policy',
|
|
@@ -10896,6 +10910,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
10896
10910
|
platform: 'string',
|
|
10897
10911
|
privatePoolOptions: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions,
|
|
10898
10912
|
ramPolicy: 'string',
|
|
10913
|
+
ramRoleName: 'string',
|
|
10899
10914
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
10900
10915
|
scalingGroupId: 'string',
|
|
10901
10916
|
scalingPolicy: 'string',
|
|
@@ -16782,6 +16797,10 @@ export default class Client extends OpenApi {
|
|
|
16782
16797
|
query["name"] = request.name;
|
|
16783
16798
|
}
|
|
16784
16799
|
|
|
16800
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
16801
|
+
query["resource_group_id"] = request.resourceGroupId;
|
|
16802
|
+
}
|
|
16803
|
+
|
|
16785
16804
|
let req = new $OpenApi.OpenApiRequest({
|
|
16786
16805
|
headers: headers,
|
|
16787
16806
|
query: OpenApiUtil.query(query),
|
|
@@ -17479,7 +17498,7 @@ export default class Client extends OpenApi {
|
|
|
17479
17498
|
}
|
|
17480
17499
|
|
|
17481
17500
|
/**
|
|
17482
|
-
* @summary
|
|
17501
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
17483
17502
|
*
|
|
17484
17503
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
17485
17504
|
* @param headers map
|
|
@@ -17516,7 +17535,7 @@ export default class Client extends OpenApi {
|
|
|
17516
17535
|
}
|
|
17517
17536
|
|
|
17518
17537
|
/**
|
|
17519
|
-
* @summary
|
|
17538
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
17520
17539
|
*
|
|
17521
17540
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
17522
17541
|
* @return DescribeResourcesDeleteProtectionResponse
|
|
@@ -20609,7 +20628,7 @@ export default class Client extends OpenApi {
|
|
|
20609
20628
|
}
|
|
20610
20629
|
|
|
20611
20630
|
/**
|
|
20612
|
-
* @summary
|
|
20631
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
20613
20632
|
*
|
|
20614
20633
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
20615
20634
|
* @param headers map
|
|
@@ -20654,7 +20673,7 @@ export default class Client extends OpenApi {
|
|
|
20654
20673
|
}
|
|
20655
20674
|
|
|
20656
20675
|
/**
|
|
20657
|
-
* @summary
|
|
20676
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
20658
20677
|
*
|
|
20659
20678
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
20660
20679
|
* @return UpdateResourcesDeleteProtectionResponse
|