@alicloud/ess20220222 1.4.1 → 1.4.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.d.ts +248 -120
- package/dist/client.js +344 -120
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +440 -120
package/src/client.ts
CHANGED
|
@@ -3624,11 +3624,27 @@ export class DescribePatternTypesRequest extends $tea.Model {
|
|
|
3624
3624
|
channelId?: number;
|
|
3625
3625
|
cores?: number;
|
|
3626
3626
|
coresList?: number[];
|
|
3627
|
+
cpuArchitectures?: string[];
|
|
3627
3628
|
excludedInstanceType?: string[];
|
|
3629
|
+
gpuSpecs?: string[];
|
|
3630
|
+
instanceCategories?: string[];
|
|
3628
3631
|
instanceFamilyLevel?: string;
|
|
3632
|
+
instanceTypeFamilies?: string[];
|
|
3629
3633
|
maxPrice?: number;
|
|
3634
|
+
maximumCpuCoreCount?: number;
|
|
3635
|
+
maximumGpuAmount?: number;
|
|
3636
|
+
maximumMemorySize?: number;
|
|
3630
3637
|
memory?: number;
|
|
3631
3638
|
memoryList?: number[];
|
|
3639
|
+
minimumBaselineCredit?: number;
|
|
3640
|
+
minimumCpuCoreCount?: number;
|
|
3641
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
3642
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
3643
|
+
minimumEniQuantity?: number;
|
|
3644
|
+
minimumGpuAmount?: number;
|
|
3645
|
+
minimumInitialCredit?: number;
|
|
3646
|
+
minimumMemorySize?: number;
|
|
3647
|
+
physicalProcessorModels?: string[];
|
|
3632
3648
|
regionId?: string;
|
|
3633
3649
|
spotStrategy?: string;
|
|
3634
3650
|
vSwitchId?: string[];
|
|
@@ -3639,11 +3655,27 @@ export class DescribePatternTypesRequest extends $tea.Model {
|
|
|
3639
3655
|
channelId: 'ChannelId',
|
|
3640
3656
|
cores: 'Cores',
|
|
3641
3657
|
coresList: 'CoresList',
|
|
3658
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
3642
3659
|
excludedInstanceType: 'ExcludedInstanceType',
|
|
3660
|
+
gpuSpecs: 'GpuSpecs',
|
|
3661
|
+
instanceCategories: 'InstanceCategories',
|
|
3643
3662
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
3663
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
3644
3664
|
maxPrice: 'MaxPrice',
|
|
3665
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
3666
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
3667
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
3645
3668
|
memory: 'Memory',
|
|
3646
3669
|
memoryList: 'MemoryList',
|
|
3670
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
3671
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
3672
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
3673
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
3674
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
3675
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
3676
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
3677
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
3678
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
3647
3679
|
regionId: 'RegionId',
|
|
3648
3680
|
spotStrategy: 'SpotStrategy',
|
|
3649
3681
|
vSwitchId: 'VSwitchId',
|
|
@@ -3657,11 +3689,27 @@ export class DescribePatternTypesRequest extends $tea.Model {
|
|
|
3657
3689
|
channelId: 'number',
|
|
3658
3690
|
cores: 'number',
|
|
3659
3691
|
coresList: { 'type': 'array', 'itemType': 'number' },
|
|
3692
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
3660
3693
|
excludedInstanceType: { 'type': 'array', 'itemType': 'string' },
|
|
3694
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
3695
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
3661
3696
|
instanceFamilyLevel: 'string',
|
|
3697
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
3662
3698
|
maxPrice: 'number',
|
|
3699
|
+
maximumCpuCoreCount: 'number',
|
|
3700
|
+
maximumGpuAmount: 'number',
|
|
3701
|
+
maximumMemorySize: 'number',
|
|
3663
3702
|
memory: 'number',
|
|
3664
3703
|
memoryList: { 'type': 'array', 'itemType': 'number' },
|
|
3704
|
+
minimumBaselineCredit: 'number',
|
|
3705
|
+
minimumCpuCoreCount: 'number',
|
|
3706
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
3707
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
3708
|
+
minimumEniQuantity: 'number',
|
|
3709
|
+
minimumGpuAmount: 'number',
|
|
3710
|
+
minimumInitialCredit: 'number',
|
|
3711
|
+
minimumMemorySize: 'number',
|
|
3712
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
3665
3713
|
regionId: 'string',
|
|
3666
3714
|
spotStrategy: 'string',
|
|
3667
3715
|
vSwitchId: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -9717,19 +9765,51 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
9717
9765
|
architectures?: string[];
|
|
9718
9766
|
burstablePerformance?: string;
|
|
9719
9767
|
cores?: number;
|
|
9768
|
+
cpuArchitectures?: string[];
|
|
9720
9769
|
excludedInstanceTypes?: string[];
|
|
9770
|
+
gpuSpecs?: string[];
|
|
9771
|
+
instanceCategories?: string[];
|
|
9721
9772
|
instanceFamilyLevel?: string;
|
|
9773
|
+
instanceTypeFamilies?: string[];
|
|
9722
9774
|
maxPrice?: number;
|
|
9775
|
+
maximumCpuCoreCount?: number;
|
|
9776
|
+
maximumGpuAmount?: number;
|
|
9777
|
+
maximumMemorySize?: number;
|
|
9723
9778
|
memory?: number;
|
|
9779
|
+
minimumBaselineCredit?: number;
|
|
9780
|
+
minimumCpuCoreCount?: number;
|
|
9781
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
9782
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
9783
|
+
minimumEniQuantity?: number;
|
|
9784
|
+
minimumGpuAmount?: number;
|
|
9785
|
+
minimumInitialCredit?: number;
|
|
9786
|
+
minimumMemorySize?: number;
|
|
9787
|
+
physicalProcessorModels?: string[];
|
|
9724
9788
|
static names(): { [key: string]: string } {
|
|
9725
9789
|
return {
|
|
9726
9790
|
architectures: 'Architectures',
|
|
9727
9791
|
burstablePerformance: 'BurstablePerformance',
|
|
9728
9792
|
cores: 'Cores',
|
|
9793
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
9729
9794
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
9795
|
+
gpuSpecs: 'GpuSpecs',
|
|
9796
|
+
instanceCategories: 'InstanceCategories',
|
|
9730
9797
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
9798
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
9731
9799
|
maxPrice: 'MaxPrice',
|
|
9800
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
9801
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
9802
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
9732
9803
|
memory: 'Memory',
|
|
9804
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
9805
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
9806
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
9807
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
9808
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
9809
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
9810
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
9811
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
9812
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
9733
9813
|
};
|
|
9734
9814
|
}
|
|
9735
9815
|
|
|
@@ -9738,10 +9818,26 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
9738
9818
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
9739
9819
|
burstablePerformance: 'string',
|
|
9740
9820
|
cores: 'number',
|
|
9821
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
9741
9822
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9823
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
9824
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9742
9825
|
instanceFamilyLevel: 'string',
|
|
9826
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
9743
9827
|
maxPrice: 'number',
|
|
9828
|
+
maximumCpuCoreCount: 'number',
|
|
9829
|
+
maximumGpuAmount: 'number',
|
|
9830
|
+
maximumMemorySize: 'number',
|
|
9744
9831
|
memory: 'number',
|
|
9832
|
+
minimumBaselineCredit: 'number',
|
|
9833
|
+
minimumCpuCoreCount: 'number',
|
|
9834
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
9835
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
9836
|
+
minimumEniQuantity: 'number',
|
|
9837
|
+
minimumGpuAmount: 'number',
|
|
9838
|
+
minimumInitialCredit: 'number',
|
|
9839
|
+
minimumMemorySize: 'number',
|
|
9840
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
9745
9841
|
};
|
|
9746
9842
|
}
|
|
9747
9843
|
|
|
@@ -9996,19 +10092,51 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
9996
10092
|
architectures?: string[];
|
|
9997
10093
|
burstablePerformance?: string;
|
|
9998
10094
|
cores?: number;
|
|
10095
|
+
cpuArchitectures?: string[];
|
|
9999
10096
|
excludedInstanceTypes?: string[];
|
|
10097
|
+
gpuSpecs?: string[];
|
|
10098
|
+
instanceCategories?: string[];
|
|
10000
10099
|
instanceFamilyLevel?: string;
|
|
10100
|
+
instanceTypeFamilies?: string[];
|
|
10001
10101
|
maxPrice?: number;
|
|
10102
|
+
maximumCpuCoreCount?: number;
|
|
10103
|
+
maximumGpuAmount?: number;
|
|
10104
|
+
maximumMemorySize?: number;
|
|
10002
10105
|
memory?: number;
|
|
10106
|
+
minimumBaselineCredit?: number;
|
|
10107
|
+
minimumCpuCoreCount?: number;
|
|
10108
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
10109
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
10110
|
+
minimumEniQuantity?: number;
|
|
10111
|
+
minimumGpuAmount?: number;
|
|
10112
|
+
minimumInitialCredit?: number;
|
|
10113
|
+
minimumMemorySize?: number;
|
|
10114
|
+
physicalProcessorModels?: string[];
|
|
10003
10115
|
static names(): { [key: string]: string } {
|
|
10004
10116
|
return {
|
|
10005
10117
|
architectures: 'Architectures',
|
|
10006
10118
|
burstablePerformance: 'BurstablePerformance',
|
|
10007
10119
|
cores: 'Cores',
|
|
10120
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
10008
10121
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
10122
|
+
gpuSpecs: 'GpuSpecs',
|
|
10123
|
+
instanceCategories: 'InstanceCategories',
|
|
10009
10124
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
10125
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
10010
10126
|
maxPrice: 'MaxPrice',
|
|
10127
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
10128
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
10129
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
10011
10130
|
memory: 'Memory',
|
|
10131
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
10132
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
10133
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
10134
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
10135
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
10136
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
10137
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
10138
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
10139
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
10012
10140
|
};
|
|
10013
10141
|
}
|
|
10014
10142
|
|
|
@@ -10017,10 +10145,26 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
10017
10145
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
10018
10146
|
burstablePerformance: 'string',
|
|
10019
10147
|
cores: 'number',
|
|
10148
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
10020
10149
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
10150
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
10151
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
10021
10152
|
instanceFamilyLevel: 'string',
|
|
10153
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
10022
10154
|
maxPrice: 'number',
|
|
10155
|
+
maximumCpuCoreCount: 'number',
|
|
10156
|
+
maximumGpuAmount: 'number',
|
|
10157
|
+
maximumMemorySize: 'number',
|
|
10023
10158
|
memory: 'number',
|
|
10159
|
+
minimumBaselineCredit: 'number',
|
|
10160
|
+
minimumCpuCoreCount: 'number',
|
|
10161
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
10162
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
10163
|
+
minimumEniQuantity: 'number',
|
|
10164
|
+
minimumGpuAmount: 'number',
|
|
10165
|
+
minimumInitialCredit: 'number',
|
|
10166
|
+
minimumMemorySize: 'number',
|
|
10167
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
10024
10168
|
};
|
|
10025
10169
|
}
|
|
10026
10170
|
|
|
@@ -12463,19 +12607,51 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
|
|
|
12463
12607
|
architectures?: string[];
|
|
12464
12608
|
burstablePerformance?: string;
|
|
12465
12609
|
cores?: number;
|
|
12610
|
+
cpuArchitectures?: string[];
|
|
12466
12611
|
excludedInstanceTypes?: string[];
|
|
12612
|
+
gpuSpecs?: string[];
|
|
12613
|
+
instanceCategories?: string[];
|
|
12467
12614
|
instanceFamilyLevel?: string;
|
|
12615
|
+
instanceTypeFamilies?: string[];
|
|
12468
12616
|
maxPrice?: number;
|
|
12617
|
+
maximumCpuCoreCount?: number;
|
|
12618
|
+
maximumGpuAmount?: number;
|
|
12619
|
+
maximumMemorySize?: number;
|
|
12469
12620
|
memory?: number;
|
|
12621
|
+
minimumBaselineCredit?: number;
|
|
12622
|
+
minimumCpuCoreCount?: number;
|
|
12623
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
12624
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
12625
|
+
minimumEniQuantity?: number;
|
|
12626
|
+
minimumGpuAmount?: number;
|
|
12627
|
+
minimumInitialCredit?: number;
|
|
12628
|
+
minimumMemorySize?: number;
|
|
12629
|
+
physicalProcessorModels?: string[];
|
|
12470
12630
|
static names(): { [key: string]: string } {
|
|
12471
12631
|
return {
|
|
12472
12632
|
architectures: 'Architectures',
|
|
12473
12633
|
burstablePerformance: 'BurstablePerformance',
|
|
12474
12634
|
cores: 'Cores',
|
|
12635
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
12475
12636
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
12637
|
+
gpuSpecs: 'GpuSpecs',
|
|
12638
|
+
instanceCategories: 'InstanceCategories',
|
|
12476
12639
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
12640
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
12477
12641
|
maxPrice: 'MaxPrice',
|
|
12642
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
12643
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
12644
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
12478
12645
|
memory: 'Memory',
|
|
12646
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
12647
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
12648
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
12649
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
12650
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
12651
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
12652
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
12653
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
12654
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
12479
12655
|
};
|
|
12480
12656
|
}
|
|
12481
12657
|
|
|
@@ -12484,10 +12660,26 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
|
|
|
12484
12660
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
12485
12661
|
burstablePerformance: 'string',
|
|
12486
12662
|
cores: 'number',
|
|
12663
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
12487
12664
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12665
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
12666
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
12488
12667
|
instanceFamilyLevel: 'string',
|
|
12668
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
12489
12669
|
maxPrice: 'number',
|
|
12670
|
+
maximumCpuCoreCount: 'number',
|
|
12671
|
+
maximumGpuAmount: 'number',
|
|
12672
|
+
maximumMemorySize: 'number',
|
|
12490
12673
|
memory: 'number',
|
|
12674
|
+
minimumBaselineCredit: 'number',
|
|
12675
|
+
minimumCpuCoreCount: 'number',
|
|
12676
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
12677
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
12678
|
+
minimumEniQuantity: 'number',
|
|
12679
|
+
minimumGpuAmount: 'number',
|
|
12680
|
+
minimumInitialCredit: 'number',
|
|
12681
|
+
minimumMemorySize: 'number',
|
|
12682
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
12491
12683
|
};
|
|
12492
12684
|
}
|
|
12493
12685
|
|
|
@@ -15297,19 +15489,51 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
15297
15489
|
architectures?: string[];
|
|
15298
15490
|
burstablePerformance?: string;
|
|
15299
15491
|
cores?: number;
|
|
15492
|
+
cpuArchitectures?: string[];
|
|
15300
15493
|
excludedInstanceTypes?: string[];
|
|
15494
|
+
gpuSpecs?: string[];
|
|
15495
|
+
instanceCategories?: string[];
|
|
15301
15496
|
instanceFamilyLevel?: string;
|
|
15497
|
+
instanceTypeFamilies?: string[];
|
|
15302
15498
|
maxPrice?: number;
|
|
15499
|
+
maximumCpuCoreCount?: number;
|
|
15500
|
+
maximumGpuAmount?: number;
|
|
15501
|
+
maximumMemorySize?: number;
|
|
15303
15502
|
memory?: number;
|
|
15503
|
+
minimumBaselineCredit?: number;
|
|
15504
|
+
minimumCpuCoreCount?: number;
|
|
15505
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
15506
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
15507
|
+
minimumEniQuantity?: number;
|
|
15508
|
+
minimumGpuAmount?: number;
|
|
15509
|
+
minimumInitialCredit?: number;
|
|
15510
|
+
minimumMemorySize?: number;
|
|
15511
|
+
physicalProcessorModels?: string[];
|
|
15304
15512
|
static names(): { [key: string]: string } {
|
|
15305
15513
|
return {
|
|
15306
15514
|
architectures: 'Architectures',
|
|
15307
15515
|
burstablePerformance: 'BurstablePerformance',
|
|
15308
15516
|
cores: 'Cores',
|
|
15517
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
15309
15518
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
15519
|
+
gpuSpecs: 'GpuSpecs',
|
|
15520
|
+
instanceCategories: 'InstanceCategories',
|
|
15310
15521
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
15522
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
15311
15523
|
maxPrice: 'MaxPrice',
|
|
15524
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
15525
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
15526
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
15312
15527
|
memory: 'Memory',
|
|
15528
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
15529
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
15530
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
15531
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
15532
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
15533
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
15534
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
15535
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
15536
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
15313
15537
|
};
|
|
15314
15538
|
}
|
|
15315
15539
|
|
|
@@ -15318,10 +15542,26 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
15318
15542
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
15319
15543
|
burstablePerformance: 'string',
|
|
15320
15544
|
cores: 'number',
|
|
15545
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
15321
15546
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
15547
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
15548
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
15322
15549
|
instanceFamilyLevel: 'string',
|
|
15550
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
15323
15551
|
maxPrice: 'number',
|
|
15552
|
+
maximumCpuCoreCount: 'number',
|
|
15553
|
+
maximumGpuAmount: 'number',
|
|
15554
|
+
maximumMemorySize: 'number',
|
|
15324
15555
|
memory: 'number',
|
|
15556
|
+
minimumBaselineCredit: 'number',
|
|
15557
|
+
minimumCpuCoreCount: 'number',
|
|
15558
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
15559
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
15560
|
+
minimumEniQuantity: 'number',
|
|
15561
|
+
minimumGpuAmount: 'number',
|
|
15562
|
+
minimumInitialCredit: 'number',
|
|
15563
|
+
minimumMemorySize: 'number',
|
|
15564
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
15325
15565
|
};
|
|
15326
15566
|
}
|
|
15327
15567
|
|
|
@@ -15576,19 +15816,51 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
15576
15816
|
architectures?: string[];
|
|
15577
15817
|
burstablePerformance?: string;
|
|
15578
15818
|
cores?: number;
|
|
15819
|
+
cpuArchitectures?: string[];
|
|
15579
15820
|
excludedInstanceTypes?: string[];
|
|
15821
|
+
gpuSpecs?: string[];
|
|
15822
|
+
instanceCategories?: string[];
|
|
15580
15823
|
instanceFamilyLevel?: string;
|
|
15824
|
+
instanceTypeFamilies?: string[];
|
|
15581
15825
|
maxPrice?: number;
|
|
15826
|
+
maximumCpuCoreCount?: number;
|
|
15827
|
+
maximumGpuAmount?: number;
|
|
15828
|
+
maximumMemorySize?: number;
|
|
15582
15829
|
memory?: number;
|
|
15830
|
+
minimumBaselineCredit?: number;
|
|
15831
|
+
minimumCpuCoreCount?: number;
|
|
15832
|
+
minimumEniIpv6AddressQuantity?: number;
|
|
15833
|
+
minimumEniPrivateIpAddressQuantity?: number;
|
|
15834
|
+
minimumEniQuantity?: number;
|
|
15835
|
+
minimumGpuAmount?: number;
|
|
15836
|
+
minimumInitialCredit?: number;
|
|
15837
|
+
minimumMemorySize?: number;
|
|
15838
|
+
physicalProcessorModels?: string[];
|
|
15583
15839
|
static names(): { [key: string]: string } {
|
|
15584
15840
|
return {
|
|
15585
15841
|
architectures: 'Architectures',
|
|
15586
15842
|
burstablePerformance: 'BurstablePerformance',
|
|
15587
15843
|
cores: 'Cores',
|
|
15844
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
15588
15845
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
15846
|
+
gpuSpecs: 'GpuSpecs',
|
|
15847
|
+
instanceCategories: 'InstanceCategories',
|
|
15589
15848
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
15849
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
15590
15850
|
maxPrice: 'MaxPrice',
|
|
15851
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
15852
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
15853
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
15591
15854
|
memory: 'Memory',
|
|
15855
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
15856
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
15857
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
15858
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
15859
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
15860
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
15861
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
15862
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
15863
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
15592
15864
|
};
|
|
15593
15865
|
}
|
|
15594
15866
|
|
|
@@ -15597,10 +15869,26 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
15597
15869
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
15598
15870
|
burstablePerformance: 'string',
|
|
15599
15871
|
cores: 'number',
|
|
15872
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
15600
15873
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
15874
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
15875
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
15601
15876
|
instanceFamilyLevel: 'string',
|
|
15877
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
15602
15878
|
maxPrice: 'number',
|
|
15879
|
+
maximumCpuCoreCount: 'number',
|
|
15880
|
+
maximumGpuAmount: 'number',
|
|
15881
|
+
maximumMemorySize: 'number',
|
|
15603
15882
|
memory: 'number',
|
|
15883
|
+
minimumBaselineCredit: 'number',
|
|
15884
|
+
minimumCpuCoreCount: 'number',
|
|
15885
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
15886
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
15887
|
+
minimumEniQuantity: 'number',
|
|
15888
|
+
minimumGpuAmount: 'number',
|
|
15889
|
+
minimumInitialCredit: 'number',
|
|
15890
|
+
minimumMemorySize: 'number',
|
|
15891
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
15604
15892
|
};
|
|
15605
15893
|
}
|
|
15606
15894
|
|
|
@@ -16133,12 +16421,11 @@ export default class Client extends OpenApi {
|
|
|
16133
16421
|
}
|
|
16134
16422
|
|
|
16135
16423
|
/**
|
|
16136
|
-
* @summary
|
|
16424
|
+
* @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.
|
|
16137
16425
|
*
|
|
16138
|
-
* @description Before you
|
|
16139
|
-
* * The scaling group
|
|
16426
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
16427
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
16140
16428
|
* * The ALB server group is in the Available state.
|
|
16141
|
-
* * 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).
|
|
16142
16429
|
*
|
|
16143
16430
|
* @param request AttachAlbServerGroupsRequest
|
|
16144
16431
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16193,12 +16480,11 @@ export default class Client extends OpenApi {
|
|
|
16193
16480
|
}
|
|
16194
16481
|
|
|
16195
16482
|
/**
|
|
16196
|
-
* @summary
|
|
16483
|
+
* @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.
|
|
16197
16484
|
*
|
|
16198
|
-
* @description Before you
|
|
16199
|
-
* * The scaling group
|
|
16485
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
16486
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
16200
16487
|
* * The ALB server group is in the Available state.
|
|
16201
|
-
* * 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).
|
|
16202
16488
|
*
|
|
16203
16489
|
* @param request AttachAlbServerGroupsRequest
|
|
16204
16490
|
* @return AttachAlbServerGroupsResponse
|
|
@@ -16493,7 +16779,7 @@ export default class Client extends OpenApi {
|
|
|
16493
16779
|
}
|
|
16494
16780
|
|
|
16495
16781
|
/**
|
|
16496
|
-
* @summary Attaches
|
|
16782
|
+
* @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.
|
|
16497
16783
|
*
|
|
16498
16784
|
* @param request AttachServerGroupsRequest
|
|
16499
16785
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16548,7 +16834,7 @@ export default class Client extends OpenApi {
|
|
|
16548
16834
|
}
|
|
16549
16835
|
|
|
16550
16836
|
/**
|
|
16551
|
-
* @summary Attaches
|
|
16837
|
+
* @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.
|
|
16552
16838
|
*
|
|
16553
16839
|
* @param request AttachServerGroupsRequest
|
|
16554
16840
|
* @return AttachServerGroupsResponse
|
|
@@ -16559,22 +16845,23 @@ export default class Client extends OpenApi {
|
|
|
16559
16845
|
}
|
|
16560
16846
|
|
|
16561
16847
|
/**
|
|
16562
|
-
* @summary
|
|
16563
|
-
*
|
|
16564
|
-
* @description Before you call this operation
|
|
16565
|
-
*
|
|
16566
|
-
*
|
|
16567
|
-
*
|
|
16568
|
-
*
|
|
16569
|
-
*
|
|
16570
|
-
*
|
|
16571
|
-
*
|
|
16572
|
-
*
|
|
16573
|
-
* When you call this operation, you must specify the following parameters:
|
|
16574
|
-
*
|
|
16575
|
-
*
|
|
16576
|
-
*
|
|
16577
|
-
*
|
|
16848
|
+
* @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.
|
|
16849
|
+
*
|
|
16850
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
16851
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
16852
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
16853
|
+
* * The CLB instance is in the Running state.
|
|
16854
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
16855
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
16856
|
+
* * 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.
|
|
16857
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
16858
|
+
* * 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).
|
|
16859
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
16860
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
16861
|
+
* * VServerGroupId: the ID of the vServer group
|
|
16862
|
+
* * Port: the port number of the vServer group
|
|
16863
|
+
* **
|
|
16864
|
+
* **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.
|
|
16578
16865
|
*
|
|
16579
16866
|
* @param request AttachVServerGroupsRequest
|
|
16580
16867
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16629,22 +16916,23 @@ export default class Client extends OpenApi {
|
|
|
16629
16916
|
}
|
|
16630
16917
|
|
|
16631
16918
|
/**
|
|
16632
|
-
* @summary
|
|
16633
|
-
*
|
|
16634
|
-
* @description Before you call this operation
|
|
16635
|
-
*
|
|
16636
|
-
*
|
|
16637
|
-
*
|
|
16638
|
-
*
|
|
16639
|
-
*
|
|
16640
|
-
*
|
|
16641
|
-
*
|
|
16642
|
-
*
|
|
16643
|
-
* When you call this operation, you must specify the following parameters:
|
|
16644
|
-
*
|
|
16645
|
-
*
|
|
16646
|
-
*
|
|
16647
|
-
*
|
|
16919
|
+
* @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.
|
|
16920
|
+
*
|
|
16921
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
16922
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
16923
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
16924
|
+
* * The CLB instance is in the Running state.
|
|
16925
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
16926
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
16927
|
+
* * 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.
|
|
16928
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
16929
|
+
* * 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).
|
|
16930
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
16931
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
16932
|
+
* * VServerGroupId: the ID of the vServer group
|
|
16933
|
+
* * Port: the port number of the vServer group
|
|
16934
|
+
* **
|
|
16935
|
+
* **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.
|
|
16648
16936
|
*
|
|
16649
16937
|
* @param request AttachVServerGroupsRequest
|
|
16650
16938
|
* @return AttachVServerGroupsResponse
|
|
@@ -16655,7 +16943,10 @@ export default class Client extends OpenApi {
|
|
|
16655
16943
|
}
|
|
16656
16944
|
|
|
16657
16945
|
/**
|
|
16658
|
-
* @summary
|
|
16946
|
+
* @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.
|
|
16947
|
+
*
|
|
16948
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
16949
|
+
* * 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)
|
|
16659
16950
|
*
|
|
16660
16951
|
* @param request ChangeResourceGroupRequest
|
|
16661
16952
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16706,7 +16997,10 @@ export default class Client extends OpenApi {
|
|
|
16706
16997
|
}
|
|
16707
16998
|
|
|
16708
16999
|
/**
|
|
16709
|
-
* @summary
|
|
17000
|
+
* @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.
|
|
17001
|
+
*
|
|
17002
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
17003
|
+
* * 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)
|
|
16710
17004
|
*
|
|
16711
17005
|
* @param request ChangeResourceGroupRequest
|
|
16712
17006
|
* @return ChangeResourceGroupResponse
|
|
@@ -16791,13 +17085,13 @@ export default class Client extends OpenApi {
|
|
|
16791
17085
|
}
|
|
16792
17086
|
|
|
16793
17087
|
/**
|
|
16794
|
-
* @summary Creates an event-triggered task.
|
|
17088
|
+
* @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.
|
|
16795
17089
|
*
|
|
16796
|
-
* @description * If you set
|
|
16797
|
-
* * When you create an event-triggered task, you must specify
|
|
16798
|
-
* * If you
|
|
16799
|
-
* *
|
|
16800
|
-
* >
|
|
17090
|
+
* @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).
|
|
17091
|
+
* * 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.
|
|
17092
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
17093
|
+
* * 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.
|
|
17094
|
+
* > 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.
|
|
16801
17095
|
*
|
|
16802
17096
|
* @param request CreateAlarmRequest
|
|
16803
17097
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16900,13 +17194,13 @@ export default class Client extends OpenApi {
|
|
|
16900
17194
|
}
|
|
16901
17195
|
|
|
16902
17196
|
/**
|
|
16903
|
-
* @summary Creates an event-triggered task.
|
|
17197
|
+
* @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.
|
|
16904
17198
|
*
|
|
16905
|
-
* @description * If you set
|
|
16906
|
-
* * When you create an event-triggered task, you must specify
|
|
16907
|
-
* * If you
|
|
16908
|
-
* *
|
|
16909
|
-
* >
|
|
17199
|
+
* @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).
|
|
17200
|
+
* * 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.
|
|
17201
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
17202
|
+
* * 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.
|
|
17203
|
+
* > 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.
|
|
16910
17204
|
*
|
|
16911
17205
|
* @param request CreateAlarmRequest
|
|
16912
17206
|
* @return CreateAlarmResponse
|
|
@@ -18719,7 +19013,7 @@ export default class Client extends OpenApi {
|
|
|
18719
19013
|
}
|
|
18720
19014
|
|
|
18721
19015
|
/**
|
|
18722
|
-
* @summary Queries event-triggered tasks.
|
|
19016
|
+
* @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.
|
|
18723
19017
|
*
|
|
18724
19018
|
* @param request DescribeAlarmsRequest
|
|
18725
19019
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18790,7 +19084,7 @@ export default class Client extends OpenApi {
|
|
|
18790
19084
|
}
|
|
18791
19085
|
|
|
18792
19086
|
/**
|
|
18793
|
-
* @summary Queries event-triggered tasks.
|
|
19087
|
+
* @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.
|
|
18794
19088
|
*
|
|
18795
19089
|
* @param request DescribeAlarmsRequest
|
|
18796
19090
|
* @return DescribeAlarmsResponse
|
|
@@ -19241,7 +19535,7 @@ export default class Client extends OpenApi {
|
|
|
19241
19535
|
}
|
|
19242
19536
|
|
|
19243
19537
|
/**
|
|
19244
|
-
* @summary DescribePatternTypes
|
|
19538
|
+
* @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.
|
|
19245
19539
|
*
|
|
19246
19540
|
* @param request DescribePatternTypesRequest
|
|
19247
19541
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19268,7 +19562,7 @@ export default class Client extends OpenApi {
|
|
|
19268
19562
|
}
|
|
19269
19563
|
|
|
19270
19564
|
/**
|
|
19271
|
-
* @summary DescribePatternTypes
|
|
19565
|
+
* @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.
|
|
19272
19566
|
*
|
|
19273
19567
|
* @param request DescribePatternTypesRequest
|
|
19274
19568
|
* @return DescribePatternTypesResponse
|
|
@@ -19551,7 +19845,7 @@ export default class Client extends OpenApi {
|
|
|
19551
19845
|
}
|
|
19552
19846
|
|
|
19553
19847
|
/**
|
|
19554
|
-
* @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
|
|
19848
|
+
* @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.
|
|
19555
19849
|
*
|
|
19556
19850
|
* @param request DescribeScalingGroupDetailRequest
|
|
19557
19851
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19594,7 +19888,7 @@ export default class Client extends OpenApi {
|
|
|
19594
19888
|
}
|
|
19595
19889
|
|
|
19596
19890
|
/**
|
|
19597
|
-
* @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
|
|
19891
|
+
* @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.
|
|
19598
19892
|
*
|
|
19599
19893
|
* @param request DescribeScalingGroupDetailRequest
|
|
19600
19894
|
* @return DescribeScalingGroupDetailResponse
|
|
@@ -20283,7 +20577,7 @@ export default class Client extends OpenApi {
|
|
|
20283
20577
|
}
|
|
20284
20578
|
|
|
20285
20579
|
/**
|
|
20286
|
-
* @summary
|
|
20580
|
+
* @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.
|
|
20287
20581
|
*
|
|
20288
20582
|
* @param request DetachServerGroupsRequest
|
|
20289
20583
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20338,7 +20632,7 @@ export default class Client extends OpenApi {
|
|
|
20338
20632
|
}
|
|
20339
20633
|
|
|
20340
20634
|
/**
|
|
20341
|
-
* @summary
|
|
20635
|
+
* @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.
|
|
20342
20636
|
*
|
|
20343
20637
|
* @param request DetachServerGroupsRequest
|
|
20344
20638
|
* @return DetachServerGroupsResponse
|
|
@@ -20487,11 +20781,11 @@ export default class Client extends OpenApi {
|
|
|
20487
20781
|
}
|
|
20488
20782
|
|
|
20489
20783
|
/**
|
|
20490
|
-
* @summary Disables a scaling group.
|
|
20784
|
+
* @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.
|
|
20491
20785
|
*
|
|
20492
20786
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
20493
|
-
* *
|
|
20494
|
-
* *
|
|
20787
|
+
* * 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.
|
|
20788
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
20495
20789
|
*
|
|
20496
20790
|
* @param request DisableScalingGroupRequest
|
|
20497
20791
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20538,11 +20832,11 @@ export default class Client extends OpenApi {
|
|
|
20538
20832
|
}
|
|
20539
20833
|
|
|
20540
20834
|
/**
|
|
20541
|
-
* @summary Disables a scaling group.
|
|
20835
|
+
* @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.
|
|
20542
20836
|
*
|
|
20543
20837
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
20544
|
-
* *
|
|
20545
|
-
* *
|
|
20838
|
+
* * 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.
|
|
20839
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
20546
20840
|
*
|
|
20547
20841
|
* @param request DisableScalingGroupRequest
|
|
20548
20842
|
* @return DisableScalingGroupResponse
|
|
@@ -20607,13 +20901,14 @@ export default class Client extends OpenApi {
|
|
|
20607
20901
|
}
|
|
20608
20902
|
|
|
20609
20903
|
/**
|
|
20610
|
-
* @summary Enables a scaling group.
|
|
20904
|
+
* @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.
|
|
20611
20905
|
*
|
|
20612
|
-
* @description You can call this operation to enable a scaling group
|
|
20613
|
-
*
|
|
20614
|
-
*
|
|
20615
|
-
* * If
|
|
20616
|
-
*
|
|
20906
|
+
* @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.
|
|
20907
|
+
* **
|
|
20908
|
+
* **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.
|
|
20909
|
+
* * 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.
|
|
20910
|
+
* * 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.
|
|
20911
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
20617
20912
|
*
|
|
20618
20913
|
* @param request EnableScalingGroupRequest
|
|
20619
20914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20688,13 +20983,14 @@ export default class Client extends OpenApi {
|
|
|
20688
20983
|
}
|
|
20689
20984
|
|
|
20690
20985
|
/**
|
|
20691
|
-
* @summary Enables a scaling group.
|
|
20986
|
+
* @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.
|
|
20692
20987
|
*
|
|
20693
|
-
* @description You can call this operation to enable a scaling group
|
|
20694
|
-
*
|
|
20695
|
-
*
|
|
20696
|
-
* * If
|
|
20697
|
-
*
|
|
20988
|
+
* @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.
|
|
20989
|
+
* **
|
|
20990
|
+
* **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.
|
|
20991
|
+
* * 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.
|
|
20992
|
+
* * 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.
|
|
20993
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
20698
20994
|
*
|
|
20699
20995
|
* @param request EnableScalingGroupRequest
|
|
20700
20996
|
* @return EnableScalingGroupResponse
|
|
@@ -21005,7 +21301,10 @@ export default class Client extends OpenApi {
|
|
|
21005
21301
|
}
|
|
21006
21302
|
|
|
21007
21303
|
/**
|
|
21008
|
-
* @summary Queries tags that are added to
|
|
21304
|
+
* @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.
|
|
21305
|
+
*
|
|
21306
|
+
* @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.
|
|
21307
|
+
* * 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.
|
|
21009
21308
|
*
|
|
21010
21309
|
* @param request ListTagResourcesRequest
|
|
21011
21310
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21060,7 +21359,10 @@ export default class Client extends OpenApi {
|
|
|
21060
21359
|
}
|
|
21061
21360
|
|
|
21062
21361
|
/**
|
|
21063
|
-
* @summary Queries tags that are added to
|
|
21362
|
+
* @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.
|
|
21363
|
+
*
|
|
21364
|
+
* @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.
|
|
21365
|
+
* * 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.
|
|
21064
21366
|
*
|
|
21065
21367
|
* @param request ListTagResourcesRequest
|
|
21066
21368
|
* @return ListTagResourcesResponse
|
|
@@ -21987,19 +22289,21 @@ export default class Client extends OpenApi {
|
|
|
21987
22289
|
}
|
|
21988
22290
|
|
|
21989
22291
|
/**
|
|
21990
|
-
* @summary Modifies a scaling group.
|
|
22292
|
+
* @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.
|
|
21991
22293
|
*
|
|
21992
|
-
* @description * You cannot
|
|
22294
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
21993
22295
|
* * RegionId
|
|
21994
22296
|
* * LoadBalancerId
|
|
21995
|
-
*
|
|
22297
|
+
* **
|
|
22298
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
21996
22299
|
* * DBInstanceId
|
|
21997
|
-
*
|
|
21998
|
-
*
|
|
21999
|
-
* *
|
|
22000
|
-
* *
|
|
22001
|
-
* * If the
|
|
22002
|
-
* * If the
|
|
22300
|
+
* **
|
|
22301
|
+
* **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.
|
|
22302
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
22303
|
+
* * 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.
|
|
22304
|
+
* * 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.
|
|
22305
|
+
* * 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.
|
|
22306
|
+
* * 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.
|
|
22003
22307
|
*
|
|
22004
22308
|
* @param request ModifyScalingGroupRequest
|
|
22005
22309
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22154,19 +22458,21 @@ export default class Client extends OpenApi {
|
|
|
22154
22458
|
}
|
|
22155
22459
|
|
|
22156
22460
|
/**
|
|
22157
|
-
* @summary Modifies a scaling group.
|
|
22461
|
+
* @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.
|
|
22158
22462
|
*
|
|
22159
|
-
* @description * You cannot
|
|
22463
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
22160
22464
|
* * RegionId
|
|
22161
22465
|
* * LoadBalancerId
|
|
22162
|
-
*
|
|
22466
|
+
* **
|
|
22467
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
22163
22468
|
* * DBInstanceId
|
|
22164
|
-
*
|
|
22165
|
-
*
|
|
22166
|
-
* *
|
|
22167
|
-
* *
|
|
22168
|
-
* * If the
|
|
22169
|
-
* * If the
|
|
22469
|
+
* **
|
|
22470
|
+
* **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.
|
|
22471
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
22472
|
+
* * 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.
|
|
22473
|
+
* * 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.
|
|
22474
|
+
* * 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.
|
|
22475
|
+
* * 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.
|
|
22170
22476
|
*
|
|
22171
22477
|
* @param request ModifyScalingGroupRequest
|
|
22172
22478
|
* @return ModifyScalingGroupResponse
|
|
@@ -22737,16 +23043,15 @@ export default class Client extends OpenApi {
|
|
|
22737
23043
|
}
|
|
22738
23044
|
|
|
22739
23045
|
/**
|
|
22740
|
-
* @summary Scales instances in
|
|
23046
|
+
* @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.
|
|
22741
23047
|
*
|
|
22742
|
-
* @description
|
|
22743
|
-
* * The following conditions must be met:
|
|
23048
|
+
* @description * Before you call this operation, take note of the following items:
|
|
22744
23049
|
* * The scaling group is in the Active state.
|
|
22745
|
-
* *
|
|
22746
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
22747
|
-
* * If the addition of a
|
|
22748
|
-
* * If the removal of a
|
|
22749
|
-
* 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
|
|
23050
|
+
* * The scaling group has no ongoing scaling activities.
|
|
23051
|
+
* * 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.
|
|
23052
|
+
* * 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.
|
|
23053
|
+
* * 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.
|
|
23054
|
+
* 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.
|
|
22750
23055
|
*
|
|
22751
23056
|
* @param tmpReq ScaleWithAdjustmentRequest
|
|
22752
23057
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22827,16 +23132,15 @@ export default class Client extends OpenApi {
|
|
|
22827
23132
|
}
|
|
22828
23133
|
|
|
22829
23134
|
/**
|
|
22830
|
-
* @summary Scales instances in
|
|
23135
|
+
* @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.
|
|
22831
23136
|
*
|
|
22832
|
-
* @description
|
|
22833
|
-
* * The following conditions must be met:
|
|
23137
|
+
* @description * Before you call this operation, take note of the following items:
|
|
22834
23138
|
* * The scaling group is in the Active state.
|
|
22835
|
-
* *
|
|
22836
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
22837
|
-
* * If the addition of a
|
|
22838
|
-
* * If the removal of a
|
|
22839
|
-
* 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
|
|
23139
|
+
* * The scaling group has no ongoing scaling activities.
|
|
23140
|
+
* * 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.
|
|
23141
|
+
* * 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.
|
|
23142
|
+
* * 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.
|
|
23143
|
+
* 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.
|
|
22840
23144
|
*
|
|
22841
23145
|
* @param request ScaleWithAdjustmentRequest
|
|
22842
23146
|
* @return ScaleWithAdjustmentResponse
|
|
@@ -23093,7 +23397,15 @@ export default class Client extends OpenApi {
|
|
|
23093
23397
|
}
|
|
23094
23398
|
|
|
23095
23399
|
/**
|
|
23096
|
-
* @summary
|
|
23400
|
+
* @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.
|
|
23401
|
+
*
|
|
23402
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
23403
|
+
* **
|
|
23404
|
+
* **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.
|
|
23405
|
+
* * 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.
|
|
23406
|
+
* * 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:
|
|
23407
|
+
* * 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.
|
|
23408
|
+
* * 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.
|
|
23097
23409
|
*
|
|
23098
23410
|
* @param request TagResourcesRequest
|
|
23099
23411
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23144,7 +23456,15 @@ export default class Client extends OpenApi {
|
|
|
23144
23456
|
}
|
|
23145
23457
|
|
|
23146
23458
|
/**
|
|
23147
|
-
* @summary
|
|
23459
|
+
* @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.
|
|
23460
|
+
*
|
|
23461
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
23462
|
+
* **
|
|
23463
|
+
* **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.
|
|
23464
|
+
* * 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.
|
|
23465
|
+
* * 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:
|
|
23466
|
+
* * 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.
|
|
23467
|
+
* * 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.
|
|
23148
23468
|
*
|
|
23149
23469
|
* @param request TagResourcesRequest
|
|
23150
23470
|
* @return TagResourcesResponse
|