@alicloud/sae20190506 1.25.5 → 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/dist/client.d.ts +480 -0
- package/dist/client.js +563 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +821 -0
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;
|
|
@@ -6551,6 +6709,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6551
6709
|
*/
|
|
6552
6710
|
replicas?: number;
|
|
6553
6711
|
saeVersion?: string;
|
|
6712
|
+
secretMountDesc?: string;
|
|
6554
6713
|
/**
|
|
6555
6714
|
* @remarks
|
|
6556
6715
|
* sg-wz969ngg2e49q5i4\\*\\*\\*\\*
|
|
@@ -6681,6 +6840,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6681
6840
|
readiness: 'Readiness',
|
|
6682
6841
|
replicas: 'Replicas',
|
|
6683
6842
|
saeVersion: 'SaeVersion',
|
|
6843
|
+
secretMountDesc: 'SecretMountDesc',
|
|
6684
6844
|
securityGroupId: 'SecurityGroupId',
|
|
6685
6845
|
serviceTags: 'ServiceTags',
|
|
6686
6846
|
slsConfigs: 'SlsConfigs',
|
|
@@ -6751,6 +6911,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6751
6911
|
readiness: 'string',
|
|
6752
6912
|
replicas: 'number',
|
|
6753
6913
|
saeVersion: 'string',
|
|
6914
|
+
secretMountDesc: 'string',
|
|
6754
6915
|
securityGroupId: 'string',
|
|
6755
6916
|
serviceTags: 'string',
|
|
6756
6917
|
slsConfigs: 'string',
|
|
@@ -10961,6 +11122,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
10961
11122
|
* 1
|
|
10962
11123
|
*/
|
|
10963
11124
|
replicas?: number;
|
|
11125
|
+
secretMountDesc?: string;
|
|
10964
11126
|
/**
|
|
10965
11127
|
* @example
|
|
10966
11128
|
* sg-wz969ngg2e49q5i4****
|
|
@@ -11130,6 +11292,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
11130
11292
|
pythonModules: 'PythonModules',
|
|
11131
11293
|
readiness: 'Readiness',
|
|
11132
11294
|
replicas: 'Replicas',
|
|
11295
|
+
secretMountDesc: 'SecretMountDesc',
|
|
11133
11296
|
securityGroupId: 'SecurityGroupId',
|
|
11134
11297
|
serviceTags: 'ServiceTags',
|
|
11135
11298
|
slsConfigs: 'SlsConfigs',
|
|
@@ -11199,6 +11362,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
11199
11362
|
pythonModules: 'string',
|
|
11200
11363
|
readiness: 'string',
|
|
11201
11364
|
replicas: 'number',
|
|
11365
|
+
secretMountDesc: 'string',
|
|
11202
11366
|
securityGroupId: 'string',
|
|
11203
11367
|
serviceTags: 'string',
|
|
11204
11368
|
slsConfigs: 'string',
|
|
@@ -17362,6 +17526,124 @@ export class GetWarningEventMetricResponse extends $tea.Model {
|
|
|
17362
17526
|
}
|
|
17363
17527
|
}
|
|
17364
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
|
+
|
|
17365
17647
|
export class ListAppEventsRequest extends $tea.Model {
|
|
17366
17648
|
/**
|
|
17367
17649
|
* @remarks
|
|
@@ -26347,6 +26629,330 @@ export class BuildPipelineRunTriggerConfig extends $tea.Model {
|
|
|
26347
26629
|
}
|
|
26348
26630
|
}
|
|
26349
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
|
+
|
|
26350
26956
|
export class PriceEstimateOutputAppsUsages extends $tea.Model {
|
|
26351
26957
|
/**
|
|
26352
26958
|
* @example
|
|
@@ -26521,6 +27127,114 @@ export class PriceEstimateOutputItems extends $tea.Model {
|
|
|
26521
27127
|
}
|
|
26522
27128
|
}
|
|
26523
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
|
+
|
|
26524
27238
|
export class ProbeProbeHandlerHttpGetHttpHeaders extends $tea.Model {
|
|
26525
27239
|
name?: string;
|
|
26526
27240
|
value?: string;
|
|
@@ -27970,6 +28684,34 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $tea
|
|
|
27970
28684
|
}
|
|
27971
28685
|
}
|
|
27972
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
|
+
|
|
27973
28715
|
export class DescribeApplicationConfigResponseBodyDataTags extends $tea.Model {
|
|
27974
28716
|
/**
|
|
27975
28717
|
* @remarks
|
|
@@ -28536,6 +29278,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
28536
29278
|
* 2
|
|
28537
29279
|
*/
|
|
28538
29280
|
replicas?: number;
|
|
29281
|
+
secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
|
|
28539
29282
|
/**
|
|
28540
29283
|
* @remarks
|
|
28541
29284
|
* The ID of the security group.
|
|
@@ -28724,6 +29467,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
28724
29467
|
readiness: 'Readiness',
|
|
28725
29468
|
regionId: 'RegionId',
|
|
28726
29469
|
replicas: 'Replicas',
|
|
29470
|
+
secretMountDesc: 'SecretMountDesc',
|
|
28727
29471
|
securityGroupId: 'SecurityGroupId',
|
|
28728
29472
|
serviceTags: 'ServiceTags',
|
|
28729
29473
|
slsConfigs: 'SlsConfigs',
|
|
@@ -28801,6 +29545,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
28801
29545
|
readiness: 'string',
|
|
28802
29546
|
regionId: 'string',
|
|
28803
29547
|
replicas: 'number',
|
|
29548
|
+
secretMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataSecretMountDesc },
|
|
28804
29549
|
securityGroupId: 'string',
|
|
28805
29550
|
serviceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28806
29551
|
slsConfigs: 'string',
|
|
@@ -35750,6 +36495,29 @@ export class GetWarningEventMetricResponseBodyData extends $tea.Model {
|
|
|
35750
36495
|
}
|
|
35751
36496
|
}
|
|
35752
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
|
+
|
|
35753
36521
|
export class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
35754
36522
|
/**
|
|
35755
36523
|
* @remarks
|
|
@@ -40058,6 +40826,10 @@ export default class Client extends OpenApi {
|
|
|
40058
40826
|
query["SaeVersion"] = request.saeVersion;
|
|
40059
40827
|
}
|
|
40060
40828
|
|
|
40829
|
+
if (!Util.isUnset(request.secretMountDesc)) {
|
|
40830
|
+
query["SecretMountDesc"] = request.secretMountDesc;
|
|
40831
|
+
}
|
|
40832
|
+
|
|
40061
40833
|
if (!Util.isUnset(request.securityGroupId)) {
|
|
40062
40834
|
query["SecurityGroupId"] = request.securityGroupId;
|
|
40063
40835
|
}
|
|
@@ -41710,6 +42482,10 @@ export default class Client extends OpenApi {
|
|
|
41710
42482
|
query["Replicas"] = request.replicas;
|
|
41711
42483
|
}
|
|
41712
42484
|
|
|
42485
|
+
if (!Util.isUnset(request.secretMountDesc)) {
|
|
42486
|
+
query["SecretMountDesc"] = request.secretMountDesc;
|
|
42487
|
+
}
|
|
42488
|
+
|
|
41713
42489
|
if (!Util.isUnset(request.securityGroupId)) {
|
|
41714
42490
|
query["SecurityGroupId"] = request.securityGroupId;
|
|
41715
42491
|
}
|
|
@@ -44023,6 +44799,51 @@ export default class Client extends OpenApi {
|
|
|
44023
44799
|
return await this.getWarningEventMetricWithOptions(request, headers, runtime);
|
|
44024
44800
|
}
|
|
44025
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
|
+
|
|
44026
44847
|
/**
|
|
44027
44848
|
* Queries the events that occurred in an application.
|
|
44028
44849
|
*
|