@alicloud/sae20190506 2.9.0 → 2.9.2

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 (109) hide show
  1. package/dist/client.d.ts +26 -16
  2. package/dist/client.js +47 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchRestartApplicationsRequest.d.ts +4 -0
  5. package/dist/models/BatchRestartApplicationsRequest.js.map +1 -1
  6. package/dist/models/BatchRestartApplicationsResponseBody.d.ts +37 -0
  7. package/dist/models/BatchRestartApplicationsResponseBody.js.map +1 -1
  8. package/dist/models/CreateApplicationRequest.d.ts +3 -0
  9. package/dist/models/CreateApplicationRequest.js +6 -0
  10. package/dist/models/CreateApplicationRequest.js.map +1 -1
  11. package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
  12. package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
  13. package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
  14. package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
  15. package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
  16. package/dist/models/CreateApplicationShrinkRequest.js +6 -0
  17. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  18. package/dist/models/CreateIngressRequest.d.ts +100 -26
  19. package/dist/models/CreateIngressRequest.js.map +1 -1
  20. package/dist/models/CreateIngressResponseBody.d.ts +15 -15
  21. package/dist/models/CreateSecretRequest.d.ts +12 -0
  22. package/dist/models/CreateSecretRequest.js.map +1 -1
  23. package/dist/models/CreateSecretResponseBody.d.ts +40 -0
  24. package/dist/models/CreateSecretResponseBody.js.map +1 -1
  25. package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
  26. package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
  27. package/dist/models/DeployApplicationRequest.d.ts +2 -0
  28. package/dist/models/DeployApplicationRequest.js +4 -0
  29. package/dist/models/DeployApplicationRequest.js.map +1 -1
  30. package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
  31. package/dist/models/DeployApplicationShrinkRequest.js +4 -0
  32. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  33. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
  34. package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
  35. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  36. package/dist/models/DescribeApplicationMseServiceRequest.d.ts +4 -0
  37. package/dist/models/DescribeApplicationMseServiceRequest.js.map +1 -1
  38. package/dist/models/DescribeApplicationMseServiceResponseBody.d.ts +69 -0
  39. package/dist/models/DescribeApplicationMseServiceResponseBody.js.map +1 -1
  40. package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
  41. package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
  42. package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
  43. package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
  44. package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
  45. package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
  46. package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
  47. package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
  48. package/dist/models/GetWebshellTokenRequest.js.map +1 -1
  49. package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
  50. package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
  51. package/dist/models/QueryArmsEnableRequest.d.ts +2 -0
  52. package/dist/models/QueryArmsEnableRequest.js.map +1 -1
  53. package/dist/models/QueryArmsEnableResponseBody.d.ts +38 -0
  54. package/dist/models/QueryArmsEnableResponseBody.js.map +1 -1
  55. package/dist/models/RescaleApplicationVerticallyRequest.d.ts +1 -0
  56. package/dist/models/RescaleApplicationVerticallyRequest.js +2 -0
  57. package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
  58. package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
  59. package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
  60. package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
  61. package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
  62. package/dist/models/UpdateApplicationVswitchesRequest.d.ts +1 -0
  63. package/dist/models/UpdateApplicationVswitchesRequest.js +2 -0
  64. package/dist/models/UpdateApplicationVswitchesRequest.js.map +1 -1
  65. package/dist/models/UpdateIngressRequest.d.ts +12 -12
  66. package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
  67. package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +24 -0
  68. package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -1
  69. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +23 -1
  70. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -1
  71. package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
  72. package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
  73. package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
  74. package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/client.ts +54 -16
  77. package/src/models/BatchRestartApplicationsRequest.ts +4 -0
  78. package/src/models/BatchRestartApplicationsResponseBody.ts +37 -0
  79. package/src/models/CreateApplicationRequest.ts +9 -0
  80. package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
  81. package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
  82. package/src/models/CreateApplicationShrinkRequest.ts +9 -0
  83. package/src/models/CreateIngressRequest.ts +100 -26
  84. package/src/models/CreateIngressResponseBody.ts +15 -15
  85. package/src/models/CreateSecretRequest.ts +12 -0
  86. package/src/models/CreateSecretResponseBody.ts +40 -0
  87. package/src/models/CreateSecretShrinkRequest.ts +12 -0
  88. package/src/models/DeployApplicationRequest.ts +6 -0
  89. package/src/models/DeployApplicationShrinkRequest.ts +6 -0
  90. package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
  91. package/src/models/DescribeApplicationMseServiceRequest.ts +4 -0
  92. package/src/models/DescribeApplicationMseServiceResponseBody.ts +69 -0
  93. package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
  94. package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
  95. package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
  96. package/src/models/GetWebshellTokenRequest.ts +6 -2
  97. package/src/models/GetWebshellTokenResponseBody.ts +43 -1
  98. package/src/models/QueryArmsEnableRequest.ts +2 -0
  99. package/src/models/QueryArmsEnableResponseBody.ts +38 -0
  100. package/src/models/RescaleApplicationVerticallyRequest.ts +3 -0
  101. package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
  102. package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
  103. package/src/models/UpdateApplicationVswitchesRequest.ts +3 -0
  104. package/src/models/UpdateIngressRequest.ts +12 -12
  105. package/src/models/UpdateIngressResponseBody.ts +11 -11
  106. package/src/models/UpdateNamespaceSlsConfigsRequest.ts +24 -0
  107. package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +23 -1
  108. package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
  109. package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
