@alicloud/sae20190506 1.24.8 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -5515,7 +5515,7 @@ export class BatchStopApplicationsRequest extends $tea.Model {
5515
5515
  * The ID of the request.
5516
5516
  *
5517
5517
  * @example
5518
- * ebf491f0-c1a5-45e2-b2c4-710dbe2a****,ebf491f0-c1a5-45e2-b2c4-71025e2a****
5518
+ * ebf491f0-c1a5-45e2-b2c4-710dbe2a****
5519
5519
  */
5520
5520
  appIds?: string;
5521
5521
  /**
@@ -6135,6 +6135,7 @@ export class CreateApplicationRequest extends $tea.Model {
6135
6135
  * 3.5.3
6136
6136
  */
6137
6137
  edasContainerVersion?: string;
6138
+ enableCpuBurst?: boolean;
6138
6139
  enableEbpf?: string;
6139
6140
  enableNewArms?: boolean;
6140
6141
  /**
@@ -6471,6 +6472,7 @@ export class CreateApplicationRequest extends $tea.Model {
6471
6472
  deploy: 'Deploy',
6472
6473
  dotnet: 'Dotnet',
6473
6474
  edasContainerVersion: 'EdasContainerVersion',
6475
+ enableCpuBurst: 'EnableCpuBurst',
6474
6476
  enableEbpf: 'EnableEbpf',
6475
6477
  enableNewArms: 'EnableNewArms',
6476
6478
  envs: 'Envs',
@@ -6539,6 +6541,7 @@ export class CreateApplicationRequest extends $tea.Model {
6539
6541
  deploy: 'boolean',
6540
6542
  dotnet: 'string',
6541
6543
  edasContainerVersion: 'string',
6544
+ enableCpuBurst: 'boolean',
6542
6545
  enableEbpf: 'string',
6543
6546
  enableNewArms: 'boolean',
6544
6547
  envs: 'string',
@@ -10301,6 +10304,7 @@ export class DeployApplicationRequest extends $tea.Model {
10301
10304
  * false
10302
10305
  */
10303
10306
  enableAhas?: string;
10307
+ enableCpuBurst?: boolean;
10304
10308
  /**
10305
10309
  * @remarks
10306
10310
  * Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Take note of the following rules:
@@ -10758,6 +10762,7 @@ export class DeployApplicationRequest extends $tea.Model {
10758
10762
  dotnet: 'Dotnet',
10759
10763
  edasContainerVersion: 'EdasContainerVersion',
10760
10764
  enableAhas: 'EnableAhas',
10765
+ enableCpuBurst: 'EnableCpuBurst',
10761
10766
  enableGreyTagRoute: 'EnableGreyTagRoute',
10762
10767
  enableNewArms: 'EnableNewArms',
10763
10768
  envs: 'Envs',
@@ -10825,6 +10830,7 @@ export class DeployApplicationRequest extends $tea.Model {
10825
10830
  dotnet: 'string',
10826
10831
  edasContainerVersion: 'string',
10827
10832
  enableAhas: 'string',
10833
+ enableCpuBurst: 'boolean',
10828
10834
  enableGreyTagRoute: 'boolean',
10829
10835
  enableNewArms: 'boolean',
10830
10836
  envs: 'string',
@@ -15592,6 +15598,110 @@ export class DisableApplicationScalingRuleResponse extends $tea.Model {
15592
15598
  }
15593
15599
  }
15594
15600
 
15601
+ export class DowngradeApplicationApmServiceRequest extends $tea.Model {
15602
+ /**
15603
+ * @remarks
15604
+ * This parameter is required.
15605
+ *
15606
+ * @example
15607
+ * 017f39b8-dfa4-4e16-a84b-1dcee4b1****
15608
+ */
15609
+ appId?: string;
15610
+ static names(): { [key: string]: string } {
15611
+ return {
15612
+ appId: 'AppId',
15613
+ };
15614
+ }
15615
+
15616
+ static types(): { [key: string]: any } {
15617
+ return {
15618
+ appId: 'string',
15619
+ };
15620
+ }
15621
+
15622
+ constructor(map?: { [key: string]: any }) {
15623
+ super(map);
15624
+ }
15625
+ }
15626
+
15627
+ export class DowngradeApplicationApmServiceResponseBody extends $tea.Model {
15628
+ /**
15629
+ * @example
15630
+ * 200
15631
+ */
15632
+ code?: string;
15633
+ data?: DowngradeApplicationApmServiceResponseBodyData;
15634
+ errorCode?: string;
15635
+ /**
15636
+ * @example
15637
+ * success
15638
+ */
15639
+ message?: string;
15640
+ /**
15641
+ * @example
15642
+ * 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
15643
+ */
15644
+ requestId?: string;
15645
+ success?: boolean;
15646
+ /**
15647
+ * @example
15648
+ * 0a98a02315955564772843261e****
15649
+ */
15650
+ traceId?: string;
15651
+ static names(): { [key: string]: string } {
15652
+ return {
15653
+ code: 'Code',
15654
+ data: 'Data',
15655
+ errorCode: 'ErrorCode',
15656
+ message: 'Message',
15657
+ requestId: 'RequestId',
15658
+ success: 'Success',
15659
+ traceId: 'TraceId',
15660
+ };
15661
+ }
15662
+
15663
+ static types(): { [key: string]: any } {
15664
+ return {
15665
+ code: 'string',
15666
+ data: DowngradeApplicationApmServiceResponseBodyData,
15667
+ errorCode: 'string',
15668
+ message: 'string',
15669
+ requestId: 'string',
15670
+ success: 'boolean',
15671
+ traceId: 'string',
15672
+ };
15673
+ }
15674
+
15675
+ constructor(map?: { [key: string]: any }) {
15676
+ super(map);
15677
+ }
15678
+ }
15679
+
15680
+ export class DowngradeApplicationApmServiceResponse extends $tea.Model {
15681
+ headers?: { [key: string]: string };
15682
+ statusCode?: number;
15683
+ body?: DowngradeApplicationApmServiceResponseBody;
15684
+ static names(): { [key: string]: string } {
15685
+ return {
15686
+ headers: 'headers',
15687
+ statusCode: 'statusCode',
15688
+ body: 'body',
15689
+ };
15690
+ }
15691
+
15692
+ static types(): { [key: string]: any } {
15693
+ return {
15694
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15695
+ statusCode: 'number',
15696
+ body: DowngradeApplicationApmServiceResponseBody,
15697
+ };
15698
+ }
15699
+
15700
+ constructor(map?: { [key: string]: any }) {
15701
+ super(map);
15702
+ }
15703
+ }
15704
+
15595
15705
  export class EnableApplicationScalingRuleRequest extends $tea.Model {
15596
15706
  /**
15597
15707
  * @remarks
@@ -15910,6 +16020,108 @@ export class ExecJobResponse extends $tea.Model {
15910
16020
  }
15911
16021
  }
15912
16022
 
16023
+ export class GetApplicationRequest extends $tea.Model {
16024
+ /**
16025
+ * @example
16026
+ * 017f39b8-dfa4-4e16-a84b-1dcee4b1****
16027
+ */
16028
+ appId?: string;
16029
+ /**
16030
+ * @example
16031
+ * test
16032
+ */
16033
+ appName?: string;
16034
+ /**
16035
+ * @example
16036
+ * cn-shenzhen
16037
+ */
16038
+ namespaceId?: string;
16039
+ static names(): { [key: string]: string } {
16040
+ return {
16041
+ appId: 'AppId',
16042
+ appName: 'AppName',
16043
+ namespaceId: 'NamespaceId',
16044
+ };
16045
+ }
16046
+
16047
+ static types(): { [key: string]: any } {
16048
+ return {
16049
+ appId: 'string',
16050
+ appName: 'string',
16051
+ namespaceId: 'string',
16052
+ };
16053
+ }
16054
+
16055
+ constructor(map?: { [key: string]: any }) {
16056
+ super(map);
16057
+ }
16058
+ }
16059
+
16060
+ export class GetApplicationResponseBody extends $tea.Model {
16061
+ application?: GetApplicationResponseBodyApplication;
16062
+ /**
16063
+ * @example
16064
+ * success
16065
+ */
16066
+ message?: string;
16067
+ /**
16068
+ * @example
16069
+ * 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
16070
+ */
16071
+ requestId?: string;
16072
+ /**
16073
+ * @example
16074
+ * ac1a0b2215622920113732501e****
16075
+ */
16076
+ traceId?: string;
16077
+ static names(): { [key: string]: string } {
16078
+ return {
16079
+ application: 'Application',
16080
+ message: 'Message',
16081
+ requestId: 'RequestId',
16082
+ traceId: 'TraceId',
16083
+ };
16084
+ }
16085
+
16086
+ static types(): { [key: string]: any } {
16087
+ return {
16088
+ application: GetApplicationResponseBodyApplication,
16089
+ message: 'string',
16090
+ requestId: 'string',
16091
+ traceId: 'string',
16092
+ };
16093
+ }
16094
+
16095
+ constructor(map?: { [key: string]: any }) {
16096
+ super(map);
16097
+ }
16098
+ }
16099
+
16100
+ export class GetApplicationResponse extends $tea.Model {
16101
+ headers?: { [key: string]: string };
16102
+ statusCode?: number;
16103
+ body?: GetApplicationResponseBody;
16104
+ static names(): { [key: string]: string } {
16105
+ return {
16106
+ headers: 'headers',
16107
+ statusCode: 'statusCode',
16108
+ body: 'body',
16109
+ };
16110
+ }
16111
+
16112
+ static types(): { [key: string]: any } {
16113
+ return {
16114
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16115
+ statusCode: 'number',
16116
+ body: GetApplicationResponseBody,
16117
+ };
16118
+ }
16119
+
16120
+ constructor(map?: { [key: string]: any }) {
16121
+ super(map);
16122
+ }
16123
+ }
16124
+
15913
16125
  export class GetArmsTopNMetricRequest extends $tea.Model {
15914
16126
  /**
15915
16127
  * @remarks
@@ -24834,6 +25046,114 @@ export class UpdateWebCustomDomainResponse extends $tea.Model {
24834
25046
  }
24835
25047
  }
24836
25048
 
25049
+ export class UpgradeApplicationApmServiceRequest extends $tea.Model {
25050
+ /**
25051
+ * @remarks
25052
+ * This parameter is required.
25053
+ *
25054
+ * @example
25055
+ * 017f39b8-dfa4-4e16-a84b-1dcee4b1****
25056
+ */
25057
+ appId?: string;
25058
+ static names(): { [key: string]: string } {
25059
+ return {
25060
+ appId: 'AppId',
25061
+ };
25062
+ }
25063
+
25064
+ static types(): { [key: string]: any } {
25065
+ return {
25066
+ appId: 'string',
25067
+ };
25068
+ }
25069
+
25070
+ constructor(map?: { [key: string]: any }) {
25071
+ super(map);
25072
+ }
25073
+ }
25074
+
25075
+ export class UpgradeApplicationApmServiceResponseBody extends $tea.Model {
25076
+ /**
25077
+ * @example
25078
+ * 200
25079
+ */
25080
+ code?: string;
25081
+ data?: UpgradeApplicationApmServiceResponseBodyData;
25082
+ /**
25083
+ * @example
25084
+ * success
25085
+ */
25086
+ errorCode?: string;
25087
+ /**
25088
+ * @example
25089
+ * success
25090
+ */
25091
+ message?: string;
25092
+ /**
25093
+ * @example
25094
+ * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
25095
+ */
25096
+ requestId?: string;
25097
+ success?: boolean;
25098
+ /**
25099
+ * @example
25100
+ * 0a98a02315955564772843261e****
25101
+ */
25102
+ traceId?: string;
25103
+ static names(): { [key: string]: string } {
25104
+ return {
25105
+ code: 'Code',
25106
+ data: 'Data',
25107
+ errorCode: 'ErrorCode',
25108
+ message: 'Message',
25109
+ requestId: 'RequestId',
25110
+ success: 'Success',
25111
+ traceId: 'TraceId',
25112
+ };
25113
+ }
25114
+
25115
+ static types(): { [key: string]: any } {
25116
+ return {
25117
+ code: 'string',
25118
+ data: UpgradeApplicationApmServiceResponseBodyData,
25119
+ errorCode: 'string',
25120
+ message: 'string',
25121
+ requestId: 'string',
25122
+ success: 'boolean',
25123
+ traceId: 'string',
25124
+ };
25125
+ }
25126
+
25127
+ constructor(map?: { [key: string]: any }) {
25128
+ super(map);
25129
+ }
25130
+ }
25131
+
25132
+ export class UpgradeApplicationApmServiceResponse extends $tea.Model {
25133
+ headers?: { [key: string]: string };
25134
+ statusCode?: number;
25135
+ body?: UpgradeApplicationApmServiceResponseBody;
25136
+ static names(): { [key: string]: string } {
25137
+ return {
25138
+ headers: 'headers',
25139
+ statusCode: 'statusCode',
25140
+ body: 'body',
25141
+ };
25142
+ }
25143
+
25144
+ static types(): { [key: string]: any } {
25145
+ return {
25146
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25147
+ statusCode: 'number',
25148
+ body: UpgradeApplicationApmServiceResponseBody,
25149
+ };
25150
+ }
25151
+
25152
+ constructor(map?: { [key: string]: any }) {
25153
+ super(map);
25154
+ }
25155
+ }
25156
+
24837
25157
  export class AppStackInstanceEndpoints extends $tea.Model {
24838
25158
  /**
24839
25159
  * @example
@@ -27389,6 +27709,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27389
27709
  * true
27390
27710
  */
27391
27711
  enableAhas?: string;
27712
+ enableCpuBurst?: string;
27392
27713
  /**
27393
27714
  * @remarks
27394
27715
  * Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Valid values:
@@ -27913,6 +28234,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27913
28234
  dotnet: 'Dotnet',
27914
28235
  edasContainerVersion: 'EdasContainerVersion',
27915
28236
  enableAhas: 'EnableAhas',
28237
+ enableCpuBurst: 'EnableCpuBurst',
27916
28238
  enableGreyTagRoute: 'EnableGreyTagRoute',
27917
28239
  enableIdle: 'EnableIdle',
27918
28240
  enableNewArms: 'EnableNewArms',
@@ -27988,6 +28310,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27988
28310
  dotnet: 'string',
27989
28311
  edasContainerVersion: 'string',
27990
28312
  enableAhas: 'string',
28313
+ enableCpuBurst: 'string',
27991
28314
  enableGreyTagRoute: 'boolean',
27992
28315
  enableIdle: 'boolean',
27993
28316
  enableNewArms: 'boolean',
@@ -30018,7 +30341,7 @@ export class DescribeApplicationSlbsResponseBodyData extends $tea.Model {
30018
30341
  * The ID of the Internet-facing SLB instance.
30019
30342
  *
30020
30343
  * @example
30021
- * 59.74.\*\*.**
30344
+ * ``59.74.**.**``
30022
30345
  */
30023
30346
  internetIp?: string;
30024
30347
  internetSlbChargeType?: string;
@@ -33871,7 +34194,7 @@ export class DescribePipelineResponseBodyDataStageListTaskList extends $tea.Mode
33871
34194
  * The error message returned when the task could not be executed. If the task is successfully executed, this parameter is not returned.
33872
34195
  *
33873
34196
  * @example
33874
- * EDAS-10022 \\<a target=\\"_blank\\" href=\\"https://help.aliyun.com/knowledge_detail/106573.html#EDAS-10022\\">READINESS check failed during the application startup.\\</a>
34197
+ * EDAS-10022
33875
34198
  */
33876
34199
  errorMessage?: string;
33877
34200
  /**
@@ -34384,6 +34707,29 @@ export class DescribeSecretResponseBodyData extends $tea.Model {
34384
34707
  }
34385
34708
  }
34386
34709
 
34710
+ export class DowngradeApplicationApmServiceResponseBodyData extends $tea.Model {
34711
+ /**
34712
+ * @example
34713
+ * true
34714
+ */
34715
+ status?: boolean;
34716
+ static names(): { [key: string]: string } {
34717
+ return {
34718
+ status: 'Status',
34719
+ };
34720
+ }
34721
+
34722
+ static types(): { [key: string]: any } {
34723
+ return {
34724
+ status: 'boolean',
34725
+ };
34726
+ }
34727
+
34728
+ constructor(map?: { [key: string]: any }) {
34729
+ super(map);
34730
+ }
34731
+ }
34732
+
34387
34733
  export class ExecJobResponseBodyData extends $tea.Model {
34388
34734
  /**
34389
34735
  * @example
@@ -34428,6 +34774,116 @@ export class ExecJobResponseBodyData extends $tea.Model {
34428
34774
  }
34429
34775
  }
34430
34776
 
34777
+ export class GetApplicationResponseBodyApplication extends $tea.Model {
34778
+ appDescription?: string;
34779
+ /**
34780
+ * @example
34781
+ * 443d638a-ef76-47c4-b707-61197d******
34782
+ */
34783
+ appId?: string;
34784
+ /**
34785
+ * @example
34786
+ * test
34787
+ */
34788
+ appName?: string;
34789
+ /**
34790
+ * @example
34791
+ * ee99cce6-1c8e-4bfa-96c3-3e2fa9******
34792
+ */
34793
+ baseAppId?: string;
34794
+ /**
34795
+ * @example
34796
+ * 2000
34797
+ */
34798
+ cpu?: number;
34799
+ /**
34800
+ * @example
34801
+ * i-8ps2o182102o1jv05bys
34802
+ */
34803
+ instances?: number;
34804
+ /**
34805
+ * @example
34806
+ * 4096
34807
+ */
34808
+ mem?: number;
34809
+ /**
34810
+ * @example
34811
+ * true
34812
+ */
34813
+ mseEnabled?: boolean;
34814
+ /**
34815
+ * @example
34816
+ * test
34817
+ */
34818
+ mseNamespaceId?: string;
34819
+ /**
34820
+ * @example
34821
+ * cn-shenzhen
34822
+ */
34823
+ namespaceId?: string;
34824
+ /**
34825
+ * @example
34826
+ * java
34827
+ */
34828
+ programmingLanguage?: string;
34829
+ /**
34830
+ * @example
34831
+ * 1
34832
+ */
34833
+ runningInstances?: number;
34834
+ /**
34835
+ * @example
34836
+ * true
34837
+ */
34838
+ scaleRuleEnabled?: string;
34839
+ /**
34840
+ * @example
34841
+ * timing
34842
+ */
34843
+ scaleRuleType?: string;
34844
+ static names(): { [key: string]: string } {
34845
+ return {
34846
+ appDescription: 'AppDescription',
34847
+ appId: 'AppId',
34848
+ appName: 'AppName',
34849
+ baseAppId: 'BaseAppId',
34850
+ cpu: 'Cpu',
34851
+ instances: 'Instances',
34852
+ mem: 'Mem',
34853
+ mseEnabled: 'MseEnabled',
34854
+ mseNamespaceId: 'MseNamespaceId',
34855
+ namespaceId: 'NamespaceId',
34856
+ programmingLanguage: 'ProgrammingLanguage',
34857
+ runningInstances: 'RunningInstances',
34858
+ scaleRuleEnabled: 'ScaleRuleEnabled',
34859
+ scaleRuleType: 'ScaleRuleType',
34860
+ };
34861
+ }
34862
+
34863
+ static types(): { [key: string]: any } {
34864
+ return {
34865
+ appDescription: 'string',
34866
+ appId: 'string',
34867
+ appName: 'string',
34868
+ baseAppId: 'string',
34869
+ cpu: 'number',
34870
+ instances: 'number',
34871
+ mem: 'number',
34872
+ mseEnabled: 'boolean',
34873
+ mseNamespaceId: 'string',
34874
+ namespaceId: 'string',
34875
+ programmingLanguage: 'string',
34876
+ runningInstances: 'number',
34877
+ scaleRuleEnabled: 'string',
34878
+ scaleRuleType: 'string',
34879
+ };
34880
+ }
34881
+
34882
+ constructor(map?: { [key: string]: any }) {
34883
+ super(map);
34884
+ }
34885
+ }
34886
+
34431
34887
  export class GetArmsTopNMetricResponseBodyData extends $tea.Model {
34432
34888
  /**
34433
34889
  * @remarks
@@ -38553,6 +39009,29 @@ export class UpdateSecretResponseBodyData extends $tea.Model {
38553
39009
  }
38554
39010
  }
38555
39011
 
39012
+ export class UpgradeApplicationApmServiceResponseBodyData extends $tea.Model {
39013
+ /**
39014
+ * @example
39015
+ * true
39016
+ */
39017
+ status?: boolean;
39018
+ static names(): { [key: string]: string } {
39019
+ return {
39020
+ status: 'Status',
39021
+ };
39022
+ }
39023
+
39024
+ static types(): { [key: string]: any } {
39025
+ return {
39026
+ status: 'boolean',
39027
+ };
39028
+ }
39029
+
39030
+ constructor(map?: { [key: string]: any }) {
39031
+ super(map);
39032
+ }
39033
+ }
39034
+
38556
39035
 
