@alicloud/ess20220222 1.4.1 → 1.5.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 +358 -120
- package/dist/client.js +564 -129
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +694 -120
package/dist/client.d.ts
CHANGED
|
@@ -1539,6 +1539,50 @@ export declare class DescribeAlarmsResponse extends $tea.Model {
|
|
|
1539
1539
|
[key: string]: any;
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
|
+
export declare class DescribeAlertConfigurationRequest extends $tea.Model {
|
|
1543
|
+
ownerId?: number;
|
|
1544
|
+
regionId?: string;
|
|
1545
|
+
resourceOwnerAccount?: string;
|
|
1546
|
+
scalingGroupId?: string;
|
|
1547
|
+
static names(): {
|
|
1548
|
+
[key: string]: string;
|
|
1549
|
+
};
|
|
1550
|
+
static types(): {
|
|
1551
|
+
[key: string]: any;
|
|
1552
|
+
};
|
|
1553
|
+
constructor(map?: {
|
|
1554
|
+
[key: string]: any;
|
|
1555
|
+
});
|
|
1556
|
+
}
|
|
1557
|
+
export declare class DescribeAlertConfigurationResponseBody extends $tea.Model {
|
|
1558
|
+
requestId?: string;
|
|
1559
|
+
scaleStatuses?: string[];
|
|
1560
|
+
static names(): {
|
|
1561
|
+
[key: string]: string;
|
|
1562
|
+
};
|
|
1563
|
+
static types(): {
|
|
1564
|
+
[key: string]: any;
|
|
1565
|
+
};
|
|
1566
|
+
constructor(map?: {
|
|
1567
|
+
[key: string]: any;
|
|
1568
|
+
});
|
|
1569
|
+
}
|
|
1570
|
+
export declare class DescribeAlertConfigurationResponse extends $tea.Model {
|
|
1571
|
+
headers?: {
|
|
1572
|
+
[key: string]: string;
|
|
1573
|
+
};
|
|
1574
|
+
statusCode?: number;
|
|
1575
|
+
body?: DescribeAlertConfigurationResponseBody;
|
|
1576
|
+
static names(): {
|
|
1577
|
+
[key: string]: string;
|
|
1578
|
+
};
|
|
1579
|
+
static types(): {
|
|
1580
|
+
[key: string]: any;
|
|
1581
|
+
};
|
|
1582
|
+
constructor(map?: {
|
|
1583
|
+
[key: string]: any;
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1542
1586
|
export declare class DescribeEciScalingConfigurationDetailRequest extends $tea.Model {
|
|
1543
1587
|
outputFormat?: string;
|
|
1544
1588
|
regionId?: string;
|
|
@@ -1886,11 +1930,27 @@ export declare class DescribePatternTypesRequest extends $tea.Model {
|
|
|
1886
1930
|
channelId?: number;
|
|
1887
1931
|
cores?: number;
|
|
1888
1932
|
coresList?: number[];
|
|
1933
|
+
cpuArchitectures?: string[];
|
|
1889
1934
|
excludedInstanceType?: string[];
|
|
1935
|
+
gpuSpecs?: string[];
|
|
1936
|
+
instanceCategories?: string[];
|
|
1890
1937
|
instanceFamilyLevel?: string;
|
|
1938
|
+
instanceTypeFamilies?: string[];
|
|
1891
1939
|
maxPrice?: number;
|
|
1940
|
+
maximumCpuCoreCount?: number;
|
|
1941
|
+
maximumGpuAmount?: number;
|
|
1942
|
+
maximumMemorySize?: number;
|
|
1892
1943
|
memory?: number;
|
|
1893
1944
|
memoryList?: number[];
|
|
1945
|
+
minimumBaselineCredit?: number;
|
|
1946
|
+
minimumCpuCoreCount?: number;
|
|
1947
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
1948
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
1949
|
+
minimumEniQuantity?: number;
|
|
1950
|
+
minimumGpuAmount?: number;
|
|
1951
|
+
minimumInitialCredit?: number;
|
|
1952
|
+
minimumMemorySize?: number;
|
|
1953
|
+
physicalProcessorModels?: string[];
|
|
1894
1954
|
regionId?: string;
|
|
1895
1955
|
spotStrategy?: string;
|
|
1896
1956
|
vSwitchId?: string[];
|
|
@@ -3212,6 +3272,50 @@ export declare class ModifyAlarmResponse extends $tea.Model {
|
|
|
3212
3272
|
[key: string]: any;
|
|
3213
3273
|
});
|
|
3214
3274
|
}
|
|
3275
|
+
export declare class ModifyAlertConfigurationRequest extends $tea.Model {
|
|
3276
|
+
ownerId?: number;
|
|
3277
|
+
regionId?: string;
|
|
3278
|
+
resourceOwnerAccount?: string;
|
|
3279
|
+
scaleStatuses?: string[];
|
|
3280
|
+
scalingGroupId?: string;
|
|
3281
|
+
static names(): {
|
|
3282
|
+
[key: string]: string;
|
|
3283
|
+
};
|
|
3284
|
+
static types(): {
|
|
3285
|
+
[key: string]: any;
|
|
3286
|
+
};
|
|
3287
|
+
constructor(map?: {
|
|
3288
|
+
[key: string]: any;
|
|
3289
|
+
});
|
|
3290
|
+
}
|
|
3291
|
+
export declare class ModifyAlertConfigurationResponseBody extends $tea.Model {
|
|
3292
|
+
requestId?: string;
|
|
3293
|
+
static names(): {
|
|
3294
|
+
[key: string]: string;
|
|
3295
|
+
};
|
|
3296
|
+
static types(): {
|
|
3297
|
+
[key: string]: any;
|
|
3298
|
+
};
|
|
3299
|
+
constructor(map?: {
|
|
3300
|
+
[key: string]: any;
|
|
3301
|
+
});
|
|
3302
|
+
}
|
|
3303
|
+
export declare class ModifyAlertConfigurationResponse extends $tea.Model {
|
|
3304
|
+
headers?: {
|
|
3305
|
+
[key: string]: string;
|
|
3306
|
+
};
|
|
3307
|
+
statusCode?: number;
|
|
3308
|
+
body?: ModifyAlertConfigurationResponseBody;
|
|
3309
|
+
static names(): {
|
|
3310
|
+
[key: string]: string;
|
|
3311
|
+
};
|
|
3312
|
+
static types(): {
|
|
3313
|
+
[key: string]: any;
|
|
3314
|
+
};
|
|
3315
|
+
constructor(map?: {
|
|
3316
|
+
[key: string]: any;
|
|
3317
|
+
});
|
|
3318
|
+
}
|
|
3215
3319
|
export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
3216
3320
|
acrRegistryInfos?: ModifyEciScalingConfigurationRequestAcrRegistryInfos[];
|
|
3217
3321
|
activeDeadlineSeconds?: number;
|
|
@@ -5096,10 +5200,26 @@ export declare class CreateScalingConfigurationRequestInstancePatternInfos exten
|
|
|
5096
5200
|
architectures?: string[];
|
|
5097
5201
|
burstablePerformance?: string;
|
|
5098
5202
|
cores?: number;
|
|
5203
|
+
cpuArchitectures?: string[];
|
|
5099
5204
|
excludedInstanceTypes?: string[];
|
|
5205
|
+
gpuSpecs?: string[];
|
|
5206
|
+
instanceCategories?: string[];
|
|
5100
5207
|
instanceFamilyLevel?: string;
|
|
5208
|
+
instanceTypeFamilies?: string[];
|
|
5101
5209
|
maxPrice?: number;
|
|
5210
|
+
maximumCpuCoreCount?: number;
|
|
5211
|
+
maximumGpuAmount?: number;
|
|
5212
|
+
maximumMemorySize?: number;
|
|
5102
5213
|
memory?: number;
|
|
5214
|
+
minimumBaselineCredit?: number;
|
|
5215
|
+
minimumCpuCoreCount?: number;
|
|
5216
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
5217
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
5218
|
+
minimumEniQuantity?: number;
|
|
5219
|
+
minimumGpuAmount?: number;
|
|
5220
|
+
minimumInitialCredit?: number;
|
|
5221
|
+
minimumMemorySize?: number;
|
|
5222
|
+
physicalProcessorModels?: string[];
|
|
5103
5223
|
static names(): {
|
|
5104
5224
|
[key: string]: string;
|
|
5105
5225
|
};
|
|
@@ -5240,10 +5360,26 @@ export declare class CreateScalingConfigurationShrinkRequestInstancePatternInfos
|
|
|
5240
5360
|
architectures?: string[];
|
|
5241
5361
|
burstablePerformance?: string;
|
|
5242
5362
|
cores?: number;
|
|
5363
|
+
cpuArchitectures?: string[];
|
|
5243
5364
|
excludedInstanceTypes?: string[];
|
|
5365
|
+
gpuSpecs?: string[];
|
|
5366
|
+
instanceCategories?: string[];
|
|
5244
5367
|
instanceFamilyLevel?: string;
|
|
5368
|
+
instanceTypeFamilies?: string[];
|
|
5245
5369
|
maxPrice?: number;
|
|
5370
|
+
maximumCpuCoreCount?: number;
|
|
5371
|
+
maximumGpuAmount?: number;
|
|
5372
|
+
maximumMemorySize?: number;
|
|
5246
5373
|
memory?: number;
|
|
5374
|
+
minimumBaselineCredit?: number;
|
|
5375
|
+
minimumCpuCoreCount?: number;
|
|
5376
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
5377
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
5378
|
+
minimumEniQuantity?: number;
|
|
5379
|
+
minimumGpuAmount?: number;
|
|
5380
|
+
minimumInitialCredit?: number;
|
|
5381
|
+
minimumMemorySize?: number;
|
|
5382
|
+
physicalProcessorModels?: string[];
|
|
5247
5383
|
static names(): {
|
|
5248
5384
|
[key: string]: string;
|
|
5249
5385
|
};
|
|
@@ -6408,10 +6544,26 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
6408
6544
|
architectures?: string[];
|
|
6409
6545
|
burstablePerformance?: string;
|
|
6410
6546
|
cores?: number;
|
|
6547
|
+
cpuArchitectures?: string[];
|
|
6411
6548
|
excludedInstanceTypes?: string[];
|
|
6549
|
+
gpuSpecs?: string[];
|
|
6550
|
+
instanceCategories?: string[];
|
|
6412
6551
|
instanceFamilyLevel?: string;
|
|
6552
|
+
instanceTypeFamilies?: string[];
|
|
6413
6553
|
maxPrice?: number;
|
|
6554
|
+
maximumCpuCoreCount?: number;
|
|
6555
|
+
maximumGpuAmount?: number;
|
|
6556
|
+
maximumMemorySize?: number;
|
|
6414
6557
|
memory?: number;
|
|
6558
|
+
minimumBaselineCredit?: number;
|
|
6559
|
+
minimumCpuCoreCount?: number;
|
|
6560
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
6561
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
6562
|
+
minimumEniQuantity?: number;
|
|
6563
|
+
minimumGpuAmount?: number;
|
|
6564
|
+
minimumInitialCredit?: number;
|
|
6565
|
+
minimumMemorySize?: number;
|
|
6566
|
+
physicalProcessorModels?: string[];
|
|
6415
6567
|
static names(): {
|
|
6416
6568
|
[key: string]: string;
|
|
6417
6569
|
};
|
|
@@ -7806,10 +7958,26 @@ export declare class ModifyScalingConfigurationRequestInstancePatternInfos exten
|
|
|
7806
7958
|
architectures?: string[];
|
|
7807
7959
|
burstablePerformance?: string;
|
|
7808
7960
|
cores?: number;
|
|
7961
|
+
cpuArchitectures?: string[];
|
|
7809
7962
|
excludedInstanceTypes?: string[];
|
|
7963
|
+
gpuSpecs?: string[];
|
|
7964
|
+
instanceCategories?: string[];
|
|
7810
7965
|
instanceFamilyLevel?: string;
|
|
7966
|
+
instanceTypeFamilies?: string[];
|
|
7811
7967
|
maxPrice?: number;
|
|
7968
|
+
maximumCpuCoreCount?: number;
|
|
7969
|
+
maximumGpuAmount?: number;
|
|
7970
|
+
maximumMemorySize?: number;
|
|
7812
7971
|
memory?: number;
|
|
7972
|
+
minimumBaselineCredit?: number;
|
|
7973
|
+
minimumCpuCoreCount?: number;
|
|
7974
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
7975
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
7976
|
+
minimumEniQuantity?: number;
|
|
7977
|
+
minimumGpuAmount?: number;
|
|
7978
|
+
minimumInitialCredit?: number;
|
|
7979
|
+
minimumMemorySize?: number;
|
|
7980
|
+
physicalProcessorModels?: string[];
|
|
7813
7981
|
static names(): {
|
|
7814
7982
|
[key: string]: string;
|
|
7815
7983
|
};
|
|
@@ -7950,10 +8118,26 @@ export declare class ModifyScalingConfigurationShrinkRequestInstancePatternInfos
|
|
|
7950
8118
|
architectures?: string[];
|
|
7951
8119
|
burstablePerformance?: string;
|
|
7952
8120
|
cores?: number;
|
|
8121
|
+
cpuArchitectures?: string[];
|
|
7953
8122
|
excludedInstanceTypes?: string[];
|
|
8123
|
+
gpuSpecs?: string[];
|
|
8124
|
+
instanceCategories?: string[];
|
|
7954
8125
|
instanceFamilyLevel?: string;
|
|
8126
|
+
instanceTypeFamilies?: string[];
|
|
7955
8127
|
maxPrice?: number;
|
|
8128
|
+
maximumCpuCoreCount?: number;
|
|
8129
|
+
maximumGpuAmount?: number;
|
|
8130
|
+
maximumMemorySize?: number;
|
|
7956
8131
|
memory?: number;
|
|
8132
|
+
minimumBaselineCredit?: number;
|
|
8133
|
+
minimumCpuCoreCount?: number;
|
|
8134
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
8135
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
8136
|
+
minimumEniQuantity?: number;
|
|
8137
|
+
minimumGpuAmount?: number;
|
|
8138
|
+
minimumInitialCredit?: number;
|
|
8139
|
+
minimumMemorySize?: number;
|
|
8140
|
+
physicalProcessorModels?: string[];
|
|
7957
8141
|
static names(): {
|
|
7958
8142
|
[key: string]: string;
|
|
7959
8143
|
};
|
|
@@ -8227,12 +8411,11 @@ export default class Client extends OpenApi {
|
|
|
8227
8411
|
*/
|
|
8228
8412
|
applyScalingGroup(request: ApplyScalingGroupRequest): Promise<ApplyScalingGroupResponse>;
|
|
8229
8413
|
/**
|
|
8230
|
-
* @summary
|
|
8414
|
+
* @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
8231
8415
|
*
|
|
8232
|
-
* @description Before you
|
|
8233
|
-
* * The scaling group
|
|
8416
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
8417
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
8234
8418
|
* * The ALB server group is in the Available state.
|
|
8235
|
-
* * You can associate only a limited number of ALB server groups with a scaling group. To view the quota or manually request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).
|
|
8236
8419
|
*
|
|
8237
8420
|
* @param request AttachAlbServerGroupsRequest
|
|
8238
8421
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8240,12 +8423,11 @@ export default class Client extends OpenApi {
|
|
|
8240
8423
|
*/
|
|
8241
8424
|
attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse>;
|
|
8242
8425
|
/**
|
|
8243
|
-
* @summary
|
|
8426
|
+
* @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
8244
8427
|
*
|
|
8245
|
-
* @description Before you
|
|
8246
|
-
* * The scaling group
|
|
8428
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
8429
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
8247
8430
|
* * The ALB server group is in the Available state.
|
|
8248
|
-
* * You can associate only a limited number of ALB server groups with a scaling group. To view the quota or manually request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).
|
|
8249
8431
|
*
|
|
8250
8432
|
* @param request AttachAlbServerGroupsRequest
|
|
8251
8433
|
* @return AttachAlbServerGroupsResponse
|
|
@@ -8355,7 +8537,7 @@ export default class Client extends OpenApi {
|
|
|
8355
8537
|
*/
|
|
8356
8538
|
attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse>;
|
|
8357
8539
|
/**
|
|
8358
|
-
* @summary Attaches
|
|
8540
|
+
* @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
8359
8541
|
*
|
|
8360
8542
|
* @param request AttachServerGroupsRequest
|
|
8361
8543
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8363,29 +8545,30 @@ export default class Client extends OpenApi {
|
|
|
8363
8545
|
*/
|
|
8364
8546
|
attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse>;
|
|
8365
8547
|
/**
|
|
8366
|
-
* @summary Attaches
|
|
8548
|
+
* @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
8367
8549
|
*
|
|
8368
8550
|
* @param request AttachServerGroupsRequest
|
|
8369
8551
|
* @return AttachServerGroupsResponse
|
|
8370
8552
|
*/
|
|
8371
8553
|
attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse>;
|
|
8372
8554
|
/**
|
|
8373
|
-
* @summary
|
|
8374
|
-
*
|
|
8375
|
-
* @description Before you call this operation
|
|
8376
|
-
*
|
|
8377
|
-
*
|
|
8378
|
-
*
|
|
8379
|
-
*
|
|
8380
|
-
*
|
|
8381
|
-
*
|
|
8382
|
-
*
|
|
8383
|
-
*
|
|
8384
|
-
* When you call this operation, you must specify the following parameters:
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8387
|
-
*
|
|
8388
|
-
*
|
|
8555
|
+
* @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
|
|
8556
|
+
*
|
|
8557
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
8558
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
8559
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
8560
|
+
* * The CLB instance is in the Running state.
|
|
8561
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
8562
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
8563
|
+
* * If the network type of the scaling group is VPC and the network type of the CLB instance is classic network, any backend server of the CLB instance within a VPC setup shares the same VPC as the scaling group.
|
|
8564
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
8565
|
+
* * The operation to attach vServer groups does not result in the total number of vServer groups exceeding the predefined quota limit. For information about the vServer group quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
|
|
8566
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
8567
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
8568
|
+
* * VServerGroupId: the ID of the vServer group
|
|
8569
|
+
* * Port: the port number of the vServer group
|
|
8570
|
+
* **
|
|
8571
|
+
* **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
|
|
8389
8572
|
*
|
|
8390
8573
|
* @param request AttachVServerGroupsRequest
|
|
8391
8574
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8393,29 +8576,33 @@ export default class Client extends OpenApi {
|
|
|
8393
8576
|
*/
|
|
8394
8577
|
attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse>;
|
|
8395
8578
|
/**
|
|
8396
|
-
* @summary
|
|
8397
|
-
*
|
|
8398
|
-
* @description Before you call this operation
|
|
8399
|
-
*
|
|
8400
|
-
*
|
|
8401
|
-
*
|
|
8402
|
-
*
|
|
8403
|
-
*
|
|
8404
|
-
*
|
|
8405
|
-
*
|
|
8406
|
-
*
|
|
8407
|
-
* When you call this operation, you must specify the following parameters:
|
|
8408
|
-
*
|
|
8409
|
-
*
|
|
8410
|
-
*
|
|
8411
|
-
*
|
|
8579
|
+
* @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
|
|
8580
|
+
*
|
|
8581
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
8582
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
8583
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
8584
|
+
* * The CLB instance is in the Running state.
|
|
8585
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
8586
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
8587
|
+
* * If the network type of the scaling group is VPC and the network type of the CLB instance is classic network, any backend server of the CLB instance within a VPC setup shares the same VPC as the scaling group.
|
|
8588
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
8589
|
+
* * The operation to attach vServer groups does not result in the total number of vServer groups exceeding the predefined quota limit. For information about the vServer group quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
|
|
8590
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
8591
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
8592
|
+
* * VServerGroupId: the ID of the vServer group
|
|
8593
|
+
* * Port: the port number of the vServer group
|
|
8594
|
+
* **
|
|
8595
|
+
* **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
|
|
8412
8596
|
*
|
|
8413
8597
|
* @param request AttachVServerGroupsRequest
|
|
8414
8598
|
* @return AttachVServerGroupsResponse
|
|
8415
8599
|
*/
|
|
8416
8600
|
attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
|
|
8417
8601
|
/**
|
|
8418
|
-
* @summary
|
|
8602
|
+
* @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
|
|
8603
|
+
*
|
|
8604
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
8605
|
+
* * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
|
|
8419
8606
|
*
|
|
8420
8607
|
* @param request ChangeResourceGroupRequest
|
|
8421
8608
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8423,7 +8610,10 @@ export default class Client extends OpenApi {
|
|
|
8423
8610
|
*/
|
|
8424
8611
|
changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
|
|
8425
8612
|
/**
|
|
8426
|
-
* @summary
|
|
8613
|
+
* @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
|
|
8614
|
+
*
|
|
8615
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
8616
|
+
* * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
|
|
8427
8617
|
*
|
|
8428
8618
|
* @param request ChangeResourceGroupRequest
|
|
8429
8619
|
* @return ChangeResourceGroupResponse
|
|
@@ -8449,13 +8639,13 @@ export default class Client extends OpenApi {
|
|
|
8449
8639
|
*/
|
|
8450
8640
|
completeLifecycleAction(request: CompleteLifecycleActionRequest): Promise<CompleteLifecycleActionResponse>;
|
|
8451
8641
|
/**
|
|
8452
|
-
* @summary Creates an event-triggered task.
|
|
8642
|
+
* @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
|
|
8453
8643
|
*
|
|
8454
|
-
* @description * If you set
|
|
8455
|
-
* * When you create an event-triggered task, you must specify
|
|
8456
|
-
* * If you
|
|
8457
|
-
* *
|
|
8458
|
-
* >
|
|
8644
|
+
* @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
|
|
8645
|
+
* * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
|
|
8646
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
8647
|
+
* * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
|
|
8648
|
+
* > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
|
|
8459
8649
|
*
|
|
8460
8650
|
* @param request CreateAlarmRequest
|
|
8461
8651
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8463,13 +8653,13 @@ export default class Client extends OpenApi {
|
|
|
8463
8653
|
*/
|
|
8464
8654
|
createAlarmWithOptions(request: CreateAlarmRequest, runtime: $Util.RuntimeOptions): Promise<CreateAlarmResponse>;
|
|
8465
8655
|
/**
|
|
8466
|
-
* @summary Creates an event-triggered task.
|
|
8656
|
+
* @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
|
|
8467
8657
|
*
|
|
8468
|
-
* @description * If you set
|
|
8469
|
-
* * When you create an event-triggered task, you must specify
|
|
8470
|
-
* * If you
|
|
8471
|
-
* *
|
|
8472
|
-
* >
|
|
8658
|
+
* @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
|
|
8659
|
+
* * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
|
|
8660
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
8661
|
+
* * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
|
|
8662
|
+
* > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
|
|
8473
8663
|
*
|
|
8474
8664
|
* @param request CreateAlarmRequest
|
|
8475
8665
|
* @return CreateAlarmResponse
|
|
@@ -8892,7 +9082,7 @@ export default class Client extends OpenApi {
|
|
|
8892
9082
|
*/
|
|
8893
9083
|
deleteScheduledTask(request: DeleteScheduledTaskRequest): Promise<DeleteScheduledTaskResponse>;
|
|
8894
9084
|
/**
|
|
8895
|
-
* @summary Queries event-triggered tasks.
|
|
9085
|
+
* @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
|
|
8896
9086
|
*
|
|
8897
9087
|
* @param request DescribeAlarmsRequest
|
|
8898
9088
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8900,12 +9090,23 @@ export default class Client extends OpenApi {
|
|
|
8900
9090
|
*/
|
|
8901
9091
|
describeAlarmsWithOptions(request: DescribeAlarmsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlarmsResponse>;
|
|
8902
9092
|
/**
|
|
8903
|
-
* @summary Queries event-triggered tasks.
|
|
9093
|
+
* @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
|
|
8904
9094
|
*
|
|
8905
9095
|
* @param request DescribeAlarmsRequest
|
|
8906
9096
|
* @return DescribeAlarmsResponse
|
|
8907
9097
|
*/
|
|
8908
9098
|
describeAlarms(request: DescribeAlarmsRequest): Promise<DescribeAlarmsResponse>;
|
|
9099
|
+
/**
|
|
9100
|
+
* @param request DescribeAlertConfigurationRequest
|
|
9101
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9102
|
+
* @return DescribeAlertConfigurationResponse
|
|
9103
|
+
*/
|
|
9104
|
+
describeAlertConfigurationWithOptions(request: DescribeAlertConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlertConfigurationResponse>;
|
|
9105
|
+
/**
|
|
9106
|
+
* @param request DescribeAlertConfigurationRequest
|
|
9107
|
+
* @return DescribeAlertConfigurationResponse
|
|
9108
|
+
*/
|
|
9109
|
+
describeAlertConfiguration(request: DescribeAlertConfigurationRequest): Promise<DescribeAlertConfigurationResponse>;
|
|
8909
9110
|
/**
|
|
8910
9111
|
* @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
|
|
8911
9112
|
*
|
|
@@ -9034,7 +9235,7 @@ export default class Client extends OpenApi {
|
|
|
9034
9235
|
*/
|
|
9035
9236
|
describeNotificationTypes(request: DescribeNotificationTypesRequest): Promise<DescribeNotificationTypesResponse>;
|
|
9036
9237
|
/**
|
|
9037
|
-
* @summary DescribePatternTypes
|
|
9238
|
+
* @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
|
|
9038
9239
|
*
|
|
9039
9240
|
* @param request DescribePatternTypesRequest
|
|
9040
9241
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9042,7 +9243,7 @@ export default class Client extends OpenApi {
|
|
|
9042
9243
|
*/
|
|
9043
9244
|
describePatternTypesWithOptions(request: DescribePatternTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribePatternTypesResponse>;
|
|
9044
9245
|
/**
|
|
9045
|
-
* @summary DescribePatternTypes
|
|
9246
|
+
* @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
|
|
9046
9247
|
*
|
|
9047
9248
|
* @param request DescribePatternTypesRequest
|
|
9048
9249
|
* @return DescribePatternTypesResponse
|
|
@@ -9117,7 +9318,7 @@ export default class Client extends OpenApi {
|
|
|
9117
9318
|
*/
|
|
9118
9319
|
describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse>;
|
|
9119
9320
|
/**
|
|
9120
|
-
* @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, a Kubernetes Deployment file
|
|
9321
|
+
* @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
|
|
9121
9322
|
*
|
|
9122
9323
|
* @param request DescribeScalingGroupDetailRequest
|
|
9123
9324
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9125,7 +9326,7 @@ export default class Client extends OpenApi {
|
|
|
9125
9326
|
*/
|
|
9126
9327
|
describeScalingGroupDetailWithOptions(request: DescribeScalingGroupDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupDetailResponse>;
|
|
9127
9328
|
/**
|
|
9128
|
-
* @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, a Kubernetes Deployment file
|
|
9329
|
+
* @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
|
|
9129
9330
|
*
|
|
9130
9331
|
* @param request DescribeScalingGroupDetailRequest
|
|
9131
9332
|
* @return DescribeScalingGroupDetailResponse
|
|
@@ -9278,7 +9479,7 @@ export default class Client extends OpenApi {
|
|
|
9278
9479
|
*/
|
|
9279
9480
|
detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse>;
|
|
9280
9481
|
/**
|
|
9281
|
-
* @summary
|
|
9482
|
+
* @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
9282
9483
|
*
|
|
9283
9484
|
* @param request DetachServerGroupsRequest
|
|
9284
9485
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9286,7 +9487,7 @@ export default class Client extends OpenApi {
|
|
|
9286
9487
|
*/
|
|
9287
9488
|
detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse>;
|
|
9288
9489
|
/**
|
|
9289
|
-
* @summary
|
|
9490
|
+
* @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
|
|
9290
9491
|
*
|
|
9291
9492
|
* @param request DetachServerGroupsRequest
|
|
9292
9493
|
* @return DetachServerGroupsResponse
|
|
@@ -9341,11 +9542,11 @@ export default class Client extends OpenApi {
|
|
|
9341
9542
|
*/
|
|
9342
9543
|
disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse>;
|
|
9343
9544
|
/**
|
|
9344
|
-
* @summary Disables a scaling group.
|
|
9545
|
+
* @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
|
|
9345
9546
|
*
|
|
9346
9547
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
9347
|
-
* *
|
|
9348
|
-
* *
|
|
9548
|
+
* * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
|
|
9549
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
9349
9550
|
*
|
|
9350
9551
|
* @param request DisableScalingGroupRequest
|
|
9351
9552
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9353,11 +9554,11 @@ export default class Client extends OpenApi {
|
|
|
9353
9554
|
*/
|
|
9354
9555
|
disableScalingGroupWithOptions(request: DisableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DisableScalingGroupResponse>;
|
|
9355
9556
|
/**
|
|
9356
|
-
* @summary Disables a scaling group.
|
|
9557
|
+
* @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
|
|
9357
9558
|
*
|
|
9358
9559
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
9359
|
-
* *
|
|
9360
|
-
* *
|
|
9560
|
+
* * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
|
|
9561
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
9361
9562
|
*
|
|
9362
9563
|
* @param request DisableScalingGroupRequest
|
|
9363
9564
|
* @return DisableScalingGroupResponse
|
|
@@ -9379,13 +9580,14 @@ export default class Client extends OpenApi {
|
|
|
9379
9580
|
*/
|
|
9380
9581
|
enableAlarm(request: EnableAlarmRequest): Promise<EnableAlarmResponse>;
|
|
9381
9582
|
/**
|
|
9382
|
-
* @summary Enables a scaling group.
|
|
9583
|
+
* @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
|
|
9383
9584
|
*
|
|
9384
|
-
* @description You can call this operation to enable a scaling group
|
|
9385
|
-
*
|
|
9386
|
-
*
|
|
9387
|
-
* * If
|
|
9388
|
-
*
|
|
9585
|
+
* @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
|
|
9586
|
+
* **
|
|
9587
|
+
* **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
|
|
9588
|
+
* * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
|
|
9589
|
+
* * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
|
|
9590
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
9389
9591
|
*
|
|
9390
9592
|
* @param request EnableScalingGroupRequest
|
|
9391
9593
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9393,13 +9595,14 @@ export default class Client extends OpenApi {
|
|
|
9393
9595
|
*/
|
|
9394
9596
|
enableScalingGroupWithOptions(request: EnableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<EnableScalingGroupResponse>;
|
|
9395
9597
|
/**
|
|
9396
|
-
* @summary Enables a scaling group.
|
|
9598
|
+
* @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
|
|
9397
9599
|
*
|
|
9398
|
-
* @description You can call this operation to enable a scaling group
|
|
9399
|
-
*
|
|
9400
|
-
*
|
|
9401
|
-
* * If
|
|
9402
|
-
*
|
|
9600
|
+
* @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
|
|
9601
|
+
* **
|
|
9602
|
+
* **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
|
|
9603
|
+
* * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
|
|
9604
|
+
* * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
|
|
9605
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
9403
9606
|
*
|
|
9404
9607
|
* @param request EnableScalingGroupRequest
|
|
9405
9608
|
* @return EnableScalingGroupResponse
|
|
@@ -9502,7 +9705,10 @@ export default class Client extends OpenApi {
|
|
|
9502
9705
|
*/
|
|
9503
9706
|
listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
|
|
9504
9707
|
/**
|
|
9505
|
-
* @summary Queries tags that are added to
|
|
9708
|
+
* @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
|
|
9709
|
+
*
|
|
9710
|
+
* @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
|
|
9711
|
+
* * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
|
|
9506
9712
|
*
|
|
9507
9713
|
* @param request ListTagResourcesRequest
|
|
9508
9714
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9510,7 +9716,10 @@ export default class Client extends OpenApi {
|
|
|
9510
9716
|
*/
|
|
9511
9717
|
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
9512
9718
|
/**
|
|
9513
|
-
* @summary Queries tags that are added to
|
|
9719
|
+
* @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
|
|
9720
|
+
*
|
|
9721
|
+
* @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
|
|
9722
|
+
* * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
|
|
9514
9723
|
*
|
|
9515
9724
|
* @param request ListTagResourcesRequest
|
|
9516
9725
|
* @return ListTagResourcesResponse
|
|
@@ -9558,6 +9767,17 @@ export default class Client extends OpenApi {
|
|
|
9558
9767
|
* @return ModifyAlarmResponse
|
|
9559
9768
|
*/
|
|
9560
9769
|
modifyAlarm(request: ModifyAlarmRequest): Promise<ModifyAlarmResponse>;
|
|
9770
|
+
/**
|
|
9771
|
+
* @param request ModifyAlertConfigurationRequest
|
|
9772
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9773
|
+
* @return ModifyAlertConfigurationResponse
|
|
9774
|
+
*/
|
|
9775
|
+
modifyAlertConfigurationWithOptions(request: ModifyAlertConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAlertConfigurationResponse>;
|
|
9776
|
+
/**
|
|
9777
|
+
* @param request ModifyAlertConfigurationRequest
|
|
9778
|
+
* @return ModifyAlertConfigurationResponse
|
|
9779
|
+
*/
|
|
9780
|
+
modifyAlertConfiguration(request: ModifyAlertConfigurationRequest): Promise<ModifyAlertConfigurationResponse>;
|
|
9561
9781
|
/**
|
|
9562
9782
|
* @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
|
|
9563
9783
|
*
|
|
@@ -9650,19 +9870,21 @@ export default class Client extends OpenApi {
|
|
|
9650
9870
|
*/
|
|
9651
9871
|
modifyScalingConfiguration(request: ModifyScalingConfigurationRequest): Promise<ModifyScalingConfigurationResponse>;
|
|
9652
9872
|
/**
|
|
9653
|
-
* @summary Modifies a scaling group.
|
|
9873
|
+
* @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
|
|
9654
9874
|
*
|
|
9655
|
-
* @description * You cannot
|
|
9875
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
9656
9876
|
* * RegionId
|
|
9657
9877
|
* * LoadBalancerId
|
|
9658
|
-
*
|
|
9878
|
+
* **
|
|
9879
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
9659
9880
|
* * DBInstanceId
|
|
9660
|
-
*
|
|
9661
|
-
*
|
|
9662
|
-
* *
|
|
9663
|
-
* *
|
|
9664
|
-
* * If the
|
|
9665
|
-
* * If the
|
|
9881
|
+
* **
|
|
9882
|
+
* **Note** If you want to modify the ApsaraDB RDS instance settings of your scaling group, you can call the AttachDBInstances operation or the DetachDBInstances operation.
|
|
9883
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
9884
|
+
* * Enabling a new scaling configuration in the scaling group will not impact existing Elastic Compute Service (ECS) instances or elastic container instances that were provisioned based on the previous scaling configuration. These instances will continue to run as expected.
|
|
9885
|
+
* * If the modification of the MaxSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new maximum limit, Auto Scaling proactively removes the surplus instances to restore the total number to match the new maximum limit.
|
|
9886
|
+
* * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
|
|
9887
|
+
* * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
|
|
9666
9888
|
*
|
|
9667
9889
|
* @param request ModifyScalingGroupRequest
|
|
9668
9890
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9670,19 +9892,21 @@ export default class Client extends OpenApi {
|
|
|
9670
9892
|
*/
|
|
9671
9893
|
modifyScalingGroupWithOptions(request: ModifyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingGroupResponse>;
|
|
9672
9894
|
/**
|
|
9673
|
-
* @summary Modifies a scaling group.
|
|
9895
|
+
* @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
|
|
9674
9896
|
*
|
|
9675
|
-
* @description * You cannot
|
|
9897
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
9676
9898
|
* * RegionId
|
|
9677
9899
|
* * LoadBalancerId
|
|
9678
|
-
*
|
|
9900
|
+
* **
|
|
9901
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
9679
9902
|
* * DBInstanceId
|
|
9680
|
-
*
|
|
9681
|
-
*
|
|
9682
|
-
* *
|
|
9683
|
-
* *
|
|
9684
|
-
* * If the
|
|
9685
|
-
* * If the
|
|
9903
|
+
* **
|
|
9904
|
+
* **Note** If you want to modify the ApsaraDB RDS instance settings of your scaling group, you can call the AttachDBInstances operation or the DetachDBInstances operation.
|
|
9905
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
9906
|
+
* * Enabling a new scaling configuration in the scaling group will not impact existing Elastic Compute Service (ECS) instances or elastic container instances that were provisioned based on the previous scaling configuration. These instances will continue to run as expected.
|
|
9907
|
+
* * If the modification of the MaxSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new maximum limit, Auto Scaling proactively removes the surplus instances to restore the total number to match the new maximum limit.
|
|
9908
|
+
* * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
|
|
9909
|
+
* * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
|
|
9686
9910
|
*
|
|
9687
9911
|
* @param request ModifyScalingGroupRequest
|
|
9688
9912
|
* @return ModifyScalingGroupResponse
|
|
@@ -9827,16 +10051,15 @@ export default class Client extends OpenApi {
|
|
|
9827
10051
|
*/
|
|
9828
10052
|
resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
|
|
9829
10053
|
/**
|
|
9830
|
-
* @summary Scales instances in
|
|
10054
|
+
* @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
|
|
9831
10055
|
*
|
|
9832
|
-
* @description
|
|
9833
|
-
* * The following conditions must be met:
|
|
10056
|
+
* @description * Before you call this operation, take note of the following items:
|
|
9834
10057
|
* * The scaling group is in the Active state.
|
|
9835
|
-
* *
|
|
9836
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
9837
|
-
* * If the addition of a
|
|
9838
|
-
* * If the removal of a
|
|
9839
|
-
* A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity
|
|
10058
|
+
* * The scaling group has no ongoing scaling activities.
|
|
10059
|
+
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
|
|
10060
|
+
* * If the addition of a specific number of Elastic Compute Service (ECS) instances to the scaling group causes the total number of ECS instances in the scaling group to exceed the maximum allowed number, Auto Scaling adds ECS instances to the scaling group until the total number of instances is equal to the maximum allowed number.
|
|
10061
|
+
* * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
|
|
10062
|
+
* A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
|
|
9840
10063
|
*
|
|
9841
10064
|
* @param tmpReq ScaleWithAdjustmentRequest
|
|
9842
10065
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9844,16 +10067,15 @@ export default class Client extends OpenApi {
|
|
|
9844
10067
|
*/
|
|
9845
10068
|
scaleWithAdjustmentWithOptions(tmpReq: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse>;
|
|
9846
10069
|
/**
|
|
9847
|
-
* @summary Scales instances in
|
|
10070
|
+
* @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
|
|
9848
10071
|
*
|
|
9849
|
-
* @description
|
|
9850
|
-
* * The following conditions must be met:
|
|
10072
|
+
* @description * Before you call this operation, take note of the following items:
|
|
9851
10073
|
* * The scaling group is in the Active state.
|
|
9852
|
-
* *
|
|
9853
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
9854
|
-
* * If the addition of a
|
|
9855
|
-
* * If the removal of a
|
|
9856
|
-
* A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity
|
|
10074
|
+
* * The scaling group has no ongoing scaling activities.
|
|
10075
|
+
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
|
|
10076
|
+
* * If the addition of a specific number of Elastic Compute Service (ECS) instances to the scaling group causes the total number of ECS instances in the scaling group to exceed the maximum allowed number, Auto Scaling adds ECS instances to the scaling group until the total number of instances is equal to the maximum allowed number.
|
|
10077
|
+
* * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
|
|
10078
|
+
* A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
|
|
9857
10079
|
*
|
|
9858
10080
|
* @param request ScaleWithAdjustmentRequest
|
|
9859
10081
|
* @return ScaleWithAdjustmentResponse
|
|
@@ -9934,7 +10156,15 @@ export default class Client extends OpenApi {
|
|
|
9934
10156
|
*/
|
|
9935
10157
|
suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse>;
|
|
9936
10158
|
/**
|
|
9937
|
-
* @summary
|
|
10159
|
+
* @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
|
|
10160
|
+
*
|
|
10161
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
10162
|
+
* **
|
|
10163
|
+
* **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
|
|
10164
|
+
* * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
|
|
10165
|
+
* * If both the scaling configuration and the scaling group have tags attached, and tag propagation from the scaling group is enabled, the tags of newly created instances comply with the following rules:
|
|
10166
|
+
* * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
|
|
10167
|
+
* * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
|
|
9938
10168
|
*
|
|
9939
10169
|
* @param request TagResourcesRequest
|
|
9940
10170
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9942,7 +10172,15 @@ export default class Client extends OpenApi {
|
|
|
9942
10172
|
*/
|
|
9943
10173
|
tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
9944
10174
|
/**
|
|
9945
|
-
* @summary
|
|
10175
|
+
* @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
|
|
10176
|
+
*
|
|
10177
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
10178
|
+
* **
|
|
10179
|
+
* **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
|
|
10180
|
+
* * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
|
|
10181
|
+
* * If both the scaling configuration and the scaling group have tags attached, and tag propagation from the scaling group is enabled, the tags of newly created instances comply with the following rules:
|
|
10182
|
+
* * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
|
|
10183
|
+
* * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
|
|
9946
10184
|
*
|
|
9947
10185
|
* @param request TagResourcesRequest
|
|
9948
10186
|
* @return TagResourcesResponse
|