@@ -22,7 +22,7 @@ export declare class UpdateIngressResponseBodyData extends $dara.Model {
22
22
  export declare class UpdateIngressResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The HTTP status code. Valid values:
25
+ * The HTTP status code or the error code. Valid values:
26
26
  *
27
27
  * * **2xx**: The request was successful.
28
28
  * * **3xx**: The request was redirected.
@@ -35,12 +35,12 @@ export declare class UpdateIngressResponseBody extends $dara.Model {
35
35
  code?: string;
36
36
  /**
37
37
  * @remarks
38
- * The returned result.
38
+ * Responses.
39
39
  */
40
40
  data?: UpdateIngressResponseBodyData;
41
41
  /**
42
42
  * @remarks
43
- * The error code.
43
+ * The status code. Value values:
44
44
  *
45
45
  * * If the request was successful, **ErrorCode** is not returned.
46
46
  * * If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section of this topic.
@@ -48,10 +48,10 @@ export declare class UpdateIngressResponseBody extends $dara.Model {
48
48
  errorCode?: string;
49
49
  /**
50
50
  * @remarks
51
- * The returned information.
51
+ * Additional information. Valid values:
52
52
  *
53
- * * If the request was successful, **success** is returned.
54
- * * If the request failed, an error code is returned.
53
+ * * The error message returned because the request is normal and **success** is returned.
54
+ * * If the request is abnormal, the specific exception error code is returned.
55
55
  *
56
56
  * @example
57
57
  * success
@@ -59,7 +59,7 @@ export declare class UpdateIngressResponseBody extends $dara.Model {
59
59
  message?: string;
60
60
  /**
61
61
  * @remarks
62
- * The request ID.
62
+ * The ID of the request.
63
63
  *
64
64
  * @example
65
65
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
@@ -67,10 +67,10 @@ export declare class UpdateIngressResponseBody extends $dara.Model {
67
67
  requestId?: string;
68
68
  /**
69
69
  * @remarks
70
- * Indicates whether the configurations of the routing rule were updated. Valid values:
70
+ * Whether the configuration of the Ingress instance is updated. Valid values:
71
71
  *
72
- * * **true**
73
- * * **false**
72
+ * * **true**: The update was successful.
73
+ * * **false**: Update failed.
74
74
  *
75
75
  * @example
76
76
  * true
@@ -78,7 +78,7 @@ export declare class UpdateIngressResponseBody extends $dara.Model {
78
78
  success?: boolean;
79
79
  /**
80
80
  * @remarks
81
- * The trace ID.
81
+ * The ID of the trace.
82
82
  *
83
83
  * @example
84
84
  * 0a98a02315955564772843261e****
@@ -1,16 +1,40 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateNamespaceSlsConfigsRequest extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The short ID of the namespace. No need to specify a region ID. We recommend configuring this parameter.
6
+ *
4
7
  * @example
5
8
  * test
6
9
  */
7
10
  nameSpaceShortId?: string;
8
11
  /**
12
+ * @remarks
13
+ * The namespace ID.
14
+ *
9
15
  * @example
10
16
  * cn-beijing:test
11
17
  */
12
18
  namespaceId?: string;
13
19
  /**
20
+ * @remarks
21
+ * The logging configurations of Simple Log Service.
22
+ *
23
+ * * `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`: Simple Log Service resources automatically created by Serverless App Engine (SAE) are used.
24
+ * * To use custom Simple Log Service resources, set this parameter to `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
25
+ *
26
+ * Take note of the following subparameters:
27
+ *
28
+ * * **projectName**: the name of the Simple Log Service project.
29
+ * * **logDir**: the path in which logs are stored.
30
+ * * **logType**: the log type. **stdout** indicates the standard output (stdout) logs of the container. You can specify only one stdout value for this parameter. If not specified, file logs are collected.
31
+ * * **logstoreName**: the name of the Logstore in Simple Log Service.
32
+ * * **logtailName**: the name of the Logtail in Simple Log Service. If not specified, a new Logtail is created.
33
+ *
34
+ * If logging configuration changes are not needed during job template deployment, specify **SlsConfigs** only in the first request. Omit this parameter in later requests. To stop using Simple Log Service, leave **SlsConfigs** empty.
35
+ *
36
+ * > Projects automatically created by SAE for job templates are deleted when their corresponding job templates are deleted. Therefore, you should not select an existing SAE-created project for log collection.
37
+ *
14
38
  * @example
15
39
  * [{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]
16
40
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateNamespaceSlsConfigsRequest.js","sourceRoot":"","sources":["../../src/models/UpdateNamespaceSlsConfigsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAgB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,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;AAvCD,4EAuCC"}
1
+ {"version":3,"file":"UpdateNamespaceSlsConfigsRequest.js","sourceRoot":"","sources":["../../src/models/UpdateNamespaceSlsConfigsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAwC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,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;AA/DD,4EA+DC"}
@@ -1,29 +1,51 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateNamespaceSlsConfigsResponseBody extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The status code or error code. Valid values: 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred.
6
+ *
4
7
  * @example
5
8
  * 200
6
9
  */
7
10
  code?: string;
11
+ /**
12
+ * @remarks
13
+ * The error code. Value description:
14
+ *
15
+ * * If the request was successful, this field is not returned.
16
+ * * For more information, see the **Error codes** section of this topic.
17
+ *
18
+ * @example
19
+ * InvalidNamespaceId.NotFound
20
+ */
8
21
  errorCode?: string;
9
22
  /**
23
+ * @remarks
24
+ * The additional information.
25
+ *
10
26
  * @example
11
27
  * success
12
28
  */
13
29
  message?: string;
14
30
  /**
31
+ * @remarks
32
+ * Indicates whether the Simple Log Service configuration for the namespace was updated. Valid values: true and false.
33
+ *
15
34
  * @example
16
35
  * true
17
36
  */
18
37
  success?: boolean;
19
38
  /**
39
+ * @remarks
40
+ * The ID of the trace, which is used to query the exact call information.
41
+ *
20
42
  * @example
21
43
  * 0a98a02315955564772843261e****
22
44
  */
23
45
  traceId?: string;
24
46
  /**
25
47
  * @remarks
26
- * Id of the request
48
+ * The request ID.
27
49
  *
28
50
  * @example
29
51
  * AD0286B2-F4A4-5D43-9329-97DEF1019F06
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateNamespaceSlsConfigsResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateNamespaceSlsConfigsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IA8BpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;SACpB,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,sFA2DC"}
1
+ {"version":3,"file":"UpdateNamespaceSlsConfigsResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateNamespaceSlsConfigsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAoDpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;SACpB,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;AAjFD,sFAiFC"}
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpgradeApplicationApmServiceRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
+ * The application ID.
6
+ *
5
7
  * This parameter is required.
6
8
  *
7
9
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"UpgradeApplicationApmServiceRequest.js","sourceRoot":"","sources":["../../src/models/UpgradeApplicationApmServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IASlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;SAChB,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;AA5BD,kFA4BC"}
1
+ {"version":3,"file":"UpgradeApplicationApmServiceRequest.js","sourceRoot":"","sources":["../../src/models/UpgradeApplicationApmServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAWlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;SAChB,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;AA9BD,kFA8BC"}
@@ -1,6 +1,12 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpgradeApplicationApmServiceResponseBodyData extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * Indicates whether ARMS advanced monitoring is enabled. Valid values:
6
+ *
7
+ * * **true**
8
+ * * **false**
9
+ *
4
10
  * @example
5
11
  * true
6
12
  */
@@ -18,28 +24,65 @@ export declare class UpgradeApplicationApmServiceResponseBodyData extends $dara.
18
24
  }
19
25
  export declare class UpgradeApplicationApmServiceResponseBody extends $dara.Model {
20
26
  /**
27
+ * @remarks
28
+ * The HTTP status code or the error code. Valid values:
29
+ *
30
+ * * **2xx**: The request was successful.
31
+ * * **3xx**: The request was redirected.
32
+ * * **4xx**: The request failed.
33
+ * * **5xx**: A server error occurred.
34
+ *
21
35
  * @example
22
36
  * 200
23
37
  */
24
38
  code?: string;
39
+ /**
40
+ * @remarks
41
+ * The returned result.
42
+ */
25
43
  data?: UpgradeApplicationApmServiceResponseBodyData;
26
44
  /**
45
+ * @remarks
46
+ * The status code. Value values:
47
+ *
48
+ * * If the request was successful, **ErrorCode** is not returned.
49
+ * * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
50
+ *
27
51
  * @example
28
52
  * success
29
53
  */
30
54
  errorCode?: string;
31
55
  /**
56
+ * @remarks
57
+ * The message returned. The following limits are imposed on the ID:
58
+ *
59
+ * * If the request was successful, **success** is returned.
60
+ * * An error code is returned when a request failed.
61
+ *
32
62
  * @example
33
63
  * success
34
64
  */
35
65
  message?: string;
36
66
  /**
67
+ * @remarks
68
+ * Request ID.
69
+ *
37
70
  * @example
38
71
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
39
72
  */
40
73
  requestId?: string;
74
+ /**
75
+ * @remarks
76
+ * Indicates whether the request was successful. Valid values:
77
+ *
78
+ * * **true**
79
+ * * **false**
80
+ */
41
81
  success?: boolean;
42
82
  /**
83
+ * @remarks
84
+ * The ID of the trace. The ID is used to query the details of a request.
85
+ *
43
86
  * @example
44
87
  * 0a98a02315955564772843261e****
45
88
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpgradeApplicationApmServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/UpgradeApplicationApmServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAM3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;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;AAzBD,oGAyBC;AAED,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IA4BvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,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,IAAI,EAAE,4CAA4C;YAClD,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,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,4FA8DC"}
1
+ {"version":3,"file":"UpgradeApplicationApmServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/UpgradeApplicationApmServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAY3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;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;AA/BD,oGA+BC;AAED,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAiEvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,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,IAAI,EAAE,4CAA4C;YAClD,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,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,4FAmGC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/sae20190506",
3
- "version": "2.9.0",
3
+ "version": "2.9.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -124,7 +124,7 @@ export default class Client extends OpenApi {
124
124
  }
125
125
 
126
126
  /**
127
- * 批量重启应用
127
+ * Restarts applications in batches.
128
128
  *
129
129
  * @param request - BatchRestartApplicationsRequest
130
130
  * @param headers - map
@@ -161,7 +161,7 @@ export default class Client extends OpenApi {
161
161
  }
162
162
 
163
163
  /**
164
- * 批量重启应用
164
+ * Restarts applications in batches.
165
165
  *
166
166
  * @param request - BatchRestartApplicationsRequest
167
167
  * @returns BatchRestartApplicationsResponse
@@ -478,6 +478,10 @@ export default class Client extends OpenApi {
478
478
  query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
479
479
  }
480
480
 
481
+ if (!$dara.isNull(request.agentVersion)) {
482
+ query["AgentVersion"] = request.agentVersion;
483
+ }
484
+
481
485
  if (!$dara.isNull(request.appDescription)) {
482
486
  query["AppDescription"] = request.appDescription;
483
487
  }
@@ -538,6 +542,14 @@ export default class Client extends OpenApi {
538
542
  query["EnableEbpf"] = request.enableEbpf;
539
543
  }
540
544
 
545
+ if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
546
+ query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
547
+ }
548
+
549
+ if (!$dara.isNull(request.enableNamespaceSlsConfig)) {
550
+ query["EnableNamespaceSlsConfig"] = request.enableNamespaceSlsConfig;
551
+ }
552
+
541
553
  if (!$dara.isNull(request.enableNewArms)) {
542
554
  query["EnableNewArms"] = request.enableNewArms;
543
555
  }
@@ -831,14 +843,15 @@ export default class Client extends OpenApi {
831
843
  }
832
844
 
833
845
  /**
834
- * Null
846
+ * Creates an auto scaling policy for an application.
835
847
  *
836
848
  * @remarks
837
- * The HTTP status code. Take note of the following rules:
838
- * * **2xx**: The call was successful.
839
- * * **3xx**: The call was redirected.
840
- * * **4xx**: The call failed.
841
- * * **5xx**: A server error occurred.
849
+ * ## [](#)Precautions
850
+ * * You can create up to five auto scaling policies for one application.
851
+ * * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
852
+ * * 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.
853
+ * * 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.
854
+ * * 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).
842
855
  *
843
856
  * @param request - CreateApplicationScalingRuleRequest
844
857
  * @param headers - map
@@ -903,14 +916,15 @@ export default class Client extends OpenApi {
903
916
  }
904
917
 
905
918
  /**
906
- * Null
919
+ * Creates an auto scaling policy for an application.
907
920
  *
908
921
  * @remarks
909
- * The HTTP status code. Take note of the following rules:
910
- * * **2xx**: The call was successful.
911
- * * **3xx**: The call was redirected.
912
- * * **4xx**: The call failed.
913
- * * **5xx**: A server error occurred.
922
+ * ## [](#)Precautions
923
+ * * You can create up to five auto scaling policies for one application.
924
+ * * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
925
+ * * 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.
926
+ * * 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.
927
+ * * 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).
914
928
  *
915
929
  * @param request - CreateApplicationScalingRuleRequest
916
930
  * @returns CreateApplicationScalingRuleResponse
@@ -2540,6 +2554,10 @@ export default class Client extends OpenApi {
2540
2554
  query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
2541
2555
  }
2542
2556
 
2557
+ if (!$dara.isNull(request.agentVersion)) {
2558
+ query["AgentVersion"] = request.agentVersion;
2559
+ }
2560
+
2543
2561
  if (!$dara.isNull(request.albIngressReadinessGate)) {
2544
2562
  query["AlbIngressReadinessGate"] = request.albIngressReadinessGate;
2545
2563
  }
@@ -2604,6 +2622,10 @@ export default class Client extends OpenApi {
2604
2622
  query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
2605
2623
  }
2606
2624
 
2625
+ if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
2626
+ query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
2627
+ }
2628
+
2607
2629
  if (!$dara.isNull(request.enableNewArms)) {
2608
2630
  query["EnableNewArms"] = request.enableNewArms;
2609
2631
  }
@@ -3178,6 +3200,8 @@ export default class Client extends OpenApi {
3178
3200
  }
3179
3201
 
3180
3202
  /**
3203
+ * Queries the information of the associated MSE microservice governance application.
3204
+ *
3181
3205
  * @param request - DescribeApplicationMseServiceRequest
3182
3206
  * @param headers - map
3183
3207
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3213,6 +3237,8 @@ export default class Client extends OpenApi {
3213
3237
  }
3214
3238
 
3215
3239
  /**
3240
+ * Queries the information of the associated MSE microservice governance application.
3241
+ *
3216
3242
  * @param request - DescribeApplicationMseServiceRequest
3217
3243
  * @returns DescribeApplicationMseServiceResponse
3218
3244
  */
@@ -6988,6 +7014,8 @@ export default class Client extends OpenApi {
6988
7014
  }
6989
7015
 
6990
7016
  /**
7017
+ * Queries whether ARMS monitoring is enabled for a specified application.
7018
+ *
6991
7019
  * @param request - QueryArmsEnableRequest
6992
7020
  * @param headers - map
6993
7021
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7019,6 +7047,8 @@ export default class Client extends OpenApi {
7019
7047
  }
7020
7048
 
7021
7049
  /**
7050
+ * Queries whether ARMS monitoring is enabled for a specified application.
7051
+ *
7022
7052
  * @param request - QueryArmsEnableRequest
7023
7053
  * @returns QueryArmsEnableResponse
7024
7054
  */
@@ -7202,6 +7232,10 @@ export default class Client extends OpenApi {
7202
7232
  query["Cpu"] = request.cpu;
7203
7233
  }
7204
7234
 
7235
+ if (!$dara.isNull(request.deploy)) {
7236
+ query["Deploy"] = request.deploy;
7237
+ }
7238
+
7205
7239
  if (!$dara.isNull(request.diskSize)) {
7206
7240
  query["DiskSize"] = request.diskSize;
7207
7241
  }
@@ -8151,6 +8185,10 @@ export default class Client extends OpenApi {
8151
8185
  query["AppId"] = request.appId;
8152
8186
  }
8153
8187
 
8188
+ if (!$dara.isNull(request.deploy)) {
8189
+ query["Deploy"] = request.deploy;
8190
+ }
8191
+
8154
8192
  if (!$dara.isNull(request.vSwitchId)) {
8155
8193
  query["VSwitchId"] = request.vSwitchId;
8156
8194
  }
@@ -9154,7 +9192,7 @@ export default class Client extends OpenApi {
9154
9192
  * Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
9155
9193
  *
9156
9194
  * @remarks
9157
- * 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).
9195
+ * 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).
9158
9196
  *
9159
9197
  * @param request - UpgradeApplicationApmServiceRequest
9160
9198
  * @param headers - map
@@ -9190,7 +9228,7 @@ export default class Client extends OpenApi {
9190
9228
  * Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
9191
9229
  *
9192
9230
  * @remarks
9193
- * 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).
9231
+ * 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).
9194
9232
  *
