@alicloud/ess20220222 1.8.11 → 1.8.12
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 +98 -12
- package/dist/client.js +166 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +206 -12
package/dist/client.d.ts
CHANGED
|
@@ -2209,6 +2209,20 @@ export declare class CreateScalingConfigurationRequestNetworkInterfaces extends
|
|
|
2209
2209
|
[key: string]: any;
|
|
2210
2210
|
});
|
|
2211
2211
|
}
|
|
2212
|
+
export declare class CreateScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
|
|
2213
|
+
privatePoolIds?: string[];
|
|
2214
|
+
strategy?: string;
|
|
2215
|
+
static names(): {
|
|
2216
|
+
[key: string]: string;
|
|
2217
|
+
};
|
|
2218
|
+
static types(): {
|
|
2219
|
+
[key: string]: any;
|
|
2220
|
+
};
|
|
2221
|
+
validate(): void;
|
|
2222
|
+
constructor(map?: {
|
|
2223
|
+
[key: string]: any;
|
|
2224
|
+
});
|
|
2225
|
+
}
|
|
2212
2226
|
export declare class CreateScalingConfigurationRequestSecurityOptions extends $dara.Model {
|
|
2213
2227
|
/**
|
|
2214
2228
|
* @remarks
|
|
@@ -2983,6 +2997,20 @@ export declare class CreateScalingConfigurationShrinkRequestNetworkInterfaces ex
|
|
|
2983
2997
|
[key: string]: any;
|
|
2984
2998
|
});
|
|
2985
2999
|
}
|
|
3000
|
+
export declare class CreateScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
|
|
3001
|
+
privatePoolIds?: string[];
|
|
3002
|
+
strategy?: string;
|
|
3003
|
+
static names(): {
|
|
3004
|
+
[key: string]: string;
|
|
3005
|
+
};
|
|
3006
|
+
static types(): {
|
|
3007
|
+
[key: string]: any;
|
|
3008
|
+
};
|
|
3009
|
+
validate(): void;
|
|
3010
|
+
constructor(map?: {
|
|
3011
|
+
[key: string]: any;
|
|
3012
|
+
});
|
|
3013
|
+
}
|
|
2986
3014
|
export declare class CreateScalingConfigurationShrinkRequestSecurityOptions extends $dara.Model {
|
|
2987
3015
|
/**
|
|
2988
3016
|
* @remarks
|
|
@@ -3107,6 +3135,14 @@ export declare class CreateScalingGroupRequestCapacityOptions extends $dara.Mode
|
|
|
3107
3135
|
*/
|
|
3108
3136
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
3109
3137
|
/**
|
|
3138
|
+
* @remarks
|
|
3139
|
+
* The cost comparison method. Valid values:
|
|
3140
|
+
*
|
|
3141
|
+
* * PricePerUnit: compares costs based on unit price divided by instance capacities (weights). The capacity of an instance in a scaling group is determined by the weight of the instance type used. If no weight is set, the capacity defaults to 1.
|
|
3142
|
+
* * PricePerVCpu: compares costs based on unit price divided by the number of vCPUs.
|
|
3143
|
+
*
|
|
3144
|
+
* Default value: PricePerUnit.
|
|
3145
|
+
*
|
|
3110
3146
|
* @example
|
|
3111
3147
|
* PricePerUnit
|
|
3112
3148
|
*/
|
|
@@ -8967,6 +9003,20 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
8967
9003
|
[key: string]: any;
|
|
8968
9004
|
});
|
|
8969
9005
|
}
|
|
9006
|
+
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions extends $dara.Model {
|
|
9007
|
+
privatePoolIds?: string[];
|
|
9008
|
+
strategy?: string;
|
|
9009
|
+
static names(): {
|
|
9010
|
+
[key: string]: string;
|
|
9011
|
+
};
|
|
9012
|
+
static types(): {
|
|
9013
|
+
[key: string]: any;
|
|
9014
|
+
};
|
|
9015
|
+
validate(): void;
|
|
9016
|
+
constructor(map?: {
|
|
9017
|
+
[key: string]: any;
|
|
9018
|
+
});
|
|
9019
|
+
}
|
|
8970
9020
|
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSchedulerOptions extends $dara.Model {
|
|
8971
9021
|
/**
|
|
8972
9022
|
* @remarks
|
|
@@ -9416,6 +9466,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
9416
9466
|
* rg-aekzn2ou7xo****
|
|
9417
9467
|
*/
|
|
9418
9468
|
resourceGroupId?: string;
|
|
9469
|
+
resourcePoolOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions;
|
|
9419
9470
|
/**
|
|
9420
9471
|
* @remarks
|
|
9421
9472
|
* The ID of the scaling configuration.
|
|
@@ -10583,10 +10634,13 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptio
|
|
|
10583
10634
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
10584
10635
|
/**
|
|
10585
10636
|
* @remarks
|
|
10586
|
-
*
|
|
10637
|
+
* Indicates how prices are compared. Valid values:
|
|
10587
10638
|
*
|
|
10588
|
-
* * PricePerUnit:
|
|
10589
|
-
*
|
|
10639
|
+
* * PricePerUnit: Prices are compared based on the price per instance capacity.
|
|
10640
|
+
*
|
|
10641
|
+
* Capacity is determined by the weights assigned to instance types in the scaling group. If no weight is specified, a default weight of 1 is used, meaning each instance is assigned a capacity of 1.
|
|
10642
|
+
*
|
|
10643
|
+
* * PricePerVCpu: Prices are compared based on the price per vCPU.
|
|
10590
10644
|
*
|
|
10591
10645
|
* @example
|
|
10592
10646
|
* PricePerUnit
|
|
@@ -11937,7 +11991,7 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
|
|
|
11937
11991
|
estimatedInstanceWarmup?: number;
|
|
11938
11992
|
/**
|
|
11939
11993
|
* @remarks
|
|
11940
|
-
* The Hybrid Cloud Monitoring metrics.
|
|
11994
|
+
* The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
|
|
11941
11995
|
*/
|
|
11942
11996
|
hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
|
|
11943
11997
|
/**
|
|
@@ -14550,6 +14604,20 @@ export declare class ModifyScalingConfigurationRequestNetworkInterfaces extends
|
|
|
14550
14604
|
[key: string]: any;
|
|
14551
14605
|
});
|
|
14552
14606
|
}
|
|
14607
|
+
export declare class ModifyScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
|
|
14608
|
+
privatePoolIds?: string[];
|
|
14609
|
+
strategy?: string;
|
|
14610
|
+
static names(): {
|
|
14611
|
+
[key: string]: string;
|
|
14612
|
+
};
|
|
14613
|
+
static types(): {
|
|
14614
|
+
[key: string]: any;
|
|
14615
|
+
};
|
|
14616
|
+
validate(): void;
|
|
14617
|
+
constructor(map?: {
|
|
14618
|
+
[key: string]: any;
|
|
14619
|
+
});
|
|
14620
|
+
}
|
|
14553
14621
|
export declare class ModifyScalingConfigurationRequestSecurityOptions extends $dara.Model {
|
|
14554
14622
|
/**
|
|
14555
14623
|
* @remarks
|
|
@@ -15342,6 +15410,20 @@ export declare class ModifyScalingConfigurationShrinkRequestNetworkInterfaces ex
|
|
|
15342
15410
|
[key: string]: any;
|
|
15343
15411
|
});
|
|
15344
15412
|
}
|
|
15413
|
+
export declare class ModifyScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
|
|
15414
|
+
privatePoolIds?: string[];
|
|
15415
|
+
strategy?: string;
|
|
15416
|
+
static names(): {
|
|
15417
|
+
[key: string]: string;
|
|
15418
|
+
};
|
|
15419
|
+
static types(): {
|
|
15420
|
+
[key: string]: any;
|
|
15421
|
+
};
|
|
15422
|
+
validate(): void;
|
|
15423
|
+
constructor(map?: {
|
|
15424
|
+
[key: string]: any;
|
|
15425
|
+
});
|
|
15426
|
+
}
|
|
15345
15427
|
export declare class ModifyScalingConfigurationShrinkRequestSecurityOptions extends $dara.Model {
|
|
15346
15428
|
/**
|
|
15347
15429
|
* @remarks
|
|
@@ -18541,6 +18623,7 @@ export declare class CreateScalingConfigurationRequest extends $dara.Model {
|
|
|
18541
18623
|
*/
|
|
18542
18624
|
resourceGroupId?: string;
|
|
18543
18625
|
resourceOwnerAccount?: string;
|
|
18626
|
+
resourcePoolOptions?: CreateScalingConfigurationRequestResourcePoolOptions;
|
|
18544
18627
|
/**
|
|
18545
18628
|
* @remarks
|
|
18546
18629
|
* The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit.
|
|
@@ -19058,6 +19141,7 @@ export declare class CreateScalingConfigurationShrinkRequest extends $dara.Model
|
|
|
19058
19141
|
*/
|
|
19059
19142
|
resourceGroupId?: string;
|
|
19060
19143
|
resourceOwnerAccount?: string;
|
|
19144
|
+
resourcePoolOptions?: CreateScalingConfigurationShrinkRequestResourcePoolOptions;
|
|
19061
19145
|
/**
|
|
19062
19146
|
* @remarks
|
|
19063
19147
|
* The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit.
|
|
@@ -19856,7 +19940,7 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
|
|
|
19856
19940
|
estimatedInstanceWarmup?: number;
|
|
19857
19941
|
/**
|
|
19858
19942
|
* @remarks
|
|
19859
|
-
* The Hybrid Cloud Monitoring metrics.
|
|
19943
|
+
* The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
|
|
19860
19944
|
*/
|
|
19861
19945
|
hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
|
|
19862
19946
|
/**
|
|
@@ -21032,7 +21116,7 @@ export declare class DescribeAlarmsRequest extends $dara.Model {
|
|
|
21032
21116
|
metricName?: string;
|
|
21033
21117
|
/**
|
|
21034
21118
|
* @remarks
|
|
21035
|
-
* The type
|
|
21119
|
+
* The metric type. Valid values:
|
|
21036
21120
|
*
|
|
21037
21121
|
* * system: system metrics of CloudMonitor
|
|
21038
21122
|
* * custom: custom metrics that are reported to CloudMonitor.
|
|
@@ -23461,7 +23545,7 @@ export declare class DescribeScalingGroupsRequest extends $dara.Model {
|
|
|
23461
23545
|
* @remarks
|
|
23462
23546
|
* The page number. Minimum value: 1.
|
|
23463
23547
|
*
|
|
23464
|
-
* Default value: 1
|
|
23548
|
+
* Default value: 1
|
|
23465
23549
|
*
|
|
23466
23550
|
* @example
|
|
23467
23551
|
* 1
|
|
@@ -27324,6 +27408,7 @@ export declare class ModifyScalingConfigurationRequest extends $dara.Model {
|
|
|
27324
27408
|
*/
|
|
27325
27409
|
resourceGroupId?: string;
|
|
27326
27410
|
resourceOwnerAccount?: string;
|
|
27411
|
+
resourcePoolOptions?: ModifyScalingConfigurationRequestResourcePoolOptions;
|
|
27327
27412
|
/**
|
|
27328
27413
|
* @remarks
|
|
27329
27414
|
* The ID of the scaling configuration that you want to modify.
|
|
@@ -27823,6 +27908,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $dara.Model
|
|
|
27823
27908
|
*/
|
|
27824
27909
|
resourceGroupId?: string;
|
|
27825
27910
|
resourceOwnerAccount?: string;
|
|
27911
|
+
resourcePoolOptions?: ModifyScalingConfigurationShrinkRequestResourcePoolOptions;
|
|
27826
27912
|
/**
|
|
27827
27913
|
* @remarks
|
|
27828
27914
|
* The ID of the scaling configuration that you want to modify.
|
|
@@ -28449,7 +28535,7 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
|
|
|
28449
28535
|
estimatedInstanceWarmup?: number;
|
|
28450
28536
|
/**
|
|
28451
28537
|
* @remarks
|
|
28452
|
-
* The Hybrid Cloud Monitoring metrics.
|
|
28538
|
+
* The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
|
|
28453
28539
|
*/
|
|
28454
28540
|
hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
|
|
28455
28541
|
/**
|
|
@@ -32245,8 +32331,8 @@ export default class Client extends OpenApi {
|
|
|
32245
32331
|
* Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
|
|
32246
32332
|
*
|
|
32247
32333
|
* @remarks
|
|
32248
|
-
*
|
|
32249
|
-
* * You can call the [
|
|
32334
|
+
* To rename a scaling configuration in a scaling group, ensure the new name is unique within that group.
|
|
32335
|
+
* * You can call the [DescribeEciScalingConfigurations](https://help.aliyun.com/document_detail/459374.html) operation to check the modification result.
|
|
32250
32336
|
*
|
|
32251
32337
|
* @param request - ModifyEciScalingConfigurationRequest
|
|
32252
32338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32257,8 +32343,8 @@ export default class Client extends OpenApi {
|
|
|
32257
32343
|
* Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
|
|
32258
32344
|
*
|
|
32259
32345
|
* @remarks
|
|
32260
|
-
*
|
|
32261
|
-
* * You can call the [
|
|
32346
|
+
* To rename a scaling configuration in a scaling group, ensure the new name is unique within that group.
|
|
32347
|
+
* * You can call the [DescribeEciScalingConfigurations](https://help.aliyun.com/document_detail/459374.html) operation to check the modification result.
|
|
32262
32348
|
*
|
|
32263
32349
|
* @param request - ModifyEciScalingConfigurationRequest
|
|
32264
32350
|
* @returns ModifyEciScalingConfigurationResponse
|