@alicloud/sae20190506 1.0.0 → 1.18.16
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 +887 -104
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1059 -68
package/src/client.ts
CHANGED
|
@@ -499,6 +499,7 @@ export class ConfirmPipelineBatchResponse extends $tea.Model {
|
|
|
499
499
|
|
|
500
500
|
export class CreateApplicationRequest extends $tea.Model {
|
|
501
501
|
acrAssumeRoleArn?: string;
|
|
502
|
+
acrInstanceId?: string;
|
|
502
503
|
appDescription?: string;
|
|
503
504
|
appName?: string;
|
|
504
505
|
associateEip?: boolean;
|
|
@@ -546,6 +547,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
546
547
|
static names(): { [key: string]: string } {
|
|
547
548
|
return {
|
|
548
549
|
acrAssumeRoleArn: 'AcrAssumeRoleArn',
|
|
550
|
+
acrInstanceId: 'AcrInstanceId',
|
|
549
551
|
appDescription: 'AppDescription',
|
|
550
552
|
appName: 'AppName',
|
|
551
553
|
associateEip: 'AssociateEip',
|
|
@@ -596,6 +598,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
596
598
|
static types(): { [key: string]: any } {
|
|
597
599
|
return {
|
|
598
600
|
acrAssumeRoleArn: 'string',
|
|
601
|
+
acrInstanceId: 'string',
|
|
599
602
|
appDescription: 'string',
|
|
600
603
|
appName: 'string',
|
|
601
604
|
associateEip: 'boolean',
|
|
@@ -709,14 +712,20 @@ export class CreateApplicationResponse extends $tea.Model {
|
|
|
709
712
|
|
|
710
713
|
export class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
711
714
|
appId?: string;
|
|
715
|
+
minReadyInstanceRatio?: number;
|
|
716
|
+
minReadyInstances?: number;
|
|
712
717
|
scalingRuleEnable?: boolean;
|
|
718
|
+
scalingRuleMetric?: string;
|
|
713
719
|
scalingRuleName?: string;
|
|
714
720
|
scalingRuleTimer?: string;
|
|
715
721
|
scalingRuleType?: string;
|
|
716
722
|
static names(): { [key: string]: string } {
|
|
717
723
|
return {
|
|
718
724
|
appId: 'AppId',
|
|
725
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
726
|
+
minReadyInstances: 'MinReadyInstances',
|
|
719
727
|
scalingRuleEnable: 'ScalingRuleEnable',
|
|
728
|
+
scalingRuleMetric: 'ScalingRuleMetric',
|
|
720
729
|
scalingRuleName: 'ScalingRuleName',
|
|
721
730
|
scalingRuleTimer: 'ScalingRuleTimer',
|
|
722
731
|
scalingRuleType: 'ScalingRuleType',
|
|
@@ -726,7 +735,10 @@ export class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
726
735
|
static types(): { [key: string]: any } {
|
|
727
736
|
return {
|
|
728
737
|
appId: 'string',
|
|
738
|
+
minReadyInstanceRatio: 'number',
|
|
739
|
+
minReadyInstances: 'number',
|
|
729
740
|
scalingRuleEnable: 'boolean',
|
|
741
|
+
scalingRuleMetric: 'string',
|
|
730
742
|
scalingRuleName: 'string',
|
|
731
743
|
scalingRuleTimer: 'string',
|
|
732
744
|
scalingRuleType: 'string',
|
|
@@ -1616,6 +1628,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1616
1628
|
jarStartOptions?: string;
|
|
1617
1629
|
jdk?: string;
|
|
1618
1630
|
liveness?: string;
|
|
1631
|
+
minReadyInstanceRatio?: number;
|
|
1619
1632
|
minReadyInstances?: number;
|
|
1620
1633
|
mountDesc?: string;
|
|
1621
1634
|
mountHost?: string;
|
|
@@ -1660,6 +1673,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1660
1673
|
jarStartOptions: 'JarStartOptions',
|
|
1661
1674
|
jdk: 'Jdk',
|
|
1662
1675
|
liveness: 'Liveness',
|
|
1676
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
1663
1677
|
minReadyInstances: 'MinReadyInstances',
|
|
1664
1678
|
mountDesc: 'MountDesc',
|
|
1665
1679
|
mountHost: 'MountHost',
|
|
@@ -1707,6 +1721,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1707
1721
|
jarStartOptions: 'string',
|
|
1708
1722
|
jdk: 'string',
|
|
1709
1723
|
liveness: 'string',
|
|
1724
|
+
minReadyInstanceRatio: 'number',
|
|
1710
1725
|
minReadyInstances: 'number',
|
|
1711
1726
|
mountDesc: 'string',
|
|
1712
1727
|
mountHost: 'string',
|
|
@@ -2222,6 +2237,75 @@ export class DescribeApplicationInstancesResponse extends $tea.Model {
|
|
|
2222
2237
|
}
|
|
2223
2238
|
}
|
|
2224
2239
|
|
|
2240
|
+
export class DescribeApplicationScalingRuleRequest extends $tea.Model {
|
|
2241
|
+
appId?: string;
|
|
2242
|
+
scalingRuleName?: string;
|
|
2243
|
+
static names(): { [key: string]: string } {
|
|
2244
|
+
return {
|
|
2245
|
+
appId: 'AppId',
|
|
2246
|
+
scalingRuleName: 'ScalingRuleName',
|
|
2247
|
+
};
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
static types(): { [key: string]: any } {
|
|
2251
|
+
return {
|
|
2252
|
+
appId: 'string',
|
|
2253
|
+
scalingRuleName: 'string',
|
|
2254
|
+
};
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
constructor(map?: { [key: string]: any }) {
|
|
2258
|
+
super(map);
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
export class DescribeApplicationScalingRuleResponseBody extends $tea.Model {
|
|
2263
|
+
data?: DescribeApplicationScalingRuleResponseBodyData;
|
|
2264
|
+
requestId?: string;
|
|
2265
|
+
traceId?: string;
|
|
2266
|
+
static names(): { [key: string]: string } {
|
|
2267
|
+
return {
|
|
2268
|
+
data: 'Data',
|
|
2269
|
+
requestId: 'RequestId',
|
|
2270
|
+
traceId: 'TraceId',
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
static types(): { [key: string]: any } {
|
|
2275
|
+
return {
|
|
2276
|
+
data: DescribeApplicationScalingRuleResponseBodyData,
|
|
2277
|
+
requestId: 'string',
|
|
2278
|
+
traceId: 'string',
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
constructor(map?: { [key: string]: any }) {
|
|
2283
|
+
super(map);
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
export class DescribeApplicationScalingRuleResponse extends $tea.Model {
|
|
2288
|
+
headers: { [key: string]: string };
|
|
2289
|
+
body: DescribeApplicationScalingRuleResponseBody;
|
|
2290
|
+
static names(): { [key: string]: string } {
|
|
2291
|
+
return {
|
|
2292
|
+
headers: 'headers',
|
|
2293
|
+
body: 'body',
|
|
2294
|
+
};
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
static types(): { [key: string]: any } {
|
|
2298
|
+
return {
|
|
2299
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2300
|
+
body: DescribeApplicationScalingRuleResponseBody,
|
|
2301
|
+
};
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
constructor(map?: { [key: string]: any }) {
|
|
2305
|
+
super(map);
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2225
2309
|
export class DescribeApplicationScalingRulesRequest extends $tea.Model {
|
|
2226
2310
|
appId?: string;
|
|
2227
2311
|
static names(): { [key: string]: string } {
|
|
@@ -2681,6 +2765,87 @@ export class DescribeConfigMapResponse extends $tea.Model {
|
|
|
2681
2765
|
}
|
|
2682
2766
|
}
|
|
2683
2767
|
|
|
2768
|
+
export class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
2769
|
+
cpu?: number;
|
|
2770
|
+
memory?: number;
|
|
2771
|
+
static names(): { [key: string]: string } {
|
|
2772
|
+
return {
|
|
2773
|
+
cpu: 'Cpu',
|
|
2774
|
+
memory: 'Memory',
|
|
2775
|
+
};
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
static types(): { [key: string]: any } {
|
|
2779
|
+
return {
|
|
2780
|
+
cpu: 'number',
|
|
2781
|
+
memory: 'number',
|
|
2782
|
+
};
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
constructor(map?: { [key: string]: any }) {
|
|
2786
|
+
super(map);
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
export class DescribeConfigurationPriceResponseBody extends $tea.Model {
|
|
2791
|
+
code?: string;
|
|
2792
|
+
data?: DescribeConfigurationPriceResponseBodyData;
|
|
2793
|
+
errorCode?: string;
|
|
2794
|
+
message?: string;
|
|
2795
|
+
requestId?: string;
|
|
2796
|
+
success?: boolean;
|
|
2797
|
+
traceId?: string;
|
|
2798
|
+
static names(): { [key: string]: string } {
|
|
2799
|
+
return {
|
|
2800
|
+
code: 'Code',
|
|
2801
|
+
data: 'Data',
|
|
2802
|
+
errorCode: 'ErrorCode',
|
|
2803
|
+
message: 'Message',
|
|
2804
|
+
requestId: 'RequestId',
|
|
2805
|
+
success: 'Success',
|
|
2806
|
+
traceId: 'TraceId',
|
|
2807
|
+
};
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
static types(): { [key: string]: any } {
|
|
2811
|
+
return {
|
|
2812
|
+
code: 'string',
|
|
2813
|
+
data: DescribeConfigurationPriceResponseBodyData,
|
|
2814
|
+
errorCode: 'string',
|
|
2815
|
+
message: 'string',
|
|
2816
|
+
requestId: 'string',
|
|
2817
|
+
success: 'boolean',
|
|
2818
|
+
traceId: 'string',
|
|
2819
|
+
};
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
constructor(map?: { [key: string]: any }) {
|
|
2823
|
+
super(map);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
export class DescribeConfigurationPriceResponse extends $tea.Model {
|
|
2828
|
+
headers: { [key: string]: string };
|
|
2829
|
+
body: DescribeConfigurationPriceResponseBody;
|
|
2830
|
+
static names(): { [key: string]: string } {
|
|
2831
|
+
return {
|
|
2832
|
+
headers: 'headers',
|
|
2833
|
+
body: 'body',
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
static types(): { [key: string]: any } {
|
|
2838
|
+
return {
|
|
2839
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2840
|
+
body: DescribeConfigurationPriceResponseBody,
|
|
2841
|
+
};
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
constructor(map?: { [key: string]: any }) {
|
|
2845
|
+
super(map);
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2684
2849
|
export class DescribeEdasContainersResponseBody extends $tea.Model {
|
|
2685
2850
|
code?: string;
|
|
2686
2851
|
data?: DescribeEdasContainersResponseBodyData[];
|
|
@@ -5020,12 +5185,14 @@ export class ReduceApplicationCapacityByInstanceIdsResponse extends $tea.Model {
|
|
|
5020
5185
|
export class RescaleApplicationRequest extends $tea.Model {
|
|
5021
5186
|
appId?: string;
|
|
5022
5187
|
autoEnableApplicationScalingRule?: boolean;
|
|
5188
|
+
minReadyInstanceRatio?: number;
|
|
5023
5189
|
minReadyInstances?: number;
|
|
5024
5190
|
replicas?: number;
|
|
5025
5191
|
static names(): { [key: string]: string } {
|
|
5026
5192
|
return {
|
|
5027
5193
|
appId: 'AppId',
|
|
5028
5194
|
autoEnableApplicationScalingRule: 'AutoEnableApplicationScalingRule',
|
|
5195
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
5029
5196
|
minReadyInstances: 'MinReadyInstances',
|
|
5030
5197
|
replicas: 'Replicas',
|
|
5031
5198
|
};
|
|
@@ -5035,6 +5202,7 @@ export class RescaleApplicationRequest extends $tea.Model {
|
|
|
5035
5202
|
return {
|
|
5036
5203
|
appId: 'string',
|
|
5037
5204
|
autoEnableApplicationScalingRule: 'boolean',
|
|
5205
|
+
minReadyInstanceRatio: 'number',
|
|
5038
5206
|
minReadyInstances: 'number',
|
|
5039
5207
|
replicas: 'number',
|
|
5040
5208
|
};
|
|
@@ -5187,10 +5355,12 @@ export class RescaleApplicationVerticallyResponse extends $tea.Model {
|
|
|
5187
5355
|
|
|
5188
5356
|
export class RestartApplicationRequest extends $tea.Model {
|
|
5189
5357
|
appId?: string;
|
|
5358
|
+
minReadyInstanceRatio?: number;
|
|
5190
5359
|
minReadyInstances?: number;
|
|
5191
5360
|
static names(): { [key: string]: string } {
|
|
5192
5361
|
return {
|
|
5193
5362
|
appId: 'AppId',
|
|
5363
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
5194
5364
|
minReadyInstances: 'MinReadyInstances',
|
|
5195
5365
|
};
|
|
5196
5366
|
}
|
|
@@ -5198,6 +5368,7 @@ export class RestartApplicationRequest extends $tea.Model {
|
|
|
5198
5368
|
static types(): { [key: string]: any } {
|
|
5199
5369
|
return {
|
|
5200
5370
|
appId: 'string',
|
|
5371
|
+
minReadyInstanceRatio: 'number',
|
|
5201
5372
|
minReadyInstances: 'number',
|
|
5202
5373
|
};
|
|
5203
5374
|
}
|
|
@@ -5351,6 +5522,7 @@ export class RollbackApplicationRequest extends $tea.Model {
|
|
|
5351
5522
|
appId?: string;
|
|
5352
5523
|
autoEnableApplicationScalingRule?: string;
|
|
5353
5524
|
batchWaitTime?: number;
|
|
5525
|
+
minReadyInstanceRatio?: number;
|
|
5354
5526
|
minReadyInstances?: number;
|
|
5355
5527
|
updateStrategy?: string;
|
|
5356
5528
|
versionId?: string;
|
|
@@ -5359,6 +5531,7 @@ export class RollbackApplicationRequest extends $tea.Model {
|
|
|
5359
5531
|
appId: 'AppId',
|
|
5360
5532
|
autoEnableApplicationScalingRule: 'AutoEnableApplicationScalingRule',
|
|
5361
5533
|
batchWaitTime: 'BatchWaitTime',
|
|
5534
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
5362
5535
|
minReadyInstances: 'MinReadyInstances',
|
|
5363
5536
|
updateStrategy: 'UpdateStrategy',
|
|
5364
5537
|
versionId: 'VersionId',
|
|
@@ -5370,6 +5543,7 @@ export class RollbackApplicationRequest extends $tea.Model {
|
|
|
5370
5543
|
appId: 'string',
|
|
5371
5544
|
autoEnableApplicationScalingRule: 'string',
|
|
5372
5545
|
batchWaitTime: 'number',
|
|
5546
|
+
minReadyInstanceRatio: 'number',
|
|
5373
5547
|
minReadyInstances: 'number',
|
|
5374
5548
|
updateStrategy: 'string',
|
|
5375
5549
|
versionId: 'string',
|
|
@@ -5937,11 +6111,17 @@ export class UpdateAppSecurityGroupResponse extends $tea.Model {
|
|
|
5937
6111
|
|
|
5938
6112
|
export class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
5939
6113
|
appId?: string;
|
|
6114
|
+
minReadyInstanceRatio?: number;
|
|
6115
|
+
minReadyInstances?: number;
|
|
6116
|
+
scalingRuleMetric?: string;
|
|
5940
6117
|
scalingRuleName?: string;
|
|
5941
6118
|
scalingRuleTimer?: string;
|
|
5942
6119
|
static names(): { [key: string]: string } {
|
|
5943
6120
|
return {
|
|
5944
6121
|
appId: 'AppId',
|
|
6122
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
6123
|
+
minReadyInstances: 'MinReadyInstances',
|
|
6124
|
+
scalingRuleMetric: 'ScalingRuleMetric',
|
|
5945
6125
|
scalingRuleName: 'ScalingRuleName',
|
|
5946
6126
|
scalingRuleTimer: 'ScalingRuleTimer',
|
|
5947
6127
|
};
|
|
@@ -5950,6 +6130,9 @@ export class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
5950
6130
|
static types(): { [key: string]: any } {
|
|
5951
6131
|
return {
|
|
5952
6132
|
appId: 'string',
|
|
6133
|
+
minReadyInstanceRatio: 'number',
|
|
6134
|
+
minReadyInstances: 'number',
|
|
6135
|
+
scalingRuleMetric: 'string',
|
|
5953
6136
|
scalingRuleName: 'string',
|
|
5954
6137
|
scalingRuleTimer: 'string',
|
|
5955
6138
|
};
|
|
@@ -6656,6 +6839,53 @@ export class CreateApplicationResponseBodyData extends $tea.Model {
|
|
|
6656
6839
|
}
|
|
6657
6840
|
}
|
|
6658
6841
|
|
|
6842
|
+
export class CreateApplicationScalingRuleResponseBodyDataMetricMetrics extends $tea.Model {
|
|
6843
|
+
metricTargetAverageUtilization?: number;
|
|
6844
|
+
metricType?: string;
|
|
6845
|
+
static names(): { [key: string]: string } {
|
|
6846
|
+
return {
|
|
6847
|
+
metricTargetAverageUtilization: 'MetricTargetAverageUtilization',
|
|
6848
|
+
metricType: 'MetricType',
|
|
6849
|
+
};
|
|
6850
|
+
}
|
|
6851
|
+
|
|
6852
|
+
static types(): { [key: string]: any } {
|
|
6853
|
+
return {
|
|
6854
|
+
metricTargetAverageUtilization: 'number',
|
|
6855
|
+
metricType: 'string',
|
|
6856
|
+
};
|
|
6857
|
+
}
|
|
6858
|
+
|
|
6859
|
+
constructor(map?: { [key: string]: any }) {
|
|
6860
|
+
super(map);
|
|
6861
|
+
}
|
|
6862
|
+
}
|
|
6863
|
+
|
|
6864
|
+
export class CreateApplicationScalingRuleResponseBodyDataMetric extends $tea.Model {
|
|
6865
|
+
maxReplicas?: number;
|
|
6866
|
+
metrics?: CreateApplicationScalingRuleResponseBodyDataMetricMetrics[];
|
|
6867
|
+
minReplicas?: number;
|
|
6868
|
+
static names(): { [key: string]: string } {
|
|
6869
|
+
return {
|
|
6870
|
+
maxReplicas: 'MaxReplicas',
|
|
6871
|
+
metrics: 'Metrics',
|
|
6872
|
+
minReplicas: 'MinReplicas',
|
|
6873
|
+
};
|
|
6874
|
+
}
|
|
6875
|
+
|
|
6876
|
+
static types(): { [key: string]: any } {
|
|
6877
|
+
return {
|
|
6878
|
+
maxReplicas: 'number',
|
|
6879
|
+
metrics: { 'type': 'array', 'itemType': CreateApplicationScalingRuleResponseBodyDataMetricMetrics },
|
|
6880
|
+
minReplicas: 'number',
|
|
6881
|
+
};
|
|
6882
|
+
}
|
|
6883
|
+
|
|
6884
|
+
constructor(map?: { [key: string]: any }) {
|
|
6885
|
+
super(map);
|
|
6886
|
+
}
|
|
6887
|
+
}
|
|
6888
|
+
|
|
6659
6889
|
export class CreateApplicationScalingRuleResponseBodyDataTimerSchedules extends $tea.Model {
|
|
6660
6890
|
atTime?: string;
|
|
6661
6891
|
targetReplicas?: number;
|
|
@@ -6709,6 +6939,8 @@ export class CreateApplicationScalingRuleResponseBodyDataTimer extends $tea.Mode
|
|
|
6709
6939
|
export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
6710
6940
|
appId?: string;
|
|
6711
6941
|
createTime?: number;
|
|
6942
|
+
lastDisableTime?: number;
|
|
6943
|
+
metric?: CreateApplicationScalingRuleResponseBodyDataMetric;
|
|
6712
6944
|
scaleRuleEnabled?: boolean;
|
|
6713
6945
|
scaleRuleName?: string;
|
|
6714
6946
|
scaleRuleType?: string;
|
|
@@ -6718,6 +6950,8 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
6718
6950
|
return {
|
|
6719
6951
|
appId: 'AppId',
|
|
6720
6952
|
createTime: 'CreateTime',
|
|
6953
|
+
lastDisableTime: 'LastDisableTime',
|
|
6954
|
+
metric: 'Metric',
|
|
6721
6955
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
6722
6956
|
scaleRuleName: 'ScaleRuleName',
|
|
6723
6957
|
scaleRuleType: 'ScaleRuleType',
|
|
@@ -6730,6 +6964,8 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
6730
6964
|
return {
|
|
6731
6965
|
appId: 'string',
|
|
6732
6966
|
createTime: 'number',
|
|
6967
|
+
lastDisableTime: 'number',
|
|
6968
|
+
metric: CreateApplicationScalingRuleResponseBodyDataMetric,
|
|
6733
6969
|
scaleRuleEnabled: 'boolean',
|
|
6734
6970
|
scaleRuleName: 'string',
|
|
6735
6971
|
scaleRuleType: 'string',
|
|
@@ -7165,6 +7401,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7165
7401
|
jdk?: string;
|
|
7166
7402
|
liveness?: string;
|
|
7167
7403
|
memory?: number;
|
|
7404
|
+
minReadyInstanceRatio?: number;
|
|
7168
7405
|
minReadyInstances?: number;
|
|
7169
7406
|
mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
|
|
7170
7407
|
mountHost?: string;
|
|
@@ -7219,6 +7456,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7219
7456
|
jdk: 'Jdk',
|
|
7220
7457
|
liveness: 'Liveness',
|
|
7221
7458
|
memory: 'Memory',
|
|
7459
|
+
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
7222
7460
|
minReadyInstances: 'MinReadyInstances',
|
|
7223
7461
|
mountDesc: 'MountDesc',
|
|
7224
7462
|
mountHost: 'MountHost',
|
|
@@ -7276,6 +7514,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7276
7514
|
jdk: 'string',
|
|
7277
7515
|
liveness: 'string',
|
|
7278
7516
|
memory: 'number',
|
|
7517
|
+
minReadyInstanceRatio: 'number',
|
|
7279
7518
|
minReadyInstances: 'number',
|
|
7280
7519
|
mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
|
|
7281
7520
|
mountHost: 'string',
|
|
@@ -7484,26 +7723,20 @@ export class DescribeApplicationInstancesResponseBodyData extends $tea.Model {
|
|
|
7484
7723
|
}
|
|
7485
7724
|
}
|
|
7486
7725
|
|
|
7487
|
-
export class
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
minReplicas?: number;
|
|
7491
|
-
targetReplicas?: number;
|
|
7726
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricMetrics extends $tea.Model {
|
|
7727
|
+
metricTargetAverageUtilization?: number;
|
|
7728
|
+
metricType?: string;
|
|
7492
7729
|
static names(): { [key: string]: string } {
|
|
7493
7730
|
return {
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
minReplicas: 'MinReplicas',
|
|
7497
|
-
targetReplicas: 'TargetReplicas',
|
|
7731
|
+
metricTargetAverageUtilization: 'MetricTargetAverageUtilization',
|
|
7732
|
+
metricType: 'MetricType',
|
|
7498
7733
|
};
|
|
7499
7734
|
}
|
|
7500
7735
|
|
|
7501
7736
|
static types(): { [key: string]: any } {
|
|
7502
7737
|
return {
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
minReplicas: 'number',
|
|
7506
|
-
targetReplicas: 'number',
|
|
7738
|
+
metricTargetAverageUtilization: 'number',
|
|
7739
|
+
metricType: 'string',
|
|
7507
7740
|
};
|
|
7508
7741
|
}
|
|
7509
7742
|
|
|
@@ -7512,26 +7745,23 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
7512
7745
|
}
|
|
7513
7746
|
}
|
|
7514
7747
|
|
|
7515
|
-
export class
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
schedules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules[];
|
|
7748
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics extends $tea.Model {
|
|
7749
|
+
currentValue?: number;
|
|
7750
|
+
name?: string;
|
|
7751
|
+
type?: string;
|
|
7520
7752
|
static names(): { [key: string]: string } {
|
|
7521
7753
|
return {
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
schedules: 'Schedules',
|
|
7754
|
+
currentValue: 'CurrentValue',
|
|
7755
|
+
name: 'Name',
|
|
7756
|
+
type: 'Type',
|
|
7526
7757
|
};
|
|
7527
7758
|
}
|
|
7528
7759
|
|
|
7529
7760
|
static types(): { [key: string]: any } {
|
|
7530
7761
|
return {
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
schedules: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules },
|
|
7762
|
+
currentValue: 'number',
|
|
7763
|
+
name: 'string',
|
|
7764
|
+
type: 'string',
|
|
7535
7765
|
};
|
|
7536
7766
|
}
|
|
7537
7767
|
|
|
@@ -7540,35 +7770,23 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
7540
7770
|
}
|
|
7541
7771
|
}
|
|
7542
7772
|
|
|
7543
|
-
export class
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
scaleRuleName?: string;
|
|
7548
|
-
scaleRuleType?: string;
|
|
7549
|
-
timer?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer;
|
|
7550
|
-
updateTime?: number;
|
|
7773
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusNextScaleMetrics extends $tea.Model {
|
|
7774
|
+
name?: string;
|
|
7775
|
+
nextScaleInAverageUtilization?: number;
|
|
7776
|
+
nextScaleOutAverageUtilization?: number;
|
|
7551
7777
|
static names(): { [key: string]: string } {
|
|
7552
7778
|
return {
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
scaleRuleName: 'ScaleRuleName',
|
|
7557
|
-
scaleRuleType: 'ScaleRuleType',
|
|
7558
|
-
timer: 'Timer',
|
|
7559
|
-
updateTime: 'UpdateTime',
|
|
7779
|
+
name: 'Name',
|
|
7780
|
+
nextScaleInAverageUtilization: 'NextScaleInAverageUtilization',
|
|
7781
|
+
nextScaleOutAverageUtilization: 'NextScaleOutAverageUtilization',
|
|
7560
7782
|
};
|
|
7561
7783
|
}
|
|
7562
7784
|
|
|
7563
7785
|
static types(): { [key: string]: any } {
|
|
7564
7786
|
return {
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
scaleRuleName: 'string',
|
|
7569
|
-
scaleRuleType: 'string',
|
|
7570
|
-
timer: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer,
|
|
7571
|
-
updateTime: 'number',
|
|
7787
|
+
name: 'string',
|
|
7788
|
+
nextScaleInAverageUtilization: 'number',
|
|
7789
|
+
nextScaleOutAverageUtilization: 'number',
|
|
7572
7790
|
};
|
|
7573
7791
|
}
|
|
7574
7792
|
|
|
@@ -7577,26 +7795,32 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
7577
7795
|
}
|
|
7578
7796
|
}
|
|
7579
7797
|
|
|
7580
|
-
export class
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7798
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatus extends $tea.Model {
|
|
7799
|
+
currentMetrics?: DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics[];
|
|
7800
|
+
currentReplicas?: number;
|
|
7801
|
+
desiredReplicas?: number;
|
|
7802
|
+
lastScaleTime?: string;
|
|
7803
|
+
nextScaleMetrics?: DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusNextScaleMetrics[];
|
|
7804
|
+
nextScaleTimePeriod?: number;
|
|
7585
7805
|
static names(): { [key: string]: string } {
|
|
7586
7806
|
return {
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7807
|
+
currentMetrics: 'CurrentMetrics',
|
|
7808
|
+
currentReplicas: 'CurrentReplicas',
|
|
7809
|
+
desiredReplicas: 'DesiredReplicas',
|
|
7810
|
+
lastScaleTime: 'LastScaleTime',
|
|
7811
|
+
nextScaleMetrics: 'NextScaleMetrics',
|
|
7812
|
+
nextScaleTimePeriod: 'NextScaleTimePeriod',
|
|
7591
7813
|
};
|
|
7592
7814
|
}
|
|
7593
7815
|
|
|
7594
7816
|
static types(): { [key: string]: any } {
|
|
7595
7817
|
return {
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7818
|
+
currentMetrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics },
|
|
7819
|
+
currentReplicas: 'number',
|
|
7820
|
+
desiredReplicas: 'number',
|
|
7821
|
+
lastScaleTime: 'string',
|
|
7822
|
+
nextScaleMetrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusNextScaleMetrics },
|
|
7823
|
+
nextScaleTimePeriod: 'number',
|
|
7600
7824
|
};
|
|
7601
7825
|
}
|
|
7602
7826
|
|
|
@@ -7605,11 +7829,511 @@ export class DescribeApplicationScalingRulesResponseBodyData extends $tea.Model
|
|
|
7605
7829
|
}
|
|
7606
7830
|
}
|
|
7607
7831
|
|
|
7608
|
-
export class
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7832
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricScaleDownRules extends $tea.Model {
|
|
7833
|
+
disabled?: boolean;
|
|
7834
|
+
stabilizationWindowSeconds?: number;
|
|
7835
|
+
step?: number;
|
|
7836
|
+
static names(): { [key: string]: string } {
|
|
7837
|
+
return {
|
|
7838
|
+
disabled: 'Disabled',
|
|
7839
|
+
stabilizationWindowSeconds: 'StabilizationWindowSeconds',
|
|
7840
|
+
step: 'Step',
|
|
7841
|
+
};
|
|
7842
|
+
}
|
|
7843
|
+
|
|
7844
|
+
static types(): { [key: string]: any } {
|
|
7845
|
+
return {
|
|
7846
|
+
disabled: 'boolean',
|
|
7847
|
+
stabilizationWindowSeconds: 'number',
|
|
7848
|
+
step: 'number',
|
|
7849
|
+
};
|
|
7850
|
+
}
|
|
7851
|
+
|
|
7852
|
+
constructor(map?: { [key: string]: any }) {
|
|
7853
|
+
super(map);
|
|
7854
|
+
}
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetricScaleUpRules extends $tea.Model {
|
|
7858
|
+
disabled?: boolean;
|
|
7859
|
+
stabilizationWindowSeconds?: number;
|
|
7860
|
+
step?: number;
|
|
7861
|
+
static names(): { [key: string]: string } {
|
|
7862
|
+
return {
|
|
7863
|
+
disabled: 'Disabled',
|
|
7864
|
+
stabilizationWindowSeconds: 'StabilizationWindowSeconds',
|
|
7865
|
+
step: 'Step',
|
|
7866
|
+
};
|
|
7867
|
+
}
|
|
7868
|
+
|
|
7869
|
+
static types(): { [key: string]: any } {
|
|
7870
|
+
return {
|
|
7871
|
+
disabled: 'boolean',
|
|
7872
|
+
stabilizationWindowSeconds: 'number',
|
|
7873
|
+
step: 'number',
|
|
7874
|
+
};
|
|
7875
|
+
}
|
|
7876
|
+
|
|
7877
|
+
constructor(map?: { [key: string]: any }) {
|
|
7878
|
+
super(map);
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
|
|
7882
|
+
export class DescribeApplicationScalingRuleResponseBodyDataMetric extends $tea.Model {
|
|
7883
|
+
maxReplicas?: number;
|
|
7884
|
+
metrics?: DescribeApplicationScalingRuleResponseBodyDataMetricMetrics[];
|
|
7885
|
+
metricsStatus?: DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatus;
|
|
7886
|
+
minReplicas?: number;
|
|
7887
|
+
scaleDownRules?: DescribeApplicationScalingRuleResponseBodyDataMetricScaleDownRules;
|
|
7888
|
+
scaleUpRules?: DescribeApplicationScalingRuleResponseBodyDataMetricScaleUpRules;
|
|
7889
|
+
static names(): { [key: string]: string } {
|
|
7890
|
+
return {
|
|
7891
|
+
maxReplicas: 'MaxReplicas',
|
|
7892
|
+
metrics: 'Metrics',
|
|
7893
|
+
metricsStatus: 'MetricsStatus',
|
|
7894
|
+
minReplicas: 'MinReplicas',
|
|
7895
|
+
scaleDownRules: 'ScaleDownRules',
|
|
7896
|
+
scaleUpRules: 'ScaleUpRules',
|
|
7897
|
+
};
|
|
7898
|
+
}
|
|
7899
|
+
|
|
7900
|
+
static types(): { [key: string]: any } {
|
|
7901
|
+
return {
|
|
7902
|
+
maxReplicas: 'number',
|
|
7903
|
+
metrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRuleResponseBodyDataMetricMetrics },
|
|
7904
|
+
metricsStatus: DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatus,
|
|
7905
|
+
minReplicas: 'number',
|
|
7906
|
+
scaleDownRules: DescribeApplicationScalingRuleResponseBodyDataMetricScaleDownRules,
|
|
7907
|
+
scaleUpRules: DescribeApplicationScalingRuleResponseBodyDataMetricScaleUpRules,
|
|
7908
|
+
};
|
|
7909
|
+
}
|
|
7910
|
+
|
|
7911
|
+
constructor(map?: { [key: string]: any }) {
|
|
7912
|
+
super(map);
|
|
7913
|
+
}
|
|
7914
|
+
}
|
|
7915
|
+
|
|
7916
|
+
export class DescribeApplicationScalingRuleResponseBodyDataTimerSchedules extends $tea.Model {
|
|
7917
|
+
atTime?: string;
|
|
7918
|
+
targetReplicas?: number;
|
|
7919
|
+
static names(): { [key: string]: string } {
|
|
7920
|
+
return {
|
|
7921
|
+
atTime: 'AtTime',
|
|
7922
|
+
targetReplicas: 'TargetReplicas',
|
|
7923
|
+
};
|
|
7924
|
+
}
|
|
7925
|
+
|
|
7926
|
+
static types(): { [key: string]: any } {
|
|
7927
|
+
return {
|
|
7928
|
+
atTime: 'string',
|
|
7929
|
+
targetReplicas: 'number',
|
|
7930
|
+
};
|
|
7931
|
+
}
|
|
7932
|
+
|
|
7933
|
+
constructor(map?: { [key: string]: any }) {
|
|
7934
|
+
super(map);
|
|
7935
|
+
}
|
|
7936
|
+
}
|
|
7937
|
+
|
|
7938
|
+
export class DescribeApplicationScalingRuleResponseBodyDataTimer extends $tea.Model {
|
|
7939
|
+
beginDate?: string;
|
|
7940
|
+
endDate?: string;
|
|
7941
|
+
period?: string;
|
|
7942
|
+
schedules?: DescribeApplicationScalingRuleResponseBodyDataTimerSchedules[];
|
|
7943
|
+
static names(): { [key: string]: string } {
|
|
7944
|
+
return {
|
|
7945
|
+
beginDate: 'BeginDate',
|
|
7946
|
+
endDate: 'EndDate',
|
|
7947
|
+
period: 'Period',
|
|
7948
|
+
schedules: 'Schedules',
|
|
7949
|
+
};
|
|
7950
|
+
}
|
|
7951
|
+
|
|
7952
|
+
static types(): { [key: string]: any } {
|
|
7953
|
+
return {
|
|
7954
|
+
beginDate: 'string',
|
|
7955
|
+
endDate: 'string',
|
|
7956
|
+
period: 'string',
|
|
7957
|
+
schedules: { 'type': 'array', 'itemType': DescribeApplicationScalingRuleResponseBodyDataTimerSchedules },
|
|
7958
|
+
};
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7961
|
+
constructor(map?: { [key: string]: any }) {
|
|
7962
|
+
super(map);
|
|
7963
|
+
}
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
export class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
7967
|
+
appId?: string;
|
|
7968
|
+
createTime?: number;
|
|
7969
|
+
lastDisableTime?: number;
|
|
7970
|
+
metric?: DescribeApplicationScalingRuleResponseBodyDataMetric;
|
|
7971
|
+
scaleRuleEnabled?: boolean;
|
|
7972
|
+
scaleRuleName?: string;
|
|
7973
|
+
scaleRuleType?: string;
|
|
7974
|
+
timer?: DescribeApplicationScalingRuleResponseBodyDataTimer;
|
|
7975
|
+
updateTime?: number;
|
|
7976
|
+
static names(): { [key: string]: string } {
|
|
7977
|
+
return {
|
|
7978
|
+
appId: 'AppId',
|
|
7979
|
+
createTime: 'CreateTime',
|
|
7980
|
+
lastDisableTime: 'LastDisableTime',
|
|
7981
|
+
metric: 'Metric',
|
|
7982
|
+
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
7983
|
+
scaleRuleName: 'ScaleRuleName',
|
|
7984
|
+
scaleRuleType: 'ScaleRuleType',
|
|
7985
|
+
timer: 'Timer',
|
|
7986
|
+
updateTime: 'UpdateTime',
|
|
7987
|
+
};
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7990
|
+
static types(): { [key: string]: any } {
|
|
7991
|
+
return {
|
|
7992
|
+
appId: 'string',
|
|
7993
|
+
createTime: 'number',
|
|
7994
|
+
lastDisableTime: 'number',
|
|
7995
|
+
metric: DescribeApplicationScalingRuleResponseBodyDataMetric,
|
|
7996
|
+
scaleRuleEnabled: 'boolean',
|
|
7997
|
+
scaleRuleName: 'string',
|
|
7998
|
+
scaleRuleType: 'string',
|
|
7999
|
+
timer: DescribeApplicationScalingRuleResponseBodyDataTimer,
|
|
8000
|
+
updateTime: 'number',
|
|
8001
|
+
};
|
|
8002
|
+
}
|
|
8003
|
+
|
|
8004
|
+
constructor(map?: { [key: string]: any }) {
|
|
8005
|
+
super(map);
|
|
8006
|
+
}
|
|
8007
|
+
}
|
|
8008
|
+
|
|
8009
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetrics extends $tea.Model {
|
|
8010
|
+
metricTargetAverageUtilization?: number;
|
|
8011
|
+
metricType?: string;
|
|
8012
|
+
static names(): { [key: string]: string } {
|
|
8013
|
+
return {
|
|
8014
|
+
metricTargetAverageUtilization: 'MetricTargetAverageUtilization',
|
|
8015
|
+
metricType: 'MetricType',
|
|
8016
|
+
};
|
|
8017
|
+
}
|
|
8018
|
+
|
|
8019
|
+
static types(): { [key: string]: any } {
|
|
8020
|
+
return {
|
|
8021
|
+
metricTargetAverageUtilization: 'number',
|
|
8022
|
+
metricType: 'string',
|
|
8023
|
+
};
|
|
8024
|
+
}
|
|
8025
|
+
|
|
8026
|
+
constructor(map?: { [key: string]: any }) {
|
|
8027
|
+
super(map);
|
|
8028
|
+
}
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusCurrentMetrics extends $tea.Model {
|
|
8032
|
+
currentValue?: number;
|
|
8033
|
+
name?: string;
|
|
8034
|
+
type?: string;
|
|
8035
|
+
static names(): { [key: string]: string } {
|
|
8036
|
+
return {
|
|
8037
|
+
currentValue: 'CurrentValue',
|
|
8038
|
+
name: 'Name',
|
|
8039
|
+
type: 'Type',
|
|
8040
|
+
};
|
|
8041
|
+
}
|
|
8042
|
+
|
|
8043
|
+
static types(): { [key: string]: any } {
|
|
8044
|
+
return {
|
|
8045
|
+
currentValue: 'number',
|
|
8046
|
+
name: 'string',
|
|
8047
|
+
type: 'string',
|
|
8048
|
+
};
|
|
8049
|
+
}
|
|
8050
|
+
|
|
8051
|
+
constructor(map?: { [key: string]: any }) {
|
|
8052
|
+
super(map);
|
|
8053
|
+
}
|
|
8054
|
+
}
|
|
8055
|
+
|
|
8056
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusNextScaleMetrics extends $tea.Model {
|
|
8057
|
+
name?: string;
|
|
8058
|
+
nextScaleInAverageUtilization?: number;
|
|
8059
|
+
nextScaleOutAverageUtilization?: number;
|
|
8060
|
+
static names(): { [key: string]: string } {
|
|
8061
|
+
return {
|
|
8062
|
+
name: 'Name',
|
|
8063
|
+
nextScaleInAverageUtilization: 'NextScaleInAverageUtilization',
|
|
8064
|
+
nextScaleOutAverageUtilization: 'NextScaleOutAverageUtilization',
|
|
8065
|
+
};
|
|
8066
|
+
}
|
|
8067
|
+
|
|
8068
|
+
static types(): { [key: string]: any } {
|
|
8069
|
+
return {
|
|
8070
|
+
name: 'string',
|
|
8071
|
+
nextScaleInAverageUtilization: 'number',
|
|
8072
|
+
nextScaleOutAverageUtilization: 'number',
|
|
8073
|
+
};
|
|
8074
|
+
}
|
|
8075
|
+
|
|
8076
|
+
constructor(map?: { [key: string]: any }) {
|
|
8077
|
+
super(map);
|
|
8078
|
+
}
|
|
8079
|
+
}
|
|
8080
|
+
|
|
8081
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatus extends $tea.Model {
|
|
8082
|
+
currentMetrics?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusCurrentMetrics[];
|
|
8083
|
+
currentReplicas?: number;
|
|
8084
|
+
desiredReplicas?: number;
|
|
8085
|
+
lastScaleTime?: string;
|
|
8086
|
+
maxReplicas?: number;
|
|
8087
|
+
minReplicas?: number;
|
|
8088
|
+
nextScaleMetrics?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusNextScaleMetrics[];
|
|
8089
|
+
nextScaleTimePeriod?: number;
|
|
8090
|
+
static names(): { [key: string]: string } {
|
|
8091
|
+
return {
|
|
8092
|
+
currentMetrics: 'CurrentMetrics',
|
|
8093
|
+
currentReplicas: 'CurrentReplicas',
|
|
8094
|
+
desiredReplicas: 'DesiredReplicas',
|
|
8095
|
+
lastScaleTime: 'LastScaleTime',
|
|
8096
|
+
maxReplicas: 'MaxReplicas',
|
|
8097
|
+
minReplicas: 'MinReplicas',
|
|
8098
|
+
nextScaleMetrics: 'NextScaleMetrics',
|
|
8099
|
+
nextScaleTimePeriod: 'NextScaleTimePeriod',
|
|
8100
|
+
};
|
|
8101
|
+
}
|
|
8102
|
+
|
|
8103
|
+
static types(): { [key: string]: any } {
|
|
8104
|
+
return {
|
|
8105
|
+
currentMetrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusCurrentMetrics },
|
|
8106
|
+
currentReplicas: 'number',
|
|
8107
|
+
desiredReplicas: 'number',
|
|
8108
|
+
lastScaleTime: 'string',
|
|
8109
|
+
maxReplicas: 'number',
|
|
8110
|
+
minReplicas: 'number',
|
|
8111
|
+
nextScaleMetrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatusNextScaleMetrics },
|
|
8112
|
+
nextScaleTimePeriod: 'number',
|
|
8113
|
+
};
|
|
8114
|
+
}
|
|
8115
|
+
|
|
8116
|
+
constructor(map?: { [key: string]: any }) {
|
|
8117
|
+
super(map);
|
|
8118
|
+
}
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleDownRules extends $tea.Model {
|
|
8122
|
+
disabled?: boolean;
|
|
8123
|
+
stabilizationWindowSeconds?: number;
|
|
8124
|
+
step?: number;
|
|
8125
|
+
static names(): { [key: string]: string } {
|
|
8126
|
+
return {
|
|
8127
|
+
disabled: 'Disabled',
|
|
8128
|
+
stabilizationWindowSeconds: 'StabilizationWindowSeconds',
|
|
8129
|
+
step: 'Step',
|
|
8130
|
+
};
|
|
8131
|
+
}
|
|
8132
|
+
|
|
8133
|
+
static types(): { [key: string]: any } {
|
|
8134
|
+
return {
|
|
8135
|
+
disabled: 'boolean',
|
|
8136
|
+
stabilizationWindowSeconds: 'number',
|
|
8137
|
+
step: 'number',
|
|
8138
|
+
};
|
|
8139
|
+
}
|
|
8140
|
+
|
|
8141
|
+
constructor(map?: { [key: string]: any }) {
|
|
8142
|
+
super(map);
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
|
|
8146
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleUpRules extends $tea.Model {
|
|
8147
|
+
disabled?: boolean;
|
|
8148
|
+
stabilizationWindowSeconds?: number;
|
|
8149
|
+
step?: number;
|
|
8150
|
+
static names(): { [key: string]: string } {
|
|
8151
|
+
return {
|
|
8152
|
+
disabled: 'Disabled',
|
|
8153
|
+
stabilizationWindowSeconds: 'StabilizationWindowSeconds',
|
|
8154
|
+
step: 'Step',
|
|
8155
|
+
};
|
|
8156
|
+
}
|
|
8157
|
+
|
|
8158
|
+
static types(): { [key: string]: any } {
|
|
8159
|
+
return {
|
|
8160
|
+
disabled: 'boolean',
|
|
8161
|
+
stabilizationWindowSeconds: 'number',
|
|
8162
|
+
step: 'number',
|
|
8163
|
+
};
|
|
8164
|
+
}
|
|
8165
|
+
|
|
8166
|
+
constructor(map?: { [key: string]: any }) {
|
|
8167
|
+
super(map);
|
|
8168
|
+
}
|
|
8169
|
+
}
|
|
8170
|
+
|
|
8171
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric extends $tea.Model {
|
|
8172
|
+
maxReplicas?: number;
|
|
8173
|
+
metrics?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetrics[];
|
|
8174
|
+
metricsStatus?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatus;
|
|
8175
|
+
minReplicas?: number;
|
|
8176
|
+
scaleDownRules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleDownRules;
|
|
8177
|
+
scaleUpRules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleUpRules;
|
|
8178
|
+
static names(): { [key: string]: string } {
|
|
8179
|
+
return {
|
|
8180
|
+
maxReplicas: 'MaxReplicas',
|
|
8181
|
+
metrics: 'Metrics',
|
|
8182
|
+
metricsStatus: 'MetricsStatus',
|
|
8183
|
+
minReplicas: 'MinReplicas',
|
|
8184
|
+
scaleDownRules: 'ScaleDownRules',
|
|
8185
|
+
scaleUpRules: 'ScaleUpRules',
|
|
8186
|
+
};
|
|
8187
|
+
}
|
|
8188
|
+
|
|
8189
|
+
static types(): { [key: string]: any } {
|
|
8190
|
+
return {
|
|
8191
|
+
maxReplicas: 'number',
|
|
8192
|
+
metrics: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetrics },
|
|
8193
|
+
metricsStatus: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricMetricsStatus,
|
|
8194
|
+
minReplicas: 'number',
|
|
8195
|
+
scaleDownRules: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleDownRules,
|
|
8196
|
+
scaleUpRules: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetricScaleUpRules,
|
|
8197
|
+
};
|
|
8198
|
+
}
|
|
8199
|
+
|
|
8200
|
+
constructor(map?: { [key: string]: any }) {
|
|
8201
|
+
super(map);
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules extends $tea.Model {
|
|
8206
|
+
atTime?: string;
|
|
8207
|
+
maxReplicas?: number;
|
|
8208
|
+
minReplicas?: number;
|
|
8209
|
+
targetReplicas?: number;
|
|
8210
|
+
static names(): { [key: string]: string } {
|
|
8211
|
+
return {
|
|
8212
|
+
atTime: 'AtTime',
|
|
8213
|
+
maxReplicas: 'MaxReplicas',
|
|
8214
|
+
minReplicas: 'MinReplicas',
|
|
8215
|
+
targetReplicas: 'TargetReplicas',
|
|
8216
|
+
};
|
|
8217
|
+
}
|
|
8218
|
+
|
|
8219
|
+
static types(): { [key: string]: any } {
|
|
8220
|
+
return {
|
|
8221
|
+
atTime: 'string',
|
|
8222
|
+
maxReplicas: 'number',
|
|
8223
|
+
minReplicas: 'number',
|
|
8224
|
+
targetReplicas: 'number',
|
|
8225
|
+
};
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
constructor(map?: { [key: string]: any }) {
|
|
8229
|
+
super(map);
|
|
8230
|
+
}
|
|
8231
|
+
}
|
|
8232
|
+
|
|
8233
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer extends $tea.Model {
|
|
8234
|
+
beginDate?: string;
|
|
8235
|
+
endDate?: string;
|
|
8236
|
+
period?: string;
|
|
8237
|
+
schedules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules[];
|
|
8238
|
+
static names(): { [key: string]: string } {
|
|
8239
|
+
return {
|
|
8240
|
+
beginDate: 'BeginDate',
|
|
8241
|
+
endDate: 'EndDate',
|
|
8242
|
+
period: 'Period',
|
|
8243
|
+
schedules: 'Schedules',
|
|
8244
|
+
};
|
|
8245
|
+
}
|
|
8246
|
+
|
|
8247
|
+
static types(): { [key: string]: any } {
|
|
8248
|
+
return {
|
|
8249
|
+
beginDate: 'string',
|
|
8250
|
+
endDate: 'string',
|
|
8251
|
+
period: 'string',
|
|
8252
|
+
schedules: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules },
|
|
8253
|
+
};
|
|
8254
|
+
}
|
|
8255
|
+
|
|
8256
|
+
constructor(map?: { [key: string]: any }) {
|
|
8257
|
+
super(map);
|
|
8258
|
+
}
|
|
8259
|
+
}
|
|
8260
|
+
|
|
8261
|
+
export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules extends $tea.Model {
|
|
8262
|
+
appId?: string;
|
|
8263
|
+
createTime?: number;
|
|
8264
|
+
lastDisableTime?: number;
|
|
8265
|
+
metric?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric;
|
|
8266
|
+
scaleRuleEnabled?: boolean;
|
|
8267
|
+
scaleRuleName?: string;
|
|
8268
|
+
scaleRuleType?: string;
|
|
8269
|
+
timer?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer;
|
|
8270
|
+
updateTime?: number;
|
|
8271
|
+
static names(): { [key: string]: string } {
|
|
8272
|
+
return {
|
|
8273
|
+
appId: 'AppId',
|
|
8274
|
+
createTime: 'CreateTime',
|
|
8275
|
+
lastDisableTime: 'LastDisableTime',
|
|
8276
|
+
metric: 'Metric',
|
|
8277
|
+
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
8278
|
+
scaleRuleName: 'ScaleRuleName',
|
|
8279
|
+
scaleRuleType: 'ScaleRuleType',
|
|
8280
|
+
timer: 'Timer',
|
|
8281
|
+
updateTime: 'UpdateTime',
|
|
8282
|
+
};
|
|
8283
|
+
}
|
|
8284
|
+
|
|
8285
|
+
static types(): { [key: string]: any } {
|
|
8286
|
+
return {
|
|
8287
|
+
appId: 'string',
|
|
8288
|
+
createTime: 'number',
|
|
8289
|
+
lastDisableTime: 'number',
|
|
8290
|
+
metric: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric,
|
|
8291
|
+
scaleRuleEnabled: 'boolean',
|
|
8292
|
+
scaleRuleName: 'string',
|
|
8293
|
+
scaleRuleType: 'string',
|
|
8294
|
+
timer: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer,
|
|
8295
|
+
updateTime: 'number',
|
|
8296
|
+
};
|
|
8297
|
+
}
|
|
8298
|
+
|
|
8299
|
+
constructor(map?: { [key: string]: any }) {
|
|
8300
|
+
super(map);
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
|
|
8304
|
+
export class DescribeApplicationScalingRulesResponseBodyData extends $tea.Model {
|
|
8305
|
+
applicationScalingRules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules[];
|
|
8306
|
+
currentPage?: number;
|
|
8307
|
+
pageSize?: number;
|
|
8308
|
+
totalSize?: number;
|
|
8309
|
+
static names(): { [key: string]: string } {
|
|
8310
|
+
return {
|
|
8311
|
+
applicationScalingRules: 'ApplicationScalingRules',
|
|
8312
|
+
currentPage: 'CurrentPage',
|
|
8313
|
+
pageSize: 'PageSize',
|
|
8314
|
+
totalSize: 'TotalSize',
|
|
8315
|
+
};
|
|
8316
|
+
}
|
|
8317
|
+
|
|
8318
|
+
static types(): { [key: string]: any } {
|
|
8319
|
+
return {
|
|
8320
|
+
applicationScalingRules: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules },
|
|
8321
|
+
currentPage: 'number',
|
|
8322
|
+
pageSize: 'number',
|
|
8323
|
+
totalSize: 'number',
|
|
8324
|
+
};
|
|
8325
|
+
}
|
|
8326
|
+
|
|
8327
|
+
constructor(map?: { [key: string]: any }) {
|
|
8328
|
+
super(map);
|
|
8329
|
+
}
|
|
8330
|
+
}
|
|
8331
|
+
|
|
8332
|
+
export class DescribeApplicationSlbsResponseBodyDataInternet extends $tea.Model {
|
|
8333
|
+
httpsCertId?: string;
|
|
8334
|
+
port?: number;
|
|
8335
|
+
protocol?: string;
|
|
8336
|
+
targetPort?: number;
|
|
7613
8337
|
static names(): { [key: string]: string } {
|
|
7614
8338
|
return {
|
|
7615
8339
|
httpsCertId: 'HttpsCertId',
|
|
@@ -7702,6 +8426,7 @@ export class DescribeApplicationStatusResponseBodyData extends $tea.Model {
|
|
|
7702
8426
|
createTime?: string;
|
|
7703
8427
|
currentStatus?: string;
|
|
7704
8428
|
enableAgent?: boolean;
|
|
8429
|
+
fileSizeLimit?: number;
|
|
7705
8430
|
lastChangeOrderId?: string;
|
|
7706
8431
|
lastChangeOrderRunning?: boolean;
|
|
7707
8432
|
lastChangeOrderStatus?: string;
|
|
@@ -7715,6 +8440,7 @@ export class DescribeApplicationStatusResponseBodyData extends $tea.Model {
|
|
|
7715
8440
|
createTime: 'CreateTime',
|
|
7716
8441
|
currentStatus: 'CurrentStatus',
|
|
7717
8442
|
enableAgent: 'EnableAgent',
|
|
8443
|
+
fileSizeLimit: 'FileSizeLimit',
|
|
7718
8444
|
lastChangeOrderId: 'LastChangeOrderId',
|
|
7719
8445
|
lastChangeOrderRunning: 'LastChangeOrderRunning',
|
|
7720
8446
|
lastChangeOrderStatus: 'LastChangeOrderStatus',
|
|
@@ -7731,6 +8457,7 @@ export class DescribeApplicationStatusResponseBodyData extends $tea.Model {
|
|
|
7731
8457
|
createTime: 'string',
|
|
7732
8458
|
currentStatus: 'string',
|
|
7733
8459
|
enableAgent: 'boolean',
|
|
8460
|
+
fileSizeLimit: 'number',
|
|
7734
8461
|
lastChangeOrderId: 'string',
|
|
7735
8462
|
lastChangeOrderRunning: 'boolean',
|
|
7736
8463
|
lastChangeOrderStatus: 'string',
|
|
@@ -7938,6 +8665,103 @@ export class DescribeConfigMapResponseBodyData extends $tea.Model {
|
|
|
7938
8665
|
}
|
|
7939
8666
|
}
|
|
7940
8667
|
|
|
8668
|
+
export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Model {
|
|
8669
|
+
cpu?: number;
|
|
8670
|
+
mem?: number;
|
|
8671
|
+
static names(): { [key: string]: string } {
|
|
8672
|
+
return {
|
|
8673
|
+
cpu: 'Cpu',
|
|
8674
|
+
mem: 'Mem',
|
|
8675
|
+
};
|
|
8676
|
+
}
|
|
8677
|
+
|
|
8678
|
+
static types(): { [key: string]: any } {
|
|
8679
|
+
return {
|
|
8680
|
+
cpu: 'number',
|
|
8681
|
+
mem: 'number',
|
|
8682
|
+
};
|
|
8683
|
+
}
|
|
8684
|
+
|
|
8685
|
+
constructor(map?: { [key: string]: any }) {
|
|
8686
|
+
super(map);
|
|
8687
|
+
}
|
|
8688
|
+
}
|
|
8689
|
+
|
|
8690
|
+
export class DescribeConfigurationPriceResponseBodyDataOrder extends $tea.Model {
|
|
8691
|
+
discountAmount?: number;
|
|
8692
|
+
originalAmount?: number;
|
|
8693
|
+
ruleIds?: string[];
|
|
8694
|
+
tradeAmount?: number;
|
|
8695
|
+
static names(): { [key: string]: string } {
|
|
8696
|
+
return {
|
|
8697
|
+
discountAmount: 'DiscountAmount',
|
|
8698
|
+
originalAmount: 'OriginalAmount',
|
|
8699
|
+
ruleIds: 'RuleIds',
|
|
8700
|
+
tradeAmount: 'TradeAmount',
|
|
8701
|
+
};
|
|
8702
|
+
}
|
|
8703
|
+
|
|
8704
|
+
static types(): { [key: string]: any } {
|
|
8705
|
+
return {
|
|
8706
|
+
discountAmount: 'number',
|
|
8707
|
+
originalAmount: 'number',
|
|
8708
|
+
ruleIds: { 'type': 'array', 'itemType': 'string' },
|
|
8709
|
+
tradeAmount: 'number',
|
|
8710
|
+
};
|
|
8711
|
+
}
|
|
8712
|
+
|
|
8713
|
+
constructor(map?: { [key: string]: any }) {
|
|
8714
|
+
super(map);
|
|
8715
|
+
}
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8718
|
+
export class DescribeConfigurationPriceResponseBodyDataRules extends $tea.Model {
|
|
8719
|
+
name?: string;
|
|
8720
|
+
ruleDescId?: number;
|
|
8721
|
+
static names(): { [key: string]: string } {
|
|
8722
|
+
return {
|
|
8723
|
+
name: 'Name',
|
|
8724
|
+
ruleDescId: 'RuleDescId',
|
|
8725
|
+
};
|
|
8726
|
+
}
|
|
8727
|
+
|
|
8728
|
+
static types(): { [key: string]: any } {
|
|
8729
|
+
return {
|
|
8730
|
+
name: 'string',
|
|
8731
|
+
ruleDescId: 'number',
|
|
8732
|
+
};
|
|
8733
|
+
}
|
|
8734
|
+
|
|
8735
|
+
constructor(map?: { [key: string]: any }) {
|
|
8736
|
+
super(map);
|
|
8737
|
+
}
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8740
|
+
export class DescribeConfigurationPriceResponseBodyData extends $tea.Model {
|
|
8741
|
+
bagUsage?: DescribeConfigurationPriceResponseBodyDataBagUsage;
|
|
8742
|
+
order?: DescribeConfigurationPriceResponseBodyDataOrder;
|
|
8743
|
+
rules?: DescribeConfigurationPriceResponseBodyDataRules[];
|
|
8744
|
+
static names(): { [key: string]: string } {
|
|
8745
|
+
return {
|
|
8746
|
+
bagUsage: 'BagUsage',
|
|
8747
|
+
order: 'Order',
|
|
8748
|
+
rules: 'Rules',
|
|
8749
|
+
};
|
|
8750
|
+
}
|
|
8751
|
+
|
|
8752
|
+
static types(): { [key: string]: any } {
|
|
8753
|
+
return {
|
|
8754
|
+
bagUsage: DescribeConfigurationPriceResponseBodyDataBagUsage,
|
|
8755
|
+
order: DescribeConfigurationPriceResponseBodyDataOrder,
|
|
8756
|
+
rules: { 'type': 'array', 'itemType': DescribeConfigurationPriceResponseBodyDataRules },
|
|
8757
|
+
};
|
|
8758
|
+
}
|
|
8759
|
+
|
|
8760
|
+
constructor(map?: { [key: string]: any }) {
|
|
8761
|
+
super(map);
|
|
8762
|
+
}
|
|
8763
|
+
}
|
|
8764
|
+
|
|
7941
8765
|
export class DescribeEdasContainersResponseBodyData extends $tea.Model {
|
|
7942
8766
|
disabled?: boolean;
|
|
7943
8767
|
edasContainerVersion?: string;
|
|
@@ -9854,6 +10678,53 @@ export class UnbindSlbResponseBodyData extends $tea.Model {
|
|
|
9854
10678
|
}
|
|
9855
10679
|
}
|
|
9856
10680
|
|
|
10681
|
+
export class UpdateApplicationScalingRuleResponseBodyDataMetricMetrics extends $tea.Model {
|
|
10682
|
+
metricTargetAverageUtilization?: number;
|
|
10683
|
+
metricType?: string;
|
|
10684
|
+
static names(): { [key: string]: string } {
|
|
10685
|
+
return {
|
|
10686
|
+
metricTargetAverageUtilization: 'MetricTargetAverageUtilization',
|
|
10687
|
+
metricType: 'MetricType',
|
|
10688
|
+
};
|
|
10689
|
+
}
|
|
10690
|
+
|
|
10691
|
+
static types(): { [key: string]: any } {
|
|
10692
|
+
return {
|
|
10693
|
+
metricTargetAverageUtilization: 'number',
|
|
10694
|
+
metricType: 'string',
|
|
10695
|
+
};
|
|
10696
|
+
}
|
|
10697
|
+
|
|
10698
|
+
constructor(map?: { [key: string]: any }) {
|
|
10699
|
+
super(map);
|
|
10700
|
+
}
|
|
10701
|
+
}
|
|
10702
|
+
|
|
10703
|
+
export class UpdateApplicationScalingRuleResponseBodyDataMetric extends $tea.Model {
|
|
10704
|
+
maxReplicas?: number;
|
|
10705
|
+
metrics?: UpdateApplicationScalingRuleResponseBodyDataMetricMetrics[];
|
|
10706
|
+
minReplicas?: number;
|
|
10707
|
+
static names(): { [key: string]: string } {
|
|
10708
|
+
return {
|
|
10709
|
+
maxReplicas: 'MaxReplicas',
|
|
10710
|
+
metrics: 'Metrics',
|
|
10711
|
+
minReplicas: 'MinReplicas',
|
|
10712
|
+
};
|
|
10713
|
+
}
|
|
10714
|
+
|
|
10715
|
+
static types(): { [key: string]: any } {
|
|
10716
|
+
return {
|
|
10717
|
+
maxReplicas: 'number',
|
|
10718
|
+
metrics: { 'type': 'array', 'itemType': UpdateApplicationScalingRuleResponseBodyDataMetricMetrics },
|
|
10719
|
+
minReplicas: 'number',
|
|
10720
|
+
};
|
|
10721
|
+
}
|
|
10722
|
+
|
|
10723
|
+
constructor(map?: { [key: string]: any }) {
|
|
10724
|
+
super(map);
|
|
10725
|
+
}
|
|
10726
|
+
}
|
|
10727
|
+
|
|
9857
10728
|
export class UpdateApplicationScalingRuleResponseBodyDataTimerSchedules extends $tea.Model {
|
|
9858
10729
|
atTime?: string;
|
|
9859
10730
|
targetReplicas?: number;
|
|
@@ -9907,6 +10778,8 @@ export class UpdateApplicationScalingRuleResponseBodyDataTimer extends $tea.Mode
|
|
|
9907
10778
|
export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
9908
10779
|
appId?: string;
|
|
9909
10780
|
createTime?: number;
|
|
10781
|
+
lastDisableTime?: number;
|
|
10782
|
+
metric?: UpdateApplicationScalingRuleResponseBodyDataMetric;
|
|
9910
10783
|
scaleRuleEnabled?: boolean;
|
|
9911
10784
|
scaleRuleName?: string;
|
|
9912
10785
|
scaleRuleType?: string;
|
|
@@ -9916,6 +10789,8 @@ export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
9916
10789
|
return {
|
|
9917
10790
|
appId: 'AppId',
|
|
9918
10791
|
createTime: 'CreateTime',
|
|
10792
|
+
lastDisableTime: 'LastDisableTime',
|
|
10793
|
+
metric: 'Metric',
|
|
9919
10794
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
9920
10795
|
scaleRuleName: 'ScaleRuleName',
|
|
9921
10796
|
scaleRuleType: 'ScaleRuleType',
|
|
@@ -9928,6 +10803,8 @@ export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
9928
10803
|
return {
|
|
9929
10804
|
appId: 'string',
|
|
9930
10805
|
createTime: 'number',
|
|
10806
|
+
lastDisableTime: 'number',
|
|
10807
|
+
metric: UpdateApplicationScalingRuleResponseBodyDataMetric,
|
|
9931
10808
|
scaleRuleEnabled: 'boolean',
|
|
9932
10809
|
scaleRuleName: 'string',
|
|
9933
10810
|
scaleRuleType: 'string',
|
|
@@ -10429,6 +11306,10 @@ export default class Client extends OpenApi {
|
|
|
10429
11306
|
}
|
|
10430
11307
|
|
|
10431
11308
|
let body : {[key: string ]: any} = { };
|
|
11309
|
+
if (!Util.isUnset(request.acrInstanceId)) {
|
|
11310
|
+
body["AcrInstanceId"] = request.acrInstanceId;
|
|
11311
|
+
}
|
|
11312
|
+
|
|
10432
11313
|
if (!Util.isUnset(request.associateEip)) {
|
|
10433
11314
|
body["AssociateEip"] = request.associateEip;
|
|
10434
11315
|
}
|
|
@@ -10485,10 +11366,22 @@ export default class Client extends OpenApi {
|
|
|
10485
11366
|
query["AppId"] = request.appId;
|
|
10486
11367
|
}
|
|
10487
11368
|
|
|
11369
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
11370
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
11371
|
+
}
|
|
11372
|
+
|
|
11373
|
+
if (!Util.isUnset(request.minReadyInstances)) {
|
|
11374
|
+
query["MinReadyInstances"] = request.minReadyInstances;
|
|
11375
|
+
}
|
|
11376
|
+
|
|
10488
11377
|
if (!Util.isUnset(request.scalingRuleEnable)) {
|
|
10489
11378
|
query["ScalingRuleEnable"] = request.scalingRuleEnable;
|
|
10490
11379
|
}
|
|
10491
11380
|
|
|
11381
|
+
if (!Util.isUnset(request.scalingRuleMetric)) {
|
|
11382
|
+
query["ScalingRuleMetric"] = request.scalingRuleMetric;
|
|
11383
|
+
}
|
|
11384
|
+
|
|
10492
11385
|
if (!Util.isUnset(request.scalingRuleName)) {
|
|
10493
11386
|
query["ScalingRuleName"] = request.scalingRuleName;
|
|
10494
11387
|
}
|
|
@@ -10974,6 +11867,10 @@ export default class Client extends OpenApi {
|
|
|
10974
11867
|
query["Liveness"] = request.liveness;
|
|
10975
11868
|
}
|
|
10976
11869
|
|
|
11870
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
11871
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
11872
|
+
}
|
|
11873
|
+
|
|
10977
11874
|
if (!Util.isUnset(request.minReadyInstances)) {
|
|
10978
11875
|
query["MinReadyInstances"] = request.minReadyInstances;
|
|
10979
11876
|
}
|
|
@@ -11297,6 +12194,41 @@ export default class Client extends OpenApi {
|
|
|
11297
12194
|
return $tea.cast<DescribeApplicationInstancesResponse>(await this.callApi(params, req, runtime), new DescribeApplicationInstancesResponse({}));
|
|
11298
12195
|
}
|
|
11299
12196
|
|
|
12197
|
+
async describeApplicationScalingRule(request: DescribeApplicationScalingRuleRequest): Promise<DescribeApplicationScalingRuleResponse> {
|
|
12198
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12199
|
+
let headers : {[key: string ]: string} = { };
|
|
12200
|
+
return await this.describeApplicationScalingRuleWithOptions(request, headers, runtime);
|
|
12201
|
+
}
|
|
12202
|
+
|
|
12203
|
+
async describeApplicationScalingRuleWithOptions(request: DescribeApplicationScalingRuleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeApplicationScalingRuleResponse> {
|
|
12204
|
+
Util.validateModel(request);
|
|
12205
|
+
let query : {[key: string ]: any} = { };
|
|
12206
|
+
if (!Util.isUnset(request.appId)) {
|
|
12207
|
+
query["AppId"] = request.appId;
|
|
12208
|
+
}
|
|
12209
|
+
|
|
12210
|
+
if (!Util.isUnset(request.scalingRuleName)) {
|
|
12211
|
+
query["ScalingRuleName"] = request.scalingRuleName;
|
|
12212
|
+
}
|
|
12213
|
+
|
|
12214
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12215
|
+
headers: headers,
|
|
12216
|
+
query: OpenApiUtil.query(query),
|
|
12217
|
+
});
|
|
12218
|
+
let params = new $OpenApi.Params({
|
|
12219
|
+
action: "DescribeApplicationScalingRule",
|
|
12220
|
+
version: "2019-05-06",
|
|
12221
|
+
protocol: "HTTPS",
|
|
12222
|
+
pathname: `/pop/v1/sam/scale/applicationScalingRule`,
|
|
12223
|
+
method: "GET",
|
|
12224
|
+
authType: "AK",
|
|
12225
|
+
style: "ROA",
|
|
12226
|
+
reqBodyType: "json",
|
|
12227
|
+
bodyType: "json",
|
|
12228
|
+
});
|
|
12229
|
+
return $tea.cast<DescribeApplicationScalingRuleResponse>(await this.callApi(params, req, runtime), new DescribeApplicationScalingRuleResponse({}));
|
|
12230
|
+
}
|
|
12231
|
+
|
|
11300
12232
|
async describeApplicationScalingRules(request: DescribeApplicationScalingRulesRequest): Promise<DescribeApplicationScalingRulesResponse> {
|
|
11301
12233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
11302
12234
|
let headers : {[key: string ]: string} = { };
|
|
@@ -11487,6 +12419,41 @@ export default class Client extends OpenApi {
|
|
|
11487
12419
|
return $tea.cast<DescribeConfigMapResponse>(await this.callApi(params, req, runtime), new DescribeConfigMapResponse({}));
|
|
11488
12420
|
}
|
|
11489
12421
|
|
|
12422
|
+
async describeConfigurationPrice(request: DescribeConfigurationPriceRequest): Promise<DescribeConfigurationPriceResponse> {
|
|
12423
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12424
|
+
let headers : {[key: string ]: string} = { };
|
|
12425
|
+
return await this.describeConfigurationPriceWithOptions(request, headers, runtime);
|
|
12426
|
+
}
|
|
12427
|
+
|
|
12428
|
+
async describeConfigurationPriceWithOptions(request: DescribeConfigurationPriceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeConfigurationPriceResponse> {
|
|
12429
|
+
Util.validateModel(request);
|
|
12430
|
+
let query : {[key: string ]: any} = { };
|
|
12431
|
+
if (!Util.isUnset(request.cpu)) {
|
|
12432
|
+
query["Cpu"] = request.cpu;
|
|
12433
|
+
}
|
|
12434
|
+
|
|
12435
|
+
if (!Util.isUnset(request.memory)) {
|
|
12436
|
+
query["Memory"] = request.memory;
|
|
12437
|
+
}
|
|
12438
|
+
|
|
12439
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12440
|
+
headers: headers,
|
|
12441
|
+
query: OpenApiUtil.query(query),
|
|
12442
|
+
});
|
|
12443
|
+
let params = new $OpenApi.Params({
|
|
12444
|
+
action: "DescribeConfigurationPrice",
|
|
12445
|
+
version: "2019-05-06",
|
|
12446
|
+
protocol: "HTTPS",
|
|
12447
|
+
pathname: `/pop/v1/paas/configurationPrice`,
|
|
12448
|
+
method: "GET",
|
|
12449
|
+
authType: "AK",
|
|
12450
|
+
style: "ROA",
|
|
12451
|
+
reqBodyType: "json",
|
|
12452
|
+
bodyType: "json",
|
|
12453
|
+
});
|
|
12454
|
+
return $tea.cast<DescribeConfigurationPriceResponse>(await this.callApi(params, req, runtime), new DescribeConfigurationPriceResponse({}));
|
|
12455
|
+
}
|
|
12456
|
+
|
|
11490
12457
|
async describeEdasContainers(): Promise<DescribeEdasContainersResponse> {
|
|
11491
12458
|
let runtime = new $Util.RuntimeOptions({ });
|
|
11492
12459
|
let headers : {[key: string ]: string} = { };
|
|
@@ -11879,7 +12846,7 @@ export default class Client extends OpenApi {
|
|
|
11879
12846
|
action: "DownloadFiles",
|
|
11880
12847
|
version: "2019-05-06",
|
|
11881
12848
|
protocol: "HTTPS",
|
|
11882
|
-
pathname: `/pop/v1/sam/app/downloadFiles
|
|
12849
|
+
pathname: `/pop/v1/sam/app/downloadFiles`,
|
|
11883
12850
|
method: "POST",
|
|
11884
12851
|
authType: "AK",
|
|
11885
12852
|
style: "ROA",
|
|
@@ -12574,6 +13541,10 @@ export default class Client extends OpenApi {
|
|
|
12574
13541
|
query["AutoEnableApplicationScalingRule"] = request.autoEnableApplicationScalingRule;
|
|
12575
13542
|
}
|
|
12576
13543
|
|
|
13544
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
13545
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
13546
|
+
}
|
|
13547
|
+
|
|
12577
13548
|
if (!Util.isUnset(request.minReadyInstances)) {
|
|
12578
13549
|
query["MinReadyInstances"] = request.minReadyInstances;
|
|
12579
13550
|
}
|
|
@@ -12652,6 +13623,10 @@ export default class Client extends OpenApi {
|
|
|
12652
13623
|
query["AppId"] = request.appId;
|
|
12653
13624
|
}
|
|
12654
13625
|
|
|
13626
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
13627
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
13628
|
+
}
|
|
13629
|
+
|
|
12655
13630
|
if (!Util.isUnset(request.minReadyInstances)) {
|
|
12656
13631
|
query["MinReadyInstances"] = request.minReadyInstances;
|
|
12657
13632
|
}
|
|
@@ -12730,6 +13705,10 @@ export default class Client extends OpenApi {
|
|
|
12730
13705
|
query["BatchWaitTime"] = request.batchWaitTime;
|
|
12731
13706
|
}
|
|
12732
13707
|
|
|
13708
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
13709
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
13710
|
+
}
|
|
13711
|
+
|
|
12733
13712
|
if (!Util.isUnset(request.minReadyInstances)) {
|
|
12734
13713
|
query["MinReadyInstances"] = request.minReadyInstances;
|
|
12735
13714
|
}
|
|
@@ -12999,6 +13978,18 @@ export default class Client extends OpenApi {
|
|
|
12999
13978
|
query["AppId"] = request.appId;
|
|
13000
13979
|
}
|
|
13001
13980
|
|
|
13981
|
+
if (!Util.isUnset(request.minReadyInstanceRatio)) {
|
|
13982
|
+
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
13983
|
+
}
|
|
13984
|
+
|
|
13985
|
+
if (!Util.isUnset(request.minReadyInstances)) {
|
|
13986
|
+
query["MinReadyInstances"] = request.minReadyInstances;
|
|
13987
|
+
}
|
|
13988
|
+
|
|
13989
|
+
if (!Util.isUnset(request.scalingRuleMetric)) {
|
|
13990
|
+
query["ScalingRuleMetric"] = request.scalingRuleMetric;
|
|
13991
|
+
}
|
|
13992
|
+
|
|
13002
13993
|
if (!Util.isUnset(request.scalingRuleName)) {
|
|
13003
13994
|
query["ScalingRuleName"] = request.scalingRuleName;
|
|
13004
13995
|
}
|
|
@@ -13269,7 +14260,7 @@ export default class Client extends OpenApi {
|
|
|
13269
14260
|
action: "UploadFiles",
|
|
13270
14261
|
version: "2019-05-06",
|
|
13271
14262
|
protocol: "HTTPS",
|
|
13272
|
-
pathname: `/pop/v1/sam/app/uploadFiles
|
|
14263
|
+
pathname: `/pop/v1/sam/app/uploadFiles`,
|
|
13273
14264
|
method: "POST",
|
|
13274
14265
|
authType: "AK",
|
|
13275
14266
|
style: "ROA",
|