9195
9233
  * @param request - UpgradeApplicationApmServiceRequest
9196
9234
  * @returns UpgradeApplicationApmServiceResponse
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class BatchRestartApplicationsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The application IDs. Separate multiple IDs with commas (,).
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class BatchRestartApplicationsRequest extends $dara.Model {
13
15
  appIds?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The namespace ID.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class BatchRestartApplicationsResponseBodyData extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the change process.
9
+ *
7
10
  * @example
8
11
  * 01db03d3-3ee9-48b3-b3d0-dfce2d88****
9
12
  */
@@ -31,28 +34,62 @@ export class BatchRestartApplicationsResponseBodyData extends $dara.Model {
31
34
 
32
35
  export class BatchRestartApplicationsResponseBody extends $dara.Model {
33
36
  /**
37
+ * @remarks
38
+ * The API status or POP error code. Value description:
39
+ *
40
+ * 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred.
41
+ *
34
42
  * @example
35
43
  * 200
36
44
  */
37
45
  code?: string;
46
+ /**
47
+ * @remarks
48
+ * The response.
49
+ */
38
50
  data?: BatchRestartApplicationsResponseBodyData;
51
+ /**
52
+ * @remarks
53
+ * The error code. Value description:
54
+ *
55
+ * If the request succeeds, this field is not returned. It is returned only if the request fails. For more information, see the "Error codes" section in this topic.
56
+ *
57
+ * @example
58
+ * System.Upgrading
59
+ */
39
60
  errorCode?: string;
40
61
  /**
62
+ * @remarks
63
+ * The additional information. Value description:
64
+ *
65
+ * If the request succeeds, a success message is returned. If the request fails, an error code is returned.
66
+ *
41
67
  * @example
42
68
  * success
43
69
  */
44
70
  message?: string;
45
71
  /**
72
+ * @remarks
73
+ * The request ID.
74
+ *
46
75
  * @example
47
76
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
48
77
  */
49
78
  requestId?: string;
50
79
  /**
80
+ * @remarks
81
+ * Indicates whether the applications were started. Valid values:
82
+ *
83
+ * true and false
84
+ *
51
85
  * @example
52
86
  * true
53
87
  */
54
88
  success?: boolean;
55
89
  /**
90
+ * @remarks
91
+ * The ID of the trace, which is used to query the exact call information.
92
+ *
56
93
  * @example
57
94
  * 0a98a02315955564772843261e****
58
95
  */
@@ -21,6 +21,7 @@ export class CreateApplicationRequest extends $dara.Model {
21
21
  * cri-xxxxxx
22
22
  */
23
23
  acrInstanceId?: string;
24
+ agentVersion?: string;
24
25
  /**
25
26
  * @remarks
26
27
  * The description of the template. The description cannot exceed 1,024 characters in length.
@@ -225,6 +226,8 @@ export class CreateApplicationRequest extends $dara.Model {
225
226
  * false
226
227
  */
227
228
  enableEbpf?: string;
229
+ enableNamespaceAgentVersion?: boolean;
230
+ enableNamespaceSlsConfig?: boolean;
228
231
  /**
229
232
  * @remarks
230
233
  * Indicates whether to enable the new ARMS feature:
@@ -847,6 +850,7 @@ export class CreateApplicationRequest extends $dara.Model {
847
850
  return {
848
851
  acrAssumeRoleArn: 'AcrAssumeRoleArn',
849
852
  acrInstanceId: 'AcrInstanceId',
853
+ agentVersion: 'AgentVersion',
850
854
  appDescription: 'AppDescription',
851
855
  appName: 'AppName',
852
856
  appSource: 'AppSource',
@@ -866,6 +870,8 @@ export class CreateApplicationRequest extends $dara.Model {
866
870
  emptyDirDesc: 'EmptyDirDesc',
867
871
  enableCpuBurst: 'EnableCpuBurst',
868
872
  enableEbpf: 'EnableEbpf',
873
+ enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
874
+ enableNamespaceSlsConfig: 'EnableNamespaceSlsConfig',
869
875
  enableNewArms: 'EnableNewArms',
870
876
  enablePrometheus: 'EnablePrometheus',
871
877
  enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
@@ -933,6 +939,7 @@ export class CreateApplicationRequest extends $dara.Model {
933
939
  return {
934
940
  acrAssumeRoleArn: 'string',
935
941
  acrInstanceId: 'string',
942
+ agentVersion: 'string',
936
943
  appDescription: 'string',
937
944
  appName: 'string',
938
945
  appSource: 'string',
@@ -952,6 +959,8 @@ export class CreateApplicationRequest extends $dara.Model {
952
959
  emptyDirDesc: 'string',
953
960
  enableCpuBurst: 'boolean',
954
961
  enableEbpf: 'string',
962
+ enableNamespaceAgentVersion: 'boolean',
963
+ enableNamespaceSlsConfig: 'boolean',
955
964
  enableNewArms: 'boolean',
956
965
  enablePrometheus: 'boolean',
957
966
  enableSidecarResourceIsolated: 'boolean',