@alicloud/sae20190506 2.12.1 → 2.12.2
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.js +3 -0
- package/dist/client.js.map +1 -1
- package/dist/models/UpdateApplicationScalingRuleRequest.d.ts +1 -0
- package/dist/models/UpdateApplicationScalingRuleRequest.js +2 -0
- package/dist/models/UpdateApplicationScalingRuleRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/models/UpdateApplicationScalingRuleRequest.ts +3 -0
|
@@ -141,6 +141,7 @@ export declare class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
141
141
|
* {"beginDate":null,"endDate":null,"period":"* * *","schedules":[{"atTime":"08:00","targetReplicas":10},{"atTime":"20:00","targetReplicas":3}]}
|
|
142
142
|
*/
|
|
143
143
|
scalingRuleTimer?: string;
|
|
144
|
+
scalingRuleType?: string;
|
|
144
145
|
static names(): {
|
|
145
146
|
[key: string]: string;
|
|
146
147
|
};
|
|
@@ -46,6 +46,7 @@ class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
46
46
|
scalingRuleMetric: 'ScalingRuleMetric',
|
|
47
47
|
scalingRuleName: 'ScalingRuleName',
|
|
48
48
|
scalingRuleTimer: 'ScalingRuleTimer',
|
|
49
|
+
scalingRuleType: 'ScalingRuleType',
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
static types() {
|
|
@@ -57,6 +58,7 @@ class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
57
58
|
scalingRuleMetric: 'string',
|
|
58
59
|
scalingRuleName: 'string',
|
|
59
60
|
scalingRuleTimer: 'string',
|
|
61
|
+
scalingRuleType: 'string',
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateApplicationScalingRuleRequest.js","sourceRoot":"","sources":["../../src/models/UpdateApplicationScalingRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateApplicationScalingRuleRequest.js","sourceRoot":"","sources":["../../src/models/UpdateApplicationScalingRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA+IlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,qBAAqB,EAAE,uBAAuB;YAC9C,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;YACpC,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,SAAS;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,iBAAiB,EAAE,QAAQ;YAC3B,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhLD,kFAgLC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -8437,6 +8437,10 @@ export default class Client extends OpenApi {
|
|
|
8437
8437
|
query["ScalingRuleTimer"] = request.scalingRuleTimer;
|
|
8438
8438
|
}
|
|
8439
8439
|
|
|
8440
|
+
if (!$dara.isNull(request.scalingRuleType)) {
|
|
8441
|
+
query["ScalingRuleType"] = request.scalingRuleType;
|
|
8442
|
+
}
|
|
8443
|
+
|
|
8440
8444
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8441
8445
|
headers: headers,
|
|
8442
8446
|
query: OpenApiUtil.query(query),
|
|
@@ -144,6 +144,7 @@ export class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
144
144
|
* {"beginDate":null,"endDate":null,"period":"* * *","schedules":[{"atTime":"08:00","targetReplicas":10},{"atTime":"20:00","targetReplicas":3}]}
|
|
145
145
|
*/
|
|
146
146
|
scalingRuleTimer?: string;
|
|
147
|
+
scalingRuleType?: string;
|
|
147
148
|
static names(): { [key: string]: string } {
|
|
148
149
|
return {
|
|
149
150
|
appId: 'AppId',
|
|
@@ -153,6 +154,7 @@ export class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
153
154
|
scalingRuleMetric: 'ScalingRuleMetric',
|
|
154
155
|
scalingRuleName: 'ScalingRuleName',
|
|
155
156
|
scalingRuleTimer: 'ScalingRuleTimer',
|
|
157
|
+
scalingRuleType: 'ScalingRuleType',
|
|
156
158
|
};
|
|
157
159
|
}
|
|
158
160
|
|
|
@@ -165,6 +167,7 @@ export class UpdateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
165
167
|
scalingRuleMetric: 'string',
|
|
166
168
|
scalingRuleName: 'string',
|
|
167
169
|
scalingRuleTimer: 'string',
|
|
170
|
+
scalingRuleType: 'string',
|
|
168
171
|
};
|
|
169
172
|
}
|
|
170
173
|
|