38557
39036
  export default class Client extends OpenApi {
38558
39037
 
@@ -38935,6 +39414,10 @@ export default class Client extends OpenApi {
38935
39414
  query["EdasContainerVersion"] = request.edasContainerVersion;
38936
39415
  }
38937
39416
 
39417
+ if (!Util.isUnset(request.enableCpuBurst)) {
39418
+ query["EnableCpuBurst"] = request.enableCpuBurst;
39419
+ }
39420
+
38938
39421
  if (!Util.isUnset(request.enableEbpf)) {
38939
39422
  query["EnableEbpf"] = request.enableEbpf;
38940
39423
  }
@@ -40563,6 +41046,10 @@ export default class Client extends OpenApi {
40563
41046
  query["EnableAhas"] = request.enableAhas;
40564
41047
  }
40565
41048
 
41049
+ if (!Util.isUnset(request.enableCpuBurst)) {
41050
+ query["EnableCpuBurst"] = request.enableCpuBurst;
41051
+ }
41052
+
40566
41053
  if (!Util.isUnset(request.enableGreyTagRoute)) {
40567
41054
  query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
40568
41055
  }
@@ -42463,6 +42950,47 @@ export default class Client extends OpenApi {
42463
42950
  return await this.disableApplicationScalingRuleWithOptions(request, headers, runtime);
42464
42951
  }
42465
42952
 
42953
+ /**
42954
+ * @param request - DowngradeApplicationApmServiceRequest
42955
+ * @param headers - map
42956
+ * @param runtime - runtime options for this request RuntimeOptions
42957
+ * @returns DowngradeApplicationApmServiceResponse
42958
+ */
42959
+ async downgradeApplicationApmServiceWithOptions(request: DowngradeApplicationApmServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DowngradeApplicationApmServiceResponse> {
42960
+ Util.validateModel(request);
42961
+ let query : {[key: string ]: any} = { };
42962
+ if (!Util.isUnset(request.appId)) {
42963
+ query["AppId"] = request.appId;
42964
+ }
42965
+
42966
+ let req = new $OpenApi.OpenApiRequest({
42967
+ headers: headers,
42968
+ query: OpenApiUtil.query(query),
42969
+ });
42970
+ let params = new $OpenApi.Params({
42971
+ action: "DowngradeApplicationApmService",
42972
+ version: "2019-05-06",
42973
+ protocol: "HTTPS",
42974
+ pathname: `/pop/v1/sam/app/applicationApmService`,
42975
+ method: "DELETE",
42976
+ authType: "AK",
42977
+ style: "ROA",
42978
+ reqBodyType: "json",
42979
+ bodyType: "json",
42980
+ });
42981
+ return $tea.cast<DowngradeApplicationApmServiceResponse>(await this.callApi(params, req, runtime), new DowngradeApplicationApmServiceResponse({}));
42982
+ }
42983
+
42984
+ /**
42985
+ * @param request - DowngradeApplicationApmServiceRequest
42986
+ * @returns DowngradeApplicationApmServiceResponse
42987
+ */
42988
+ async downgradeApplicationApmService(request: DowngradeApplicationApmServiceRequest): Promise<DowngradeApplicationApmServiceResponse> {
42989
+ let runtime = new $Util.RuntimeOptions({ });
42990
+ let headers : {[key: string ]: string} = { };
42991
+ return await this.downgradeApplicationApmServiceWithOptions(request, headers, runtime);
42992
+ }
42993
+
42466
42994
  /**
42467
42995
  * Enables an auto scaling policy for an application.
42468
42996
  *
@@ -42589,6 +43117,59 @@ export default class Client extends OpenApi {
42589
43117
  return await this.execJobWithOptions(request, headers, runtime);
42590
43118
  }
42591
43119
 
43120
+ /**
43121
+ * 查询应用基本信息
43122
+ *
43123
+ * @param request - GetApplicationRequest
43124
+ * @param headers - map
43125
+ * @param runtime - runtime options for this request RuntimeOptions
43126
+ * @returns GetApplicationResponse
43127
+ */
43128
+ async getApplicationWithOptions(request: GetApplicationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetApplicationResponse> {
43129
+ Util.validateModel(request);
43130
+ let query : {[key: string ]: any} = { };
43131
+ if (!Util.isUnset(request.appId)) {
43132
+ query["AppId"] = request.appId;
43133
+ }
43134
+
43135
+ if (!Util.isUnset(request.appName)) {
43136
+ query["AppName"] = request.appName;
43137
+ }
43138
+
43139
+ if (!Util.isUnset(request.namespaceId)) {
43140
+ query["NamespaceId"] = request.namespaceId;
43141
+ }
43142
+
43143
+ let req = new $OpenApi.OpenApiRequest({
43144
+ headers: headers,
43145
+ query: OpenApiUtil.query(query),
43146
+ });
43147
+ let params = new $OpenApi.Params({
43148
+ action: "GetApplication",
43149
+ version: "2019-05-06",
43150
+ protocol: "HTTPS",
43151
+ pathname: `/pop/v1/sam/app/getApplication`,
43152
+ method: "GET",
43153
+ authType: "AK",
43154
+ style: "ROA",
43155
+ reqBodyType: "json",
43156
+ bodyType: "json",
43157
+ });
43158
+ return $tea.cast<GetApplicationResponse>(await this.callApi(params, req, runtime), new GetApplicationResponse({}));
43159
+ }
43160
+
43161
+ /**
43162
+ * 查询应用基本信息
43163
+ *
43164
+ * @param request - GetApplicationRequest
43165
+ * @returns GetApplicationResponse
43166
+ */
43167
+ async getApplication(request: GetApplicationRequest): Promise<GetApplicationResponse> {
43168
+ let runtime = new $Util.RuntimeOptions({ });
43169
+ let headers : {[key: string ]: string} = { };
43170
+ return await this.getApplicationWithOptions(request, headers, runtime);
43171
+ }
43172
+
42592
43173
  /**
42593
43174
  * Queries the top N applications in Application Monitoring.
42594
43175
  *
@@ -45902,4 +46483,45 @@ export default class Client extends OpenApi {
45902
46483
  return await this.updateWebCustomDomainWithOptions(DomainName, request, headers, runtime);
45903
46484
  }
45904
46485
 
46486
+ /**
46487
+ * @param request - UpgradeApplicationApmServiceRequest
46488
+ * @param headers - map
46489
+ * @param runtime - runtime options for this request RuntimeOptions
46490
+ * @returns UpgradeApplicationApmServiceResponse
46491
+ */
46492
+ async upgradeApplicationApmServiceWithOptions(request: UpgradeApplicationApmServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeApplicationApmServiceResponse> {
46493
+ Util.validateModel(request);
46494
+ let query : {[key: string ]: any} = { };
46495
+ if (!Util.isUnset(request.appId)) {
46496
+ query["AppId"] = request.appId;
46497
+ }
46498
+
46499
+ let req = new $OpenApi.OpenApiRequest({
46500
+ headers: headers,
46501
+ query: OpenApiUtil.query(query),
46502
+ });
46503
+ let params = new $OpenApi.Params({
46504
+ action: "UpgradeApplicationApmService",
46505
+ version: "2019-05-06",
46506
+ protocol: "HTTPS",
46507
+ pathname: `/pop/v1/sam/app/applicationApmService`,
46508
+ method: "POST",
46509
+ authType: "AK",
46510
+ style: "ROA",
46511
+ reqBodyType: "json",
46512
+ bodyType: "json",
46513
+ });
46514
+ return $tea.cast<UpgradeApplicationApmServiceResponse>(await this.callApi(params, req, runtime), new UpgradeApplicationApmServiceResponse({}));
46515
+ }
46516
+
46517
+ /**
46518
+ * @param request - UpgradeApplicationApmServiceRequest
46519
+ * @returns UpgradeApplicationApmServiceResponse
46520
+ */
46521
+ async upgradeApplicationApmService(request: UpgradeApplicationApmServiceRequest): Promise<UpgradeApplicationApmServiceResponse> {
46522
+ let runtime = new $Util.RuntimeOptions({ });
46523
+ let headers : {[key: string ]: string} = { };
46524
+ return await this.upgradeApplicationApmServiceWithOptions(request, headers, runtime);
46525
+ }
46526
+
45905
46527
  }