@alicloud/cs20151215 7.2.5 → 7.3.0
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 +110 -72
- package/dist/client.js +259 -72
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterRequest.d.ts +305 -392
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +80 -77
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/InvokeAgentRequest.d.ts +296 -0
- package/dist/models/InvokeAgentRequest.js +279 -0
- package/dist/models/InvokeAgentRequest.js.map +1 -0
- package/dist/models/InvokeAgentResponse.d.ts +21 -0
- package/dist/models/InvokeAgentResponse.js +73 -0
- package/dist/models/InvokeAgentResponse.js.map +1 -0
- package/dist/models/InvokeAgentResponseBody.d.ts +178 -0
- package/dist/models/InvokeAgentResponseBody.js +152 -0
- package/dist/models/InvokeAgentResponseBody.js.map +1 -0
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +106 -99
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +34 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +249 -72
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterRequest.ts +305 -392
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
- package/src/models/InvokeAgentRequest.ts +461 -0
- package/src/models/InvokeAgentResponse.ts +46 -0
- package/src/models/InvokeAgentResponseBody.ts +263 -0
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterRequest.ts +106 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
- package/src/models/model.ts +12 -0
|
@@ -25,9 +25,9 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
25
25
|
* - `ack.pro.small`: Pro Edition.
|
|
26
26
|
* - `ack.pro.xlarge`: Pro XL.
|
|
27
27
|
* - `ack.pro.2xlarge`: Pro 2XL.
|
|
28
|
-
* - `ack.pro.4xlarge`: Pro 4XL. To use this specification,
|
|
28
|
+
* - `ack.pro.4xlarge`: Pro 4XL. To use this specification, you must contact customer service to apply for whitelist access.
|
|
29
29
|
*
|
|
30
|
-
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane).
|
|
30
|
+
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <props="china">[ACK Pro provisioned control plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro provisioned control plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). These tiers pre-allocate and reserve control plane resources to ensure that API concurrency and pod scheduling capabilities remain consistently high. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
31
31
|
*
|
|
32
32
|
* For more information about the cluster management fees for the Pro Edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
33
33
|
*
|
|
@@ -37,9 +37,9 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
37
37
|
clusterSpec?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The cluster
|
|
40
|
+
* The type of the cluster. Valid values:
|
|
41
41
|
* - Kubernetes: ACK dedicated cluster.
|
|
42
|
-
* - ManagedKubernetes: ACK managed
|
|
42
|
+
* - ManagedKubernetes: ACK managed cluster, including ACK managed clusters (Pro Edition and Basic Edition), ACK Serverless clusters (Pro Edition and Basic Edition), ACK Edge clusters (Pro Edition and Basic Edition), and ACK Lingjun clusters (Pro Edition).
|
|
43
43
|
* - ExternalKubernetes: registered cluster.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
@@ -115,10 +115,10 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
117
|
* The subtype of the cluster. Valid values:
|
|
118
|
-
* - Default: ACK managed
|
|
119
|
-
* - Edge: ACK Edge
|
|
120
|
-
* - Serverless: ACK Serverless
|
|
121
|
-
* - LingJun: ACK Lingjun
|
|
118
|
+
* - Default: ACK managed cluster, including ACK managed cluster Pro Edition and Basic Edition.
|
|
119
|
+
* - Edge: ACK Edge cluster, including ACK Edge cluster Pro Edition and Basic Edition.
|
|
120
|
+
* - Serverless: ACK Serverless cluster, including ACK Serverless cluster Pro Edition and Basic Edition.
|
|
121
|
+
* - LingJun: ACK Lingjun cluster, which provides only the Pro Edition.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* Default
|
|
@@ -126,7 +126,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
126
126
|
profile?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The proxy mode of
|
|
129
|
+
* The kube-proxy mode of the cluster.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* ipvs
|
|
@@ -158,7 +158,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
158
158
|
securityGroupId?: string;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The CIDR block for services.
|
|
161
|
+
* The CIDR block for services in the cluster.
|
|
162
162
|
*
|
|
163
163
|
* This parameter is required.
|
|
164
164
|
*
|
|
@@ -183,7 +183,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
183
183
|
* - `running`: The cluster is running.
|
|
184
184
|
* - `updating`: The cluster is being updated.
|
|
185
185
|
* - `upgrading`: The cluster is being upgraded.
|
|
186
|
-
* - `removing`: Nodes are being removed.
|
|
186
|
+
* - `removing`: Nodes are being removed from the cluster.
|
|
187
187
|
* - `draining`: Nodes are being drained.
|
|
188
188
|
* - `scaling`: The cluster is being scaled.
|
|
189
189
|
* - `inactive`: The cluster is inactive.
|
|
@@ -191,7 +191,7 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
191
191
|
* - `deleting`: The cluster is being deleted.
|
|
192
192
|
* - `deleted`: The cluster is deleted.
|
|
193
193
|
* - `delete_failed`: The cluster failed to be deleted.
|
|
194
|
-
* - `waiting`: The cluster is waiting
|
|
194
|
+
* - `waiting`: The cluster is waiting for the accessed state.
|
|
195
195
|
* - `disconnected`: The cluster is disconnected.
|
|
196
196
|
*
|
|
197
197
|
* @example
|
|
@@ -199,6 +199,12 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $dara
|
|
|
199
199
|
*/
|
|
200
200
|
state?: string;
|
|
201
201
|
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The version support policy of the cluster. The values are case-sensitive. Valid values:
|
|
204
|
+
* - Standard: standard support.
|
|
205
|
+
* - Extended: extended support. After the standard support period ends, the cluster enters the extended support period and continues to receive CVE patch updates.
|
|
206
|
+
* If this policy is not configured for an existing cluster, Standard is returned.
|
|
207
|
+
*
|
|
202
208
|
* @example
|
|
203
209
|
* Extended
|
|
204
210
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeClustersForRegionResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeClustersForRegionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+BAA4B;AAG5B,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeClustersForRegionResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeClustersForRegionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+BAA4B;AAG5B,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAmP5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,gBAAgB;YAC/B,SAAS,EAAE,YAAY;YACvB,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,cAAc;YAC3B,aAAa,EAAE,gBAAgB;YAC/B,OAAO,EAAE,SAAS;YAClB,cAAc,EAAE,iBAAiB;YACjC,kBAAkB,EAAE,qBAAqB;YACzC,WAAW,EAAE,cAAc;YAC3B,OAAO,EAAE,UAAU;YACnB,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,cAAc;YAC3B,OAAO,EAAE,SAAS;Y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E,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sFAsCC"}
|
|
@@ -5,7 +5,7 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
5
5
|
* The cluster type. Valid values:
|
|
6
6
|
*
|
|
7
7
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
8
|
-
* - `ManagedKubernetes`: ACK managed cluster, including ACK Pro clusters, ACK
|
|
8
|
+
* - `ManagedKubernetes`: ACK managed cluster, including ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
15
15
|
clusterType?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The Kubernetes version of the cluster
|
|
18
|
+
* The Kubernetes version of the cluster, which is consistent with the Kubernetes community baseline version. We recommend that you select the latest version. If you do not specify this parameter, the latest version is used by default.
|
|
19
19
|
*
|
|
20
20
|
* For more information about the Kubernetes versions supported by ACK, see [Overview of Kubernetes versions](https://help.aliyun.com/document_detail/185269.html).
|
|
21
21
|
*
|
|
@@ -26,13 +26,12 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
28
|
* The query mode. Valid values:
|
|
29
|
+
* - `supported`: queries supported versions.
|
|
30
|
+
* - `creatable`: queries versions available for cluster creation.
|
|
29
31
|
*
|
|
30
|
-
*
|
|
31
|
-
* - `creatable`: Versions available for cluster creation.
|
|
32
|
+
* If you specify KubernetesVersion, the query mode is ignored.
|
|
32
33
|
*
|
|
33
|
-
* If you specify
|
|
34
|
-
*
|
|
35
|
-
* If you do not specify a query mode, the system returns versions available for cluster creation by default.
|
|
34
|
+
* If you do not specify a query mode, versions available for cluster creation are returned by default.
|
|
36
35
|
*
|
|
37
36
|
* @example
|
|
38
37
|
* supported
|
|
@@ -40,10 +39,10 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
40
39
|
mode?: string;
|
|
41
40
|
/**
|
|
42
41
|
* @remarks
|
|
43
|
-
* The cluster profile. Valid values:
|
|
42
|
+
* The cluster profile used to differentiate cluster scenarios. Valid values:
|
|
44
43
|
*
|
|
45
|
-
* - `Default`:
|
|
46
|
-
* - `Edge`:
|
|
44
|
+
* - `Default`: non-edge cluster.
|
|
45
|
+
* - `Edge`: edge cluster.
|
|
47
46
|
* - `Serverless`: ASK cluster.
|
|
48
47
|
*
|
|
49
48
|
* Default value: `Default`.
|
|
@@ -56,8 +55,9 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
56
55
|
* @remarks
|
|
57
56
|
* Specifies whether to query the upgradable versions of the cluster version. This parameter takes effect only when the KubernetesVersion parameter is specified. Valid values:
|
|
58
57
|
*
|
|
59
|
-
* - true:
|
|
60
|
-
*
|
|
58
|
+
* - true: queries upgradable versions.
|
|
59
|
+
*
|
|
60
|
+
* - false: does not query upgradable versions.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* 1.30.1-aliyun.1
|
|
@@ -74,21 +74,28 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $dara.Mode
|
|
|
74
74
|
*/
|
|
75
75
|
region?: string;
|
|
76
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The version support policy. The value is case-sensitive. Valid values:
|
|
79
|
+
* - Standard: standard support. This is the default value.
|
|
80
|
+
* - Extended: extended support.
|
|
81
|
+
* If you set this parameter to Extended: when Mode is set to `supported`, versions in the extended support period are additionally returned; when Mode is set to `creatable`, the latest extended support patch version of the major version in the extended support period is additionally returned; upgradable_versions returns the extended support patch versions of the major version.
|
|
82
|
+
* Extended support applies only to ACK Pro managed clusters (where ClusterSpec is set to `ack.pro.*` and Profile is set to `Default`). Other cluster types (ACK Standard, ACS, ACK Edge managed, and ACK dedicated clusters) do not support extended support. If you specify a version in the extended support period to create or upgrade these clusters, the request will be rejected.
|
|
83
|
+
*
|
|
77
84
|
* @example
|
|
78
85
|
* Extended
|
|
79
86
|
*/
|
|
80
87
|
supportPolicy?: string;
|
|
81
88
|
/**
|
|
82
89
|
* @remarks
|
|
83
|
-
* The runtime type. You can specify a runtime type to filter system images supported by the runtime. Valid values:
|
|
90
|
+
* The runtime type. You can specify a runtime type to filter the system images supported by the runtime. Valid values:
|
|
84
91
|
*
|
|
85
92
|
* - `docker`: Docker runtime.
|
|
86
93
|
* - `containerd`: containerd runtime.
|
|
87
94
|
* - `Sandboxed-Container.runv`: sandboxed container.
|
|
88
95
|
*
|
|
89
|
-
* If you specify a runtime type, the
|
|
96
|
+
* If you specify a runtime type, the image versions supported by the specified runtime are returned.
|
|
90
97
|
*
|
|
91
|
-
* If you do not specify a runtime type,
|
|
98
|
+
* If you do not specify a runtime type, all images are returned by default.
|
|
92
99
|
*
|
|
93
100
|
* @example
|
|
94
101
|
* containerd
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeKubernetesVersionMetadataRequest.js","sourceRoot":"","sources":["../../src/models/DescribeKubernetesVersionMetadataRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeKubernetesVersionMetadataRequest.js","sourceRoot":"","sources":["../../src/models/DescribeKubernetesVersionMetadataRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAsGvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,iBAAiB,EAAE,mBAAmB;YACtC,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,sBAAsB,EAAE,wBAAwB;YAChD,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,iBAAiB,EAAE,QAAQ;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,sBAAsB,EAAE,SAAS;YACjC,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvID,4FAuIC"}
|
|
@@ -3,7 +3,7 @@ import { Runtime } from "./Runtime";
|
|
|
3
3
|
export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The image
|
|
6
|
+
* The architecture of the image.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* x86_64
|
|
@@ -11,12 +11,11 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
11
11
|
architecture?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The image
|
|
15
|
-
*
|
|
16
|
-
* - `
|
|
17
|
-
* - `
|
|
18
|
-
* - `
|
|
19
|
-
* - `marketplace`: Alibaba Cloud Marketplace images.
|
|
14
|
+
* The category of the image. Valid values:
|
|
15
|
+
* - `system`: public images
|
|
16
|
+
* - `self`: custom images
|
|
17
|
+
* - `others`: public images from other users
|
|
18
|
+
* - `marketplace`: marketplace images
|
|
20
19
|
*
|
|
21
20
|
* @example
|
|
22
21
|
* system
|
|
@@ -24,7 +23,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
24
23
|
imageCategory?: string;
|
|
25
24
|
/**
|
|
26
25
|
* @remarks
|
|
27
|
-
* The image
|
|
26
|
+
* The ID of the image.
|
|
28
27
|
*
|
|
29
28
|
* @example
|
|
30
29
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -32,7 +31,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
32
31
|
imageId?: string;
|
|
33
32
|
/**
|
|
34
33
|
* @remarks
|
|
35
|
-
* The image
|
|
34
|
+
* The name of the image.
|
|
36
35
|
*
|
|
37
36
|
* @example
|
|
38
37
|
* Alibaba Cloud Linux 3.2104
|
|
@@ -40,8 +39,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
40
39
|
imageName?: string;
|
|
41
40
|
/**
|
|
42
41
|
* @remarks
|
|
43
|
-
* The operating system distribution type. Use this field to specify the operating system
|
|
44
|
-
*
|
|
42
|
+
* The operating system distribution type. Use this field to specify the node operating system. Valid values:
|
|
45
43
|
* - `CentOS`
|
|
46
44
|
* - `AliyunLinux`
|
|
47
45
|
* - `AliyunLinux Qboot`
|
|
@@ -58,8 +56,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends
|
|
|
58
56
|
imageType?: string;
|
|
59
57
|
/**
|
|
60
58
|
* @remarks
|
|
61
|
-
* The operating system type.
|
|
62
|
-
*
|
|
59
|
+
* The operating system type. Valid values:
|
|
63
60
|
* - `Windows`
|
|
64
61
|
* - `Linux`
|
|
65
62
|
*
|
|
@@ -122,13 +119,16 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
|
|
|
122
119
|
creatable?: boolean;
|
|
123
120
|
/**
|
|
124
121
|
* @remarks
|
|
125
|
-
* The expiration time of the Kubernetes version
|
|
122
|
+
* The expiration time of the Kubernetes version, in ISO 8601 format with time zone information.
|
|
126
123
|
*
|
|
127
124
|
* @example
|
|
128
125
|
* 2026-01-30T00:00:00Z
|
|
129
126
|
*/
|
|
130
127
|
expirationDate?: string;
|
|
131
128
|
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* The expiration time of the extended support for the Kubernetes version. An empty value indicates that extended support is not provided for this version.
|
|
131
|
+
*
|
|
132
132
|
* @example
|
|
133
133
|
* 2026-04-30T00:00:00Z
|
|
134
134
|
*/
|
|
@@ -140,7 +140,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
|
|
|
140
140
|
images?: DescribeKubernetesVersionMetadataResponseBodyImages[];
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The metadata of the Kubernetes version.
|
|
143
|
+
* The metadata information of the Kubernetes version.
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* {
|
|
@@ -154,7 +154,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
|
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* The release time of the Kubernetes version
|
|
157
|
+
* The release time of the Kubernetes version, in ISO 8601 format with time zone information.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* 2025-01-30T00:00:00Z
|
|
@@ -166,6 +166,12 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
|
|
|
166
166
|
*/
|
|
167
167
|
runtimes?: Runtime[];
|
|
168
168
|
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* The support policy required to obtain this patch version. The value is case-sensitive. Valid values:
|
|
171
|
+
* - Standard: regular patch versions
|
|
172
|
+
* - Extended: patch versions exclusive to the extended support period, which include backported CVE and critical bug fixes. Only clusters with extended support enabled can be upgraded to these versions.
|
|
173
|
+
* This field always has a value. It shares the same name and value range as the support_policy of the cluster. You can directly compare the policy enabled for the cluster with the policy required for this version.
|
|
174
|
+
*
|
|
169
175
|
* @example
|
|
170
176
|
* Extended
|
|
171
177
|
*/
|
|
@@ -177,7 +183,7 @@ export declare class DescribeKubernetesVersionMetadataResponseBody extends $dara
|
|
|
177
183
|
upgradableVersions?: string[];
|
|
178
184
|
/**
|
|
179
185
|
* @remarks
|
|
180
|
-
* The Kubernetes version released by ACK. For more information
|
|
186
|
+
* The Kubernetes version released by ACK. For more version information, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
181
187
|
*
|
|
182
188
|
* @example
|
|
183
189
|
* 1.31.1-aliyun.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeKubernetesVersionMetadataResponse.js","sourceRoot":"","sources":["../../src/models/DescribeKubernetesVersionMetadataResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uCAAoC;AAGpC,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeKubernetesVersionMetadataResponse.js","sourceRoot":"","sources":["../../src/models/DescribeKubernetesVersionMetadataResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uCAAoC;AAGpC,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;IAoFlF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cA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AAC,CAAC;IACb,CAAC;CACF;AAhJD,sGAgJC;AAED,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAIxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;SACrF,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8FAiCC"}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class InvokeAgentRequestContext extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* test
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* value
|
|
17
|
+
*/
|
|
18
|
+
value?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class InvokeAgentRequestForwardedProps extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* true
|
|
34
|
+
*/
|
|
35
|
+
enableThinking?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* zh
|
|
39
|
+
*/
|
|
40
|
+
language?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* user
|
|
44
|
+
*/
|
|
45
|
+
source?: string;
|
|
46
|
+
static names(): {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
static types(): {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
validate(): void;
|
|
53
|
+
constructor(map?: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export declare class InvokeAgentRequestMessagesToolCallsFunction extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* {}
|
|
61
|
+
*/
|
|
62
|
+
arguments?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* navy
|
|
66
|
+
*/
|
|
67
|
+
name?: string;
|
|
68
|
+
static names(): {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
static types(): {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
validate(): void;
|
|
75
|
+
constructor(map?: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
export declare class InvokeAgentRequestMessagesToolCalls extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* ""
|
|
83
|
+
*/
|
|
84
|
+
encryptedValue?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* {"name": "xxx", "arguments": "xxx"}
|
|
88
|
+
*/
|
|
89
|
+
function?: InvokeAgentRequestMessagesToolCallsFunction;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* 64ea4d94937a4c5c84e2b3b814d14696
|
|
93
|
+
*/
|
|
94
|
+
id?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* {}
|
|
98
|
+
*/
|
|
99
|
+
metadata?: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* function
|
|
105
|
+
*/
|
|
106
|
+
type?: string;
|
|
107
|
+
static names(): {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
static types(): {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
validate(): void;
|
|
114
|
+
constructor(map?: {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
export declare class InvokeAgentRequestMessages extends $dara.Model {
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* hello
|
|
122
|
+
*/
|
|
123
|
+
content?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* ""
|
|
127
|
+
*/
|
|
128
|
+
encryptedValue?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @example
|
|
131
|
+
* 64ea4d94937a4c5c84e2b3b814d14696
|
|
132
|
+
*/
|
|
133
|
+
id?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @example
|
|
136
|
+
* {}
|
|
137
|
+
*/
|
|
138
|
+
metadata?: {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* n-1
|
|
144
|
+
*/
|
|
145
|
+
name?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @example
|
|
148
|
+
* user
|
|
149
|
+
*/
|
|
150
|
+
role?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @example
|
|
153
|
+
* 64ea4d94937a4c5c84e2b3b814d14696
|
|
154
|
+
*/
|
|
155
|
+
subagentRunId?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* 64ea4d94937a4c5c84e2b3b814d14696
|
|
159
|
+
*/
|
|
160
|
+
toolCallId?: string;
|
|
161
|
+
toolCalls?: InvokeAgentRequestMessagesToolCalls[];
|
|
162
|
+
static names(): {
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
};
|
|
165
|
+
static types(): {
|
|
166
|
+
[key: string]: any;
|
|
167
|
+
};
|
|
168
|
+
validate(): void;
|
|
169
|
+
constructor(map?: {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
export declare class InvokeAgentRequestResume extends $dara.Model {
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* i-1
|
|
177
|
+
*/
|
|
178
|
+
interruptId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* {"decision":"yes"}
|
|
182
|
+
*/
|
|
183
|
+
payload?: any;
|
|
184
|
+
/**
|
|
185
|
+
* @example
|
|
186
|
+
* resolved
|
|
187
|
+
*/
|
|
188
|
+
status?: string;
|
|
189
|
+
static names(): {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
};
|
|
192
|
+
static types(): {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
};
|
|
195
|
+
validate(): void;
|
|
196
|
+
constructor(map?: {
|
|
197
|
+
[key: string]: any;
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
export declare class InvokeAgentRequestTools extends $dara.Model {
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* This parameter is required.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* description
|
|
207
|
+
*/
|
|
208
|
+
description?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* {}
|
|
212
|
+
*/
|
|
213
|
+
metadata?: {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* This parameter is required.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* cluster-qa-icloud-edge-ohttp
|
|
222
|
+
*/
|
|
223
|
+
name?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @example
|
|
226
|
+
* {\\"region\\": \\"cn-shanghai\\", \\"vpcId\\": \\"vpc-uf6bnhlxne8enjurxxjv4\\", \\"functionName\\": \\"filemgr-cn-shanghai-334a349cd2\\", \\"mountPointsServerAddr\\": \\"334a349cd2-umc45.cn-shanghai.nas.aliyuncs.com\\"}
|
|
227
|
+
*/
|
|
228
|
+
parameters?: any;
|
|
229
|
+
static names(): {
|
|
230
|
+
[key: string]: string;
|
|
231
|
+
};
|
|
232
|
+
static types(): {
|
|
233
|
+
[key: string]: any;
|
|
234
|
+
};
|
|
235
|
+
validate(): void;
|
|
236
|
+
constructor(map?: {
|
|
237
|
+
[key: string]: any;
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
export declare class InvokeAgentRequest extends $dara.Model {
|
|
241
|
+
/**
|
|
242
|
+
* @example
|
|
243
|
+
* [{"description":"cluster","value":"c-1"}]
|
|
244
|
+
*/
|
|
245
|
+
context?: InvokeAgentRequestContext[];
|
|
246
|
+
/**
|
|
247
|
+
* @example
|
|
248
|
+
* {"enableThinking":true}
|
|
249
|
+
*/
|
|
250
|
+
forwardedProps?: InvokeAgentRequestForwardedProps;
|
|
251
|
+
/**
|
|
252
|
+
* @example
|
|
253
|
+
* [{"id":"m-1","role":"user","content":"你好"}]
|
|
254
|
+
*/
|
|
255
|
+
messages?: InvokeAgentRequestMessages[];
|
|
256
|
+
/**
|
|
257
|
+
* @example
|
|
258
|
+
* r-0
|
|
259
|
+
*/
|
|
260
|
+
parentRunId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* @example
|
|
263
|
+
* [{"interruptId":"i-1","status":"resolved","payload":{"decision":"yes"}}]
|
|
264
|
+
*/
|
|
265
|
+
resume?: InvokeAgentRequestResume[];
|
|
266
|
+
/**
|
|
267
|
+
* @example
|
|
268
|
+
* run-1
|
|
269
|
+
*/
|
|
270
|
+
runId?: string;
|
|
271
|
+
/**
|
|
272
|
+
* @example
|
|
273
|
+
* {}
|
|
274
|
+
*/
|
|
275
|
+
state?: any;
|
|
276
|
+
/**
|
|
277
|
+
* @example
|
|
278
|
+
* abcdef0123456789abcdef0123456789
|
|
279
|
+
*/
|
|
280
|
+
threadId?: string;
|
|
281
|
+
/**
|
|
282
|
+
* @example
|
|
283
|
+
* []
|
|
284
|
+
*/
|
|
285
|
+
tools?: InvokeAgentRequestTools[];
|
|
286
|
+
static names(): {
|
|
287
|
+
[key: string]: string;
|
|
288
|
+
};
|
|
289
|
+
static types(): {
|
|
290
|
+
[key: string]: any;
|
|
291
|
+
};
|
|
292
|
+
validate(): void;
|
|
293
|
+
constructor(map?: {
|
|
294
|
+
[key: string]: any;
|
|
295
|
+
});
|
|
296
|
+
}
|