@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/dist/client.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare class MaintenanceWindow extends $tea.Model {
|
|
|
108
108
|
duration?: string;
|
|
109
109
|
enable?: boolean;
|
|
110
110
|
maintenanceTime?: string;
|
|
111
|
+
recurrence?: string;
|
|
111
112
|
weeklyPeriod?: string;
|
|
112
113
|
static names(): {
|
|
113
114
|
[key: string]: string;
|
|
@@ -2059,6 +2060,7 @@ export declare class DescribeClusterVulsResponse extends $tea.Model {
|
|
|
2059
2060
|
export declare class DescribeClustersRequest extends $tea.Model {
|
|
2060
2061
|
clusterType?: string;
|
|
2061
2062
|
name?: string;
|
|
2063
|
+
resourceGroupId?: string;
|
|
2062
2064
|
static names(): {
|
|
2063
2065
|
[key: string]: string;
|
|
2064
2066
|
};
|
|
@@ -5415,6 +5417,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
5415
5417
|
periodUnit?: string;
|
|
5416
5418
|
platform?: string;
|
|
5417
5419
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
5420
|
+
ramRoleName?: string;
|
|
5418
5421
|
rdsInstances?: string[];
|
|
5419
5422
|
scalingPolicy?: string;
|
|
5420
5423
|
securityGroupId?: string;
|
|
@@ -5820,6 +5823,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
5820
5823
|
platform?: string;
|
|
5821
5824
|
privatePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions;
|
|
5822
5825
|
ramPolicy?: string;
|
|
5826
|
+
ramRoleName?: string;
|
|
5823
5827
|
rdsInstances?: string[];
|
|
5824
5828
|
scalingGroupId?: string;
|
|
5825
5829
|
scalingPolicy?: string;
|
|
@@ -6091,6 +6095,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
6091
6095
|
platform?: string;
|
|
6092
6096
|
privatePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions;
|
|
6093
6097
|
ramPolicy?: string;
|
|
6098
|
+
ramRoleName?: string;
|
|
6094
6099
|
rdsInstances?: string[];
|
|
6095
6100
|
scalingGroupId?: string;
|
|
6096
6101
|
scalingPolicy?: string;
|
|
@@ -8814,7 +8819,7 @@ export default class Client extends OpenApi {
|
|
|
8814
8819
|
*/
|
|
8815
8820
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
8816
8821
|
/**
|
|
8817
|
-
* @summary
|
|
8822
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
8818
8823
|
*
|
|
8819
8824
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
8820
8825
|
* @param headers map
|
|
@@ -8825,7 +8830,7 @@ export default class Client extends OpenApi {
|
|
|
8825
8830
|
[key: string]: string;
|
|
8826
8831
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesDeleteProtectionResponse>;
|
|
8827
8832
|
/**
|
|
8828
|
-
* @summary
|
|
8833
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
8829
8834
|
*
|
|
8830
8835
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
8831
8836
|
* @return DescribeResourcesDeleteProtectionResponse
|
|
@@ -9944,7 +9949,7 @@ export default class Client extends OpenApi {
|
|
|
9944
9949
|
*/
|
|
9945
9950
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: UpdateK8sClusterUserConfigExpireRequest): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
9946
9951
|
/**
|
|
9947
|
-
* @summary
|
|
9952
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
9948
9953
|
*
|
|
9949
9954
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
9950
9955
|
* @param headers map
|
|
@@ -9955,7 +9960,7 @@ export default class Client extends OpenApi {
|
|
|
9955
9960
|
[key: string]: string;
|
|
9956
9961
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateResourcesDeleteProtectionResponse>;
|
|
9957
9962
|
/**
|
|
9958
|
-
* @summary
|
|
9963
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
9959
9964
|
*
|
|
9960
9965
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
9961
9966
|
* @return UpdateResourcesDeleteProtectionResponse
|
package/dist/client.js
CHANGED
|
@@ -195,6 +195,7 @@ class MaintenanceWindow extends $tea.Model {
|
|
|
195
195
|
duration: 'duration',
|
|
196
196
|
enable: 'enable',
|
|
197
197
|
maintenanceTime: 'maintenance_time',
|
|
198
|
+
recurrence: 'recurrence',
|
|
198
199
|
weeklyPeriod: 'weekly_period',
|
|
199
200
|
};
|
|
200
201
|
}
|
|
@@ -203,6 +204,7 @@ class MaintenanceWindow extends $tea.Model {
|
|
|
203
204
|
duration: 'string',
|
|
204
205
|
enable: 'boolean',
|
|
205
206
|
maintenanceTime: 'string',
|
|
207
|
+
recurrence: 'string',
|
|
206
208
|
weeklyPeriod: 'string',
|
|
207
209
|
};
|
|
208
210
|
}
|
|
@@ -2902,12 +2904,14 @@ class DescribeClustersRequest extends $tea.Model {
|
|
|
2902
2904
|
return {
|
|
2903
2905
|
clusterType: 'clusterType',
|
|
2904
2906
|
name: 'name',
|
|
2907
|
+
resourceGroupId: 'resource_group_id',
|
|
2905
2908
|
};
|
|
2906
2909
|
}
|
|
2907
2910
|
static types() {
|
|
2908
2911
|
return {
|
|
2909
2912
|
clusterType: 'string',
|
|
2910
2913
|
name: 'string',
|
|
2914
|
+
resourceGroupId: 'string',
|
|
2911
2915
|
};
|
|
2912
2916
|
}
|
|
2913
2917
|
constructor(map) {
|
|
@@ -7496,6 +7500,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7496
7500
|
periodUnit: 'period_unit',
|
|
7497
7501
|
platform: 'platform',
|
|
7498
7502
|
privatePoolOptions: 'private_pool_options',
|
|
7503
|
+
ramRoleName: 'ram_role_name',
|
|
7499
7504
|
rdsInstances: 'rds_instances',
|
|
7500
7505
|
scalingPolicy: 'scaling_policy',
|
|
7501
7506
|
securityGroupId: 'security_group_id',
|
|
@@ -7545,6 +7550,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7545
7550
|
periodUnit: 'string',
|
|
7546
7551
|
platform: 'string',
|
|
7547
7552
|
privatePoolOptions: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions,
|
|
7553
|
+
ramRoleName: 'string',
|
|
7548
7554
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
7549
7555
|
scalingPolicy: 'string',
|
|
7550
7556
|
securityGroupId: 'string',
|
|
@@ -8105,6 +8111,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
8105
8111
|
platform: 'platform',
|
|
8106
8112
|
privatePoolOptions: 'private_pool_options',
|
|
8107
8113
|
ramPolicy: 'ram_policy',
|
|
8114
|
+
ramRoleName: 'ram_role_name',
|
|
8108
8115
|
rdsInstances: 'rds_instances',
|
|
8109
8116
|
scalingGroupId: 'scaling_group_id',
|
|
8110
8117
|
scalingPolicy: 'scaling_policy',
|
|
@@ -8156,6 +8163,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
8156
8163
|
platform: 'string',
|
|
8157
8164
|
privatePoolOptions: DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions,
|
|
8158
8165
|
ramPolicy: 'string',
|
|
8166
|
+
ramRoleName: 'string',
|
|
8159
8167
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
8160
8168
|
scalingGroupId: 'string',
|
|
8161
8169
|
scalingPolicy: 'string',
|
|
@@ -8527,6 +8535,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8527
8535
|
platform: 'platform',
|
|
8528
8536
|
privatePoolOptions: 'private_pool_options',
|
|
8529
8537
|
ramPolicy: 'ram_policy',
|
|
8538
|
+
ramRoleName: 'ram_role_name',
|
|
8530
8539
|
rdsInstances: 'rds_instances',
|
|
8531
8540
|
scalingGroupId: 'scaling_group_id',
|
|
8532
8541
|
scalingPolicy: 'scaling_policy',
|
|
@@ -8578,6 +8587,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8578
8587
|
platform: 'string',
|
|
8579
8588
|
privatePoolOptions: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions,
|
|
8580
8589
|
ramPolicy: 'string',
|
|
8590
|
+
ramRoleName: 'string',
|
|
8581
8591
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
8582
8592
|
scalingGroupId: 'string',
|
|
8583
8593
|
scalingPolicy: 'string',
|
|
@@ -13472,6 +13482,9 @@ class Client extends openapi_client_1.default {
|
|
|
13472
13482
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
13473
13483
|
query["name"] = request.name;
|
|
13474
13484
|
}
|
|
13485
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
13486
|
+
query["resource_group_id"] = request.resourceGroupId;
|
|
13487
|
+
}
|
|
13475
13488
|
let req = new $OpenApi.OpenApiRequest({
|
|
13476
13489
|
headers: headers,
|
|
13477
13490
|
query: openapi_util_1.default.query(query),
|
|
@@ -14109,7 +14122,7 @@ class Client extends openapi_client_1.default {
|
|
|
14109
14122
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
14110
14123
|
}
|
|
14111
14124
|
/**
|
|
14112
|
-
* @summary
|
|
14125
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
14113
14126
|
*
|
|
14114
14127
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
14115
14128
|
* @param headers map
|
|
@@ -14143,7 +14156,7 @@ class Client extends openapi_client_1.default {
|
|
|
14143
14156
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
|
|
14144
14157
|
}
|
|
14145
14158
|
/**
|
|
14146
|
-
* @summary
|
|
14159
|
+
* @summary Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
14147
14160
|
*
|
|
14148
14161
|
* @param request DescribeResourcesDeleteProtectionRequest
|
|
14149
14162
|
* @return DescribeResourcesDeleteProtectionResponse
|
|
@@ -16950,7 +16963,7 @@ class Client extends openapi_client_1.default {
|
|
|
16950
16963
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
16951
16964
|
}
|
|
16952
16965
|
/**
|
|
16953
|
-
* @summary
|
|
16966
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
16954
16967
|
*
|
|
16955
16968
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
16956
16969
|
* @param headers map
|
|
@@ -16990,7 +17003,7 @@ class Client extends openapi_client_1.default {
|
|
|
16990
17003
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
|
|
16991
17004
|
}
|
|
16992
17005
|
/**
|
|
16993
|
-
* @summary
|
|
17006
|
+
* @summary Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
16994
17007
|
*
|
|
16995
17008
|
* @param request UpdateResourcesDeleteProtectionRequest
|
|
16996
17009
|
* @return UpdateResourcesDeleteProtectionResponse
|