@alicloud/sae20190506 1.24.7 → 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
  /**
@@ -6126,6 +6126,7 @@ export class CreateApplicationRequest extends $tea.Model {
6126
6126
  * true
6127
6127
  */
6128
6128
  deploy?: boolean;
6129
+ dotnet?: string;
6129
6130
  /**
6130
6131
  * @remarks
6131
6132
  * 3.5.3
@@ -6134,6 +6135,7 @@ export class CreateApplicationRequest extends $tea.Model {
6134
6135
  * 3.5.3
6135
6136
  */
6136
6137
  edasContainerVersion?: string;
6138
+ enableCpuBurst?: boolean;
6137
6139
  enableEbpf?: string;
6138
6140
  enableNewArms?: boolean;
6139
6141
  /**
@@ -6468,7 +6470,9 @@ export class CreateApplicationRequest extends $tea.Model {
6468
6470
  cpu: 'Cpu',
6469
6471
  customHostAlias: 'CustomHostAlias',
6470
6472
  deploy: 'Deploy',
6473
+ dotnet: 'Dotnet',
6471
6474
  edasContainerVersion: 'EdasContainerVersion',
6475
+ enableCpuBurst: 'EnableCpuBurst',
6472
6476
  enableEbpf: 'EnableEbpf',
6473
6477
  enableNewArms: 'EnableNewArms',
6474
6478
  envs: 'Envs',
@@ -6535,7 +6539,9 @@ export class CreateApplicationRequest extends $tea.Model {
6535
6539
  cpu: 'number',
6536
6540
  customHostAlias: 'string',
6537
6541
  deploy: 'boolean',
6542
+ dotnet: 'string',
6538
6543
  edasContainerVersion: 'string',
6544
+ enableCpuBurst: 'boolean',
6539
6545
  enableEbpf: 'string',
6540
6546
  enableNewArms: 'boolean',
6541
6547
  envs: 'string',
@@ -10278,6 +10284,7 @@ export class DeployApplicationRequest extends $tea.Model {
10278
10284
  * true
10279
10285
  */
10280
10286
  deploy?: string;
10287
+ dotnet?: string;
10281
10288
  /**
10282
10289
  * @remarks
10283
10290
  * The version of the container, such as Ali-Tomcat, in which an application developed based on High-speed Service Framework (HSF) is deployed.
@@ -10297,6 +10304,7 @@ export class DeployApplicationRequest extends $tea.Model {
10297
10304
  * false
10298
10305
  */
10299
10306
  enableAhas?: string;
10307
+ enableCpuBurst?: boolean;
10300
10308
  /**
10301
10309
  * @remarks
10302
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:
@@ -10751,8 +10759,10 @@ export class DeployApplicationRequest extends $tea.Model {
10751
10759
  cpu: 'Cpu',
10752
10760
  customHostAlias: 'CustomHostAlias',
10753
10761
  deploy: 'Deploy',
10762
+ dotnet: 'Dotnet',
10754
10763
  edasContainerVersion: 'EdasContainerVersion',
10755
10764
  enableAhas: 'EnableAhas',
10765
+ enableCpuBurst: 'EnableCpuBurst',
10756
10766
  enableGreyTagRoute: 'EnableGreyTagRoute',
10757
10767
  enableNewArms: 'EnableNewArms',
10758
10768
  envs: 'Envs',
@@ -10817,8 +10827,10 @@ export class DeployApplicationRequest extends $tea.Model {
10817
10827
  cpu: 'number',
10818
10828
  customHostAlias: 'string',
10819
10829
  deploy: 'string',
10830
+ dotnet: 'string',
10820
10831
  edasContainerVersion: 'string',
10821
10832
  enableAhas: 'string',
10833
+ enableCpuBurst: 'boolean',
10822
10834
  enableGreyTagRoute: 'boolean',
10823
10835
  enableNewArms: 'boolean',
10824
10836
  envs: 'string',
@@ -15586,6 +15598,110 @@ export class DisableApplicationScalingRuleResponse extends $tea.Model {
15586
15598
  }
15587
15599
  }
15588
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
+
15589
15705
  export class EnableApplicationScalingRuleRequest extends $tea.Model {
15590
15706
  /**
15591
15707
  * @remarks
@@ -15904,6 +16020,108 @@ export class ExecJobResponse extends $tea.Model {
15904
16020
  }
15905
16021
  }
15906
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
+
15907
16125
  export class GetArmsTopNMetricRequest extends $tea.Model {
15908
16126
  /**
15909
16127
  * @remarks
@@ -20432,11 +20650,17 @@ export class RescaleApplicationVerticallyRequest extends $tea.Model {
20432
20650
  * 2048
20433
20651
  */
