@alicloud/sae20190506 2.5.3 → 2.5.4
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 +36 -20
- package/dist/client.js +48 -20
- package/dist/client.js.map +1 -1
- package/dist/models/BatchStartApplicationsRequest.d.ts +1 -4
- package/dist/models/BatchStartApplicationsRequest.js.map +1 -1
- package/dist/models/BatchStopApplicationsRequest.d.ts +3 -1
- package/dist/models/BatchStopApplicationsRequest.js.map +1 -1
- package/dist/models/BindSlbRequest.d.ts +20 -0
- package/dist/models/BindSlbRequest.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +127 -3
- package/dist/models/CreateApplicationRequest.js +4 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +127 -3
- package/dist/models/CreateApplicationShrinkRequest.js +4 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +4 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretRequestSecretData.d.ts +9 -0
- package/dist/models/CreateSecretRequestSecretData.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +4 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeleteApplicationScalingRuleResponseBody.d.ts +39 -0
- package/dist/models/DeleteApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +196 -0
- package/dist/models/DeployApplicationRequest.js +2 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +196 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBodyData.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js.map +1 -1
- package/dist/models/DescribeApplicationGroupsRequest.d.ts +3 -3
- package/dist/models/DescribeApplicationGroupsResponseBody.d.ts +12 -12
- package/dist/models/DescribeApplicationGroupsResponseBodyData.d.ts +12 -12
- package/dist/models/DescribeApplicationInstancesRequest.d.ts +11 -0
- package/dist/models/DescribeApplicationInstancesRequest.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyData.d.ts +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.d.ts +26 -0
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.d.ts +21 -0
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.js.map +1 -1
- package/dist/models/DescribeNamespaceListRequest.d.ts +3 -3
- package/dist/models/DescribeNamespaceListResponseBody.d.ts +1 -1
- package/dist/models/DisableApplicationScalingRuleResponseBody.d.ts +39 -0
- package/dist/models/DisableApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/GetApplicationResponseBodyApplication.d.ts +1 -0
- package/dist/models/GetApplicationResponseBodyApplication.js +2 -0
- package/dist/models/GetApplicationResponseBodyApplication.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +1 -0
- package/dist/models/ListApplicationsRequest.js +2 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/OpenSaeServiceResponseBody.d.ts +2 -2
- package/dist/models/RescaleApplicationVerticallyRequest.d.ts +31 -3
- package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
- package/dist/models/RescaleApplicationVerticallyResponseBody.d.ts +14 -14
- package/dist/models/RescaleApplicationVerticallyResponseBodyData.d.ts +1 -1
- package/dist/models/RestartApplicationRequest.d.ts +10 -0
- package/dist/models/RestartApplicationRequest.js.map +1 -1
- package/dist/models/SuspendJobRequest.d.ts +4 -1
- package/dist/models/SuspendJobRequest.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +11 -4
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TagResourcesResponseBody.d.ts +21 -15
- package/dist/models/TagResourcesResponseBody.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +8 -5
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +15 -12
- package/dist/models/UntagResourcesResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +52 -20
- package/src/models/BatchStartApplicationsRequest.ts +1 -4
- package/src/models/BatchStopApplicationsRequest.ts +3 -1
- package/src/models/BindSlbRequest.ts +20 -0
- package/src/models/CreateApplicationRequest.ts +131 -3
- package/src/models/CreateApplicationShrinkRequest.ts +131 -3
- package/src/models/CreateSecretRequest.ts +4 -0
- package/src/models/CreateSecretRequestSecretData.ts +9 -0
- package/src/models/CreateSecretShrinkRequest.ts +4 -0
- package/src/models/DeleteApplicationScalingRuleResponseBody.ts +39 -0
- package/src/models/DeployApplicationRequest.ts +198 -0
- package/src/models/DeployApplicationShrinkRequest.ts +198 -0
- package/src/models/DescribeApplicationConfigResponseBodyData.ts +6 -0
- package/src/models/DescribeApplicationGroupsRequest.ts +3 -3
- package/src/models/DescribeApplicationGroupsResponseBody.ts +12 -12
- package/src/models/DescribeApplicationGroupsResponseBodyData.ts +12 -12
- package/src/models/DescribeApplicationInstancesRequest.ts +11 -0
- package/src/models/DescribeApplicationInstancesResponseBody.ts +1 -1
- package/src/models/DescribeApplicationInstancesResponseBodyData.ts +1 -1
- package/src/models/DescribeApplicationInstancesResponseBodyDataInstances.ts +26 -0
- package/src/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.ts +21 -0
- package/src/models/DescribeNamespaceListRequest.ts +3 -3
- package/src/models/DescribeNamespaceListResponseBody.ts +1 -1
- package/src/models/DisableApplicationScalingRuleResponseBody.ts +39 -0
- package/src/models/GetApplicationResponseBodyApplication.ts +3 -0
- package/src/models/ListApplicationsRequest.ts +3 -0
- package/src/models/OpenSaeServiceResponseBody.ts +2 -2
- package/src/models/RescaleApplicationVerticallyRequest.ts +31 -3
- package/src/models/RescaleApplicationVerticallyResponseBody.ts +14 -14
- package/src/models/RescaleApplicationVerticallyResponseBodyData.ts +1 -1
- package/src/models/RestartApplicationRequest.ts +10 -0
- package/src/models/SuspendJobRequest.ts +4 -1
- package/src/models/TagResourcesRequest.ts +11 -4
- package/src/models/TagResourcesResponseBody.ts +21 -15
- package/src/models/UntagResourcesRequest.ts +8 -5
- package/src/models/UntagResourcesResponseBody.ts +15 -12
|
@@ -2,7 +2,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateSecretRequestSecretData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The information about the key-value pairs of the Secret. This parameter is required. The following formats are supported:
|
|
6
|
+
*
|
|
7
|
+
* {"Data":"{"k1":"v1", "k2":"v2"}"}
|
|
8
|
+
*
|
|
9
|
+
* k specifies a key and v specifies a value.
|
|
10
|
+
*
|
|
5
11
|
* This parameter is required.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* {".dockerconfigjson":"eyJhdXRocyI6eyJyZWdpc3RyeS12cGMuY24tYmVpamluZy5hbGl5dW5jcy5jb20iOnsidXNlcm5hbWUiOiJ1c2VybmFtZSIsInBhc3N3b3JkIjoicGFzc3dvcmQiLCJhdXRoIjoiZFhObGNtNWhiV1U2Y0dGemMzZHZjbVE9In0sInJlZ2lzdHJ5LmNuLWJlaWppbmcuYWxpeXVuY3MuY29tIjp7InVzZXJuYW1lIjoidXNlcm5hbWUiLCJwYXNzd29yZCI6InBhc3N3b3JkIiwiYXV0aCI6ImRYTmxjbTVoYldVNmNHRnpjM2R2Y21RPSJ9fX0="}
|
|
6
15
|
*/
|
|
7
16
|
secretData?: string;
|
|
8
17
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSecretRequestSecretData.js","sourceRoot":"","sources":["../../src/models/CreateSecretRequestSecretData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateSecretRequestSecretData.js","sourceRoot":"","sources":["../../src/models/CreateSecretRequestSecretData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAe5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;SACrB,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;AAlCD,sEAkCC"}
|
|
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateSecretShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The ID of the namespace where the Secret resides. If the namespace is the default namespace, you need to only enter the region ID, such as `cn-beijing`.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,6 +12,8 @@ export declare class CreateSecretShrinkRequest extends $dara.Model {
|
|
|
10
12
|
namespaceId?: string;
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
15
|
+
* The Secret data.
|
|
16
|
+
*
|
|
13
17
|
* This parameter is required.
|
|
14
18
|
*/
|
|
15
19
|
secretDataShrink?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSecretShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateSecretShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateSecretShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateSecretShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAkCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,YAAY;YAC9B,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,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;AA3DD,8DA2DC"}
|
|
@@ -1,13 +1,52 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class DeleteApplicationScalingRuleResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The HTTP status code. Valid values:
|
|
6
|
+
*
|
|
7
|
+
* * **2xx**: The request was successful.
|
|
8
|
+
* * **3xx**: The request was redirected.
|
|
9
|
+
* * **4xx**: The request failed.
|
|
10
|
+
* * **5xx**: A server error occurred.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 200
|
|
14
|
+
*/
|
|
3
15
|
code?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The error code. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
21
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** section of this topic.
|
|
22
|
+
*/
|
|
4
23
|
errorCode?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The message returned. Valid values:
|
|
27
|
+
*
|
|
28
|
+
* * If the request was successful, **success** is returned.
|
|
29
|
+
* * If the request failed, an error code is returned.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* success
|
|
33
|
+
*/
|
|
5
34
|
message?: string;
|
|
6
35
|
/**
|
|
7
36
|
* @example
|
|
8
37
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
9
38
|
*/
|
|
10
39
|
requestId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* Indicates whether the auto scaling policy was deleted. Valid values:
|
|
43
|
+
*
|
|
44
|
+
* * **true**: The policy was deleted.
|
|
45
|
+
* * **false**: The policy failed to be deleted.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* true
|
|
49
|
+
*/
|
|
11
50
|
success?: boolean;
|
|
12
51
|
/**
|
|
13
52
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteApplicationScalingRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteApplicationScalingRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DeleteApplicationScalingRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteApplicationScalingRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAsDvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;YAClB,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;AAnFD,4FAmFC"}
|
|
@@ -110,6 +110,18 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
110
110
|
*/
|
|
111
111
|
configMapMountDesc?: string;
|
|
112
112
|
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
|
|
115
|
+
*
|
|
116
|
+
* * **500**
|
|
117
|
+
* * **1000**
|
|
118
|
+
* * **2000**
|
|
119
|
+
* * **4000**
|
|
120
|
+
* * **8000**
|
|
121
|
+
* * **12000**
|
|
122
|
+
* * **16000**
|
|
123
|
+
* * **32000**
|
|
124
|
+
*
|
|
113
125
|
* @example
|
|
114
126
|
* 1000
|
|
115
127
|
*/
|
|
@@ -126,6 +138,13 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
126
138
|
*/
|
|
127
139
|
customHostAlias?: string;
|
|
128
140
|
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Custom image type. To it to empty string to use pre-built image.
|
|
143
|
+
*
|
|
144
|
+
* - internet: Public network image
|
|
145
|
+
*
|
|
146
|
+
* - intranet: Private network image
|
|
147
|
+
*
|
|
129
148
|
* @example
|
|
130
149
|
* internet
|
|
131
150
|
*/
|
|
@@ -142,6 +161,15 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
142
161
|
*/
|
|
143
162
|
deploy?: string;
|
|
144
163
|
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The version of .NET
|
|
166
|
+
*
|
|
167
|
+
* - .NET 3.1
|
|
168
|
+
* - .NET 5.0
|
|
169
|
+
* - .NET 6.0
|
|
170
|
+
* - .NET 7.0
|
|
171
|
+
* - .NET 8.0
|
|
172
|
+
*
|
|
145
173
|
* @example
|
|
146
174
|
* .NET 3.1
|
|
147
175
|
*/
|
|
@@ -166,6 +194,13 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
166
194
|
*/
|
|
167
195
|
enableAhas?: string;
|
|
168
196
|
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* Enable CPU Burst.
|
|
199
|
+
*
|
|
200
|
+
* true: enable
|
|
201
|
+
*
|
|
202
|
+
* false: disable
|
|
203
|
+
*
|
|
169
204
|
* @example
|
|
170
205
|
* true
|
|
171
206
|
*/
|
|
@@ -182,11 +217,26 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
182
217
|
*/
|
|
183
218
|
enableGreyTagRoute?: boolean;
|
|
184
219
|
/**
|
|
220
|
+
* @remarks
|
|
221
|
+
* Enable new ARMS features.
|
|
222
|
+
*
|
|
223
|
+
* - true: enable
|
|
224
|
+
*
|
|
225
|
+
* - false: disable
|
|
226
|
+
*
|
|
185
227
|
* @example
|
|
186
228
|
* true
|
|
187
229
|
*/
|
|
188
230
|
enableNewArms?: boolean;
|
|
231
|
+
enablePrometheus?: boolean;
|
|
189
232
|
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* Enable Sidecar resource isolation.
|
|
235
|
+
*
|
|
236
|
+
* true: enable
|
|
237
|
+
*
|
|
238
|
+
* false: disable
|
|
239
|
+
*
|
|
190
240
|
* @example
|
|
191
241
|
* true
|
|
192
242
|
*/
|
|
@@ -207,6 +257,13 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
207
257
|
* * **configMapId**: the ConfigMap ID.
|
|
208
258
|
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
209
259
|
*
|
|
260
|
+
* * Reference secret dictionary
|
|
261
|
+
*
|
|
262
|
+
* * **name**: the name of the environment variable. You can reference one or all keys. If you want to reference all keys, specify `sae-sys-secret-all-<Secret dictionary name>`. Example: `sae-sys-secret-all-test1`.
|
|
263
|
+
* * **valueFrom**: the reference of the environment variable. Set the value to `secretRef`.
|
|
264
|
+
* * **secretId**: the secret dictionary ID.
|
|
265
|
+
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
266
|
+
*
|
|
210
267
|
* @example
|
|
211
268
|
* [{"name":"envtmp","value":"0"}]
|
|
212
269
|
*/
|
|
@@ -228,6 +285,10 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
228
285
|
* registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1
|
|
229
286
|
*/
|
|
230
287
|
imageUrl?: string;
|
|
288
|
+
/**
|
|
289
|
+
* @remarks
|
|
290
|
+
* Initialize container configuration.
|
|
291
|
+
*/
|
|
231
292
|
initContainersConfig?: InitContainerConfig[];
|
|
232
293
|
/**
|
|
233
294
|
* @remarks
|
|
@@ -301,6 +362,20 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
301
362
|
*/
|
|
302
363
|
liveness?: string;
|
|
303
364
|
/**
|
|
365
|
+
* @remarks
|
|
366
|
+
* The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
|
|
367
|
+
*
|
|
368
|
+
* * This parameter is set to **1024** if the Cpu parameter is set to 500 or 1000.
|
|
369
|
+
* * This parameter is set to **2048** if the Cpu parameter is set to 500, 1000, or 2000.
|
|
370
|
+
* * This parameter is set to **4096** if the Cpu parameter is set to 1000, 2000, or 4000.
|
|
371
|
+
* * This parameter is set to **8192** if the Cpu parameter is set to 2000, 4000, or 8,000.
|
|
372
|
+
* * This parameter is set to **12288** if the Cpu parameter is set to 12000.
|
|
373
|
+
* * This parameter is set to **16384** if the Cpu parameter is set to 4000, 8000, or 16000.
|
|
374
|
+
* * This parameter is set to **24576** if the Cpu parameter is set to 12000.
|
|
375
|
+
* * This parameter is set to **32768** if the Cpu parameter is set to 16000.
|
|
376
|
+
* * This parameter is set to **65536** if the Cpu parameter is set to 8000, 16000, or 32000.
|
|
377
|
+
* * This parameter is set to **131072** if the Cpu parameter is set to 32000.
|
|
378
|
+
*
|
|
304
379
|
* @example
|
|
305
380
|
* 1024
|
|
306
381
|
*/
|
|
@@ -318,11 +393,45 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
318
393
|
*/
|
|
319
394
|
microRegistration?: string;
|
|
320
395
|
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* Select the edition of Nacos.
|
|
398
|
+
*
|
|
399
|
+
* - 0: SAE built-in Nacos. Unable to get the configuration of SAE built-in Nacos.
|
|
400
|
+
*
|
|
401
|
+
* - 1: Self-built Nacos from users.
|
|
402
|
+
*
|
|
403
|
+
* - 2: MSE enterprise Nacos.
|
|
404
|
+
*
|
|
321
405
|
* @example
|
|
322
406
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
323
407
|
*/
|
|
324
408
|
microRegistrationConfig?: string;
|
|
325
409
|
/**
|
|
410
|
+
* @remarks
|
|
411
|
+
* Configure Microservices Governance
|
|
412
|
+
*
|
|
413
|
+
* Whether to enable microservices governance (enable):
|
|
414
|
+
* - true: Enable
|
|
415
|
+
* - false: Disable
|
|
416
|
+
*
|
|
417
|
+
* Configure lossless online/offline deployment (mseLosslessRule):
|
|
418
|
+
*
|
|
419
|
+
* delayTime: Delay duration (unit: seconds)
|
|
420
|
+
*
|
|
421
|
+
* enable: Whether to enable lossless deployment
|
|
422
|
+
*
|
|
423
|
+
* - true: Enable
|
|
424
|
+
*
|
|
425
|
+
* - false: Disable
|
|
426
|
+
*
|
|
427
|
+
* notice: Whether to enable notifications
|
|
428
|
+
*
|
|
429
|
+
* - true: Enable
|
|
430
|
+
*
|
|
431
|
+
* - false: Disable
|
|
432
|
+
*
|
|
433
|
+
* warmupTime: Small-traffic warm-up duration (unit: seconds)
|
|
434
|
+
*
|
|
326
435
|
* @example
|
|
327
436
|
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
328
437
|
*/
|
|
@@ -392,6 +501,15 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
392
501
|
*/
|
|
393
502
|
nasId?: string;
|
|
394
503
|
/**
|
|
504
|
+
* @remarks
|
|
505
|
+
* SAE edition.
|
|
506
|
+
*
|
|
507
|
+
* - lite: the lightweight edition.
|
|
508
|
+
*
|
|
509
|
+
* - std: the standard edition.
|
|
510
|
+
*
|
|
511
|
+
* - pro: the professional edition.
|
|
512
|
+
*
|
|
395
513
|
* @example
|
|
396
514
|
* pro
|
|
397
515
|
*/
|
|
@@ -442,6 +560,28 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
442
560
|
*/
|
|
443
561
|
ossMountDescs?: string;
|
|
444
562
|
/**
|
|
563
|
+
* @remarks
|
|
564
|
+
* The package type.
|
|
565
|
+
*
|
|
566
|
+
* When using Java, FatJar, War and Image are supported.
|
|
567
|
+
* When using Python, PythonZip and Image are supported.
|
|
568
|
+
* When using PHP, the followings are supported:
|
|
569
|
+
* - PhpZip
|
|
570
|
+
* - IMAGE_PHP_5_4
|
|
571
|
+
* - IMAGE_PHP_5_4_ALPINE
|
|
572
|
+
* - IMAGE_PHP_5_5
|
|
573
|
+
* - IMAGE_PHP_5_5_ALPINE
|
|
574
|
+
* - IMAGE_PHP_5_6
|
|
575
|
+
* - IMAGE_PHP_5_6_ALPINE
|
|
576
|
+
* - IMAGE_PHP_7_0
|
|
577
|
+
* - IMAGE_PHP_7_0_ALPINE
|
|
578
|
+
* - IMAGE_PHP_7_1
|
|
579
|
+
* - IMAGE_PHP_7_1_ALPINE
|
|
580
|
+
* - IMAGE_PHP_7_2
|
|
581
|
+
* - IMAGE_PHP_7_2_ALPINE
|
|
582
|
+
* - IMAGE_PHP_7_3
|
|
583
|
+
* - IMAGE_PHP_7_3_ALPINE
|
|
584
|
+
*
|
|
445
585
|
* @example
|
|
446
586
|
* FatJar
|
|
447
587
|
*/
|
|
@@ -463,6 +603,9 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
463
603
|
*/
|
|
464
604
|
packageVersion?: string;
|
|
465
605
|
/**
|
|
606
|
+
* @remarks
|
|
607
|
+
* The dependent PHP version of PHP package. Image is not supported.
|
|
608
|
+
*
|
|
466
609
|
* @example
|
|
467
610
|
* PHP-FPM 7.0
|
|
468
611
|
*/
|
|
@@ -547,21 +690,40 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
547
690
|
*/
|
|
548
691
|
readiness?: string;
|
|
549
692
|
/**
|
|
693
|
+
* @remarks
|
|
694
|
+
* The number of instances.
|
|
695
|
+
*
|
|
550
696
|
* @example
|
|
551
697
|
* 1
|
|
552
698
|
*/
|
|
553
699
|
replicas?: number;
|
|
554
700
|
/**
|
|
701
|
+
* @remarks
|
|
702
|
+
* Secret Mount Description
|
|
703
|
+
* Use the secret dictionaries created in the Namespace Secret Dictionary page to inject information into containers. Parameter descriptions are as follows:
|
|
704
|
+
*
|
|
705
|
+
* - secretId: Secret instance ID. Obtain via the ListSecrets interface.
|
|
706
|
+
*
|
|
707
|
+
* - key: Key-value pair. Note: Set the parameter sae-sys-secret-all to mount all keys.
|
|
708
|
+
*
|
|
709
|
+
* - mountPath: Mount path.
|
|
710
|
+
*
|
|
555
711
|
* @example
|
|
556
712
|
* [{“secretId":10,”key":"test","mountPath":"/tmp"}]
|
|
557
713
|
*/
|
|
558
714
|
secretMountDesc?: string;
|
|
559
715
|
/**
|
|
716
|
+
* @remarks
|
|
717
|
+
* Security group ID.
|
|
718
|
+
*
|
|
560
719
|
* @example
|
|
561
720
|
* sg-wz969ngg2e49q5i4****
|
|
562
721
|
*/
|
|
563
722
|
securityGroupId?: string;
|
|
564
723
|
/**
|
|
724
|
+
* @remarks
|
|
725
|
+
* The gray-release tag of the application.
|
|
726
|
+
*
|
|
565
727
|
* @example
|
|
566
728
|
* {\\"alicloud.service.tag\\":\\"g1\\"}
|
|
567
729
|
*/
|
|
@@ -595,10 +757,41 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
595
757
|
*/
|
|
596
758
|
slsConfigs?: string;
|
|
597
759
|
/**
|
|
760
|
+
* @remarks
|
|
761
|
+
* Check Failure: Indicates that the application failed to start. The system will report the exception and automatically restart it.
|
|
762
|
+
*
|
|
763
|
+
* Note:
|
|
764
|
+
*
|
|
765
|
+
* Supports exec, httpGet, and tcpSocket methods. For specific examples, see Liveness Parameters.
|
|
766
|
+
* Only one method can be selected for health checks.
|
|
767
|
+
*
|
|
598
768
|
* @example
|
|
599
769
|
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
600
770
|
*/
|
|
601
771
|
startupProbe?: string;
|
|
772
|
+
/**
|
|
773
|
+
* @remarks
|
|
774
|
+
* Configure K8s Service-based Service Registration/Discovery and Full-Chain Grayscale Capabilities
|
|
775
|
+
*
|
|
776
|
+
* - enable: Whether to enable full-link grayscale based on K8s Service (set to "true" to enable; set to "false" to disable).
|
|
777
|
+
*
|
|
778
|
+
* - namespaceId: Namespace ID
|
|
779
|
+
*
|
|
780
|
+
* - portAndProtocol: Listener port and protocol. Format: {"Port:Protocol Type":"Container Port"}
|
|
781
|
+
* - portProtocols: Define service ports and protocols
|
|
782
|
+
* port: Port
|
|
783
|
+
* protocol: Protocol
|
|
784
|
+
* targetPort: Container port
|
|
785
|
+
*
|
|
786
|
+
* - pvtzDiscoveryName: Service discovery name
|
|
787
|
+
*
|
|
788
|
+
* - serviceId: Service ID
|
|
789
|
+
*
|
|
790
|
+
* - serviceName: Service name
|
|
791
|
+
*
|
|
792
|
+
* @example
|
|
793
|
+
* {\\"enable\\":\\"false\\",\\"namespaceId\\":\\"cn-beijing:test\\",\\"portAndProtocol\\":{\\"2000:TCP\\":\\"18081\\"},\\"portProtocols\\":[{\\"port\\":2000,\\"protocol\\":\\"TCP\\",\\"targetPort\\":18081}],\\"pvtzDiscoveryName\\":\\"cn-beijing-1421801774382676\\",\\"serviceId\\":\\"3513\\",\\"serviceName\\":\\"demo-gray.test\\"}
|
|
794
|
+
*/
|
|
602
795
|
swimlanePvtzDiscoverySvc?: string;
|
|
603
796
|
/**
|
|
604
797
|
* @remarks
|
|
@@ -655,6 +848,9 @@ export declare class DeployApplicationRequest extends $dara.Model {
|
|
|
655
848
|
*/
|
|
656
849
|
updateStrategy?: string;
|
|
657
850
|
/**
|
|
851
|
+
* @remarks
|
|
852
|
+
* The ID of the vSwitch, where the EIP of the application instances resides. The vSwitch must reside in the VPC above.
|
|
853
|
+
*
|
|
658
854
|
* @example
|
|
659
855
|
* vsw-bp12mw1f8k3jgygk9****
|
|
660
856
|
*/
|
|
@@ -61,6 +61,7 @@ class DeployApplicationRequest extends $dara.Model {
|
|
|
61
61
|
enableCpuBurst: 'EnableCpuBurst',
|
|
62
62
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
63
63
|
enableNewArms: 'EnableNewArms',
|
|
64
|
+
enablePrometheus: 'EnablePrometheus',
|
|
64
65
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
65
66
|
envs: 'Envs',
|
|
66
67
|
gpuConfig: 'GpuConfig',
|
|
@@ -139,6 +140,7 @@ class DeployApplicationRequest extends $dara.Model {
|
|
|
139
140
|
enableCpuBurst: 'boolean',
|
|
140
141
|
enableGreyTagRoute: 'boolean',
|
|
141
142
|
enableNewArms: 'boolean',
|
|
143
|
+
enablePrometheus: 'boolean',
|
|
142
144
|
enableSidecarResourceIsolated: 'boolean',
|
|
143
145
|
envs: 'string',
|
|
144
146
|
gpuConfig: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeployApplicationRequest.js","sourceRoot":"","sources":["../../src/models/DeployApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAC5D,qEAAkE;AAGlE,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DeployApplicationRequest.js","sourceRoot":"","sources":["../../src/models/DeployApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAC5D,qEAAkE;AAGlE,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA22BvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,gCAAgC,EAAE,kCAAkC;YACpE,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,kBAAkB,EAAE,oBAAoB;YACxC,GAAG,EAAE,KAAK;YACV,eAAe,EAAE,iBAAiB;YAClC,sBAAsB,E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