@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/dist/client.js
CHANGED
|
@@ -2813,11 +2813,27 @@ class DescribePatternTypesRequest extends $tea.Model {
|
|
|
2813
2813
|
channelId: 'ChannelId',
|
|
2814
2814
|
cores: 'Cores',
|
|
2815
2815
|
coresList: 'CoresList',
|
|
2816
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
2816
2817
|
excludedInstanceType: 'ExcludedInstanceType',
|
|
2818
|
+
gpuSpecs: 'GpuSpecs',
|
|
2819
|
+
instanceCategories: 'InstanceCategories',
|
|
2817
2820
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
2821
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
2818
2822
|
maxPrice: 'MaxPrice',
|
|
2823
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
2824
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
2825
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
2819
2826
|
memory: 'Memory',
|
|
2820
2827
|
memoryList: 'MemoryList',
|
|
2828
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
2829
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
2830
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
2831
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
2832
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
2833
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
2834
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
2835
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
2836
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
2821
2837
|
regionId: 'RegionId',
|
|
2822
2838
|
spotStrategy: 'SpotStrategy',
|
|
2823
2839
|
vSwitchId: 'VSwitchId',
|
|
@@ -2830,11 +2846,27 @@ class DescribePatternTypesRequest extends $tea.Model {
|
|
|
2830
2846
|
channelId: 'number',
|
|
2831
2847
|
cores: 'number',
|
|
2832
2848
|
coresList: { 'type': 'array', 'itemType': 'number' },
|
|
2849
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
2833
2850
|
excludedInstanceType: { 'type': 'array', 'itemType': 'string' },
|
|
2851
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
2852
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
2834
2853
|
instanceFamilyLevel: 'string',
|
|
2854
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
2835
2855
|
maxPrice: 'number',
|
|
2856
|
+
maximumCpuCoreCount: 'number',
|
|
2857
|
+
maximumGpuAmount: 'number',
|
|
2858
|
+
maximumMemorySize: 'number',
|
|
2836
2859
|
memory: 'number',
|
|
2837
2860
|
memoryList: { 'type': 'array', 'itemType': 'number' },
|
|
2861
|
+
minimumBaselineCredit: 'number',
|
|
2862
|
+
minimumCpuCoreCount: 'number',
|
|
2863
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
2864
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
2865
|
+
minimumEniQuantity: 'number',
|
|
2866
|
+
minimumGpuAmount: 'number',
|
|
2867
|
+
minimumInitialCredit: 'number',
|
|
2868
|
+
minimumMemorySize: 'number',
|
|
2869
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
2838
2870
|
regionId: 'string',
|
|
2839
2871
|
spotStrategy: 'string',
|
|
2840
2872
|
vSwitchId: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -3701,6 +3733,7 @@ class DetachInstancesRequest extends $tea.Model {
|
|
|
3701
3733
|
clientToken: 'ClientToken',
|
|
3702
3734
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
3703
3735
|
detachOption: 'DetachOption',
|
|
3736
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
3704
3737
|
instanceIds: 'InstanceIds',
|
|
3705
3738
|
lifecycleHook: 'LifecycleHook',
|
|
3706
3739
|
ownerAccount: 'OwnerAccount',
|
|
@@ -3715,6 +3748,7 @@ class DetachInstancesRequest extends $tea.Model {
|
|
|
3715
3748
|
clientToken: 'string',
|
|
3716
3749
|
decreaseDesiredCapacity: 'boolean',
|
|
3717
3750
|
detachOption: 'string',
|
|
3751
|
+
ignoreInvalidInstance: 'boolean',
|
|
3718
3752
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
3719
3753
|
lifecycleHook: 'boolean',
|
|
3720
3754
|
ownerAccount: 'string',
|
|
@@ -5766,6 +5800,7 @@ class RemoveInstancesRequest extends $tea.Model {
|
|
|
5766
5800
|
return {
|
|
5767
5801
|
clientToken: 'ClientToken',
|
|
5768
5802
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
5803
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
5769
5804
|
instanceIds: 'InstanceIds',
|
|
5770
5805
|
ownerAccount: 'OwnerAccount',
|
|
5771
5806
|
ownerId: 'OwnerId',
|
|
@@ -5780,6 +5815,7 @@ class RemoveInstancesRequest extends $tea.Model {
|
|
|
5780
5815
|
return {
|
|
5781
5816
|
clientToken: 'string',
|
|
5782
5817
|
decreaseDesiredCapacity: 'boolean',
|
|
5818
|
+
ignoreInvalidInstance: 'boolean',
|
|
5783
5819
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
5784
5820
|
ownerAccount: 'string',
|
|
5785
5821
|
ownerId: 'number',
|
|
@@ -7507,10 +7543,26 @@ class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
7507
7543
|
architectures: 'Architectures',
|
|
7508
7544
|
burstablePerformance: 'BurstablePerformance',
|
|
7509
7545
|
cores: 'Cores',
|
|
7546
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
7510
7547
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
7548
|
+
gpuSpecs: 'GpuSpecs',
|
|
7549
|
+
instanceCategories: 'InstanceCategories',
|
|
7511
7550
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
7551
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
7512
7552
|
maxPrice: 'MaxPrice',
|
|
7553
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
7554
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
7555
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
7513
7556
|
memory: 'Memory',
|
|
7557
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
7558
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
7559
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
7560
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
7561
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
7562
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
7563
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
7564
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
7565
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
7514
7566
|
};
|
|
7515
7567
|
}
|
|
7516
7568
|
static types() {
|
|
@@ -7518,10 +7570,26 @@ class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
7518
7570
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
7519
7571
|
burstablePerformance: 'string',
|
|
7520
7572
|
cores: 'number',
|
|
7573
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
7521
7574
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7575
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
7576
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7522
7577
|
instanceFamilyLevel: 'string',
|
|
7578
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
7523
7579
|
maxPrice: 'number',
|
|
7580
|
+
maximumCpuCoreCount: 'number',
|
|
7581
|
+
maximumGpuAmount: 'number',
|
|
7582
|
+
maximumMemorySize: 'number',
|
|
7524
7583
|
memory: 'number',
|
|
7584
|
+
minimumBaselineCredit: 'number',
|
|
7585
|
+
minimumCpuCoreCount: 'number',
|
|
7586
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
7587
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
7588
|
+
minimumEniQuantity: 'number',
|
|
7589
|
+
minimumGpuAmount: 'number',
|
|
7590
|
+
minimumInitialCredit: 'number',
|
|
7591
|
+
minimumMemorySize: 'number',
|
|
7592
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
7525
7593
|
};
|
|
7526
7594
|
}
|
|
7527
7595
|
constructor(map) {
|
|
@@ -7723,10 +7791,26 @@ class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
7723
7791
|
architectures: 'Architectures',
|
|
7724
7792
|
burstablePerformance: 'BurstablePerformance',
|
|
7725
7793
|
cores: 'Cores',
|
|
7794
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
7726
7795
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
7796
|
+
gpuSpecs: 'GpuSpecs',
|
|
7797
|
+
instanceCategories: 'InstanceCategories',
|
|
7727
7798
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
7799
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
7728
7800
|
maxPrice: 'MaxPrice',
|
|
7801
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
7802
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
7803
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
7729
7804
|
memory: 'Memory',
|
|
7805
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
7806
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
7807
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
7808
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
7809
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
7810
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
7811
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
7812
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
7813
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
7730
7814
|
};
|
|
7731
7815
|
}
|
|
7732
7816
|
static types() {
|
|
@@ -7734,10 +7818,26 @@ class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
7734
7818
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
7735
7819
|
burstablePerformance: 'string',
|
|
7736
7820
|
cores: 'number',
|
|
7821
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
7737
7822
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7823
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
7824
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7738
7825
|
instanceFamilyLevel: 'string',
|
|
7826
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
7739
7827
|
maxPrice: 'number',
|
|
7828
|
+
maximumCpuCoreCount: 'number',
|
|
7829
|
+
maximumGpuAmount: 'number',
|
|
7830
|
+
maximumMemorySize: 'number',
|
|
7740
7831
|
memory: 'number',
|
|
7832
|
+
minimumBaselineCredit: 'number',
|
|
7833
|
+
minimumCpuCoreCount: 'number',
|
|
7834
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
7835
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
7836
|
+
minimumEniQuantity: 'number',
|
|
7837
|
+
minimumGpuAmount: 'number',
|
|
7838
|
+
minimumInitialCredit: 'number',
|
|
7839
|
+
minimumMemorySize: 'number',
|
|
7840
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
7741
7841
|
};
|
|
7742
7842
|
}
|
|
7743
7843
|
constructor(map) {
|
|
@@ -9571,10 +9671,26 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatt
|
|
|
9571
9671
|
architectures: 'Architectures',
|
|
9572
9672
|
burstablePerformance: 'BurstablePerformance',
|
|
9573
9673
|
cores: 'Cores',
|
|
9674
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
9574
9675
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
9676
|
+
gpuSpecs: 'GpuSpecs',
|
|
9677
|
+
instanceCategories: 'InstanceCategories',
|
|
9575
9678
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
9679
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
9576
9680
|
maxPrice: 'MaxPrice',
|
|
9681
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
9682
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
9683
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
9577
9684
|
memory: 'Memory',
|
|
9685
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
9686
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
9687
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
9688
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
9689
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
9690
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
9691
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
9692
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
9693
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
9578
9694
|
};
|
|
9579
9695
|
}
|
|
9580
9696
|
static types() {
|
|
@@ -9582,10 +9698,26 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatt
|
|
|
9582
9698
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
9583
9699
|
burstablePerformance: 'string',
|
|
9584
9700
|
cores: 'number',
|
|
9701
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
9585
9702
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9703
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
9704
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9586
9705
|
instanceFamilyLevel: 'string',
|
|
9706
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
9587
9707
|
maxPrice: 'number',
|
|
9708
|
+
maximumCpuCoreCount: 'number',
|
|
9709
|
+
maximumGpuAmount: 'number',
|
|
9710
|
+
maximumMemorySize: 'number',
|
|
9588
9711
|
memory: 'number',
|
|
9712
|
+
minimumBaselineCredit: 'number',
|
|
9713
|
+
minimumCpuCoreCount: 'number',
|
|
9714
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
9715
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
9716
|
+
minimumEniQuantity: 'number',
|
|
9717
|
+
minimumGpuAmount: 'number',
|
|
9718
|
+
minimumInitialCredit: 'number',
|
|
9719
|
+
minimumMemorySize: 'number',
|
|
9720
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
9589
9721
|
};
|
|
9590
9722
|
}
|
|
9591
9723
|
constructor(map) {
|
|
@@ -11727,10 +11859,26 @@ class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
11727
11859
|
architectures: 'Architectures',
|
|
11728
11860
|
burstablePerformance: 'BurstablePerformance',
|
|
11729
11861
|
cores: 'Cores',
|
|
11862
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
11730
11863
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
11864
|
+
gpuSpecs: 'GpuSpecs',
|
|
11865
|
+
instanceCategories: 'InstanceCategories',
|
|
11731
11866
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
11867
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
11732
11868
|
maxPrice: 'MaxPrice',
|
|
11869
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
11870
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
11871
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
11733
11872
|
memory: 'Memory',
|
|
11873
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
11874
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
11875
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
11876
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
11877
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
11878
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
11879
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
11880
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
11881
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
11734
11882
|
};
|
|
11735
11883
|
}
|
|
11736
11884
|
static types() {
|
|
@@ -11738,10 +11886,26 @@ class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
11738
11886
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
11739
11887
|
burstablePerformance: 'string',
|
|
11740
11888
|
cores: 'number',
|
|
11889
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
11741
11890
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
11891
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
11892
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
11742
11893
|
instanceFamilyLevel: 'string',
|
|
11894
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
11743
11895
|
maxPrice: 'number',
|
|
11896
|
+
maximumCpuCoreCount: 'number',
|
|
11897
|
+
maximumGpuAmount: 'number',
|
|
11898
|
+
maximumMemorySize: 'number',
|
|
11744
11899
|
memory: 'number',
|
|
11900
|
+
minimumBaselineCredit: 'number',
|
|
11901
|
+
minimumCpuCoreCount: 'number',
|
|
11902
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
11903
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
11904
|
+
minimumEniQuantity: 'number',
|
|
11905
|
+
minimumGpuAmount: 'number',
|
|
11906
|
+
minimumInitialCredit: 'number',
|
|
11907
|
+
minimumMemorySize: 'number',
|
|
11908
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
11745
11909
|
};
|
|
11746
11910
|
}
|
|
11747
11911
|
constructor(map) {
|
|
@@ -11943,10 +12107,26 @@ class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
11943
12107
|
architectures: 'Architectures',
|
|
11944
12108
|
burstablePerformance: 'BurstablePerformance',
|
|
11945
12109
|
cores: 'Cores',
|
|
12110
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
11946
12111
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
12112
|
+
gpuSpecs: 'GpuSpecs',
|
|
12113
|
+
instanceCategories: 'InstanceCategories',
|
|
11947
12114
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
12115
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
11948
12116
|
maxPrice: 'MaxPrice',
|
|
12117
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
12118
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
12119
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
11949
12120
|
memory: 'Memory',
|
|
12121
|
+
minimumBaselineCredit: 'MinimumBaselineCredit',
|
|
12122
|
+
minimumCpuCoreCount: 'MinimumCpuCoreCount',
|
|
12123
|
+
minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
|
|
12124
|
+
minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
|
|
12125
|
+
minimumEniQuantity: 'MinimumEniQuantity',
|
|
12126
|
+
minimumGpuAmount: 'MinimumGpuAmount',
|
|
12127
|
+
minimumInitialCredit: 'MinimumInitialCredit',
|
|
12128
|
+
minimumMemorySize: 'MinimumMemorySize',
|
|
12129
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
11950
12130
|
};
|
|
11951
12131
|
}
|
|
11952
12132
|
static types() {
|
|
@@ -11954,10 +12134,26 @@ class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
11954
12134
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
11955
12135
|
burstablePerformance: 'string',
|
|
11956
12136
|
cores: 'number',
|
|
12137
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
11957
12138
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12139
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
12140
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
11958
12141
|
instanceFamilyLevel: 'string',
|
|
12142
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
11959
12143
|
maxPrice: 'number',
|
|
12144
|
+
maximumCpuCoreCount: 'number',
|
|
12145
|
+
maximumGpuAmount: 'number',
|
|
12146
|
+
maximumMemorySize: 'number',
|
|
11960
12147
|
memory: 'number',
|
|
12148
|
+
minimumBaselineCredit: 'number',
|
|
12149
|
+
minimumCpuCoreCount: 'number',
|
|
12150
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
12151
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
12152
|
+
minimumEniQuantity: 'number',
|
|
12153
|
+
minimumGpuAmount: 'number',
|
|
12154
|
+
minimumInitialCredit: 'number',
|
|
12155
|
+
minimumMemorySize: 'number',
|
|
12156
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
11961
12157
|
};
|
|
11962
12158
|
}
|
|
11963
12159
|
constructor(map) {
|
|
@@ -12416,12 +12612,11 @@ class Client extends openapi_client_1.default {
|
|
|
12416
12612
|
return await this.applyScalingGroupWithOptions(request, runtime);
|
|
12417
12613
|
}
|
|
12418
12614
|
/**
|
|
12419
|
-
* @summary
|
|
12615
|
+
* @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.
|
|
12420
12616
|
*
|
|
12421
|
-
* @description Before you
|
|
12422
|
-
* * The scaling group
|
|
12617
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
12618
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
12423
12619
|
* * The ALB server group is in the Available state.
|
|
12424
|
-
* * 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).
|
|
12425
12620
|
*
|
|
12426
12621
|
* @param request AttachAlbServerGroupsRequest
|
|
12427
12622
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12468,12 +12663,11 @@ class Client extends openapi_client_1.default {
|
|
|
12468
12663
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
12469
12664
|
}
|
|
12470
12665
|
/**
|
|
12471
|
-
* @summary
|
|
12666
|
+
* @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.
|
|
12472
12667
|
*
|
|
12473
|
-
* @description Before you
|
|
12474
|
-
* * The scaling group
|
|
12668
|
+
* @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
|
|
12669
|
+
* * The scaling group and the ALB server group share the same virtual private cloud (VPC).
|
|
12475
12670
|
* * The ALB server group is in the Available state.
|
|
12476
|
-
* * 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).
|
|
12477
12671
|
*
|
|
12478
12672
|
* @param request AttachAlbServerGroupsRequest
|
|
12479
12673
|
* @return AttachAlbServerGroupsResponse
|
|
@@ -12733,7 +12927,7 @@ class Client extends openapi_client_1.default {
|
|
|
12733
12927
|
return await this.attachLoadBalancersWithOptions(request, runtime);
|
|
12734
12928
|
}
|
|
12735
12929
|
/**
|
|
12736
|
-
* @summary Attaches
|
|
12930
|
+
* @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.
|
|
12737
12931
|
*
|
|
12738
12932
|
* @param request AttachServerGroupsRequest
|
|
12739
12933
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12780,7 +12974,7 @@ class Client extends openapi_client_1.default {
|
|
|
12780
12974
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
12781
12975
|
}
|
|
12782
12976
|
/**
|
|
12783
|
-
* @summary Attaches
|
|
12977
|
+
* @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.
|
|
12784
12978
|
*
|
|
12785
12979
|
* @param request AttachServerGroupsRequest
|
|
12786
12980
|
* @return AttachServerGroupsResponse
|
|
@@ -12790,22 +12984,23 @@ class Client extends openapi_client_1.default {
|
|
|
12790
12984
|
return await this.attachServerGroupsWithOptions(request, runtime);
|
|
12791
12985
|
}
|
|
12792
12986
|
/**
|
|
12793
|
-
* @summary
|
|
12794
|
-
*
|
|
12795
|
-
* @description Before you call this operation
|
|
12796
|
-
*
|
|
12797
|
-
*
|
|
12798
|
-
*
|
|
12799
|
-
*
|
|
12800
|
-
*
|
|
12801
|
-
*
|
|
12802
|
-
*
|
|
12803
|
-
*
|
|
12804
|
-
* When you call this operation, you must specify the following parameters:
|
|
12805
|
-
*
|
|
12806
|
-
*
|
|
12807
|
-
*
|
|
12808
|
-
*
|
|
12987
|
+
* @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.
|
|
12988
|
+
*
|
|
12989
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
12990
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
12991
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
12992
|
+
* * The CLB instance is in the Running state.
|
|
12993
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
12994
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
12995
|
+
* * 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.
|
|
12996
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
12997
|
+
* * 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).
|
|
12998
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
12999
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
13000
|
+
* * VServerGroupId: the ID of the vServer group
|
|
13001
|
+
* * Port: the port number of the vServer group
|
|
13002
|
+
* **
|
|
13003
|
+
* **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.
|
|
12809
13004
|
*
|
|
12810
13005
|
* @param request AttachVServerGroupsRequest
|
|
12811
13006
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12852,22 +13047,23 @@ class Client extends openapi_client_1.default {
|
|
|
12852
13047
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
12853
13048
|
}
|
|
12854
13049
|
/**
|
|
12855
|
-
* @summary
|
|
12856
|
-
*
|
|
12857
|
-
* @description Before you call this operation
|
|
12858
|
-
*
|
|
12859
|
-
*
|
|
12860
|
-
*
|
|
12861
|
-
*
|
|
12862
|
-
*
|
|
12863
|
-
*
|
|
12864
|
-
*
|
|
12865
|
-
*
|
|
12866
|
-
* When you call this operation, you must specify the following parameters:
|
|
12867
|
-
*
|
|
12868
|
-
*
|
|
12869
|
-
*
|
|
12870
|
-
*
|
|
13050
|
+
* @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.
|
|
13051
|
+
*
|
|
13052
|
+
* @description * Before you call this operation, make sure that the following requirements are met:
|
|
13053
|
+
* * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
|
|
13054
|
+
* * The CLB instance and the scaling group reside in the same region.
|
|
13055
|
+
* * The CLB instance is in the Running state.
|
|
13056
|
+
* * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
|
|
13057
|
+
* * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
|
|
13058
|
+
* * 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.
|
|
13059
|
+
* * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
|
|
13060
|
+
* * 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).
|
|
13061
|
+
* * When you call this operation to attach vServer groups, you must specify the following parameters:
|
|
13062
|
+
* * LoadBalancerId: the ID of the CLB instance
|
|
13063
|
+
* * VServerGroupId: the ID of the vServer group
|
|
13064
|
+
* * Port: the port number of the vServer group
|
|
13065
|
+
* **
|
|
13066
|
+
* **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.
|
|
12871
13067
|
*
|
|
12872
13068
|
* @param request AttachVServerGroupsRequest
|
|
12873
13069
|
* @return AttachVServerGroupsResponse
|
|
@@ -12877,7 +13073,10 @@ class Client extends openapi_client_1.default {
|
|
|
12877
13073
|
return await this.attachVServerGroupsWithOptions(request, runtime);
|
|
12878
13074
|
}
|
|
12879
13075
|
/**
|
|
12880
|
-
* @summary
|
|
13076
|
+
* @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.
|
|
13077
|
+
*
|
|
13078
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
13079
|
+
* * 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)
|
|
12881
13080
|
*
|
|
12882
13081
|
* @param request ChangeResourceGroupRequest
|
|
12883
13082
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12921,7 +13120,10 @@ class Client extends openapi_client_1.default {
|
|
|
12921
13120
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
12922
13121
|
}
|
|
12923
13122
|
/**
|
|
12924
|
-
* @summary
|
|
13123
|
+
* @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.
|
|
13124
|
+
*
|
|
13125
|
+
* @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
|
|
13126
|
+
* * 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)
|
|
12925
13127
|
*
|
|
12926
13128
|
* @param request ChangeResourceGroupRequest
|
|
12927
13129
|
* @return ChangeResourceGroupResponse
|
|
@@ -12995,13 +13197,13 @@ class Client extends openapi_client_1.default {
|
|
|
12995
13197
|
return await this.completeLifecycleActionWithOptions(request, runtime);
|
|
12996
13198
|
}
|
|
12997
13199
|
/**
|
|
12998
|
-
* @summary Creates an event-triggered task.
|
|
13200
|
+
* @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.
|
|
12999
13201
|
*
|
|
13000
|
-
* @description * If you set
|
|
13001
|
-
* * When you create an event-triggered task, you must specify
|
|
13002
|
-
* * If you
|
|
13003
|
-
* *
|
|
13004
|
-
* >
|
|
13202
|
+
* @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).
|
|
13203
|
+
* * 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.
|
|
13204
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
13205
|
+
* * 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.
|
|
13206
|
+
* > 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.
|
|
13005
13207
|
*
|
|
13006
13208
|
* @param request CreateAlarmRequest
|
|
13007
13209
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13084,13 +13286,13 @@ class Client extends openapi_client_1.default {
|
|
|
13084
13286
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
13085
13287
|
}
|
|
13086
13288
|
/**
|
|
13087
|
-
* @summary Creates an event-triggered task.
|
|
13289
|
+
* @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.
|
|
13088
13290
|
*
|
|
13089
|
-
* @description * If you set
|
|
13090
|
-
* * When you create an event-triggered task, you must specify
|
|
13091
|
-
* * If you
|
|
13092
|
-
* *
|
|
13093
|
-
* >
|
|
13291
|
+
* @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).
|
|
13292
|
+
* * 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.
|
|
13293
|
+
* * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
|
|
13294
|
+
* * 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.
|
|
13295
|
+
* > 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.
|
|
13094
13296
|
*
|
|
13095
13297
|
* @param request CreateAlarmRequest
|
|
13096
13298
|
* @return CreateAlarmResponse
|
|
@@ -14159,7 +14361,7 @@ class Client extends openapi_client_1.default {
|
|
|
14159
14361
|
return await this.deactivateScalingConfigurationWithOptions(request, runtime);
|
|
14160
14362
|
}
|
|
14161
14363
|
/**
|
|
14162
|
-
* @summary Deletes an event-triggered task.
|
|
14364
|
+
* @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.
|
|
14163
14365
|
*
|
|
14164
14366
|
* @param request DeleteAlarmRequest
|
|
14165
14367
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14197,7 +14399,7 @@ class Client extends openapi_client_1.default {
|
|
|
14197
14399
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
14198
14400
|
}
|
|
14199
14401
|
/**
|
|
14200
|
-
* @summary Deletes an event-triggered task.
|
|
14402
|
+
* @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.
|
|
14201
14403
|
*
|
|
14202
14404
|
* @param request DeleteAlarmRequest
|
|
14203
14405
|
* @return DeleteAlarmResponse
|
|
@@ -14207,11 +14409,11 @@ class Client extends openapi_client_1.default {
|
|
|
14207
14409
|
return await this.deleteAlarmWithOptions(request, runtime);
|
|
14208
14410
|
}
|
|
14209
14411
|
/**
|
|
14210
|
-
* @summary Deletes a scaling configuration
|
|
14412
|
+
* @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.
|
|
14211
14413
|
*
|
|
14212
|
-
* @description You cannot
|
|
14414
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
14213
14415
|
* * The scaling configuration is in the Active state.
|
|
14214
|
-
* * The scaling group contains elastic container instances
|
|
14416
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
14215
14417
|
*
|
|
14216
14418
|
* @param request DeleteEciScalingConfigurationRequest
|
|
14217
14419
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14252,11 +14454,11 @@ class Client extends openapi_client_1.default {
|
|
|
14252
14454
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
14253
14455
|
}
|
|
14254
14456
|
/**
|
|
14255
|
-
* @summary Deletes a scaling configuration
|
|
14457
|
+
* @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.
|
|
14256
14458
|
*
|
|
14257
|
-
* @description You cannot
|
|
14459
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
14258
14460
|
* * The scaling configuration is in the Active state.
|
|
14259
|
-
* * The scaling group contains elastic container instances
|
|
14461
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
14260
14462
|
*
|
|
14261
14463
|
* @param request DeleteEciScalingConfigurationRequest
|
|
14262
14464
|
* @return DeleteEciScalingConfigurationResponse
|
|
@@ -14331,7 +14533,7 @@ class Client extends openapi_client_1.default {
|
|
|
14331
14533
|
return await this.deleteLifecycleHookWithOptions(request, runtime);
|
|
14332
14534
|
}
|
|
14333
14535
|
/**
|
|
14334
|
-
* @summary Deletes
|
|
14536
|
+
* @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.
|
|
14335
14537
|
*
|
|
14336
14538
|
* @param request DeleteNotificationConfigurationRequest
|
|
14337
14539
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14372,7 +14574,7 @@ class Client extends openapi_client_1.default {
|
|
|
14372
14574
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
14373
14575
|
}
|
|
14374
14576
|
/**
|
|
14375
|
-
* @summary Deletes
|
|
14577
|
+
* @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.
|
|
14376
14578
|
*
|
|
14377
14579
|
* @param request DeleteNotificationConfigurationRequest
|
|
14378
14580
|
* @return DeleteNotificationConfigurationResponse
|
|
@@ -14438,11 +14640,18 @@ class Client extends openapi_client_1.default {
|
|
|
14438
14640
|
return await this.deleteScalingConfigurationWithOptions(request, runtime);
|
|
14439
14641
|
}
|
|
14440
14642
|
/**
|
|
14441
|
-
* @summary Deletes a scaling group.
|
|
14643
|
+
* @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.
|
|
14442
14644
|
*
|
|
14443
|
-
* @description Before you
|
|
14444
|
-
* *
|
|
14445
|
-
* *
|
|
14645
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
14646
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
14647
|
+
* * 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.
|
|
14648
|
+
* * 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.
|
|
14649
|
+
* **
|
|
14650
|
+
* **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.
|
|
14651
|
+
* * 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.
|
|
14652
|
+
* * 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.
|
|
14653
|
+
* **
|
|
14654
|
+
* **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).
|
|
14446
14655
|
*
|
|
14447
14656
|
* @param request DeleteScalingGroupRequest
|
|
14448
14657
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14486,11 +14695,18 @@ class Client extends openapi_client_1.default {
|
|
|
14486
14695
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
14487
14696
|
}
|
|
14488
14697
|
/**
|
|
14489
|
-
* @summary Deletes a scaling group.
|
|
14698
|
+
* @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.
|
|
14490
14699
|
*
|
|
14491
|
-
* @description Before you
|
|
14492
|
-
* *
|
|
14493
|
-
* *
|
|
14700
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
14701
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
14702
|
+
* * 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.
|
|
14703
|
+
* * 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.
|
|
14704
|
+
* **
|
|
14705
|
+
* **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.
|
|
14706
|
+
* * 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.
|
|
14707
|
+
* * 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.
|
|
14708
|
+
* **
|
|
14709
|
+
* **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).
|
|
14494
14710
|
*
|
|
14495
14711
|
* @param request DeleteScalingGroupRequest
|
|
14496
14712
|
* @return DeleteScalingGroupResponse
|
|
@@ -14551,7 +14767,7 @@ class Client extends openapi_client_1.default {
|
|
|
14551
14767
|
return await this.deleteScalingRuleWithOptions(request, runtime);
|
|
14552
14768
|
}
|
|
14553
14769
|
/**
|
|
14554
|
-
* @summary Deletes a scheduled task.
|
|
14770
|
+
* @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.
|
|
14555
14771
|
*
|
|
14556
14772
|
* @param request DeleteScheduledTaskRequest
|
|
14557
14773
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14592,7 +14808,7 @@ class Client extends openapi_client_1.default {
|
|
|
14592
14808
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
14593
14809
|
}
|
|
14594
14810
|
/**
|
|
14595
|
-
* @summary Deletes a scheduled task.
|
|
14811
|
+
* @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.
|
|
14596
14812
|
*
|
|
14597
14813
|
* @param request DeleteScheduledTaskRequest
|
|
14598
14814
|
* @return DeleteScheduledTaskResponse
|
|
@@ -14602,7 +14818,7 @@ class Client extends openapi_client_1.default {
|
|
|
14602
14818
|
return await this.deleteScheduledTaskWithOptions(request, runtime);
|
|
14603
14819
|
}
|
|
14604
14820
|
/**
|
|
14605
|
-
* @summary Queries event-triggered tasks.
|
|
14821
|
+
* @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.
|
|
14606
14822
|
*
|
|
14607
14823
|
* @param request DescribeAlarmsRequest
|
|
14608
14824
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14661,7 +14877,7 @@ class Client extends openapi_client_1.default {
|
|
|
14661
14877
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
14662
14878
|
}
|
|
14663
14879
|
/**
|
|
14664
|
-
* @summary Queries event-triggered tasks.
|
|
14880
|
+
* @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.
|
|
14665
14881
|
*
|
|
14666
14882
|
* @param request DescribeAlarmsRequest
|
|
14667
14883
|
* @return DescribeAlarmsResponse
|
|
@@ -15059,7 +15275,7 @@ class Client extends openapi_client_1.default {
|
|
|
15059
15275
|
return await this.describeNotificationTypesWithOptions(request, runtime);
|
|
15060
15276
|
}
|
|
15061
15277
|
/**
|
|
15062
|
-
* @summary DescribePatternTypes
|
|
15278
|
+
* @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.
|
|
15063
15279
|
*
|
|
15064
15280
|
* @param request DescribePatternTypesRequest
|
|
15065
15281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15085,7 +15301,7 @@ class Client extends openapi_client_1.default {
|
|
|
15085
15301
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
15086
15302
|
}
|
|
15087
15303
|
/**
|
|
15088
|
-
* @summary DescribePatternTypes
|
|
15304
|
+
* @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.
|
|
15089
15305
|
*
|
|
15090
15306
|
* @param request DescribePatternTypesRequest
|
|
15091
15307
|
* @return DescribePatternTypesResponse
|
|
@@ -15095,7 +15311,7 @@ class Client extends openapi_client_1.default {
|
|
|
15095
15311
|
return await this.describePatternTypesWithOptions(request, runtime);
|
|
15096
15312
|
}
|
|
15097
15313
|
/**
|
|
15098
|
-
* @summary Queries the regions
|
|
15314
|
+
* @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.
|
|
15099
15315
|
*
|
|
15100
15316
|
* @param request DescribeRegionsRequest
|
|
15101
15317
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15133,7 +15349,7 @@ class Client extends openapi_client_1.default {
|
|
|
15133
15349
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
15134
15350
|
}
|
|
15135
15351
|
/**
|
|
15136
|
-
* @summary Queries the regions
|
|
15352
|
+
* @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.
|
|
15137
15353
|
*
|
|
15138
15354
|
* @param request DescribeRegionsRequest
|
|
15139
15355
|
* @return DescribeRegionsResponse
|
|
@@ -15331,7 +15547,7 @@ class Client extends openapi_client_1.default {
|
|
|
15331
15547
|
return await this.describeScalingConfigurationsWithOptions(request, runtime);
|
|
15332
15548
|
}
|
|
15333
15549
|
/**
|
|
15334
|
-
* @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
|
|
15550
|
+
* @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.
|
|
15335
15551
|
*
|
|
15336
15552
|
* @param request DescribeScalingGroupDetailRequest
|
|
15337
15553
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15369,7 +15585,7 @@ class Client extends openapi_client_1.default {
|
|
|
15369
15585
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
15370
15586
|
}
|
|
15371
15587
|
/**
|
|
15372
|
-
* @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
|
|
15588
|
+
* @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.
|
|
15373
15589
|
*
|
|
15374
15590
|
* @param request DescribeScalingGroupDetailRequest
|
|
15375
15591
|
* @return DescribeScalingGroupDetailResponse
|
|
@@ -15834,6 +16050,9 @@ class Client extends openapi_client_1.default {
|
|
|
15834
16050
|
if (!tea_util_1.default.isUnset(request.detachOption)) {
|
|
15835
16051
|
query["DetachOption"] = request.detachOption;
|
|
15836
16052
|
}
|
|
16053
|
+
if (!tea_util_1.default.isUnset(request.ignoreInvalidInstance)) {
|
|
16054
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
16055
|
+
}
|
|
15837
16056
|
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
15838
16057
|
query["InstanceIds"] = request.instanceIds;
|
|
15839
16058
|
}
|
|
@@ -15951,7 +16170,7 @@ class Client extends openapi_client_1.default {
|
|
|
15951
16170
|
return await this.detachLoadBalancersWithOptions(request, runtime);
|
|
15952
16171
|
}
|
|
15953
16172
|
/**
|
|
15954
|
-
* @summary
|
|
16173
|
+
* @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.
|
|
15955
16174
|
*
|
|
15956
16175
|
* @param request DetachServerGroupsRequest
|
|
15957
16176
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15998,7 +16217,7 @@ class Client extends openapi_client_1.default {
|
|
|
15998
16217
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
15999
16218
|
}
|
|
16000
16219
|
/**
|
|
16001
|
-
* @summary
|
|
16220
|
+
* @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.
|
|
16002
16221
|
*
|
|
16003
16222
|
* @param request DetachServerGroupsRequest
|
|
16004
16223
|
* @return DetachServerGroupsResponse
|
|
@@ -16079,7 +16298,9 @@ class Client extends openapi_client_1.default {
|
|
|
16079
16298
|
return await this.detachVServerGroupsWithOptions(request, runtime);
|
|
16080
16299
|
}
|
|
16081
16300
|
/**
|
|
16082
|
-
* @summary Disables an event-triggered task.
|
|
16301
|
+
* @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.
|
|
16302
|
+
*
|
|
16303
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
16083
16304
|
*
|
|
16084
16305
|
* @param request DisableAlarmRequest
|
|
16085
16306
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16117,7 +16338,9 @@ class Client extends openapi_client_1.default {
|
|
|
16117
16338
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
16118
16339
|
}
|
|
16119
16340
|
/**
|
|
16120
|
-
* @summary Disables an event-triggered task.
|
|
16341
|
+
* @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.
|
|
16342
|
+
*
|
|
16343
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
16121
16344
|
*
|
|
16122
16345
|
* @param request DisableAlarmRequest
|
|
16123
16346
|
* @return DisableAlarmResponse
|
|
@@ -16127,11 +16350,11 @@ class Client extends openapi_client_1.default {
|
|
|
16127
16350
|
return await this.disableAlarmWithOptions(request, runtime);
|
|
16128
16351
|
}
|
|
16129
16352
|
/**
|
|
16130
|
-
* @summary Disables a scaling group.
|
|
16353
|
+
* @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.
|
|
16131
16354
|
*
|
|
16132
16355
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
16133
|
-
* *
|
|
16134
|
-
* *
|
|
16356
|
+
* * 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.
|
|
16357
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
16135
16358
|
*
|
|
16136
16359
|
* @param request DisableScalingGroupRequest
|
|
16137
16360
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16172,11 +16395,11 @@ class Client extends openapi_client_1.default {
|
|
|
16172
16395
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
16173
16396
|
}
|
|
16174
16397
|
/**
|
|
16175
|
-
* @summary Disables a scaling group.
|
|
16398
|
+
* @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.
|
|
16176
16399
|
*
|
|
16177
16400
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
16178
|
-
* *
|
|
16179
|
-
* *
|
|
16401
|
+
* * 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.
|
|
16402
|
+
* * This operation can be called only when the scaling group is in the Active state.
|
|
16180
16403
|
*
|
|
16181
16404
|
* @param request DisableScalingGroupRequest
|
|
16182
16405
|
* @return DisableScalingGroupResponse
|
|
@@ -16186,7 +16409,7 @@ class Client extends openapi_client_1.default {
|
|
|
16186
16409
|
return await this.disableScalingGroupWithOptions(request, runtime);
|
|
16187
16410
|
}
|
|
16188
16411
|
/**
|
|
16189
|
-
* @summary Enables an event-triggered task.
|
|
16412
|
+
* @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.
|
|
16190
16413
|
*
|
|
16191
16414
|
* @param request EnableAlarmRequest
|
|
16192
16415
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16224,7 +16447,7 @@ class Client extends openapi_client_1.default {
|
|
|
16224
16447
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
16225
16448
|
}
|
|
16226
16449
|
/**
|
|
16227
|
-
* @summary Enables an event-triggered task.
|
|
16450
|
+
* @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.
|
|
16228
16451
|
*
|
|
16229
16452
|
* @param request EnableAlarmRequest
|
|
16230
16453
|
* @return EnableAlarmResponse
|
|
@@ -16234,13 +16457,14 @@ class Client extends openapi_client_1.default {
|
|
|
16234
16457
|
return await this.enableAlarmWithOptions(request, runtime);
|
|
16235
16458
|
}
|
|
16236
16459
|
/**
|
|
16237
|
-
* @summary Enables a scaling group.
|
|
16460
|
+
* @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.
|
|
16238
16461
|
*
|
|
16239
|
-
* @description You can call this operation to enable a scaling group
|
|
16240
|
-
*
|
|
16241
|
-
*
|
|
16242
|
-
* * If
|
|
16243
|
-
*
|
|
16462
|
+
* @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.
|
|
16463
|
+
* **
|
|
16464
|
+
* **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.
|
|
16465
|
+
* * 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.
|
|
16466
|
+
* * 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.
|
|
16467
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
16244
16468
|
*
|
|
16245
16469
|
* @param request EnableScalingGroupRequest
|
|
16246
16470
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16302,13 +16526,14 @@ class Client extends openapi_client_1.default {
|
|
|
16302
16526
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
16303
16527
|
}
|
|
16304
16528
|
/**
|
|
16305
|
-
* @summary Enables a scaling group.
|
|
16529
|
+
* @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.
|
|
16306
16530
|
*
|
|
16307
|
-
* @description You can call this operation to enable a scaling group
|
|
16308
|
-
*
|
|
16309
|
-
*
|
|
16310
|
-
* * If
|
|
16311
|
-
*
|
|
16531
|
+
* @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.
|
|
16532
|
+
* **
|
|
16533
|
+
* **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.
|
|
16534
|
+
* * 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.
|
|
16535
|
+
* * 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.
|
|
16536
|
+
* * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
|
|
16312
16537
|
*
|
|
16313
16538
|
* @param request EnableScalingGroupRequest
|
|
16314
16539
|
* @return EnableScalingGroupResponse
|
|
@@ -16582,7 +16807,10 @@ class Client extends openapi_client_1.default {
|
|
|
16582
16807
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
16583
16808
|
}
|
|
16584
16809
|
/**
|
|
16585
|
-
* @summary Queries tags that are added to
|
|
16810
|
+
* @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.
|
|
16811
|
+
*
|
|
16812
|
+
* @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.
|
|
16813
|
+
* * 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.
|
|
16586
16814
|
*
|
|
16587
16815
|
* @param request ListTagResourcesRequest
|
|
16588
16816
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16629,7 +16857,10 @@ class Client extends openapi_client_1.default {
|
|
|
16629
16857
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
16630
16858
|
}
|
|
16631
16859
|
/**
|
|
16632
|
-
* @summary Queries tags that are added to
|
|
16860
|
+
* @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.
|
|
16861
|
+
*
|
|
16862
|
+
* @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.
|
|
16863
|
+
* * 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.
|
|
16633
16864
|
*
|
|
16634
16865
|
* @param request ListTagResourcesRequest
|
|
16635
16866
|
* @return ListTagResourcesResponse
|
|
@@ -16639,7 +16870,7 @@ class Client extends openapi_client_1.default {
|
|
|
16639
16870
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
16640
16871
|
}
|
|
16641
16872
|
/**
|
|
16642
|
-
* @summary Queries tag
|
|
16873
|
+
* @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.
|
|
16643
16874
|
*
|
|
16644
16875
|
* @param request ListTagValuesRequest
|
|
16645
16876
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16686,7 +16917,7 @@ class Client extends openapi_client_1.default {
|
|
|
16686
16917
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
16687
16918
|
}
|
|
16688
16919
|
/**
|
|
16689
|
-
* @summary Queries tag
|
|
16920
|
+
* @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.
|
|
16690
16921
|
*
|
|
16691
16922
|
* @param request ListTagValuesRequest
|
|
16692
16923
|
* @return ListTagValuesResponse
|
|
@@ -17386,19 +17617,21 @@ class Client extends openapi_client_1.default {
|
|
|
17386
17617
|
return await this.modifyScalingConfigurationWithOptions(request, runtime);
|
|
17387
17618
|
}
|
|
17388
17619
|
/**
|
|
17389
|
-
* @summary Modifies a scaling group.
|
|
17620
|
+
* @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.
|
|
17390
17621
|
*
|
|
17391
|
-
* @description * You cannot
|
|
17622
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
17392
17623
|
* * RegionId
|
|
17393
17624
|
* * LoadBalancerId
|
|
17394
|
-
*
|
|
17625
|
+
* **
|
|
17626
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
17395
17627
|
* * DBInstanceId
|
|
17396
|
-
*
|
|
17397
|
-
*
|
|
17398
|
-
* *
|
|
17399
|
-
* *
|
|
17400
|
-
* * If the
|
|
17401
|
-
* * If the
|
|
17628
|
+
* **
|
|
17629
|
+
* **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.
|
|
17630
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
17631
|
+
* * 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.
|
|
17632
|
+
* * 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.
|
|
17633
|
+
* * 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.
|
|
17634
|
+
* * 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.
|
|
17402
17635
|
*
|
|
17403
17636
|
* @param request ModifyScalingGroupRequest
|
|
17404
17637
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17520,19 +17753,21 @@ class Client extends openapi_client_1.default {
|
|
|
17520
17753
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
17521
17754
|
}
|
|
17522
17755
|
/**
|
|
17523
|
-
* @summary Modifies a scaling group.
|
|
17756
|
+
* @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.
|
|
17524
17757
|
*
|
|
17525
|
-
* @description * You cannot
|
|
17758
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
17526
17759
|
* * RegionId
|
|
17527
17760
|
* * LoadBalancerId
|
|
17528
|
-
*
|
|
17761
|
+
* **
|
|
17762
|
+
* **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
|
|
17529
17763
|
* * DBInstanceId
|
|
17530
|
-
*
|
|
17531
|
-
*
|
|
17532
|
-
* *
|
|
17533
|
-
* *
|
|
17534
|
-
* * If the
|
|
17535
|
-
* * If the
|
|
17764
|
+
* **
|
|
17765
|
+
* **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.
|
|
17766
|
+
* * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
|
|
17767
|
+
* * 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.
|
|
17768
|
+
* * 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.
|
|
17769
|
+
* * 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.
|
|
17770
|
+
* * 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.
|
|
17536
17771
|
*
|
|
17537
17772
|
* @param request ModifyScalingGroupRequest
|
|
17538
17773
|
* @return ModifyScalingGroupResponse
|
|
@@ -17902,6 +18137,9 @@ class Client extends openapi_client_1.default {
|
|
|
17902
18137
|
if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
|
|
17903
18138
|
query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
|
|
17904
18139
|
}
|
|
18140
|
+
if (!tea_util_1.default.isUnset(request.ignoreInvalidInstance)) {
|
|
18141
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
18142
|
+
}
|
|
17905
18143
|
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
17906
18144
|
query["InstanceIds"] = request.instanceIds;
|
|
17907
18145
|
}
|
|
@@ -18016,16 +18254,15 @@ class Client extends openapi_client_1.default {
|
|
|
18016
18254
|
return await this.resumeProcessesWithOptions(request, runtime);
|
|
18017
18255
|
}
|
|
18018
18256
|
/**
|
|
18019
|
-
* @summary Scales instances in
|
|
18257
|
+
* @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.
|
|
18020
18258
|
*
|
|
18021
|
-
* @description
|
|
18022
|
-
* * The following conditions must be met:
|
|
18259
|
+
* @description * Before you call this operation, take note of the following items:
|
|
18023
18260
|
* * The scaling group is in the Active state.
|
|
18024
|
-
* *
|
|
18025
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
18026
|
-
* * If the addition of a
|
|
18027
|
-
* * If the removal of a
|
|
18028
|
-
* 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
|
|
18261
|
+
* * The scaling group has no ongoing scaling activities.
|
|
18262
|
+
* * 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.
|
|
18263
|
+
* * 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.
|
|
18264
|
+
* * 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.
|
|
18265
|
+
* 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.
|
|
18029
18266
|
*
|
|
18030
18267
|
* @param tmpReq ScaleWithAdjustmentRequest
|
|
18031
18268
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18092,16 +18329,15 @@ class Client extends openapi_client_1.default {
|
|
|
18092
18329
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
18093
18330
|
}
|
|
18094
18331
|
/**
|
|
18095
|
-
* @summary Scales instances in
|
|
18332
|
+
* @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.
|
|
18096
18333
|
*
|
|
18097
|
-
* @description
|
|
18098
|
-
* * The following conditions must be met:
|
|
18334
|
+
* @description * Before you call this operation, take note of the following items:
|
|
18099
18335
|
* * The scaling group is in the Active state.
|
|
18100
|
-
* *
|
|
18101
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
18102
|
-
* * If the addition of a
|
|
18103
|
-
* * If the removal of a
|
|
18104
|
-
* 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
|
|
18336
|
+
* * The scaling group has no ongoing scaling activities.
|
|
18337
|
+
* * 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.
|
|
18338
|
+
* * 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.
|
|
18339
|
+
* * 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.
|
|
18340
|
+
* 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.
|
|
18105
18341
|
*
|
|
18106
18342
|
* @param request ScaleWithAdjustmentRequest
|
|
18107
18343
|
* @return ScaleWithAdjustmentResponse
|
|
@@ -18214,13 +18450,12 @@ class Client extends openapi_client_1.default {
|
|
|
18214
18450
|
return await this.setInstanceHealthWithOptions(request, runtime);
|
|
18215
18451
|
}
|
|
18216
18452
|
/**
|
|
18217
|
-
* @summary Puts
|
|
18453
|
+
* @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.
|
|
18218
18454
|
*
|
|
18219
|
-
* @description
|
|
18220
|
-
*
|
|
18221
|
-
* *
|
|
18222
|
-
* *
|
|
18223
|
-
* * 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.
|
|
18455
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
18456
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
18457
|
+
* * 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).
|
|
18458
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
18224
18459
|
*
|
|
18225
18460
|
* @param request SetInstancesProtectionRequest
|
|
18226
18461
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18261,13 +18496,12 @@ class Client extends openapi_client_1.default {
|
|
|
18261
18496
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
18262
18497
|
}
|
|
18263
18498
|
/**
|
|
18264
|
-
* @summary Puts
|
|
18499
|
+
* @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.
|
|
18265
18500
|
*
|
|
18266
|
-
* @description
|
|
18267
|
-
*
|
|
18268
|
-
* *
|
|
18269
|
-
* *
|
|
18270
|
-
* * 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.
|
|
18501
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
18502
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
18503
|
+
* * 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).
|
|
18504
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
18271
18505
|
*
|
|
18272
18506
|
* @param request SetInstancesProtectionRequest
|
|
18273
18507
|
* @return SetInstancesProtectionResponse
|
|
@@ -18277,7 +18511,7 @@ class Client extends openapi_client_1.default {
|
|
|
18277
18511
|
return await this.setInstancesProtectionWithOptions(request, runtime);
|
|
18278
18512
|
}
|
|
18279
18513
|
/**
|
|
18280
|
-
* @summary Suspends processes
|
|
18514
|
+
* @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.
|
|
18281
18515
|
*
|
|
18282
18516
|
* @param request SuspendProcessesRequest
|
|
18283
18517
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18321,7 +18555,7 @@ class Client extends openapi_client_1.default {
|
|
|
18321
18555
|
return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
18322
18556
|
}
|
|
18323
18557
|
/**
|
|
18324
|
-
* @summary Suspends processes
|
|
18558
|
+
* @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.
|
|
18325
18559
|
*
|
|
18326
18560
|
* @param request SuspendProcessesRequest
|
|
18327
18561
|
* @return SuspendProcessesResponse
|
|
@@ -18331,7 +18565,15 @@ class Client extends openapi_client_1.default {
|
|
|
18331
18565
|
return await this.suspendProcessesWithOptions(request, runtime);
|
|
18332
18566
|
}
|
|
18333
18567
|
/**
|
|
18334
|
-
* @summary
|
|
18568
|
+
* @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.
|
|
18569
|
+
*
|
|
18570
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
18571
|
+
* **
|
|
18572
|
+
* **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.
|
|
18573
|
+
* * 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.
|
|
18574
|
+
* * 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:
|
|
18575
|
+
* * 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.
|
|
18576
|
+
* * 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.
|
|
18335
18577
|
*
|
|
18336
18578
|
* @param request TagResourcesRequest
|
|
18337
18579
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18375,7 +18617,15 @@ class Client extends openapi_client_1.default {
|
|
|
18375
18617
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18376
18618
|
}
|
|
18377
18619
|
/**
|
|
18378
|
-
* @summary
|
|
18620
|
+
* @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.
|
|
18621
|
+
*
|
|
18622
|
+
* @description * You can attach up to 20 tags to a scaling group.
|
|
18623
|
+
* **
|
|
18624
|
+
* **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.
|
|
18625
|
+
* * 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.
|
|
18626
|
+
* * 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:
|
|
18627
|
+
* * 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.
|
|
18628
|
+
* * 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.
|
|
18379
18629
|
*
|
|
18380
18630
|
* @param request TagResourcesRequest
|
|
18381
18631
|
* @return TagResourcesResponse
|
|
@@ -18385,7 +18635,7 @@ class Client extends openapi_client_1.default {
|
|
|
18385
18635
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
18386
18636
|
}
|
|
18387
18637
|
/**
|
|
18388
|
-
* @summary Removes tags from
|
|
18638
|
+
* @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.
|
|
18389
18639
|
*
|
|
18390
18640
|
* @param request UntagResourcesRequest
|
|
18391
18641
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18432,7 +18682,7 @@ class Client extends openapi_client_1.default {
|
|
|
18432
18682
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18433
18683
|
}
|
|
18434
18684
|
/**
|
|
18435
|
-
* @summary Removes tags from
|
|
18685
|
+
* @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.
|
|
18436
18686
|
*
|
|
18437
18687
|
* @param request UntagResourcesRequest
|
|
18438
18688
|
* @return UntagResourcesResponse
|
|
@@ -18493,7 +18743,7 @@ class Client extends openapi_client_1.default {
|
|
|
18493
18743
|
return await this.verifyAuthenticationWithOptions(request, runtime);
|
|
18494
18744
|
}
|
|
18495
18745
|
/**
|
|
18496
|
-
* @summary
|
|
18746
|
+
* @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.
|
|
18497
18747
|
*
|
|
18498
18748
|
* @param request VerifyUserRequest
|
|
18499
18749
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18531,7 +18781,7 @@ class Client extends openapi_client_1.default {
|
|
|
18531
18781
|
return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
18532
18782
|
}
|
|
18533
18783
|
/**
|
|
18534
|
-
* @summary
|
|
18784
|
+
* @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.
|
|
18535
18785
|
*
|
|
18536
18786
|
* @param request VerifyUserRequest
|
|
18537
18787
|
* @return VerifyUserResponse
|