20434
20652
  memory?: string;
20653
+ autoEnableApplicationScalingRule?: boolean;
20654
+ minReadyInstanceRatio?: number;
20655
+ minReadyInstances?: number;
20435
20656
  static names(): { [key: string]: string } {
20436
20657
  return {
20437
20658
  appId: 'AppId',
20438
20659
  cpu: 'Cpu',
20439
20660
  memory: 'Memory',
20661
+ autoEnableApplicationScalingRule: 'autoEnableApplicationScalingRule',
20662
+ minReadyInstanceRatio: 'minReadyInstanceRatio',
20663
+ minReadyInstances: 'minReadyInstances',
20440
20664
  };
20441
20665
  }
20442
20666
 
@@ -20445,6 +20669,9 @@ export class RescaleApplicationVerticallyRequest extends $tea.Model {
20445
20669
  appId: 'string',
20446
20670
  cpu: 'string',
20447
20671
  memory: 'string',
20672
+ autoEnableApplicationScalingRule: 'boolean',
20673
+ minReadyInstanceRatio: 'number',
20674
+ minReadyInstances: 'number',
20448
20675
  };
20449
20676
  }
20450
20677
 
@@ -24819,6 +25046,114 @@ export class UpdateWebCustomDomainResponse extends $tea.Model {
24819
25046
  }
24820
25047
  }
