@alicloud/sae20190506 1.25.4 → 1.26.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
@@ -1844,6 +1844,111 @@ export class HostAlias extends $tea.Model {
1844
1844
  }
1845
1845
  }
1846
1846
 
1847
+ export class HttpApiRoute extends $tea.Model {
1848
+ /**
1849
+ * @example
1850
+ * intranet/internet
1851
+ */
1852
+ addressType?: string;
1853
+ /**
1854
+ * @example
1855
+ * Deploying/NotDeployed/Undeploying/Deployed
1856
+ */
1857
+ deployStatus?: string;
1858
+ /**
1859
+ * @example
1860
+ * Single/Multiple/VersionOriented
1861
+ */
1862
+ destinationType?: string;
1863
+ domains?: HttpApiRouteDomains[];
1864
+ environmentId?: string;
1865
+ gatewayId?: string;
1866
+ httpApiId?: string;
1867
+ /**
1868
+ * @example
1869
+ * Http
1870
+ */
1871
+ httpApiName?: string;
1872
+ /**
1873
+ * @example
1874
+ * Http
1875
+ */
1876
+ httpApiType?: string;
1877
+ /**
1878
+ * @example
1879
+ * 1
1880
+ */
1881
+ ingressId?: number;
1882
+ nacosInstanceId?: string;
1883
+ /**
1884
+ * @example
1885
+ * test
1886
+ */
1887
+ nacosNamespaceId?: string;
1888
+ name?: string;
1889
+ namespaceId?: string;
1890
+ policies?: HttpApiRoutePolicies;
1891
+ predicates?: HttpApiRoutePredicates;
1892
+ routeId?: string;
1893
+ services?: HttpApiRouteServices[];
1894
+ /**
1895
+ * @example
1896
+ * SAE_NACOS/SAE_K8S_SERVICE/MSE_NACOS
1897
+ */
1898
+ sourceType?: string;
1899
+ static names(): { [key: string]: string } {
1900
+ return {
1901
+ addressType: 'AddressType',
1902
+ deployStatus: 'DeployStatus',
1903
+ destinationType: 'DestinationType',
1904
+ domains: 'Domains',
1905
+ environmentId: 'EnvironmentId',
1906
+ gatewayId: 'GatewayId',
1907
+ httpApiId: 'HttpApiId',
1908
+ httpApiName: 'HttpApiName',
1909
+ httpApiType: 'HttpApiType',
1910
+ ingressId: 'IngressId',
1911
+ nacosInstanceId: 'NacosInstanceId',
1912
+ nacosNamespaceId: 'NacosNamespaceId',
1913
+ name: 'Name',
1914
+ namespaceId: 'NamespaceId',
1915
+ policies: 'Policies',
1916
+ predicates: 'Predicates',
1917
+ routeId: 'RouteId',
1918
+ services: 'Services',
1919
+ sourceType: 'SourceType',
1920
+ };
1921
+ }
1922
+
1923
+ static types(): { [key: string]: any } {
1924
+ return {
1925
+ addressType: 'string',
1926
+ deployStatus: 'string',
1927
+ destinationType: 'string',
1928
+ domains: { 'type': 'array', 'itemType': HttpApiRouteDomains },
1929
+ environmentId: 'string',
1930
+ gatewayId: 'string',
1931
+ httpApiId: 'string',
1932
+ httpApiName: 'string',
1933
+ httpApiType: 'string',
1934
+ ingressId: 'number',
1935
+ nacosInstanceId: 'string',
1936
+ nacosNamespaceId: 'string',
1937
+ name: 'string',
1938
+ namespaceId: 'string',
1939
+ policies: HttpApiRoutePolicies,
1940
+ predicates: HttpApiRoutePredicates,
1941
+ routeId: 'string',
1942
+ services: { 'type': 'array', 'itemType': HttpApiRouteServices },
1943
+ sourceType: 'string',
1944
+ };
1945
+ }
1946
+
1947
+ constructor(map?: { [key: string]: any }) {
1948
+ super(map);
1949
+ }
1950
+ }
1951
+
1847
1952
  export class ImageConfig extends $tea.Model {
1848
1953
  accelerationType?: string;
1849
1954
  image?: string;
@@ -3102,6 +3207,12 @@ export class PriceEstimateFeature extends $tea.Model {
3102
3207
  export class PriceEstimateOutput extends $tea.Model {
3103
3208
  apps?: PriceEstimateOutputApps[];
3104
3209
  items?: PriceEstimateOutputItems[];
3210
+ postPayItems?: PriceEstimateOutputPostPayItems[];
3211
+ /**
3212
+ * @example
3213
+ * 235.66
3214
+ */
3215
+ postPayTotalPrice?: number;
3105
3216
  /**
3106
3217
  * @example
3107
3218
  * 235.66
@@ -3111,6 +3222,8 @@ export class PriceEstimateOutput extends $tea.Model {
3111
3222
  return {
3112
3223
  apps: 'Apps',
3113
3224
  items: 'Items',
3225
+ postPayItems: 'PostPayItems',
3226
+ postPayTotalPrice: 'PostPayTotalPrice',
3114
3227
  totalPrice: 'TotalPrice',
3115
3228
  };
3116
3229
  }
@@ -3119,6 +3232,8 @@ export class PriceEstimateOutput extends $tea.Model {
3119
3232
  return {
3120
3233
  apps: { 'type': 'array', 'itemType': PriceEstimateOutputApps },
3121
3234
  items: { 'type': 'array', 'itemType': PriceEstimateOutputItems },
3235
+ postPayItems: { 'type': 'array', 'itemType': PriceEstimateOutputPostPayItems },
3236
+ postPayTotalPrice: 'number',
3122
3237
  totalPrice: 'number',
3123
3238
  };
3124
3239
  }
@@ -3578,6 +3693,49 @@ export class ScaleConfig extends $tea.Model {
3578
3693
  }
3579
3694
  }
3580
3695
 
3696
+ export class SidecarContainerConfig extends $tea.Model {
3697
+ command?: string;
3698
+ commandArgs?: string;
3699
+ configMapMountDesc?: string;
3700
+ cpu?: number;
3701
+ emptyDirDesc?: string;
3702
+ envs?: string;
3703
+ imageUrl?: string;
3704
+ memory?: number;
3705
+ name?: string;
3706
+ static names(): { [key: string]: string } {
3707
+ return {
3708
+ command: 'Command',
3709
+ commandArgs: 'CommandArgs',
3710
+ configMapMountDesc: 'ConfigMapMountDesc',
3711
+ cpu: 'Cpu',
3712
+ emptyDirDesc: 'EmptyDirDesc',
3713
+ envs: 'Envs',
3714
+ imageUrl: 'ImageUrl',
3715
+ memory: 'Memory',
3716
+ name: 'Name',
3717
+ };
3718
+ }
3719
+
3720
+ static types(): { [key: string]: any } {
3721
+ return {
3722
+ command: 'string',
3723
+ commandArgs: 'string',
3724
+ configMapMountDesc: 'string',
3725
+ cpu: 'number',
3726
+ emptyDirDesc: 'string',
3727
+ envs: 'string',
3728
+ imageUrl: 'string',
3729
+ memory: 'number',
3730
+ name: 'string',
3731
+ };
3732
+ }
3733
+
3734
+ constructor(map?: { [key: string]: any }) {
3735
+ super(map);
3736
+ }
3737
+ }
3738
+
3581
3739
  export class SourceCodeAccount extends $tea.Model {
3582
3740
  avatarUrl?: string;
3583
3741
  id?: string;
@@ -6416,6 +6574,7 @@ export class CreateApplicationRequest extends $tea.Model {
6416
6574
  * KSAK****
6417
6575
  */
6418
6576
  nasId?: string;
6577
+ oidcRoleName?: string;
6419
6578
  /**
6420
6579
  * @remarks
6421
6580
  * xxxxxx
@@ -6550,6 +6709,7 @@ export class CreateApplicationRequest extends $tea.Model {
6550
6709
  */
6551
6710
  replicas?: number;
6552
6711
  saeVersion?: string;
6712
+ secretMountDesc?: string;
6553
6713
  /**
6554
6714
  * @remarks
6555
6715
  * sg-wz969ngg2e49q5i4\\*\\*\\*\\*
@@ -6660,6 +6820,7 @@ export class CreateApplicationRequest extends $tea.Model {
6660
6820
  namespaceId: 'NamespaceId',
6661
6821
  nasConfigs: 'NasConfigs',
6662
6822
  nasId: 'NasId',
6823
+ oidcRoleName: 'OidcRoleName',
6663
6824
  ossAkId: 'OssAkId',
6664
6825
  ossAkSecret: 'OssAkSecret',
6665
6826
  ossMountDescs: 'OssMountDescs',
@@ -6679,6 +6840,7 @@ export class CreateApplicationRequest extends $tea.Model {
6679
6840
  readiness: 'Readiness',
6680
6841
  replicas: 'Replicas',
6681
6842
  saeVersion: 'SaeVersion',
6843
+ secretMountDesc: 'SecretMountDesc',
6682
6844
  securityGroupId: 'SecurityGroupId',
6683
6845
  serviceTags: 'ServiceTags',
6684
6846
  slsConfigs: 'SlsConfigs',
@@ -6729,6 +6891,7 @@ export class CreateApplicationRequest extends $tea.Model {
6729
6891
  namespaceId: 'string',
6730
6892
  nasConfigs: 'string',
6731
6893
  nasId: 'string',
6894
+ oidcRoleName: 'string',
6732
6895
  ossAkId: 'string',
6733
6896
  ossAkSecret: 'string',
6734
6897
  ossMountDescs: 'string',
@@ -6748,6 +6911,7 @@ export class CreateApplicationRequest extends $tea.Model {
6748
6911
  readiness: 'string',
6749
6912
  replicas: 'number',
6750
6913
  saeVersion: 'string',
6914
+ secretMountDesc: 'string',
6751
6915
  securityGroupId: 'string',
6752
6916
  serviceTags: 'string',
6753
6917
  slsConfigs: 'string',
@@ -10812,6 +10976,7 @@ export class DeployApplicationRequest extends $tea.Model {
10812
10976
  * 10d3b4****
10813
10977
  */
10814
10978
  nasId?: string;
10979
+ oidcRoleName?: string;
10815
10980
  /**
10816
10981
  * @remarks
10817
10982
  * The AccessKey ID that is used to read data from and write data to Object Storage Service (OSS) buckets.
@@ -10957,6 +11122,7 @@ export class DeployApplicationRequest extends $tea.Model {
10957
11122
  * 1
10958
11123
  */
10959
11124
  replicas?: number;
11125
+ secretMountDesc?: string;
10960
11126
  /**
10961
11127
  * @example
10962
11128
  * sg-wz969ngg2e49q5i4****
@@ -11108,6 +11274,7 @@ export class DeployApplicationRequest extends $tea.Model {
11108
11274
  mountHost: 'MountHost',
11109
11275
  nasConfigs: 'NasConfigs',
11110
11276
  nasId: 'NasId',
11277
+ oidcRoleName: 'OidcRoleName',
11111
11278
  ossAkId: 'OssAkId',
11112
11279
  ossAkSecret: 'OssAkSecret',
11113
11280
  ossMountDescs: 'OssMountDescs',
@@ -11125,6 +11292,7 @@ export class DeployApplicationRequest extends $tea.Model {
11125
11292
  pythonModules: 'PythonModules',
11126
11293
  readiness: 'Readiness',
11127
11294
  replicas: 'Replicas',
11295
+ secretMountDesc: 'SecretMountDesc',
11128
11296
  securityGroupId: 'SecurityGroupId',
11129
11297
  serviceTags: 'ServiceTags',
11130
11298
  slsConfigs: 'SlsConfigs',
@@ -11176,6 +11344,7 @@ export class DeployApplicationRequest extends $tea.Model {
11176
11344
  mountHost: 'string',
11177
11345
  nasConfigs: 'string',
11178
11346
  nasId: 'string',
11347
+ oidcRoleName: 'string',
11179
11348
  ossAkId: 'string',
11180
11349
  ossAkSecret: 'string',
11181
11350
  ossMountDescs: 'string',
@@ -11193,6 +11362,7 @@ export class DeployApplicationRequest extends $tea.Model {
11193
11362
  pythonModules: 'string',
11194
11363
  readiness: 'string',
11195
11364
  replicas: 'number',
11365
+ secretMountDesc: 'string',
11196
11366
  securityGroupId: 'string',
11197
11367
  serviceTags: 'string',
11198
11368
  slsConfigs: 'string',
@@ -17356,6 +17526,124 @@ export class GetWarningEventMetricResponse extends $tea.Model {
17356
17526
  }
17357
17527
  }
17358
17528
 
17529
+ export class GetWebshellTokenRequest extends $tea.Model {
17530
+ /**
17531
+ * @remarks
17532
+ * This parameter is required.
17533
+ *
17534
+ * @example
17535
+ * 017f39b8-dfa4-4e16-a84b-1dcee4b1****
17536
+ */
17537
+ appId?: string;
17538
+ /**
17539
+ * @remarks
17540
+ * This parameter is required.
17541
+ *
17542
+ * @example
17543
+ * hello-podsdfsdfsdfsdf
17544
+ */
17545
+ podName?: string;
17546
+ static names(): { [key: string]: string } {
17547
+ return {
17548
+ appId: 'AppId',
17549
+ podName: 'PodName',
17550
+ };
17551
+ }
17552
+
17553
+ static types(): { [key: string]: any } {
17554
+ return {
17555
+ appId: 'string',
17556
+ podName: 'string',
17557
+ };
17558
+ }
17559
+
17560
+ constructor(map?: { [key: string]: any }) {
17561
+ super(map);
17562
+ }
17563
+ }
17564
+
17565
+ export class GetWebshellTokenResponseBody extends $tea.Model {
17566
+ /**
17567
+ * @example
17568
+ * 200
17569
+ */
17570
+ code?: string;
17571
+ data?: GetWebshellTokenResponseBodyData;
17572
+ errorCode?: string;
17573
+ /**
17574
+ * @example
17575
+ * success
17576
+ */
17577
+ message?: string;
17578
+ /**
17579
+ * @example
17580
+ * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
17581
+ */
17582
+ requestId?: string;
17583
+ /**
17584
+ * @example
17585
+ * true
17586
+ */
17587
+ success?: boolean;
17588
+ /**
17589
+ * @example
17590
+ * 0a98a02315955564772843261e****
17591
+ */
17592
+ traceId?: string;
17593
+ static names(): { [key: string]: string } {
17594
+ return {
17595
+ code: 'Code',
17596
+ data: 'Data',
17597
+ errorCode: 'ErrorCode',
17598
+ message: 'Message',
17599
+ requestId: 'RequestId',
17600
+ success: 'Success',
17601
+ traceId: 'TraceId',
17602
+ };
17603
+ }
17604
+
17605
+ static types(): { [key: string]: any } {
17606
+ return {
17607
+ code: 'string',
17608
+ data: GetWebshellTokenResponseBodyData,
17609
+ errorCode: 'string',
17610
+ message: 'string',
17611
+ requestId: 'string',
17612
+ success: 'boolean',
17613
+ traceId: 'string',
17614
+ };
17615
+ }
17616
+
17617
+ constructor(map?: { [key: string]: any }) {
17618
+ super(map);
17619
+ }
17620
+ }
17621
+
17622
+ export class GetWebshellTokenResponse extends $tea.Model {
17623
+ headers?: { [key: string]: string };
17624
+ statusCode?: number;
17625
+ body?: GetWebshellTokenResponseBody;
17626
+ static names(): { [key: string]: string } {
17627
+ return {
17628
+ headers: 'headers',
17629
+ statusCode: 'statusCode',
17630
+ body: 'body',
17631
+ };
17632
+ }
17633
+
17634
+ static types(): { [key: string]: any } {
17635
+ return {
17636
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17637
+ statusCode: 'number',
17638
+ body: GetWebshellTokenResponseBody,
17639
+ };
17640
+ }
17641
+
17642
+ constructor(map?: { [key: string]: any }) {
17643
+ super(map);
17644
+ }
17645
+ }
17646
+
17359
17647
  export class ListAppEventsRequest extends $tea.Model {
17360
17648
  /**
17361
17649
  * @remarks
@@ -26341,6 +26629,330 @@ export class BuildPipelineRunTriggerConfig extends $tea.Model {
26341
26629
  }
26342
26630
  }
26343
26631
 
26632
+ export class HttpApiRouteDomains extends $tea.Model {
26633
+ domainId?: string;
26634
+ domainName?: string;
26635
+ static names(): { [key: string]: string } {
26636
+ return {
26637
+ domainId: 'DomainId',
26638
+ domainName: 'DomainName',
26639
+ };
26640
+ }
26641
+
26642
+ static types(): { [key: string]: any } {
26643
+ return {
26644
+ domainId: 'string',
26645
+ domainName: 'string',
26646
+ };
26647
+ }
26648
+
26649
+ constructor(map?: { [key: string]: any }) {
26650
+ super(map);
26651
+ }
26652
+ }
26653
+
26654
+ export class HttpApiRoutePoliciesFallbackDestinations extends $tea.Model {
26655
+ appId?: string;
26656
+ appName?: string;
26657
+ serviceId?: string;
26658
+ serviceName?: string;
26659
+ servicePort?: number;
26660
+ serviceProtocol?: string;
26661
+ static names(): { [key: string]: string } {
26662
+ return {
26663
+ appId: 'AppId',
26664
+ appName: 'AppName',
26665
+ serviceId: 'ServiceId',
26666
+ serviceName: 'ServiceName',
26667
+ servicePort: 'ServicePort',
26668
+ serviceProtocol: 'ServiceProtocol',
26669
+ };
26670
+ }
26671
+
26672
+ static types(): { [key: string]: any } {
26673
+ return {
26674
+ appId: 'string',
26675
+ appName: 'string',
26676
+ serviceId: 'string',
26677
+ serviceName: 'string',
26678
+ servicePort: 'number',
26679
+ serviceProtocol: 'string',
26680
+ };
26681
+ }
26682
+
26683
+ constructor(map?: { [key: string]: any }) {
26684
+ super(map);
26685
+ }
26686
+ }
26687
+
26688
+ export class HttpApiRoutePoliciesFallback extends $tea.Model {
26689
+ destinations?: HttpApiRoutePoliciesFallbackDestinations[];
26690
+ enable?: boolean;
26691
+ static names(): { [key: string]: string } {
26692
+ return {
26693
+ destinations: 'Destinations',
26694
+ enable: 'Enable',
26695
+ };
26696
+ }
26697
+
26698
+ static types(): { [key: string]: any } {
26699
+ return {
26700
+ destinations: { 'type': 'array', 'itemType': HttpApiRoutePoliciesFallbackDestinations },
26701
+ enable: 'boolean',
26702
+ };
26703
+ }
26704
+
26705
+ constructor(map?: { [key: string]: any }) {
26706
+ super(map);
26707
+ }
26708
+ }
26709
+
26710
+ export class HttpApiRoutePoliciesRetry extends $tea.Model {
26711
+ attempts?: number;
26712
+ /**
26713
+ * @example
26714
+ * true/false
26715
+ */
26716
+ enable?: boolean;
26717
+ httpCodes?: string[];
26718
+ retryOn?: string[];
26719
+ static names(): { [key: string]: string } {
26720
+ return {
26721
+ attempts: 'Attempts',
26722
+ enable: 'Enable',
26723
+ httpCodes: 'HttpCodes',
26724
+ retryOn: 'RetryOn',
26725
+ };
26726
+ }
26727
+
26728
+ static types(): { [key: string]: any } {
26729
+ return {
26730
+ attempts: 'number',
26731
+ enable: 'boolean',
26732
+ httpCodes: { 'type': 'array', 'itemType': 'string' },
26733
+ retryOn: { 'type': 'array', 'itemType': 'string' },
26734
+ };
26735
+ }
26736
+
26737
+ constructor(map?: { [key: string]: any }) {
26738
+ super(map);
26739
+ }
26740
+ }
26741
+
26742
+ export class HttpApiRoutePoliciesTimeout extends $tea.Model {
26743
+ enable?: boolean;
26744
+ /**
26745
+ * @example
26746
+ * s
26747
+ */
26748
+ timeUnit?: string;
26749
+ unitNum?: number;
26750
+ static names(): { [key: string]: string } {
26751
+ return {
26752
+ enable: 'Enable',
26753
+ timeUnit: 'TimeUnit',
26754
+ unitNum: 'UnitNum',
26755
+ };
26756
+ }
26757
+
26758
+ static types(): { [key: string]: any } {
26759
+ return {
26760
+ enable: 'boolean',
26761
+ timeUnit: 'string',
26762
+ unitNum: 'number',
26763
+ };
26764
+ }
26765
+
26766
+ constructor(map?: { [key: string]: any }) {
26767
+ super(map);
26768
+ }
26769
+ }
26770
+
26771
+ export class HttpApiRoutePolicies extends $tea.Model {
26772
+ fallback?: HttpApiRoutePoliciesFallback;
26773
+ retry?: HttpApiRoutePoliciesRetry;
26774
+ timeout?: HttpApiRoutePoliciesTimeout;
26775
+ static names(): { [key: string]: string } {
26776
+ return {
26777
+ fallback: 'Fallback',
26778
+ retry: 'Retry',
26779
+ timeout: 'Timeout',
26780
+ };
26781
+ }
26782
+
26783
+ static types(): { [key: string]: any } {
26784
+ return {
26785
+ fallback: HttpApiRoutePoliciesFallback,
26786
+ retry: HttpApiRoutePoliciesRetry,
26787
+ timeout: HttpApiRoutePoliciesTimeout,
26788
+ };
26789
+ }
26790
+
26791
+ constructor(map?: { [key: string]: any }) {
26792
+ super(map);
26793
+ }
26794
+ }
26795
+
26796
+ export class HttpApiRoutePredicatesHeaderPredicates extends $tea.Model {
26797
+ name?: string;
26798
+ /**
26799
+ * @example
26800
+ * Prefix/Exact/Regex
26801
+ */
26802
+ type?: string;
26803
+ value?: string;
26804
+ static names(): { [key: string]: string } {
26805
+ return {
26806
+ name: 'Name',
26807
+ type: 'Type',
26808
+ value: 'Value',
26809
+ };
26810
+ }
26811
+
26812
+ static types(): { [key: string]: any } {
26813
+ return {
26814
+ name: 'string',
26815
+ type: 'string',
26816
+ value: 'string',
26817
+ };
26818
+ }
26819
+
26820
+ constructor(map?: { [key: string]: any }) {
26821
+ super(map);
26822
+ }
26823
+ }
26824
+
26825
+ export class HttpApiRoutePredicatesPathPredicates extends $tea.Model {
26826
+ ignoreCase?: boolean;
26827
+ path?: string;
26828
+ /**
26829
+ * @example
26830
+ * Prefix/Exact/Regex
26831
+ */
26832
+ type?: string;
26833
+ static names(): { [key: string]: string } {
26834
+ return {
26835
+ ignoreCase: 'IgnoreCase',
26836
+ path: 'Path',
26837
+ type: 'Type',
26838
+ };
26839
+ }
26840
+
26841
+ static types(): { [key: string]: any } {
26842
+ return {
26843
+ ignoreCase: 'boolean',
26844
+ path: 'string',
26845
+ type: 'string',
26846
+ };
26847
+ }
26848
+
26849
+ constructor(map?: { [key: string]: any }) {
26850
+ super(map);
26851
+ }
26852
+ }
26853
+
26854
+ export class HttpApiRoutePredicatesQueryPredicates extends $tea.Model {
26855
+ name?: string;
26856
+ /**
26857
+ * @example
26858
+ * Prefix/Exact/Regex
26859
+ */
26860
+ type?: string;
26861
+ value?: string;
26862
+ static names(): { [key: string]: string } {
26863
+ return {
26864
+ name: 'Name',
26865
+ type: 'Type',
26866
+ value: 'Value',
26867
+ };
26868
+ }
26869
+
26870
+ static types(): { [key: string]: any } {
26871
+ return {
26872
+ name: 'string',
26873
+ type: 'string',
26874
+ value: 'string',
26875
+ };
26876
+ }
26877
+
26878
+ constructor(map?: { [key: string]: any }) {
26879
+ super(map);
26880
+ }
26881
+ }
26882
+
26883
+ export class HttpApiRoutePredicates extends $tea.Model {
26884
+ headerPredicates?: HttpApiRoutePredicatesHeaderPredicates[];
26885
+ methodPredicates?: string[];
26886
+ pathPredicates?: HttpApiRoutePredicatesPathPredicates;
26887
+ queryPredicates?: HttpApiRoutePredicatesQueryPredicates[];
26888
+ static names(): { [key: string]: string } {
26889
+ return {
26890
+ headerPredicates: 'HeaderPredicates',
26891
+ methodPredicates: 'MethodPredicates',
26892
+ pathPredicates: 'PathPredicates',
26893
+ queryPredicates: 'QueryPredicates',
26894
+ };
26895
+ }
26896
+
26897
+ static types(): { [key: string]: any } {
26898
+ return {
26899
+ headerPredicates: { 'type': 'array', 'itemType': HttpApiRoutePredicatesHeaderPredicates },
26900
+ methodPredicates: { 'type': 'array', 'itemType': 'string' },
26901
+ pathPredicates: HttpApiRoutePredicatesPathPredicates,
26902
+ queryPredicates: { 'type': 'array', 'itemType': HttpApiRoutePredicatesQueryPredicates },
26903
+ };
26904
+ }
26905
+
26906
+ constructor(map?: { [key: string]: any }) {
26907
+ super(map);
26908
+ }
26909
+ }
26910
+
26911
+ export class HttpApiRouteServices extends $tea.Model {
26912
+ appId?: string;
26913
+ appName?: string;
26914
+ serviceId?: string;
26915
+ serviceName?: string;
26916
+ servicePort?: number;
26917
+ /**
26918
+ * @example
26919
+ * HTTP
26920
+ */
26921
+ serviceProtocol?: string;
26922
+ /**
26923
+ * @example
26924
+ * 90
26925
+ */
26926
+ serviceWeight?: number;
26927
+ static names(): { [key: string]: string } {
26928
+ return {
26929
+ appId: 'AppId',
26930
+ appName: 'AppName',
26931
+ serviceId: 'ServiceId',
26932
+ serviceName: 'ServiceName',
26933
+ servicePort: 'ServicePort',
26934
+ serviceProtocol: 'ServiceProtocol',
26935
+ serviceWeight: 'ServiceWeight',
26936
+ };
26937
+ }
26938
+
26939
+ static types(): { [key: string]: any } {
26940
+ return {
26941
+ appId: 'string',
26942
+ appName: 'string',
26943
+ serviceId: 'string',
26944
+ serviceName: 'string',
26945
+ servicePort: 'number',
26946
+ serviceProtocol: 'string',
26947
+ serviceWeight: 'number',
26948
+ };
26949
+ }
26950
+
26951
+ constructor(map?: { [key: string]: any }) {
26952
+ super(map);
26953
+ }
26954
+ }
26955
+
26344
26956
  export class PriceEstimateOutputAppsUsages extends $tea.Model {
26345
26957
  /**
26346
26958
  * @example
@@ -26515,6 +27127,114 @@ export class PriceEstimateOutputItems extends $tea.Model {
26515
27127
  }
26516
27128
  }
26517
27129
 
27130
+ export class PriceEstimateOutputPostPayItemsSteps extends $tea.Model {
27131
+ /**
27132
+ * @example
27133
+ * 0
27134
+ */
27135
+ begin?: number;
27136
+ /**
27137
+ * @example
27138
+ * 10000
27139
+ */
27140
+ end?: number;
27141
+ /**
27142
+ * @example
27143
+ * 0.0001
27144
+ */
27145
+ price?: number;
27146
+ regionIds?: string[];
27147
+ /**
27148
+ * @example
27149
+ * 核*秒
27150
+ */
27151
+ unit?: string;
27152
+ static names(): { [key: string]: string } {
27153
+ return {
27154
+ begin: 'Begin',
27155
+ end: 'End',
27156
+ price: 'Price',
27157
+ regionIds: 'RegionIds',
27158
+ unit: 'Unit',
27159
+ };
27160
+ }
27161
+
27162
+ static types(): { [key: string]: any } {
27163
+ return {
27164
+ begin: 'number',
27165
+ end: 'number',
27166
+ price: 'number',
27167
+ regionIds: { 'type': 'array', 'itemType': 'string' },
27168
+ unit: 'string',
27169
+ };
27170
+ }
27171
+
27172
+ constructor(map?: { [key: string]: any }) {
27173
+ super(map);
27174
+ }
27175
+ }
27176
+
27177
+ export class PriceEstimateOutputPostPayItems extends $tea.Model {
27178
+ /**
27179
+ * @example
27180
+ * 3600.00
27181
+ */
27182
+ amount?: number;
27183
+ /**
27184
+ * @example
27185
+ * 1
27186
+ */
27187
+ count?: number;
27188
+ /**
27189
+ * @example
27190
+ * p_micro_service_cpu
27191
+ */
27192
+ id?: string;
27193
+ /**
27194
+ * @example
27195
+ * 1.00
27196
+ */
27197
+ price?: number;
27198
+ steps?: PriceEstimateOutputPostPayItemsSteps[];
27199
+ /**
27200
+ * @example
27201
+ * pack/post
27202
+ */
27203
+ type?: string;
27204
+ /**
27205
+ * @example
27206
+ * 核*秒
27207
+ */
27208
+ unit?: string;
27209
+ static names(): { [key: string]: string } {
27210
+ return {
27211
+ amount: 'Amount',
27212
+ count: 'Count',
27213
+ id: 'Id',
27214
+ price: 'Price',
27215
+ steps: 'Steps',
27216
+ type: 'Type',
27217
+ unit: 'Unit',
27218
+ };
27219
+ }
27220
+
27221
+ static types(): { [key: string]: any } {
27222
+ return {
27223
+ amount: 'number',
27224
+ count: 'number',
27225
+ id: 'string',
27226
+ price: 'number',
27227
+ steps: { 'type': 'array', 'itemType': PriceEstimateOutputPostPayItemsSteps },
27228
+ type: 'string',
27229
+ unit: 'string',
27230
+ };
27231
+ }
27232
+
27233
+ constructor(map?: { [key: string]: any }) {
27234
+ super(map);
27235
+ }
27236
+ }
27237
+
26518
27238
  export class ProbeProbeHandlerHttpGetHttpHeaders extends $tea.Model {
26519
27239
  name?: string;
26520
27240
  value?: string;
@@ -27964,6 +28684,34 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $tea
27964
28684
  }
27965
28685
  }
27966
28686
 
28687
+ export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $tea.Model {
28688
+ key?: string;
28689
+ mountPath?: string;
28690
+ secretId?: number;
28691
+ secretName?: string;
28692
+ static names(): { [key: string]: string } {
28693
+ return {
28694
+ key: 'Key',
28695
+ mountPath: 'MountPath',
28696
+ secretId: 'SecretId',
28697
+ secretName: 'SecretName',
28698
+ };
28699
+ }
28700
+
28701
+ static types(): { [key: string]: any } {
28702
+ return {
28703
+ key: 'string',
28704
+ mountPath: 'string',
28705
+ secretId: 'number',
28706
+ secretName: 'string',
28707
+ };
28708
+ }
28709
+
28710
+ constructor(map?: { [key: string]: any }) {
28711
+ super(map);
28712
+ }
28713
+ }
28714
+
27967
28715
  export class DescribeApplicationConfigResponseBodyDataTags extends $tea.Model {
27968
28716
  /**
27969
28717
  * @remarks
@@ -28367,6 +29115,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28367
29115
  * AKSN89**
28368
29116
  */
28369
29117
  nasId?: string;
29118
+ oidcRoleName?: string;
28370
29119
  /**
28371
29120
  * @remarks
28372
29121
  * The AccessKey ID that is used to read data from and write data to Object Storage Service (OSS) buckets.
@@ -28529,6 +29278,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28529
29278
  * 2
28530
29279
  */
28531
29280
  replicas?: number;
29281
+ secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
28532
29282
  /**
28533
29283
  * @remarks
28534
29284
  * The ID of the security group.
@@ -28697,6 +29447,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28697
29447
  namespaceId: 'NamespaceId',
28698
29448
  nasConfigs: 'NasConfigs',
28699
29449
  nasId: 'NasId',
29450
+ oidcRoleName: 'OidcRoleName',
28700
29451
  ossAkId: 'OssAkId',
28701
29452
  ossAkSecret: 'OssAkSecret',
28702
29453
  ossMountDescs: 'OssMountDescs',
@@ -28716,6 +29467,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28716
29467
  readiness: 'Readiness',
28717
29468
  regionId: 'RegionId',
28718
29469
  replicas: 'Replicas',
29470
+ secretMountDesc: 'SecretMountDesc',
28719
29471
  securityGroupId: 'SecurityGroupId',
28720
29472
  serviceTags: 'ServiceTags',
28721
29473
  slsConfigs: 'SlsConfigs',
@@ -28773,6 +29525,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28773
29525
  namespaceId: 'string',
28774
29526
  nasConfigs: 'string',
28775
29527
  nasId: 'string',
29528
+ oidcRoleName: 'string',
28776
29529
  ossAkId: 'string',
28777
29530
  ossAkSecret: 'string',
28778
29531
  ossMountDescs: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataOssMountDescs },
@@ -28792,6 +29545,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
28792
29545
  readiness: 'string',
28793
29546
  regionId: 'string',
28794
29547
  replicas: 'number',
29548
+ secretMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataSecretMountDesc },
28795
29549
  securityGroupId: 'string',
28796
29550
  serviceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
28797
29551
  slsConfigs: 'string',
@@ -35741,6 +36495,29 @@ export class GetWarningEventMetricResponseBodyData extends $tea.Model {
35741
36495
  }
35742
36496
  }
35743
36497
 
36498
+ export class GetWebshellTokenResponseBodyData extends $tea.Model {
36499
+ /**
36500
+ * @example
36501
+ * zWWpvRj_5pzof4hfo7-hGynM8oGMmO_7
36502
+ */
36503
+ token?: string;
36504
+ static names(): { [key: string]: string } {
36505
+ return {
36506
+ token: 'Token',
36507
+ };
36508
+ }
36509
+
36510
+ static types(): { [key: string]: any } {
36511
+ return {
36512
+ token: 'string',
36513
+ };
36514
+ }
36515
+
36516
+ constructor(map?: { [key: string]: any }) {
36517
+ super(map);
36518
+ }
36519
+ }
36520
+
35744
36521
  export class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
35745
36522
  /**
35746
36523
  * @remarks
@@ -39989,6 +40766,10 @@ export default class Client extends OpenApi {
39989
40766
  query["NasId"] = request.nasId;
39990
40767
  }
39991
40768
 
40769
+ if (!Util.isUnset(request.oidcRoleName)) {
40770
+ query["OidcRoleName"] = request.oidcRoleName;
40771
+ }
40772
+
39992
40773
  if (!Util.isUnset(request.packageType)) {
39993
40774
  query["PackageType"] = request.packageType;
39994
40775
  }
@@ -40045,6 +40826,10 @@ export default class Client extends OpenApi {
40045
40826
  query["SaeVersion"] = request.saeVersion;
40046
40827
  }
40047
40828
 
40829
+ if (!Util.isUnset(request.secretMountDesc)) {
40830
+ query["SecretMountDesc"] = request.secretMountDesc;
40831
+ }
40832
+
40048
40833
  if (!Util.isUnset(request.securityGroupId)) {
40049
40834
  query["SecurityGroupId"] = request.securityGroupId;
40050
40835
  }
@@ -41645,6 +42430,10 @@ export default class Client extends OpenApi {
41645
42430
  query["NasId"] = request.nasId;
41646
42431
  }
41647
42432
 
42433
+ if (!Util.isUnset(request.oidcRoleName)) {
42434
+ query["OidcRoleName"] = request.oidcRoleName;
42435
+ }
42436
+
41648
42437
  if (!Util.isUnset(request.packageType)) {
41649
42438
  query["PackageType"] = request.packageType;
41650
42439
  }
@@ -41693,6 +42482,10 @@ export default class Client extends OpenApi {
41693
42482
  query["Replicas"] = request.replicas;
41694
42483
  }
41695
42484
 
42485
+ if (!Util.isUnset(request.secretMountDesc)) {
42486
+ query["SecretMountDesc"] = request.secretMountDesc;
42487
+ }
42488
+
41696
42489
  if (!Util.isUnset(request.securityGroupId)) {
41697
42490
  query["SecurityGroupId"] = request.securityGroupId;
41698
42491
  }
@@ -44006,6 +44799,51 @@ export default class Client extends OpenApi {
44006
44799
  return await this.getWarningEventMetricWithOptions(request, headers, runtime);
44007
44800
  }
44008
44801
 
44802
+ /**
44803
+ * @param request - GetWebshellTokenRequest
44804
+ * @param headers - map
44805
+ * @param runtime - runtime options for this request RuntimeOptions
44806
+ * @returns GetWebshellTokenResponse
44807
+ */
44808
+ async getWebshellTokenWithOptions(request: GetWebshellTokenRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetWebshellTokenResponse> {
44809
+ Util.validateModel(request);
44810
+ let query : {[key: string ]: any} = { };
44811
+ if (!Util.isUnset(request.appId)) {
44812
+ query["AppId"] = request.appId;
44813
+ }
44814
+
44815
+ if (!Util.isUnset(request.podName)) {
44816
+ query["PodName"] = request.podName;
44817
+ }
44818
+
44819
+ let req = new $OpenApi.OpenApiRequest({
44820
+ headers: headers,
44821
+ query: OpenApiUtil.query(query),
44822
+ });
44823
+ let params = new $OpenApi.Params({
44824
+ action: "GetWebshellToken",
44825
+ version: "2019-05-06",
44826
+ protocol: "HTTPS",
44827
+ pathname: `/pop/v1/sam/instance/webshellToken`,
44828
+ method: "GET",
44829
+ authType: "AK",
44830
+ style: "ROA",
44831
+ reqBodyType: "json",
44832
+ bodyType: "json",
44833
+ });
44834
+ return $tea.cast<GetWebshellTokenResponse>(await this.callApi(params, req, runtime), new GetWebshellTokenResponse({}));
44835
+ }
44836
+
44837
+ /**
44838
+ * @param request - GetWebshellTokenRequest
44839
+ * @returns GetWebshellTokenResponse
44840
+ */
44841
+ async getWebshellToken(request: GetWebshellTokenRequest): Promise<GetWebshellTokenResponse> {
44842
+ let runtime = new $Util.RuntimeOptions({ });
44843
+ let headers : {[key: string ]: string} = { };
44844
+ return await this.getWebshellTokenWithOptions(request, headers, runtime);
44845
+ }
44846
+
44009
44847
  /**
44010
44848
  * Queries the events that occurred in an application.
44011
44849
  *