@alicloud/ess20220222 1.4.0 → 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 +312 -166
- package/dist/client.js +416 -166
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +516 -166
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' },
|
|
@@ -4777,6 +4825,7 @@ export class DetachInstancesRequest extends $tea.Model {
|
|
|
4777
4825
|
clientToken?: string;
|
|
4778
4826
|
decreaseDesiredCapacity?: boolean;
|
|
4779
4827
|
detachOption?: string;
|
|
4828
|
+
ignoreInvalidInstance?: boolean;
|
|
4780
4829
|
instanceIds?: string[];
|
|
4781
4830
|
lifecycleHook?: boolean;
|
|
4782
4831
|
ownerAccount?: string;
|
|
@@ -4789,6 +4838,7 @@ export class DetachInstancesRequest extends $tea.Model {
|
|
|
4789
4838
|
clientToken: 'ClientToken',
|
|
4790
4839
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
4791
4840
|
detachOption: 'DetachOption',
|
|
4841
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
4792
4842
|
instanceIds: 'InstanceIds',
|
|
4793
4843
|
lifecycleHook: 'LifecycleHook',
|
|
4794
4844
|
ownerAccount: 'OwnerAccount',
|
|
@@ -4804,6 +4854,7 @@ export class DetachInstancesRequest extends $tea.Model {
|
|
|
4804
4854
|
clientToken: 'string',
|
|
4805
4855
|
decreaseDesiredCapacity: 'boolean',
|
|
4806
4856
|
detachOption: 'string',
|
|
4857
|
+
ignoreInvalidInstance: 'boolean',
|
|
4807
4858
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
4808
4859
|
lifecycleHook: 'boolean',
|
|
4809
4860
|
ownerAccount: 'string',
|
|
@@ -7495,6 +7546,7 @@ export class RecordLifecycleActionHeartbeatResponse extends $tea.Model {
|
|
|
7495
7546
|
export class RemoveInstancesRequest extends $tea.Model {
|
|
7496
7547
|
clientToken?: string;
|
|
7497
7548
|
decreaseDesiredCapacity?: boolean;
|
|
7549
|
+
ignoreInvalidInstance?: boolean;
|
|
7498
7550
|
instanceIds?: string[];
|
|
7499
7551
|
ownerAccount?: string;
|
|
7500
7552
|
ownerId?: number;
|
|
@@ -7507,6 +7559,7 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
7507
7559
|
return {
|
|
7508
7560
|
clientToken: 'ClientToken',
|
|
7509
7561
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
7562
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
7510
7563
|
instanceIds: 'InstanceIds',
|
|
7511
7564
|
ownerAccount: 'OwnerAccount',
|
|
7512
7565
|
ownerId: 'OwnerId',
|
|
@@ -7522,6 +7575,7 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
7522
7575
|
return {
|
|
7523
7576
|
clientToken: 'string',
|
|
7524
7577
|
decreaseDesiredCapacity: 'boolean',
|
|
7578
|
+
ignoreInvalidInstance: 'boolean',
|
|
7525
7579
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
7526
7580
|
ownerAccount: 'string',
|
|
7527
7581
|
ownerId: 'number',
|
|
@@ -9711,19 +9765,51 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
9711
9765
|
architectures?: string[];
|
|
9712
9766
|
burstablePerformance?: string;
|
|
9713
9767
|
cores?: number;
|
|
9768
|
+
cpuArchitectures?: string[];
|
|
9714
9769
|
excludedInstanceTypes?: string[];
|
|
9770
|
+
gpuSpecs?: string[];
|
|
9771
|
+
instanceCategories?: string[];
|
|
9715
9772
|
instanceFamilyLevel?: string;
|
|
9773
|
+
instanceTypeFamilies?: string[];
|
|
9716
9774
|
maxPrice?: number;
|
|
9775
|
+
maximumCpuCoreCount?: number;
|
|
9776
|
+
maximumGpuAmount?: number;
|
|
9777
|
+
maximumMemorySize?: number;
|
|
9717
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[];
|
|
9718
9788
|
static names(): { [key: string]: string } {
|
|
9719
9789
|
return {
|
|
9720
9790
|
architectures: 'Architectures',
|
|
9721
9791
|
burstablePerformance: 'BurstablePerformance',
|
|
9722
9792
|
cores: 'Cores',
|
|
9793
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
9723
9794
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
9795
|
+
gpuSpecs: 'GpuSpecs',
|
|
9796
|
+
instanceCategories: 'InstanceCategories',
|
|
9724
9797
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
9798
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
9725
9799
|
maxPrice: 'MaxPrice',
|
|
9800
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
9801
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
9802
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
9726
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',
|
|
9727
9813
|
};
|
|
9728
9814
|
}
|
|
9729
9815
|
|
|
@@ -9732,10 +9818,26 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
9732
9818
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
9733
9819
|
burstablePerformance: 'string',
|
|
9734
9820
|
cores: 'number',
|
|
9821
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
9735
9822
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9823
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
9824
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9736
9825
|
instanceFamilyLevel: 'string',
|
|
9826
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
9737
9827
|
maxPrice: 'number',
|
|
9828
|
+
maximumCpuCoreCount: 'number',
|
|
9829
|
+
maximumGpuAmount: 'number',
|
|
9830
|
+
maximumMemorySize: 'number',
|
|
9738
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' },
|
|
9739
9841
|
};
|
|
9740
9842
|
}
|
|
9741
9843
|
|
|
@@ -9990,19 +10092,51 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
9990
10092
|
architectures?: string[];
|
|
9991
10093
|
burstablePerformance?: string;
|
|
9992
10094
|
cores?: number;
|
|
10095
|
+
cpuArchitectures?: string[];
|
|
9993
10096
|
excludedInstanceTypes?: string[];
|
|
10097
|
+
gpuSpecs?: string[];
|
|
10098
|
+
instanceCategories?: string[];
|
|
9994
10099
|
instanceFamilyLevel?: string;
|
|
10100
|
+
instanceTypeFamilies?: string[];
|
|
9995
10101
|
maxPrice?: number;
|
|
10102
|
+
maximumCpuCoreCount?: number;
|
|
10103
|
+
maximumGpuAmount?: number;
|
|
10104
|
+
maximumMemorySize?: number;
|
|
9996
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[];
|
|
9997
10115
|
static names(): { [key: string]: string } {
|
|
9998
10116
|
return {
|
|
9999
10117
|
architectures: 'Architectures',
|
|
10000
10118
|
burstablePerformance: 'BurstablePerformance',
|
|
10001
10119
|
cores: 'Cores',
|
|
10120
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
10002
10121
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
10122
|
+
gpuSpecs: 'GpuSpecs',
|
|
10123
|
+
instanceCategories: 'InstanceCategories',
|
|
10003
10124
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
10125
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
10004
10126
|
maxPrice: 'MaxPrice',
|
|
10127
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
10128
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
10129
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
10005
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',
|
|
10006
10140
|
};
|
|
10007
10141
|
}
|
|
10008
10142
|
|
|
@@ -10011,10 +10145,26 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
10011
10145
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
10012
10146
|
burstablePerformance: 'string',
|
|
10013
10147
|
cores: 'number',
|
|
10148
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
10014
10149
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
10150
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
10151
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
10015
10152
|
instanceFamilyLevel: 'string',
|
|
10153
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
10016
10154
|
maxPrice: 'number',
|
|
10155
|
+
maximumCpuCoreCount: 'number',
|
|
10156
|
+
maximumGpuAmount: 'number',
|
|
10157
|
+
maximumMemorySize: 'number',
|
|
10017
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' },
|
|
10018
10168
|
};
|
|
10019
10169
|
}
|
|
10020
10170
|
|
|
@@ -12457,19 +12607,51 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
|
|
|
12457
12607
|
architectures?: string[];
|
|
12458
12608
|
burstablePerformance?: string;
|
|
12459
12609
|
cores?: number;
|
|
12610
|
+
cpuArchitectures?: string[];
|
|
12460
12611
|
excludedInstanceTypes?: string[];
|
|
12612
|
+
gpuSpecs?: string[];
|
|
12613
|
+
instanceCategories?: string[];
|
|
12461
12614
|
instanceFamilyLevel?: string;
|
|
12615
|
+
instanceTypeFamilies?: string[];
|
|
12462
12616
|
maxPrice?: number;
|
|
12617
|
+
maximumCpuCoreCount?: number;
|
|
12618
|
+
maximumGpuAmount?: number;
|
|
12619
|
+
maximumMemorySize?: number;
|
|
12463
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[];
|
|
12464
12630
|
static names(): { [key: string]: string } {
|
|
12465
12631
|
return {
|
|
12466
12632
|
architectures: 'Architectures',
|
|
12467
12633
|
burstablePerformance: 'BurstablePerformance',
|
|
12468
12634
|
cores: 'Cores',
|
|
12635
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
12469
12636
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
12637
|
+
gpuSpecs: 'GpuSpecs',
|
|
12638
|
+
instanceCategories: 'InstanceCategories',
|
|
12470
12639
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
12640
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
12471
12641
|
maxPrice: 'MaxPrice',
|
|
12642
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
12643
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
12644
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
12472
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',
|
|
12473
12655
|
};
|
|
12474
12656
|
}
|
|
12475
12657
|
|
|
@@ -12478,10 +12660,26 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
|
|
|
12478
12660
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
12479
12661
|
burstablePerformance: 'string',
|
|
12480
12662
|
cores: 'number',
|
|
12663
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
12481
12664
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12665
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
12666
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
12482
12667
|
instanceFamilyLevel: 'string',
|
|
12668
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
12483
12669
|
maxPrice: 'number',
|
|
12670
|
+
maximumCpuCoreCount: 'number',
|
|
12671
|
+
maximumGpuAmount: 'number',
|
|
12672
|
+
maximumMemorySize: 'number',
|
|
12484
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' },
|
|
12485
12683
|
};
|
|
12486
12684
|
}
|
|
12487
12685
|
|
|
@@ -15291,19 +15489,51 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
15291
15489
|
architectures?: string[];
|
|
15292
15490
|
burstablePerformance?: string;
|
|
15293
15491
|
cores?: number;
|
|
15492
|
+
cpuArchitectures?: string[];
|
|
15294
15493
|
excludedInstanceTypes?: string[];
|
|
15494
|
+
gpuSpecs?: string[];
|
|
15495
|
+
instanceCategories?: string[];
|
|
15295
15496
|
instanceFamilyLevel?: string;
|
|
15497
|
+
instanceTypeFamilies?: string[];
|
|
15296
15498
|
maxPrice?: number;
|
|
15499
|
+
maximumCpuCoreCount?: number;
|
|
15500
|
+
maximumGpuAmount?: number;
|
|
15501
|
+
maximumMemorySize?: number;
|
|
15297
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[];
|
|
15298
15512
|
static names(): { [key: string]: string } {
|
|
15299
15513
|
return {
|
|
15300
15514
|
architectures: 'Architectures',
|
|
15301
15515
|
burstablePerformance: 'BurstablePerformance',
|
|
15302
15516
|
cores: 'Cores',
|
|
15517
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
15303
15518
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
15519
|
+
gpuSpecs: 'GpuSpecs',
|
|
15520
|
+
instanceCategories: 'InstanceCategories',
|
|
15304
15521
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
15522
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
15305
15523
|
maxPrice: 'MaxPrice',
|
|
15524
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
15525
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
15526
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
15306
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',
|
|
15307
15537
|
};
|
|
15308
15538
|
}
|
|
15309
15539
|
|
|
@@ -15312,10 +15542,26 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
|
|
|
15312
15542
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
15313
15543
|
burstablePerformance: 'string',
|
|
15314
15544
|
cores: 'number',
|
|
15545
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
15315
15546
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
15547
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
15548
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
15316
15549
|
instanceFamilyLevel: 'string',
|
|
15550
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
15317
15551
|
maxPrice: 'number',
|
|
15552
|
+
maximumCpuCoreCount: 'number',
|
|
15553
|
+
maximumGpuAmount: 'number',
|
|
15554
|
+
maximumMemorySize: 'number',
|
|
15318
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' },
|
|
15319
15565
|
};
|
|
15320
15566
|
}
|
|
15321
15567
|
|
|
@@ -15570,19 +15816,51 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
15570
15816
|
architectures?: string[];
|
|
15571
15817
|
burstablePerformance?: string;
|
|
15572
15818
|
cores?: number;
|
|
15819
|
+
cpuArchitectures?: string[];
|
|
15573
15820
|
excludedInstanceTypes?: string[];
|
|
15821
|
+
gpuSpecs?: string[];
|
|
15822
|
+
instanceCategories?: string[];
|
|
15574
15823
|
instanceFamilyLevel?: string;
|
|
15824
|
+
instanceTypeFamilies?: string[];
|
|
15575
15825
|
maxPrice?: number;
|
|
15826
|
+
maximumCpuCoreCount?: number;
|
|
15827
|
+
maximumGpuAmount?: number;
|
|
15828
|
+
maximumMemorySize?: number;
|
|
15576
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[];
|
|
15577
15839
|
static names(): { [key: string]: string } {
|
|
15578
15840
|
return {
|
|
15579
15841
|
architectures: 'Architectures',
|
|
15580
15842
|
burstablePerformance: 'BurstablePerformance',
|
|
15581
15843
|
cores: 'Cores',
|
|
15844
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
15582
15845
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
15846
|
+
gpuSpecs: 'GpuSpecs',
|
|
15847
|
+
instanceCategories: 'InstanceCategories',
|
|
15583
15848
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
15849
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
15584
15850
|
maxPrice: 'MaxPrice',
|
|
15851
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
15852
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
15853
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
15585
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',
|
|
15586
15864
|
};
|
|
15587
15865
|
}
|
|
15588
15866
|
|
|
@@ -15591,10 +15869,26 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
|
|
|
15591
15869
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
15592
15870
|
burstablePerformance: 'string',
|
|
15593
15871
|
cores: 'number',
|
|
15872
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
15594
15873
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
15874
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
15875
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
15595
15876
|
instanceFamilyLevel: 'string',
|
|
15877
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
15596
15878
|
maxPrice: 'number',
|
|
15879
|
+
maximumCpuCoreCount: 'number',
|
|
15880
|
+
maximumGpuAmount: 'number',
|
|
15881
|
+
maximumMemorySize: 'number',
|
|
15597
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' },
|
|
15598
15892
|
};
|
|
15599
15893
|
}
|
|
15600
15894
|
|
|
@@ -16127,12 +16421,11 @@ export default class Client extends OpenApi {
|
|
|
16127
16421
|
}
|
|
16128
16422
|
|
|
16129
16423
|
/**
|
|
16130
|
-
* @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.
|
|
16131
16425
|
*
|
|
16132
|
-
* @description Before you
|
|
16133
|
-
* * 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).
|
|
16134
16428
|
* * The ALB server group is in the Available state.
|
|
16135
|
-
* * 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).
|
|
16136
16429
|
*
|
|
16137
16430
|
* @param request AttachAlbServerGroupsRequest
|
|
16138
16431
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16187,12 +16480,11 @@ export default class Client extends OpenApi {
|
|
|
16187
16480
|
}
|
|
16188
16481
|
|
|
16189
16482
|
/**
|
|
16190
|
-
* @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.
|
|
16191
16484
|
*
|
|
16192
|
-
* @description Before you
|
|
16193
|
-
* * 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).
|
|
16194
16487
|
* * The ALB server group is in the Available state.
|
|
16195
|
-
* * 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).
|
|
16196
16488
|
*
|
|
16197
16489
|
* @param request AttachAlbServerGroupsRequest
|
|
16198
16490
|
* @return AttachAlbServerGroupsResponse
|
|
@@ -16487,7 +16779,7 @@ export default class Client extends OpenApi {
|
|
|
16487
16779
|
}
|
|
16488
16780
|
|
|
16489
16781
|
/**
|
|
16490
|
-
* @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.
|
|
16491
16783
|
*
|
|
16492
16784
|
* @param request AttachServerGroupsRequest
|
|
16493
16785
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16542,7 +16834,7 @@ export default class Client extends OpenApi {
|
|
|
16542
16834
|
}
|
|
16543
16835
|
|
|
16544
16836
|
/**
|
|
16545
|
-
* @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.
|
|
16546
16838
|
*
|
|
16547
16839
|
* @param request AttachServerGroupsRequest
|
|
16548
16840
|
* @return AttachServerGroupsResponse
|
|
@@ -16553,22 +16845,23 @@ export default class Client extends OpenApi {
|
|
|
16553
16845
|
}
|
|
16554
16846
|
|
|
16555
16847
|
/**
|
|
16556
|
-
* @summary
|
|
16557
|
-
*
|
|
16558
|
-
* @description Before you call this operation
|
|
16559
|
-
*
|
|
16560
|
-
*
|
|
16561
|
-
*
|
|
16562
|
-
*
|
|
16563
|
-
*
|
|
16564
|
-
*
|
|
16565
|
-
*
|
|
16566
|
-
*
|
|
16567
|
-
* When you call this operation, you must specify the following parameters:
|
|
16568
|
-
*
|
|
16569
|
-
*
|
|
16570
|
-
*
|
|
16571
|
-
*
|
|
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.
|
|
16572
16865
|
*
|
|
16573
16866
|
* @param request AttachVServerGroupsRequest
|
|
16574
16867
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16623,22 +16916,23 @@ export default class Client extends OpenApi {
|
|
|
16623
16916
|
}
|
|
16624
16917
|
|
|
16625
16918
|
/**
|
|
16626
|
-
* @summary
|
|
16627
|
-
*
|
|
16628
|
-
* @description Before you call this operation
|
|
16629
|
-
*
|
|
16630
|
-
*
|
|
16631
|
-
*
|
|
16632
|
-
*
|
|
16633
|
-
*
|
|
16634
|
-
*
|
|
16635
|
-
*
|
|
16636
|
-
*
|
|
16637
|
-
* When you call this operation, you must specify the following parameters:
|
|
16638
|
-
*
|
|
16639
|
-
*
|
|
16640
|
-
*
|
|
16641
|
-
*
|
|
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.
|
|
16642
16936
|
*
|
|
16643
16937
|
* @param request AttachVServerGroupsRequest
|
|
16644
16938
|
* @return AttachVServerGroupsResponse
|
|
@@ -16649,7 +16943,10 @@ export default class Client extends OpenApi {
|
|
|
16649
16943
|
}
|
|
16650
16944
|
|
|
16651
16945
|
/**
|
|
16652
|
-
* @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)
|
|
16653
16950
|
*
|
|
16654
16951
|
* @param request ChangeResourceGroupRequest
|
|
16655
16952
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16700,7 +16997,10 @@ export default class Client extends OpenApi {
|
|
|
16700
16997
|
}
|
|
16701
16998
|
|
|
16702
16999
|
/**
|
|
16703
|
-
* @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)
|
|
16704
17004
|
*
|
|
16705
17005
|
* @param request ChangeResourceGroupRequest
|
|
16706
17006
|
* @return ChangeResourceGroupResponse
|
|
@@ -16785,13 +17085,13 @@ export default class Client extends OpenApi {
|
|
|
16785
17085
|
}
|
|
16786
17086
|
|
|
16787
17087
|
/**
|
|
16788
|
-
* @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.
|
|
16789
17089
|
*
|
|
16790
|
-
* @description * If you set
|
|
16791
|
-
* * When you create an event-triggered task, you must specify
|
|
16792
|
-
* * If you
|
|
16793
|
-
* *
|
|
16794
|
-
* >
|
|
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.
|
|
16795
17095
|
*
|
|
16796
17096
|
* @param request CreateAlarmRequest
|
|
16797
17097
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16894,13 +17194,13 @@ export default class Client extends OpenApi {
|
|
|
16894
17194
|
}
|
|
16895
17195
|
|
|
16896
17196
|
/**
|
|
16897
|
-
* @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.
|
|
16898
17198
|
*
|
|
16899
|
-
* @description * If you set
|
|
16900
|
-
* * When you create an event-triggered task, you must specify
|
|
16901
|
-
* * If you
|
|
16902
|
-
* *
|
|
16903
|
-
* >
|
|
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.
|
|
16904
17204
|
*
|
|
16905
17205
|
* @param request CreateAlarmRequest
|
|
16906
17206
|
* @return CreateAlarmResponse
|
|
@@ -18199,7 +18499,7 @@ export default class Client extends OpenApi {
|
|
|
18199
18499
|
}
|
|
18200
18500
|
|
|
18201
18501
|
/**
|
|
18202
|
-
* @summary Deletes an event-triggered task.
|
|
18502
|
+
* @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
|
|
18203
18503
|
*
|
|
18204
18504
|
* @param request DeleteAlarmRequest
|
|
18205
18505
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18242,7 +18542,7 @@ export default class Client extends OpenApi {
|
|
|
18242
18542
|
}
|
|
18243
18543
|
|
|
18244
18544
|
/**
|
|
18245
|
-
* @summary Deletes an event-triggered task.
|
|
18545
|
+
* @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
|
|
18246
18546
|
*
|
|
18247
18547
|
* @param request DeleteAlarmRequest
|
|
18248
18548
|
* @return DeleteAlarmResponse
|
|
@@ -18253,11 +18553,11 @@ export default class Client extends OpenApi {
|
|
|
18253
18553
|
}
|
|
18254
18554
|
|
|
18255
18555
|
/**
|
|
18256
|
-
* @summary Deletes a scaling configuration
|
|
18556
|
+
* @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
|
|
18257
18557
|
*
|
|
18258
|
-
* @description You cannot
|
|
18558
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
18259
18559
|
* * The scaling configuration is in the Active state.
|
|
18260
|
-
* * The scaling group contains elastic container instances
|
|
18560
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
18261
18561
|
*
|
|
18262
18562
|
* @param request DeleteEciScalingConfigurationRequest
|
|
18263
18563
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18304,11 +18604,11 @@ export default class Client extends OpenApi {
|
|
|
18304
18604
|
}
|
|
18305
18605
|
|
|
18306
18606
|
/**
|
|
18307
|
-
* @summary Deletes a scaling configuration
|
|
18607
|
+
* @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
|
|
18308
18608
|
*
|
|
18309
|
-
* @description You cannot
|
|
18609
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
18310
18610
|
* * The scaling configuration is in the Active state.
|
|
18311
|
-
* * The scaling group contains elastic container instances
|
|
18611
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
18312
18612
|
*
|
|
18313
18613
|
* @param request DeleteEciScalingConfigurationRequest
|
|
18314
18614
|
* @return DeleteEciScalingConfigurationResponse
|
|
@@ -18393,7 +18693,7 @@ export default class Client extends OpenApi {
|
|
|
18393
18693
|
}
|
|
18394
18694
|
|
|
18395
18695
|
/**
|
|
18396
|
-
* @summary Deletes
|
|
18696
|
+
* @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
|
|
18397
18697
|
*
|
|
18398
18698
|
* @param request DeleteNotificationConfigurationRequest
|
|
18399
18699
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18440,7 +18740,7 @@ export default class Client extends OpenApi {
|
|
|
18440
18740
|
}
|
|
18441
18741
|
|
|
18442
18742
|
/**
|
|
18443
|
-
* @summary Deletes
|
|
18743
|
+
* @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
|
|
18444
18744
|
*
|
|
18445
18745
|
* @param request DeleteNotificationConfigurationRequest
|
|
18446
18746
|
* @return DeleteNotificationConfigurationResponse
|
|
@@ -18513,11 +18813,18 @@ export default class Client extends OpenApi {
|
|
|
18513
18813
|
}
|
|
18514
18814
|
|
|
18515
18815
|
/**
|
|
18516
|
-
* @summary Deletes a scaling group.
|
|
18816
|
+
* @summary Deletes 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 create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
|
|
18517
18817
|
*
|
|
18518
|
-
* @description Before you
|
|
18519
|
-
* *
|
|
18520
|
-
* *
|
|
18818
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
18819
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
18820
|
+
* * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
|
|
18821
|
+
* * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
|
|
18822
|
+
* **
|
|
18823
|
+
* **Note** Before you delete a scaling group, make sure that the Deletion Protection feature is disabled. If you have enabled the Deletion Protection feature for a scaling group, disable the feature on the Modify Scaling Group page before you delete the scaling group.
|
|
18824
|
+
* * If you do not disable the Deletion Protection feature for a scaling group, you cannot delete the scaling group by using the Auto Scaling console or calling this operation. The Deletion Protection feature is an effective measure to safeguard scaling groups against unintended deletion.
|
|
18825
|
+
* * Prior to deleting a scaling group, make sure that your ECS instances within the scaling group are safeguarded against unintended release. Even if you have already enabled the Release Protection feature for the ECS instances, you must manually put these ECS instances into the Protected state. Doing so guarantees that the ECS instances will not be forcibly released during the deletion process of the scaling group, providing an extra layer of security.
|
|
18826
|
+
* **
|
|
18827
|
+
* **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
18521
18828
|
*
|
|
18522
18829
|
* @param request DeleteScalingGroupRequest
|
|
18523
18830
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18568,11 +18875,18 @@ export default class Client extends OpenApi {
|
|
|
18568
18875
|
}
|
|
18569
18876
|
|
|
18570
18877
|
/**
|
|
18571
|
-
* @summary Deletes a scaling group.
|
|
18878
|
+
* @summary Deletes 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 create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
|
|
18572
18879
|
*
|
|
18573
|
-
* @description Before you
|
|
18574
|
-
* *
|
|
18575
|
-
* *
|
|
18880
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
18881
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
18882
|
+
* * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
|
|
18883
|
+
* * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
|
|
18884
|
+
* **
|
|
18885
|
+
* **Note** Before you delete a scaling group, make sure that the Deletion Protection feature is disabled. If you have enabled the Deletion Protection feature for a scaling group, disable the feature on the Modify Scaling Group page before you delete the scaling group.
|
|
18886
|
+
* * If you do not disable the Deletion Protection feature for a scaling group, you cannot delete the scaling group by using the Auto Scaling console or calling this operation. The Deletion Protection feature is an effective measure to safeguard scaling groups against unintended deletion.
|
|
18887
|
+
* * Prior to deleting a scaling group, make sure that your ECS instances within the scaling group are safeguarded against unintended release. Even if you have already enabled the Release Protection feature for the ECS instances, you must manually put these ECS instances into the Protected state. Doing so guarantees that the ECS instances will not be forcibly released during the deletion process of the scaling group, providing an extra layer of security.
|
|
18888
|
+
* **
|
|
18889
|
+
* **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
18576
18890
|
*
|
|
18577
18891
|
* @param request DeleteScalingGroupRequest
|
|
18578
18892
|
* @return DeleteScalingGroupResponse
|
|
@@ -18641,7 +18955,7 @@ export default class Client extends OpenApi {
|
|
|
18641
18955
|
}
|
|
18642
18956
|
|
|
18643
18957
|
/**
|
|
18644
|
-
* @summary Deletes a scheduled task.
|
|
18958
|
+
* @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
|
|
18645
18959
|
*
|
|
18646
18960
|
* @param request DeleteScheduledTaskRequest
|
|
18647
18961
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18688,7 +19002,7 @@ export default class Client extends OpenApi {
|
|
|
18688
19002
|
}
|
|
18689
19003
|
|
|
18690
19004
|
/**
|
|
18691
|
-
* @summary Deletes a scheduled task.
|
|
19005
|
+
* @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
|
|
18692
19006
|
*
|
|
18693
19007
|
* @param request DeleteScheduledTaskRequest
|
|
18694
19008
|
* @return DeleteScheduledTaskResponse
|
|
@@ -18699,7 +19013,7 @@ export default class Client extends OpenApi {
|
|
|
18699
19013
|
}
|
|
18700
19014
|
|
|
18701
19015
|
/**
|
|
18702
|
-
* @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.
|
|
18703
19017
|
*
|
|
18704
19018
|
* @param request DescribeAlarmsRequest
|
|
18705
19019
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18770,7 +19084,7 @@ export default class Client extends OpenApi {
|
|
|
18770
19084
|
}
|
|
18771
19085
|
|
|
18772
19086
|
/**
|
|
18773
|
-
* @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.
|
|
18774
19088
|
*
|
|
18775
19089
|
* @param request DescribeAlarmsRequest
|
|
18776
19090
|
* @return DescribeAlarmsResponse
|
|
@@ -19221,7 +19535,7 @@ export default class Client extends OpenApi {
|
|
|
19221
19535
|
}
|
|
19222
19536
|
|
|
19223
19537
|
/**
|
|
19224
|
-
* @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.
|
|
19225
19539
|
*
|
|
19226
19540
|
* @param request DescribePatternTypesRequest
|
|
19227
19541
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19248,7 +19562,7 @@ export default class Client extends OpenApi {
|
|
|
19248
19562
|
}
|
|
19249
19563
|
|
|
19250
19564
|
/**
|
|
19251
|
-
* @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.
|
|
19252
19566
|
*
|
|
19253
19567
|
* @param request DescribePatternTypesRequest
|
|
19254
19568
|
* @return DescribePatternTypesResponse
|
|
@@ -19259,7 +19573,7 @@ export default class Client extends OpenApi {
|
|
|
19259
19573
|
}
|
|
19260
19574
|
|
|
19261
19575
|
/**
|
|
19262
|
-
* @summary Queries the regions
|
|
19576
|
+
* @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
|
|
19263
19577
|
*
|
|
19264
19578
|
* @param request DescribeRegionsRequest
|
|
19265
19579
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19302,7 +19616,7 @@ export default class Client extends OpenApi {
|
|
|
19302
19616
|
}
|
|
19303
19617
|
|
|
19304
19618
|
/**
|
|
19305
|
-
* @summary Queries the regions
|
|
19619
|
+
* @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
|
|
19306
19620
|
*
|
|
19307
19621
|
* @param request DescribeRegionsRequest
|
|
19308
19622
|
* @return DescribeRegionsResponse
|
|
@@ -19531,7 +19845,7 @@ export default class Client extends OpenApi {
|
|
|
19531
19845
|
}
|
|
19532
19846
|
|
|
19533
19847
|
/**
|
|
19534
|
-
* @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.
|
|
19535
19849
|
*
|
|
19536
19850
|
* @param request DescribeScalingGroupDetailRequest
|
|
19537
19851
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19574,7 +19888,7 @@ export default class Client extends OpenApi {
|
|
|
19574
19888
|
}
|
|
19575
19889
|
|
|
19576
19890
|
/**
|
|
19577
|
-
* @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.
|
|
19578
19892
|
*
|
|
19579
19893
|
* @param request DescribeScalingGroupDetailRequest
|
|
19580
19894
|
* @return DescribeScalingGroupDetailResponse
|
|
@@ -20123,6 +20437,10 @@ export default class Client extends OpenApi {
|
|
|
20123
20437
|
query["DetachOption"] = request.detachOption;
|
|
20124
20438
|
}
|
|
20125
20439
|
|
|
20440
|
+
if (!Util.isUnset(request.ignoreInvalidInstance)) {
|
|
20441
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
20442
|
+
}
|
|
20443
|
+
|
|
20126
20444
|
if (!Util.isUnset(request.instanceIds)) {
|
|
20127
20445
|
query["InstanceIds"] = request.instanceIds;
|
|
20128
20446
|
}
|
|
@@ -20259,7 +20577,7 @@ export default class Client extends OpenApi {
|
|
|
20259
20577
|
}
|
|
20260
20578
|
|
|
20261
20579
|
/**
|
|
20262
|
-
* @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.
|
|
20263
20581
|
*
|
|
20264
20582
|
* @param request DetachServerGroupsRequest
|
|
20265
20583
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20314,7 +20632,7 @@ export default class Client extends OpenApi {
|
|
|
20314
20632
|
}
|
|
20315
20633
|
|
|
20316
20634
|
/**
|
|
20317
|
-
* @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.
|
|
20318
20636
|
*
|
|
20319
20637
|
* @param request DetachServerGroupsRequest
|
|
20320
20638
|
* @return DetachServerGroupsResponse
|
|
@@ -20405,7 +20723,9 @@ export default class Client extends OpenApi {
|
|
|
20405
20723
|
}
|
|
20406
20724
|
|
|
20407
20725
|
/**
|
|
20408
|
-
* @summary Disables an event-triggered task.
|
|
20726
|
+
* @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
|
|
20727
|
+
*
|
|
20728
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
20409
20729
|
*
|
|
20410
20730
|
* @param request DisableAlarmRequest
|
|
20411
20731
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20448,7 +20768,9 @@ export default class Client extends OpenApi {
|
|
|
20448
20768
|
}
|
|
20449
20769
|
|
|
20450
20770
|
/**
|
|
20451
|
-
* @summary Disables an event-triggered task.
|
|
20771
|
+
* @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
|
|
20772
|
+
*
|
|
20773
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
20452
20774
|
*
|
|
20453
20775
|
* @param request DisableAlarmRequest
|
|
20454
20776
|
* @return DisableAlarmResponse
|
|
@@ -20459,11 +20781,11 @@ export default class Client extends OpenApi {
|
|
|
20459
20781
|
}
|
|
20460
20782
|
|
|
20461
20783
|
/**
|
|
20462
|
-
* @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.
|
|
20463
20785
|
*
|
|
20464
20786
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
20465
|
-
* *
|
|
20466
|
-
* *
|
|
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.
|
|
20467
20789
|
*
|
|
20468
20790
|
* @param request DisableScalingGroupRequest
|
|
20469
20791
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20510,11 +20832,11 @@ export default class Client extends OpenApi {
|
|
|
20510
20832
|
}
|
|
20511
20833
|
|
|
20512
20834
|
/**
|
|
20513
|
-
* @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.
|
|
20514
20836
|
*
|
|
20515
20837
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
20516
|
-
* *
|
|
20517
|
-
* *
|
|
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.
|
|
20518
20840
|
*
|
|
20519
20841
|
* @param request DisableScalingGroupRequest
|
|
20520
20842
|
* @return DisableScalingGroupResponse
|
|
@@ -20525,7 +20847,7 @@ export default class Client extends OpenApi {
|
|
|
20525
20847
|
}
|
|
20526
20848
|
|
|
20527
20849
|
/**
|
|
20528
|
-
* @summary Enables an event-triggered task.
|
|
20850
|
+
* @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
|
|
20529
20851
|
*
|
|
20530
20852
|
* @param request EnableAlarmRequest
|
|
20531
20853
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20568,7 +20890,7 @@ export default class Client extends OpenApi {
|
|
|
20568
20890
|
}
|
|
20569
20891
|
|
|
20570
20892
|
/**
|
|
20571
|
-
* @summary Enables an event-triggered task.
|
|
20893
|
+
* @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
|
|
20572
20894
|
*
|
|
20573
20895
|
* @param request EnableAlarmRequest
|
|
20574
20896
|
* @return EnableAlarmResponse
|
|
@@ -20579,13 +20901,14 @@ export default class Client extends OpenApi {
|
|
|
20579
20901
|
}
|
|
20580
20902
|
|
|
20581
20903
|
/**
|
|
20582
|
-
* @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.
|
|
20583
20905
|
*
|
|
20584
|
-
* @description You can call this operation to enable a scaling group
|
|
20585
|
-
*
|
|
20586
|
-
*
|
|
20587
|
-
* * If
|
|
20588
|
-
*
|
|
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.
|
|
20589
20912
|
*
|
|
20590
20913
|
* @param request EnableScalingGroupRequest
|
|
20591
20914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20660,13 +20983,14 @@ export default class Client extends OpenApi {
|
|
|
20660
20983
|
}
|
|
20661
20984
|
|
|
20662
20985
|
/**
|
|
20663
|
-
* @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.
|
|
20664
20987
|
*
|
|
20665
|
-
* @description You can call this operation to enable a scaling group
|
|
20666
|
-
*
|
|
20667
|
-
*
|
|
20668
|
-
* * If
|
|
20669
|
-
*
|
|
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.
|
|
20670
20994
|
*
|
|
20671
20995
|
* @param request EnableScalingGroupRequest
|
|
20672
20996
|
* @return EnableScalingGroupResponse
|
|
@@ -20977,7 +21301,10 @@ export default class Client extends OpenApi {
|
|
|
20977
21301
|
}
|
|
20978
21302
|
|
|
20979
21303
|
/**
|
|
20980
|
-
* @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.
|
|
20981
21308
|
*
|
|
20982
21309
|
* @param request ListTagResourcesRequest
|
|
20983
21310
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21032,7 +21359,10 @@ export default class Client extends OpenApi {
|
|
|
21032
21359
|
}
|
|
21033
21360
|
|
|
21034
21361
|
/**
|
|
21035
|
-
* @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.
|
|
21036
21366
|
*
|
|
21037
21367
|
* @param request ListTagResourcesRequest
|
|
21038
21368
|
* @return ListTagResourcesResponse
|
|
@@ -21043,7 +21373,7 @@ export default class Client extends OpenApi {
|
|
|
21043
21373
|
}
|
|
21044
21374
|
|
|
21045
21375
|
/**
|
|
21046
|
-
* @summary Queries tag
|
|
21376
|
+
* @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
|
|
21047
21377
|
*
|
|
21048
21378
|
* @param request ListTagValuesRequest
|
|
21049
21379
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21098,7 +21428,7 @@ export default class Client extends OpenApi {
|
|
|
21098
21428
|
}
|
|
21099
21429
|
|
|
21100
21430
|
/**
|
|
21101
|
-
* @summary Queries tag
|
|
21431
|
+
* @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
|
|
21102
21432
|
*
|
|
21103
21433
|
* @param request ListTagValuesRequest
|
|
21104
21434
|
* @return ListTagValuesResponse
|
|
@@ -21959,19 +22289,21 @@ export default class Client extends OpenApi {
|
|
|
21959
22289
|
}
|
|
21960
22290
|
|
|
21961
22291
|
/**
|
|
21962
|
-
* @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.
|
|
21963
22293
|
*
|
|
21964
|
-
* @description * You cannot
|
|
22294
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
21965
22295
|
* * RegionId
|
|
21966
22296
|
* * LoadBalancerId
|
|
21967
|
-
*
|
|
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.
|
|
21968
22299
|
* * DBInstanceId
|
|
21969
|
-
*
|
|
21970
|
-
*
|
|
21971
|
-
* *
|
|
21972
|
-
* *
|
|
21973
|
-
* * If the
|
|
21974
|
-
* * 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.
|
|
21975
22307
|
*
|
|
21976
22308
|
* @param request ModifyScalingGroupRequest
|
|
21977
22309
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22126,19 +22458,21 @@ export default class Client extends OpenApi {
|
|
|
22126
22458
|
}
|
|
22127
22459
|
|
|
22128
22460
|
/**
|
|
22129
|
-
* @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.
|
|
22130
22462
|
*
|
|
22131
|
-
* @description * You cannot
|
|
22463
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
22132
22464
|
* * RegionId
|
|
22133
22465
|
* * LoadBalancerId
|
|
22134
|
-
*
|
|
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.
|
|
22135
22468
|
* * DBInstanceId
|
|
22136
|
-
*
|
|
22137
|
-
*
|
|
22138
|
-
* *
|
|
22139
|
-
* *
|
|
22140
|
-
* * If the
|
|
22141
|
-
* * 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.
|
|
22142
22476
|
*
|
|
22143
22477
|
* @param request ModifyScalingGroupRequest
|
|
22144
22478
|
* @return ModifyScalingGroupResponse
|
|
@@ -22573,6 +22907,10 @@ export default class Client extends OpenApi {
|
|
|
22573
22907
|
query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
|
|
22574
22908
|
}
|
|
22575
22909
|
|
|
22910
|
+
if (!Util.isUnset(request.ignoreInvalidInstance)) {
|
|
22911
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
22912
|
+
}
|
|
22913
|
+
|
|
22576
22914
|
if (!Util.isUnset(request.instanceIds)) {
|
|
22577
22915
|
query["InstanceIds"] = request.instanceIds;
|
|
22578
22916
|
}
|
|
@@ -22705,16 +23043,15 @@ export default class Client extends OpenApi {
|
|
|
22705
23043
|
}
|
|
22706
23044
|
|
|
22707
23045
|
/**
|
|
22708
|
-
* @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.
|
|
22709
23047
|
*
|
|
22710
|
-
* @description
|
|
22711
|
-
* * The following conditions must be met:
|
|
23048
|
+
* @description * Before you call this operation, take note of the following items:
|
|
22712
23049
|
* * The scaling group is in the Active state.
|
|
22713
|
-
* *
|
|
22714
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
22715
|
-
* * If the addition of a
|
|
22716
|
-
* * If the removal of a
|
|
22717
|
-
* 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.
|
|
22718
23055
|
*
|
|
22719
23056
|
* @param tmpReq ScaleWithAdjustmentRequest
|
|
22720
23057
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22795,16 +23132,15 @@ export default class Client extends OpenApi {
|
|
|
22795
23132
|
}
|
|
22796
23133
|
|
|
22797
23134
|
/**
|
|
22798
|
-
* @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.
|
|
22799
23136
|
*
|
|
22800
|
-
* @description
|
|
22801
|
-
* * The following conditions must be met:
|
|
23137
|
+
* @description * Before you call this operation, take note of the following items:
|
|
22802
23138
|
* * The scaling group is in the Active state.
|
|
22803
|
-
* *
|
|
22804
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
22805
|
-
* * If the addition of a
|
|
22806
|
-
* * If the removal of a
|
|
22807
|
-
* 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.
|
|
22808
23144
|
*
|
|
22809
23145
|
* @param request ScaleWithAdjustmentRequest
|
|
22810
23146
|
* @return ScaleWithAdjustmentResponse
|
|
@@ -22931,13 +23267,12 @@ export default class Client extends OpenApi {
|
|
|
22931
23267
|
}
|
|
22932
23268
|
|
|
22933
23269
|
/**
|
|
22934
|
-
* @summary Puts
|
|
23270
|
+
* @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
|
|
22935
23271
|
*
|
|
22936
|
-
* @description
|
|
22937
|
-
*
|
|
22938
|
-
* *
|
|
22939
|
-
* *
|
|
22940
|
-
* * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
|
|
23272
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
23273
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
23274
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
|
|
23275
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
22941
23276
|
*
|
|
22942
23277
|
* @param request SetInstancesProtectionRequest
|
|
22943
23278
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22984,13 +23319,12 @@ export default class Client extends OpenApi {
|
|
|
22984
23319
|
}
|
|
22985
23320
|
|
|
22986
23321
|
/**
|
|
22987
|
-
* @summary Puts
|
|
23322
|
+
* @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
|
|
22988
23323
|
*
|
|
22989
|
-
* @description
|
|
22990
|
-
*
|
|
22991
|
-
* *
|
|
22992
|
-
* *
|
|
22993
|
-
* * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
|
|
23324
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
23325
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
23326
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
|
|
23327
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
22994
23328
|
*
|
|
22995
23329
|
* @param request SetInstancesProtectionRequest
|
|
22996
23330
|
* @return SetInstancesProtectionResponse
|
|
@@ -23001,7 +23335,7 @@ export default class Client extends OpenApi {
|
|
|
23001
23335
|
}
|
|
23002
23336
|
|
|
23003
23337
|
/**
|
|
23004
|
-
* @summary Suspends processes
|
|
23338
|
+
* @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
|
|
23005
23339
|
*
|
|
23006
23340
|
* @param request SuspendProcessesRequest
|
|
23007
23341
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23052,7 +23386,7 @@ export default class Client extends OpenApi {
|
|
|
23052
23386
|
}
|
|
23053
23387
|
|
|
23054
23388
|
/**
|
|
23055
|
-
* @summary Suspends processes
|
|
23389
|
+
* @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
|
|
23056
23390
|
*
|
|
23057
23391
|
* @param request SuspendProcessesRequest
|
|
23058
23392
|
* @return SuspendProcessesResponse
|
|
@@ -23063,7 +23397,15 @@ export default class Client extends OpenApi {
|
|
|
23063
23397
|
}
|
|
23064
23398
|
|
|
23065
23399
|
/**
|
|
23066
|
-
* @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.
|
|
23067
23409
|
*
|
|
23068
23410
|
* @param request TagResourcesRequest
|
|
23069
23411
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23114,7 +23456,15 @@ export default class Client extends OpenApi {
|
|
|
23114
23456
|
}
|
|
23115
23457
|
|
|
23116
23458
|
/**
|
|
23117
|
-
* @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.
|
|
23118
23468
|
*
|
|
23119
23469
|
* @param request TagResourcesRequest
|
|
23120
23470
|
* @return TagResourcesResponse
|
|
@@ -23125,7 +23475,7 @@ export default class Client extends OpenApi {
|
|
|
23125
23475
|
}
|
|
23126
23476
|
|
|
23127
23477
|
/**
|
|
23128
|
-
* @summary Removes tags from
|
|
23478
|
+
* @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
|
|
23129
23479
|
*
|
|
23130
23480
|
* @param request UntagResourcesRequest
|
|
23131
23481
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23180,7 +23530,7 @@ export default class Client extends OpenApi {
|
|
|
23180
23530
|
}
|
|
23181
23531
|
|
|
23182
23532
|
/**
|
|
23183
|
-
* @summary Removes tags from
|
|
23533
|
+
* @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
|
|
23184
23534
|
*
|
|
23185
23535
|
* @param request UntagResourcesRequest
|
|
23186
23536
|
* @return UntagResourcesResponse
|
|
@@ -23249,7 +23599,7 @@ export default class Client extends OpenApi {
|
|
|
23249
23599
|
}
|
|
23250
23600
|
|
|
23251
23601
|
/**
|
|
23252
|
-
* @summary
|
|
23602
|
+
* @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
|
|
23253
23603
|
*
|
|
23254
23604
|
* @param request VerifyUserRequest
|
|
23255
23605
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23292,7 +23642,7 @@ export default class Client extends OpenApi {
|
|
|
23292
23642
|
}
|
|
23293
23643
|
|
|
23294
23644
|
/**
|
|
23295
|
-
* @summary
|
|
23645
|
+
* @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
|
|
23296
23646
|
*
|
|
23297
23647
|
* @param request VerifyUserRequest
|
|
23298
23648
|
* @return VerifyUserResponse
|