@alicloud/cs20151215 7.2.4 → 7.2.5
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 +22 -22
- package/dist/client.js +31 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +5 -0
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +5 -0
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +5 -0
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -22
- package/src/models/CreateClusterNodePoolRequest.ts +214 -163
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +7 -0
- package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +6 -5
|
@@ -778,6 +778,11 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
778
778
|
* sg-bp1h6rk3pgct2a08***
|
|
779
779
|
*/
|
|
780
780
|
securityGroupId?: string;
|
|
781
|
+
/**
|
|
782
|
+
* @example
|
|
783
|
+
* Extended
|
|
784
|
+
*/
|
|
785
|
+
supportPolicy?: string;
|
|
781
786
|
/**
|
|
782
787
|
* @remarks
|
|
783
788
|
* The system event storage configuration.
|
|
@@ -825,6 +830,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
825
830
|
operationPolicy: 'operation_policy',
|
|
826
831
|
resourceGroupId: 'resource_group_id',
|
|
827
832
|
securityGroupId: 'security_group_id',
|
|
833
|
+
supportPolicy: 'support_policy',
|
|
828
834
|
systemEventsLogging: 'system_events_logging',
|
|
829
835
|
timezone: 'timezone',
|
|
830
836
|
vswitchIds: 'vswitch_ids',
|
|
@@ -851,6 +857,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
851
857
|
operationPolicy: ModifyClusterRequestOperationPolicy,
|
|
852
858
|
resourceGroupId: 'string',
|
|
853
859
|
securityGroupId: 'string',
|
|
860
|
+
supportPolicy: 'string',
|
|
854
861
|
systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
|
|
855
862
|
timezone: 'string',
|
|
856
863
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8,7 +8,6 @@ export class RemoveNodePoolNodesRequest extends $dara.Model {
|
|
|
8
8
|
* Specifies whether to remove the nodes concurrently. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - true: removes the nodes from the scaling group concurrently.
|
|
11
|
-
*
|
|
12
11
|
* - false: removes the nodes from the scaling group sequentially.
|
|
13
12
|
*
|
|
14
13
|
* Default value: false.
|
|
@@ -29,26 +28,28 @@ export class RemoveNodePoolNodesRequest extends $dara.Model {
|
|
|
29
28
|
drainNode?: boolean;
|
|
30
29
|
/**
|
|
31
30
|
* @remarks
|
|
32
|
-
* The list of instances to
|
|
31
|
+
* The list of instances to remove.
|
|
33
32
|
*/
|
|
34
33
|
instanceIds?: string[];
|
|
35
34
|
/**
|
|
36
35
|
* @remarks
|
|
37
36
|
* **[Deprecated]**
|
|
38
37
|
*
|
|
39
|
-
* The list of nodes to
|
|
38
|
+
* The list of nodes to remove.
|
|
40
39
|
*
|
|
41
|
-
* >Danger: This parameter is deprecated. Use instance_ids instead.</danger>
|
|
40
|
+
* >Danger: This parameter is deprecated. Use `instance_ids` instead.</danger>
|
|
42
41
|
*
|
|
43
42
|
* @deprecated
|
|
44
43
|
*/
|
|
45
44
|
nodes?: string[];
|
|
46
45
|
/**
|
|
47
46
|
* @remarks
|
|
48
|
-
* Specifies whether
|
|
47
|
+
* Specifies whether automatic release the nodes. Valid values:
|
|
49
48
|
* - true: releases the nodes.
|
|
50
49
|
* - false: does not release the nodes.
|
|
51
50
|
*
|
|
51
|
+
* Subscription nodes are not automatically released when you remove them. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the ECS console.
|
|
52
|
+
*
|
|
52
53
|
* @example
|
|
53
54
|
* true
|
|
54
55
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RemoveNodePoolNodesResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The request ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* A9891419-D125-4D89-AFCA-68846675****
|
|
@@ -13,7 +13,7 @@ export class RemoveNodePoolNodesResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The task ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* T-62a944794ee141074400****
|
|
@@ -8,7 +8,6 @@ export class RemoveNodePoolNodesShrinkRequest extends $dara.Model {
|
|
|
8
8
|
* Specifies whether to remove the nodes concurrently. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - true: removes the nodes from the scaling group concurrently.
|
|
11
|
-
*
|
|
12
11
|
* - false: removes the nodes from the scaling group sequentially.
|
|
13
12
|
*
|
|
14
13
|
* Default value: false.
|
|
@@ -29,26 +28,28 @@ export class RemoveNodePoolNodesShrinkRequest extends $dara.Model {
|
|
|
29
28
|
drainNode?: boolean;
|
|
30
29
|
/**
|
|
31
30
|
* @remarks
|
|
32
|
-
* The list of instances to
|
|
31
|
+
* The list of instances to remove.
|
|
33
32
|
*/
|
|
34
33
|
instanceIdsShrink?: string;
|
|
35
34
|
/**
|
|
36
35
|
* @remarks
|
|
37
36
|
* **[Deprecated]**
|
|
38
37
|
*
|
|
39
|
-
* The list of nodes to
|
|
38
|
+
* The list of nodes to remove.
|
|
40
39
|
*
|
|
41
|
-
* >Danger: This parameter is deprecated. Use instance_ids instead.</danger>
|
|
40
|
+
* >Danger: This parameter is deprecated. Use `instance_ids` instead.</danger>
|
|
42
41
|
*
|
|
43
42
|
* @deprecated
|
|
44
43
|
*/
|
|
45
44
|
nodesShrink?: string;
|
|
46
45
|
/**
|
|
47
46
|
* @remarks
|
|
48
|
-
* Specifies whether
|
|
47
|
+
* Specifies whether automatic release the nodes. Valid values:
|
|
49
48
|
* - true: releases the nodes.
|
|
50
49
|
* - false: does not release the nodes.
|
|
51
50
|
*
|
|
51
|
+
* Subscription nodes are not automatically released when you remove them. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the ECS console.
|
|
52
|
+
*
|
|
52
53
|
* @example
|
|
53
54
|
* true
|
|
54
55
|
*/
|