@alicloud/sae20190506 2.9.0 → 2.9.1
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 +16 -14
- package/dist/client.js +31 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +3 -0
- package/dist/models/CreateApplicationRequest.js +6 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
- package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
- package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
- package/dist/models/CreateApplicationShrinkRequest.js +6 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateIngressRequest.d.ts +30 -26
- package/dist/models/CreateIngressRequest.js.map +1 -1
- package/dist/models/CreateIngressResponseBody.d.ts +15 -15
- package/dist/models/CreateSecretRequest.d.ts +12 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +40 -0
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +2 -0
- package/dist/models/DeployApplicationRequest.js +4 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js +4 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
- package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
- package/dist/models/GetWebshellTokenRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
- package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
- package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
- package/dist/models/UpdateIngressRequest.d.ts +12 -12
- package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
- package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
- package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -14
- package/src/models/CreateApplicationRequest.ts +9 -0
- package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
- package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
- package/src/models/CreateApplicationShrinkRequest.ts +9 -0
- package/src/models/CreateIngressRequest.ts +30 -26
- package/src/models/CreateIngressResponseBody.ts +15 -15
- package/src/models/CreateSecretRequest.ts +12 -0
- package/src/models/CreateSecretResponseBody.ts +40 -0
- package/src/models/CreateSecretShrinkRequest.ts +12 -0
- package/src/models/DeployApplicationRequest.ts +6 -0
- package/src/models/DeployApplicationShrinkRequest.ts +6 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
- package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
- package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
- package/src/models/GetWebshellTokenRequest.ts +6 -2
- package/src/models/GetWebshellTokenResponseBody.ts +43 -1
- package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
- package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
- package/src/models/UpdateIngressRequest.ts +12 -12
- package/src/models/UpdateIngressResponseBody.ts +11 -11
- package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
package/dist/client.d.ts
CHANGED
|
@@ -167,14 +167,15 @@ export default class Client extends OpenApi {
|
|
|
167
167
|
*/
|
|
168
168
|
createApplication(request: $_model.CreateApplicationRequest): Promise<$_model.CreateApplicationResponse>;
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* Creates an auto scaling policy for an application.
|
|
171
171
|
*
|
|
172
172
|
* @remarks
|
|
173
|
-
*
|
|
174
|
-
* *
|
|
175
|
-
* *
|
|
176
|
-
* *
|
|
177
|
-
* *
|
|
173
|
+
* ## [](#)Precautions
|
|
174
|
+
* * You can create up to five auto scaling policies for one application.
|
|
175
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
176
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
177
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
178
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
178
179
|
*
|
|
179
180
|
* @param request - CreateApplicationScalingRuleRequest
|
|
180
181
|
* @param headers - map
|
|
@@ -185,14 +186,15 @@ export default class Client extends OpenApi {
|
|
|
185
186
|
[key: string]: string;
|
|
186
187
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationScalingRuleResponse>;
|
|
187
188
|
/**
|
|
188
|
-
*
|
|
189
|
+
* Creates an auto scaling policy for an application.
|
|
189
190
|
*
|
|
190
191
|
* @remarks
|
|
191
|
-
*
|
|
192
|
-
* *
|
|
193
|
-
* *
|
|
194
|
-
* *
|
|
195
|
-
* *
|
|
192
|
+
* ## [](#)Precautions
|
|
193
|
+
* * You can create up to five auto scaling policies for one application.
|
|
194
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
195
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
196
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
197
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
196
198
|
*
|
|
197
199
|
* @param request - CreateApplicationScalingRuleRequest
|
|
198
200
|
* @returns CreateApplicationScalingRuleResponse
|
|
@@ -2794,7 +2796,7 @@ export default class Client extends OpenApi {
|
|
|
2794
2796
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
2795
2797
|
*
|
|
2796
2798
|
* @remarks
|
|
2797
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
2799
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
2798
2800
|
*
|
|
2799
2801
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
2800
2802
|
* @param headers - map
|
|
@@ -2808,7 +2810,7 @@ export default class Client extends OpenApi {
|
|
|
2808
2810
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
2809
2811
|
*
|
|
2810
2812
|
* @remarks
|
|
2811
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
2813
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
2812
2814
|
*
|
|
2813
2815
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
2814
2816
|
* @returns UpgradeApplicationApmServiceResponse
|
package/dist/client.js
CHANGED
|
@@ -466,6 +466,9 @@ class Client extends openapi_core_1.default {
|
|
|
466
466
|
if (!$dara.isNull(request.acrAssumeRoleArn)) {
|
|
467
467
|
query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
|
|
468
468
|
}
|
|
469
|
+
if (!$dara.isNull(request.agentVersion)) {
|
|
470
|
+
query["AgentVersion"] = request.agentVersion;
|
|
471
|
+
}
|
|
469
472
|
if (!$dara.isNull(request.appDescription)) {
|
|
470
473
|
query["AppDescription"] = request.appDescription;
|
|
471
474
|
}
|
|
@@ -511,6 +514,12 @@ class Client extends openapi_core_1.default {
|
|
|
511
514
|
if (!$dara.isNull(request.enableEbpf)) {
|
|
512
515
|
query["EnableEbpf"] = request.enableEbpf;
|
|
513
516
|
}
|
|
517
|
+
if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
|
|
518
|
+
query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
|
|
519
|
+
}
|
|
520
|
+
if (!$dara.isNull(request.enableNamespaceSlsConfig)) {
|
|
521
|
+
query["EnableNamespaceSlsConfig"] = request.enableNamespaceSlsConfig;
|
|
522
|
+
}
|
|
514
523
|
if (!$dara.isNull(request.enableNewArms)) {
|
|
515
524
|
query["EnableNewArms"] = request.enableNewArms;
|
|
516
525
|
}
|
|
@@ -737,14 +746,15 @@ class Client extends openapi_core_1.default {
|
|
|
737
746
|
return await this.createApplicationWithOptions(request, headers, runtime);
|
|
738
747
|
}
|
|
739
748
|
/**
|
|
740
|
-
*
|
|
749
|
+
* Creates an auto scaling policy for an application.
|
|
741
750
|
*
|
|
742
751
|
* @remarks
|
|
743
|
-
*
|
|
744
|
-
* *
|
|
745
|
-
* *
|
|
746
|
-
* *
|
|
747
|
-
* *
|
|
752
|
+
* ## [](#)Precautions
|
|
753
|
+
* * You can create up to five auto scaling policies for one application.
|
|
754
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
755
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
756
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
757
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
748
758
|
*
|
|
749
759
|
* @param request - CreateApplicationScalingRuleRequest
|
|
750
760
|
* @param headers - map
|
|
@@ -799,14 +809,15 @@ class Client extends openapi_core_1.default {
|
|
|
799
809
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationScalingRuleResponse({}));
|
|
800
810
|
}
|
|
801
811
|
/**
|
|
802
|
-
*
|
|
812
|
+
* Creates an auto scaling policy for an application.
|
|
803
813
|
*
|
|
804
814
|
* @remarks
|
|
805
|
-
*
|
|
806
|
-
* *
|
|
807
|
-
* *
|
|
808
|
-
* *
|
|
809
|
-
* *
|
|
815
|
+
* ## [](#)Precautions
|
|
816
|
+
* * You can create up to five auto scaling policies for one application.
|
|
817
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
818
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
819
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
820
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
810
821
|
*
|
|
811
822
|
* @param request - CreateApplicationScalingRuleRequest
|
|
812
823
|
* @returns CreateApplicationScalingRuleResponse
|
|
@@ -2244,6 +2255,9 @@ class Client extends openapi_core_1.default {
|
|
|
2244
2255
|
if (!$dara.isNull(request.acrAssumeRoleArn)) {
|
|
2245
2256
|
query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
|
|
2246
2257
|
}
|
|
2258
|
+
if (!$dara.isNull(request.agentVersion)) {
|
|
2259
|
+
query["AgentVersion"] = request.agentVersion;
|
|
2260
|
+
}
|
|
2247
2261
|
if (!$dara.isNull(request.albIngressReadinessGate)) {
|
|
2248
2262
|
query["AlbIngressReadinessGate"] = request.albIngressReadinessGate;
|
|
2249
2263
|
}
|
|
@@ -2292,6 +2306,9 @@ class Client extends openapi_core_1.default {
|
|
|
2292
2306
|
if (!$dara.isNull(request.enableGreyTagRoute)) {
|
|
2293
2307
|
query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
|
|
2294
2308
|
}
|
|
2309
|
+
if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
|
|
2310
|
+
query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
|
|
2311
|
+
}
|
|
2295
2312
|
if (!$dara.isNull(request.enableNewArms)) {
|
|
2296
2313
|
query["EnableNewArms"] = request.enableNewArms;
|
|
2297
2314
|
}
|
|
@@ -8155,7 +8172,7 @@ class Client extends openapi_core_1.default {
|
|
|
8155
8172
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
8156
8173
|
*
|
|
8157
8174
|
* @remarks
|
|
8158
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
8175
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
8159
8176
|
*
|
|
8160
8177
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
8161
8178
|
* @param headers - map
|
|
@@ -8189,7 +8206,7 @@ class Client extends openapi_core_1.default {
|
|
|
8189
8206
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
8190
8207
|
*
|
|
8191
8208
|
* @remarks
|
|
8192
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
8209
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
8193
8210
|
*
|
|
8194
8211
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
8195
8212
|
* @returns UpgradeApplicationApmServiceResponse
|