@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.
Files changed (77) hide show
  1. package/dist/client.d.ts +16 -14
  2. package/dist/client.js +31 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +3 -0
  5. package/dist/models/CreateApplicationRequest.js +6 -0
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
  8. package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
  9. package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
  10. package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
  11. package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
  12. package/dist/models/CreateApplicationShrinkRequest.js +6 -0
  13. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateIngressRequest.d.ts +30 -26
  15. package/dist/models/CreateIngressRequest.js.map +1 -1
  16. package/dist/models/CreateIngressResponseBody.d.ts +15 -15
  17. package/dist/models/CreateSecretRequest.d.ts +12 -0
  18. package/dist/models/CreateSecretRequest.js.map +1 -1
  19. package/dist/models/CreateSecretResponseBody.d.ts +40 -0
  20. package/dist/models/CreateSecretResponseBody.js.map +1 -1
  21. package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
  22. package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
  23. package/dist/models/DeployApplicationRequest.d.ts +2 -0
  24. package/dist/models/DeployApplicationRequest.js +4 -0
  25. package/dist/models/DeployApplicationRequest.js.map +1 -1
  26. package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
  27. package/dist/models/DeployApplicationShrinkRequest.js +4 -0
  28. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  29. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
  30. package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
  31. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  32. package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
  33. package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
  34. package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
  35. package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
  36. package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
  37. package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
  38. package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
  39. package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
  40. package/dist/models/GetWebshellTokenRequest.js.map +1 -1
  41. package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
  42. package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
  43. package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
  44. package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
  45. package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
  46. package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
  47. package/dist/models/UpdateIngressRequest.d.ts +12 -12
  48. package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
  49. package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
  50. package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
  51. package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
  52. package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/client.ts +36 -14
  55. package/src/models/CreateApplicationRequest.ts +9 -0
  56. package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
  57. package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
  58. package/src/models/CreateApplicationShrinkRequest.ts +9 -0
  59. package/src/models/CreateIngressRequest.ts +30 -26
  60. package/src/models/CreateIngressResponseBody.ts +15 -15
  61. package/src/models/CreateSecretRequest.ts +12 -0
  62. package/src/models/CreateSecretResponseBody.ts +40 -0
  63. package/src/models/CreateSecretShrinkRequest.ts +12 -0
  64. package/src/models/DeployApplicationRequest.ts +6 -0
  65. package/src/models/DeployApplicationShrinkRequest.ts +6 -0
  66. package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
  67. package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
  68. package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
  69. package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
  70. package/src/models/GetWebshellTokenRequest.ts +6 -2
  71. package/src/models/GetWebshellTokenResponseBody.ts +43 -1
  72. package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
  73. package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
  74. package/src/models/UpdateIngressRequest.ts +12 -12
  75. package/src/models/UpdateIngressResponseBody.ts +11 -11
  76. package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
  77. 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
- * Null
170
+ * Creates an auto scaling policy for an application.
171
171
  *
172
172
  * @remarks
173
- * The HTTP status code. Take note of the following rules:
174
- * * **2xx**: The call was successful.
175
- * * **3xx**: The call was redirected.
176
- * * **4xx**: The call failed.
177
- * * **5xx**: A server error occurred.
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
- * Null
189
+ * Creates an auto scaling policy for an application.
189
190
  *
190
191
  * @remarks
191
- * The HTTP status code. Take note of the following rules:
192
- * * **2xx**: The call was successful.
193
- * * **3xx**: The call was redirected.
194
- * * **4xx**: The call failed.
195
- * * **5xx**: A server error occurred.
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://icms.alibaba-inc.com/content/arms/arms?l=1\\&m=16992\\&n=3183148).
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://icms.alibaba-inc.com/content/arms/arms?l=1\\&m=16992\\&n=3183148).
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
- * Null
749
+ * Creates an auto scaling policy for an application.
741
750
  *
742
751
  * @remarks
743
- * The HTTP status code. Take note of the following rules:
744
- * * **2xx**: The call was successful.
745
- * * **3xx**: The call was redirected.
746
- * * **4xx**: The call failed.
747
- * * **5xx**: A server error occurred.
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
- * Null
812
+ * Creates an auto scaling policy for an application.
803
813
  *
804
814
  * @remarks
805
- * The HTTP status code. Take note of the following rules:
806
- * * **2xx**: The call was successful.
807
- * * **3xx**: The call was redirected.
808
- * * **4xx**: The call failed.
809
- * * **5xx**: A server error occurred.
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://icms.alibaba-inc.com/content/arms/arms?l=1\\&m=16992\\&n=3183148).
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://icms.alibaba-inc.com/content/arms/arms?l=1\\&m=16992\\&n=3183148).
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