24821
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
+
24822
25157
  export class AppStackInstanceEndpoints extends $tea.Model {
24823
25158
  /**
24824
25159
  * @example
@@ -27354,6 +27689,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27354
27689
  * [{"hostName":"test.host.name","ip":"0.0.0.0"}]
27355
27690
  */
27356
27691
  customHostAlias?: string;
27692
+ dotnet?: string;
27357
27693
  /**
27358
27694
  * @remarks
27359
27695
  * The version of the container, such as Ali-Tomcat, in which an application developed based on High-speed Service Framework (HSF) is deployed.
@@ -27373,6 +27709,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27373
27709
  * true
27374
27710
  */
27375
27711
  enableAhas?: string;
27712
+ enableCpuBurst?: string;
27376
27713
  /**
27377
27714
  * @remarks
27378
27715
  * Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Valid values:
@@ -27894,8 +28231,10 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27894
28231
  configMapMountDesc: 'ConfigMapMountDesc',
27895
28232
  cpu: 'Cpu',
27896
28233
  customHostAlias: 'CustomHostAlias',
28234
+ dotnet: 'Dotnet',
27897
28235
  edasContainerVersion: 'EdasContainerVersion',
27898
28236
  enableAhas: 'EnableAhas',
28237
+ enableCpuBurst: 'EnableCpuBurst',
27899
28238
  enableGreyTagRoute: 'EnableGreyTagRoute',
27900
28239
  enableIdle: 'EnableIdle',
27901
28240
  enableNewArms: 'EnableNewArms',
@@ -27968,8 +28307,10 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27968
28307
  configMapMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataConfigMapMountDesc },
27969
28308
  cpu: 'number',
27970
28309
  customHostAlias: 'string',
28310
+ dotnet: 'string',
27971
28311
  edasContainerVersion: 'string',
27972
28312
  enableAhas: 'string',
28313
+ enableCpuBurst: 'string',
27973
28314
  enableGreyTagRoute: 'boolean',
27974
28315
  enableIdle: 'boolean',
27975
28316
  enableNewArms: 'boolean',
@@ -30000,7 +30341,7 @@ export class DescribeApplicationSlbsResponseBodyData extends $tea.Model {
30000
30341
  * The ID of the Internet-facing SLB instance.
30001
30342
  *
30002
30343
  * @example
30003
- * 59.74.\*\*.**
30344
+ * ``59.74.**.**``
30004
30345
  */
30005
30346
  internetIp?: string;
30006
30347
  internetSlbChargeType?: string;
@@ -33853,7 +34194,7 @@ export class DescribePipelineResponseBodyDataStageListTaskList extends $tea.Mode
33853
34194
  * The error message returned when the task could not be executed. If the task is successfully executed, this parameter is not returned.
33854
34195
  *
33855
34196
  * @example
33856
- * 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
33857
34198
  */
33858
34199
  errorMessage?: string;
33859
34200
  /**
@@ -34366,6 +34707,29 @@ export class DescribeSecretResponseBodyData extends $tea.Model {
34366
34707
  }
34367
34708
  }
34368
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
+
34369
34733
  export class ExecJobResponseBodyData extends $tea.Model {
34370
34734
  /**
34371
34735
  * @example
@@ -34410,6 +34774,116 @@ export class ExecJobResponseBodyData extends $tea.Model {
34410
34774
  }
34411
34775
  }
34412
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
+
34413
34887
  export class GetArmsTopNMetricResponseBodyData extends $tea.Model {
34414
34888
  /**
34415
34889
  * @remarks
@@ -35299,6 +35773,7 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35299
35773
  * 1000
35300
35774
  */
35301
35775
  cpu?: number;
35776
+ imageUrl?: string;
35302
35777
  /**
35303
35778
  * @remarks
35304
35779
  * The number of application instances.
@@ -35336,6 +35811,7 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35336
35811
  * cn-beijing:demo
35337
35812
  */
35338
35813
  namespaceId?: string;
35814
+ packageUrl?: string;
35339
35815
  programmingLanguage?: string;
35340
35816
  /**
35341
35817
  * @remarks
@@ -35367,11 +35843,13 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35367
35843
  baseAppId: 'BaseAppId',
35368
35844
  children: 'Children',
35369
35845
  cpu: 'Cpu',
35846
+ imageUrl: 'ImageUrl',
35370
35847
  instances: 'Instances',
35371
35848
  mem: 'Mem',
35372
35849
  mseEnabled: 'MseEnabled',
35373
35850
  mseNamespaceId: 'MseNamespaceId',
35374
35851
  namespaceId: 'NamespaceId',
35852
+ packageUrl: 'PackageUrl',
35375
35853
  programmingLanguage: 'ProgrammingLanguage',
35376
35854
  regionId: 'RegionId',
35377
35855
  runningInstances: 'RunningInstances',
@@ -35388,11 +35866,13 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35388
35866
  baseAppId: 'string',
35389
35867
  children: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsChildren },
35390
35868
  cpu: 'number',
35869
+ imageUrl: 'string',
35391
35870
  instances: 'number',
35392
35871
  mem: 'number',
35393
35872
  mseEnabled: 'boolean',
35394
35873
  mseNamespaceId: 'string',
35395
35874
  namespaceId: 'string',
35875
+ packageUrl: 'string',
35396
35876
  programmingLanguage: 'string',
35397
35877
  regionId: 'string',
35398
35878
  runningInstances: 'number',
@@ -38529,6 +39009,29 @@ export class UpdateSecretResponseBodyData extends $tea.Model {
38529
39009
  }
38530
39010
  }
38531
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
+
38532
39035
 
38533
39036
  export default class Client extends OpenApi {
38534
39037
 
@@ -38903,10 +39406,18 @@ export default class Client extends OpenApi {
38903
39406
  query["Deploy"] = request.deploy;
38904
39407
  }
38905
39408
 
39409
+ if (!Util.isUnset(request.dotnet)) {
39410
+ query["Dotnet"] = request.dotnet;
39411
+ }
39412
+
38906
39413
  if (!Util.isUnset(request.edasContainerVersion)) {
38907
39414
  query["EdasContainerVersion"] = request.edasContainerVersion;
38908
39415
  }
38909
39416
 
39417
+ if (!Util.isUnset(request.enableCpuBurst)) {
39418
+ query["EnableCpuBurst"] = request.enableCpuBurst;
39419
+ }
39420
+
38910
39421
  if (!Util.isUnset(request.enableEbpf)) {
38911
39422
  query["EnableEbpf"] = request.enableEbpf;
38912
39423
  }
@@ -40523,6 +41034,10 @@ export default class Client extends OpenApi {
40523
41034
  query["Deploy"] = request.deploy;
40524
41035
  }
40525
41036
 
41037
+ if (!Util.isUnset(request.dotnet)) {
41038
+ query["Dotnet"] = request.dotnet;
41039
+ }
41040
+
40526
41041
  if (!Util.isUnset(request.edasContainerVersion)) {
40527
41042
  query["EdasContainerVersion"] = request.edasContainerVersion;
40528
41043
  }
@@ -40531,6 +41046,10 @@ export default class Client extends OpenApi {
40531
41046
  query["EnableAhas"] = request.enableAhas;
40532
41047
  }
40533
41048
 
41049
+ if (!Util.isUnset(request.enableCpuBurst)) {
41050
+ query["EnableCpuBurst"] = request.enableCpuBurst;
41051
+ }
41052
+
40534
41053
  if (!Util.isUnset(request.enableGreyTagRoute)) {
40535
41054
  query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
40536
41055
  }
@@ -42431,6 +42950,47 @@ export default class Client extends OpenApi {
42431
42950
  return await this.disableApplicationScalingRuleWithOptions(request, headers, runtime);
42432
42951
  }
42433
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
+
42434
42994
  /**
42435
42995
  * Enables an auto scaling policy for an application.
42436
42996
  *
@@ -42557,6 +43117,59 @@ export default class Client extends OpenApi {
42557
43117
  return await this.execJobWithOptions(request, headers, runtime);
42558
43118
  }
42559
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
+
42560
43173
  /**
42561
43174
  * Queries the top N applications in Application Monitoring.
42562
43175
  *
@@ -44246,6 +44859,18 @@ export default class Client extends OpenApi {
44246
44859
  query["Memory"] = request.memory;
44247
44860
  }
44248
44861
 
44862
+ if (!Util.isUnset(request.autoEnableApplicationScalingRule)) {
44863
+ query["autoEnableApplicationScalingRule"] = request.autoEnableApplicationScalingRule;
44864
+ }
44865
+
44866
+ if (!Util.isUnset(request.minReadyInstanceRatio)) {
44867
+ query["minReadyInstanceRatio"] = request.minReadyInstanceRatio;
44868
+ }
44869
+
44870
+ if (!Util.isUnset(request.minReadyInstances)) {
44871
+ query["minReadyInstances"] = request.minReadyInstances;
44872
+ }
44873
+
44249
44874
  let req = new $OpenApi.OpenApiRequest({
44250
44875
  headers: headers,
44251
44876
  query: OpenApiUtil.query(query),
@@ -45858,4 +46483,45 @@ export default class Client extends OpenApi {
45858
46483
  return await this.updateWebCustomDomainWithOptions(DomainName, request, headers, runtime);
45859
46484
  }
45860
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
+
45861
46527
  }