@alicloud/ess20220222 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +248 -120
- package/dist/client.js +344 -120
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +440 -120
package/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' },
|
|
@@ -7511,10 +7543,26 @@ class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
7511
7543
|
architectures: 'Architectures',
|
|
7512
7544
|
burstablePerformance: 'BurstablePerformance',
|
|
7513
7545
|
cores: 'Cores',
|
|
7546
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
7514
7547
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
7548
|
+
gpuSpecs: 'GpuSpecs',
|
|
7549
|
+
instanceCategories: 'InstanceCategories',
|
|
7515
7550
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
7551
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
7516
7552
|
maxPrice: 'MaxPrice',
|
|
7553
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
7554
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
7555
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
7517
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',
|
|
7518
7566
|
};
|
|
7519
7567
|
}
|
|
7520
7568
|
static types() {
|
|
@@ -7522,10 +7570,26 @@ class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
7522
7570
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
7523
7571
|
burstablePerformance: 'string',
|
|
7524
7572
|
cores: 'number',
|
|
7573
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
7525
7574
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7575
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
7576
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7526
7577
|
instanceFamilyLevel: 'string',
|
|
7578
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
7527
7579
|
maxPrice: 'number',
|
|
7580
|
+
maximumCpuCoreCount: 'number',
|
|
7581
|
+
maximumGpuAmount: 'number',
|
|
7582
|
+
maximumMemorySize: 'number',
|
|
7528
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' },
|
|
7529
7593
|
};
|
|
7530
7594
|
}
|
|
7531
7595
|
constructor(map) {
|
|
@@ -7727,10 +7791,26 @@ class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
7727
7791
|
architectures: 'Architectures',
|
|
7728
7792
|
burstablePerformance: 'BurstablePerformance',
|
|
7729
7793
|
cores: 'Cores',
|
|
7794
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
7730
7795
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
7796
|
+
gpuSpecs: 'GpuSpecs',
|
|
7797
|
+
instanceCategories: 'InstanceCategories',
|
|
7731
7798
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
7799
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
7732
7800
|
maxPrice: 'MaxPrice',
|
|
7801
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
7802
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
7803
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
7733
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',
|
|
7734
7814
|
};
|
|
7735
7815
|
}
|
|
7736
7816
|
static types() {
|
|
@@ -7738,10 +7818,26 @@ class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
7738
7818
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
7739
7819
|
burstablePerformance: 'string',
|
|
7740
7820
|
cores: 'number',
|
|
7821
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
7741
7822
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7823
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
7824
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7742
7825
|
instanceFamilyLevel: 'string',
|
|
7826
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
7743
7827
|
maxPrice: 'number',
|
|
7828
|
+
maximumCpuCoreCount: 'number',
|
|
7829
|
+
maximumGpuAmount: 'number',
|
|
7830
|
+
maximumMemorySize: 'number',
|
|
7744
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' },
|
|
7745
7841
|
};
|
|
7746
7842
|
}
|
|
7747
7843
|
constructor(map) {
|
|
@@ -9575,10 +9671,26 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatt
|
|
|
9575
9671
|
architectures: 'Architectures',
|
|
9576
9672
|
burstablePerformance: 'BurstablePerformance',
|
|
9577
9673
|
cores: 'Cores',
|
|
9674
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
9578
9675
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
9676
|
+
gpuSpecs: 'GpuSpecs',
|
|
9677
|
+
instanceCategories: 'InstanceCategories',
|
|
9579
9678
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
9679
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
9580
9680
|
maxPrice: 'MaxPrice',
|
|
9681
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
9682
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
9683
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
9581
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',
|
|
9582
9694
|
};
|
|
9583
9695
|
}
|
|
9584
9696
|
static types() {
|
|
@@ -9586,10 +9698,26 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatt
|
|
|
9586
9698
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
9587
9699
|
burstablePerformance: 'string',
|
|
9588
9700
|
cores: 'number',
|
|
9701
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
9589
9702
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9703
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
9704
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9590
9705
|
instanceFamilyLevel: 'string',
|
|
9706
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
9591
9707
|
maxPrice: 'number',
|
|
9708
|
+
maximumCpuCoreCount: 'number',
|
|
9709
|
+
maximumGpuAmount: 'number',
|
|
9710
|
+
maximumMemorySize: 'number',
|
|
9592
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' },
|
|
9593
9721
|
};
|
|
9594
9722
|
}
|
|
9595
9723
|
constructor(map) {
|
|
@@ -11731,10 +11859,26 @@ class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
11731
11859
|
architectures: 'Architectures',
|
|
11732
11860
|
burstablePerformance: 'BurstablePerformance',
|
|
11733
11861
|
cores: 'Cores',
|
|
11862
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
11734
11863
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
11864
|
+
gpuSpecs: 'GpuSpecs',
|
|
11865
|
+
instanceCategories: 'InstanceCategories',
|
|
11735
11866
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
11867
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
11736
11868
|
maxPrice: 'MaxPrice',
|
|
11869
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
11870
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
11871
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
11737
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',
|
|
11738
11882
|
};
|
|
11739
11883
|
}
|
|
11740
11884
|
static types() {
|
|
@@ -11742,10 +11886,26 @@ class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
|
|
|
11742
11886
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
11743
11887
|
burstablePerformance: 'string',
|
|
11744
11888
|
cores: 'number',
|
|
11889
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
11745
11890
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
11891
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
11892
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
11746
11893
|
instanceFamilyLevel: 'string',
|
|
11894
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
11747
11895
|
maxPrice: 'number',
|
|
11896
|
+
maximumCpuCoreCount: 'number',
|
|
11897
|
+
maximumGpuAmount: 'number',
|
|
11898
|
+
maximumMemorySize: 'number',
|
|
11748
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' },
|
|
11749
11909
|
};
|
|
11750
11910
|
}
|
|
11751
11911
|
constructor(map) {
|
|
@@ -11947,10 +12107,26 @@ class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
11947
12107
|
architectures: 'Architectures',
|
|
11948
12108
|
burstablePerformance: 'BurstablePerformance',
|
|
11949
12109
|
cores: 'Cores',
|
|
12110
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
11950
12111
|
excludedInstanceTypes: 'ExcludedInstanceTypes',
|
|
12112
|
+
gpuSpecs: 'GpuSpecs',
|
|
12113
|
+
instanceCategories: 'InstanceCategories',
|
|
11951
12114
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
12115
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
11952
12116
|
maxPrice: 'MaxPrice',
|
|
12117
|
+
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
12118
|
+
maximumGpuAmount: 'MaximumGpuAmount',
|
|
12119
|
+
maximumMemorySize: 'MaximumMemorySize',
|
|
11953
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',
|
|
11954
12130
|
};
|
|
11955
12131
|
}
|
|
11956
12132
|
static types() {
|
|
@@ -11958,10 +12134,26 @@ class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.M
|
|
|
11958
12134
|
architectures: { 'type': 'array', 'itemType': 'string' },
|
|
11959
12135
|
burstablePerformance: 'string',
|
|
11960
12136
|
cores: 'number',
|
|
12137
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
11961
12138
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12139
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
12140
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
11962
12141
|
instanceFamilyLevel: 'string',
|
|
12142
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
11963
12143
|
maxPrice: 'number',
|
|
12144
|
+
maximumCpuCoreCount: 'number',
|
|
12145
|
+
maximumGpuAmount: 'number',
|
|
12146
|
+
maximumMemorySize: 'number',
|
|
11964
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' },
|
|
11965
12157
|
};
|
|
11966
12158
|
}
|
|
11967
12159
|
constructor(map) {
|
|
@@ -12420,12 +12612,11 @@ class Client extends openapi_client_1.default {
|
|
|
12420
12612
|
return await this.applyScalingGroupWithOptions(request, runtime);
|
|
12421
12613
|
}
|
|
12422
12614
|
/**
|
|
12423
|
-
* @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.
|
|
12424
12616
|
*
|
|
12425
|
-
* @description Before you
|
|
12426
|
-
* * 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).
|
|
12427
12619
|
* * The ALB server group is in the Available state.
|
|
12428
|
-
* * 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).
|
|
12429
12620
|
*
|
|
12430
12621
|
* @param request AttachAlbServerGroupsRequest
|
|
12431
12622
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12472,12 +12663,11 @@ class Client extends openapi_client_1.default {
|
|
|
12472
12663
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
12473
12664
|
}
|
|
12474
12665
|
/**
|
|
12475
|
-
* @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.
|
|
12476
12667
|
*
|
|
12477
|
-
* @description Before you
|
|
12478
|
-
* * 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).
|
|
12479
12670
|
* * The ALB server group is in the Available state.
|
|
12480
|
-
* * 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).
|
|
12481
12671
|
*
|
|
12482
12672
|
* @param request AttachAlbServerGroupsRequest
|
|
12483
12673
|
* @return AttachAlbServerGroupsResponse
|
|
@@ -12737,7 +12927,7 @@ class Client extends openapi_client_1.default {
|
|
|
12737
12927
|
return await this.attachLoadBalancersWithOptions(request, runtime);
|
|
12738
12928
|
}
|
|
12739
12929
|
/**
|
|
12740
|
-
* @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.
|
|
12741
12931
|
*
|
|
12742
12932
|
* @param request AttachServerGroupsRequest
|
|
12743
12933
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12784,7 +12974,7 @@ class Client extends openapi_client_1.default {
|
|
|
12784
12974
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
12785
12975
|
}
|
|
12786
12976
|
/**
|
|
12787
|
-
* @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.
|
|
12788
12978
|
*
|
|
12789
12979
|
* @param request AttachServerGroupsRequest
|
|
12790
12980
|
* @return AttachServerGroupsResponse
|
|
@@ -12794,22 +12984,23 @@ class Client extends openapi_client_1.default {
|
|
|
12794
12984
|
return await this.attachServerGroupsWithOptions(request, runtime);
|
|
12795
12985
|
}
|
|
12796
12986
|
/**
|
|
12797
|
-
* @summary
|
|
12798
|
-
*
|
|
12799
|
-
* @description Before you call this operation
|
|
12800
|
-
*
|
|
12801
|
-
*
|
|
12802
|
-
*
|
|
12803
|
-
*
|
|
12804
|
-
*
|
|
12805
|
-
*
|
|
12806
|
-
*
|
|
12807
|
-
*
|
|
12808
|
-
* When you call this operation, you must specify the following parameters:
|
|
12809
|
-
*
|
|
12810
|
-
*
|
|
12811
|
-
*
|
|
12812
|
-
*
|
|
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.
|
|
12813
13004
|
*
|
|
12814
13005
|
* @param request AttachVServerGroupsRequest
|
|
12815
13006
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12856,22 +13047,23 @@ class Client extends openapi_client_1.default {
|
|
|
12856
13047
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
12857
13048
|
}
|
|
12858
13049
|
/**
|
|
12859
|
-
* @summary
|
|
12860
|
-
*
|
|
12861
|
-
* @description Before you call this operation
|
|
12862
|
-
*
|
|
12863
|
-
*
|
|
12864
|
-
*
|
|
12865
|
-
*
|
|
12866
|
-
*
|
|
12867
|
-
*
|
|
12868
|
-
*
|
|
12869
|
-
*
|
|
12870
|
-
* When you call this operation, you must specify the following parameters:
|
|
12871
|
-
*
|
|
12872
|
-
*
|
|
12873
|
-
*
|
|
12874
|
-
*
|
|
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.
|
|
12875
13067
|
*
|
|
12876
13068
|
* @param request AttachVServerGroupsRequest
|
|
12877
13069
|
* @return AttachVServerGroupsResponse
|
|
@@ -12881,7 +13073,10 @@ class Client extends openapi_client_1.default {
|
|
|
12881
13073
|
return await this.attachVServerGroupsWithOptions(request, runtime);
|
|
12882
13074
|
}
|
|
12883
13075
|
/**
|
|
12884
|
-
* @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)
|
|
12885
13080
|
*
|
|
12886
13081
|
* @param request ChangeResourceGroupRequest
|
|
12887
13082
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12925,7 +13120,10 @@ class Client extends openapi_client_1.default {
|
|
|
12925
13120
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
12926
13121
|
}
|
|
12927
13122
|
/**
|
|
12928
|
-
* @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)
|
|
12929
13127
|
*
|
|
12930
13128
|
* @param request ChangeResourceGroupRequest
|
|
12931
13129
|
* @return ChangeResourceGroupResponse
|
|
@@ -12999,13 +13197,13 @@ class Client extends openapi_client_1.default {
|
|
|
12999
13197
|
return await this.completeLifecycleActionWithOptions(request, runtime);
|
|
13000
13198
|
}
|
|
13001
13199
|
/**
|
|
13002
|
-
* @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.
|
|
13003
13201
|
*
|
|
13004
|
-
* @description * If you set
|
|
13005
|
-
* * When you create an event-triggered task, you must specify
|
|
13006
|
-
* * If you
|
|
13007
|
-
* *
|
|
13008
|
-
* >
|
|
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.
|
|
13009
13207
|
*
|
|
13010
13208
|
* @param request CreateAlarmRequest
|
|
13011
13209
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13088,13 +13286,13 @@ class Client extends openapi_client_1.default {
|
|
|
13088
13286
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
13089
13287
|
}
|
|
13090
13288
|
/**
|
|
13091
|
-
* @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.
|
|
13092
13290
|
*
|
|
13093
|
-
* @description * If you set
|
|
13094
|
-
* * When you create an event-triggered task, you must specify
|
|
13095
|
-
* * If you
|
|
13096
|
-
* *
|
|
13097
|
-
* >
|
|
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.
|
|
13098
13296
|
*
|
|
13099
13297
|
* @param request CreateAlarmRequest
|
|
13100
13298
|
* @return CreateAlarmResponse
|
|
@@ -14620,7 +14818,7 @@ class Client extends openapi_client_1.default {
|
|
|
14620
14818
|
return await this.deleteScheduledTaskWithOptions(request, runtime);
|
|
14621
14819
|
}
|
|
14622
14820
|
/**
|
|
14623
|
-
* @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.
|
|
14624
14822
|
*
|
|
14625
14823
|
* @param request DescribeAlarmsRequest
|
|
14626
14824
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14679,7 +14877,7 @@ class Client extends openapi_client_1.default {
|
|
|
14679
14877
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
14680
14878
|
}
|
|
14681
14879
|
/**
|
|
14682
|
-
* @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.
|
|
14683
14881
|
*
|
|
14684
14882
|
* @param request DescribeAlarmsRequest
|
|
14685
14883
|
* @return DescribeAlarmsResponse
|
|
@@ -15077,7 +15275,7 @@ class Client extends openapi_client_1.default {
|
|
|
15077
15275
|
return await this.describeNotificationTypesWithOptions(request, runtime);
|
|
15078
15276
|
}
|
|
15079
15277
|
/**
|
|
15080
|
-
* @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.
|
|
15081
15279
|
*
|
|
15082
15280
|
* @param request DescribePatternTypesRequest
|
|
15083
15281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15103,7 +15301,7 @@ class Client extends openapi_client_1.default {
|
|
|
15103
15301
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
15104
15302
|
}
|
|
15105
15303
|
/**
|
|
15106
|
-
* @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.
|
|
15107
15305
|
*
|
|
15108
15306
|
* @param request DescribePatternTypesRequest
|
|
15109
15307
|
* @return DescribePatternTypesResponse
|
|
@@ -15349,7 +15547,7 @@ class Client extends openapi_client_1.default {
|
|
|
15349
15547
|
return await this.describeScalingConfigurationsWithOptions(request, runtime);
|
|
15350
15548
|
}
|
|
15351
15549
|
/**
|
|
15352
|
-
* @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.
|
|
15353
15551
|
*
|
|
15354
15552
|
* @param request DescribeScalingGroupDetailRequest
|
|
15355
15553
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15387,7 +15585,7 @@ class Client extends openapi_client_1.default {
|
|
|
15387
15585
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
15388
15586
|
}
|
|
15389
15587
|
/**
|
|
15390
|
-
* @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.
|
|
15391
15589
|
*
|
|
15392
15590
|
* @param request DescribeScalingGroupDetailRequest
|
|
15393
15591
|
* @return DescribeScalingGroupDetailResponse
|
|
@@ -15972,7 +16170,7 @@ class Client extends openapi_client_1.default {
|
|
|
15972
16170
|
return await this.detachLoadBalancersWithOptions(request, runtime);
|
|
15973
16171
|
}
|
|
15974
16172
|
/**
|
|
15975
|
-
* @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.
|
|
15976
16174
|
*
|
|
15977
16175
|
* @param request DetachServerGroupsRequest
|
|
15978
16176
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16019,7 +16217,7 @@ class Client extends openapi_client_1.default {
|
|
|
16019
16217
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
16020
16218
|
}
|
|
16021
16219
|
/**
|
|
16022
|
-
* @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.
|
|
16023
16221
|
*
|
|
16024
16222
|
* @param request DetachServerGroupsRequest
|
|
16025
16223
|
* @return DetachServerGroupsResponse
|
|
@@ -16152,11 +16350,11 @@ class Client extends openapi_client_1.default {
|
|
|
16152
16350
|
return await this.disableAlarmWithOptions(request, runtime);
|
|
16153
16351
|
}
|
|
16154
16352
|
/**
|
|
16155
|
-
* @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.
|
|
16156
16354
|
*
|
|
16157
16355
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
16158
|
-
* *
|
|
16159
|
-
* *
|
|
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.
|
|
16160
16358
|
*
|
|
16161
16359
|
* @param request DisableScalingGroupRequest
|
|
16162
16360
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16197,11 +16395,11 @@ class Client extends openapi_client_1.default {
|
|
|
16197
16395
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
16198
16396
|
}
|
|
16199
16397
|
/**
|
|
16200
|
-
* @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.
|
|
16201
16399
|
*
|
|
16202
16400
|
* @description Before you call this operation to disable a scaling group, take note of the following items:
|
|
16203
|
-
* *
|
|
16204
|
-
* *
|
|
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.
|
|
16205
16403
|
*
|
|
16206
16404
|
* @param request DisableScalingGroupRequest
|
|
16207
16405
|
* @return DisableScalingGroupResponse
|
|
@@ -16259,13 +16457,14 @@ class Client extends openapi_client_1.default {
|
|
|
16259
16457
|
return await this.enableAlarmWithOptions(request, runtime);
|
|
16260
16458
|
}
|
|
16261
16459
|
/**
|
|
16262
|
-
* @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.
|
|
16263
16461
|
*
|
|
16264
|
-
* @description You can call this operation to enable a scaling group
|
|
16265
|
-
*
|
|
16266
|
-
*
|
|
16267
|
-
* * If
|
|
16268
|
-
*
|
|
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.
|
|
16269
16468
|
*
|
|
16270
16469
|
* @param request EnableScalingGroupRequest
|
|
16271
16470
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16327,13 +16526,14 @@ class Client extends openapi_client_1.default {
|
|
|
16327
16526
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
16328
16527
|
}
|
|
16329
16528
|
/**
|
|
16330
|
-
* @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.
|
|
16331
16530
|
*
|
|
16332
|
-
* @description You can call this operation to enable a scaling group
|
|
16333
|
-
*
|
|
16334
|
-
*
|
|
16335
|
-
* * If
|
|
16336
|
-
*
|
|
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.
|
|
16337
16537
|
*
|
|
16338
16538
|
* @param request EnableScalingGroupRequest
|
|
16339
16539
|
* @return EnableScalingGroupResponse
|
|
@@ -16607,7 +16807,10 @@ class Client extends openapi_client_1.default {
|
|
|
16607
16807
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
16608
16808
|
}
|
|
16609
16809
|
/**
|
|
16610
|
-
* @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.
|
|
16611
16814
|
*
|
|
16612
16815
|
* @param request ListTagResourcesRequest
|
|
16613
16816
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16654,7 +16857,10 @@ class Client extends openapi_client_1.default {
|
|
|
16654
16857
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
16655
16858
|
}
|
|
16656
16859
|
/**
|
|
16657
|
-
* @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.
|
|
16658
16864
|
*
|
|
16659
16865
|
* @param request ListTagResourcesRequest
|
|
16660
16866
|
* @return ListTagResourcesResponse
|
|
@@ -17411,19 +17617,21 @@ class Client extends openapi_client_1.default {
|
|
|
17411
17617
|
return await this.modifyScalingConfigurationWithOptions(request, runtime);
|
|
17412
17618
|
}
|
|
17413
17619
|
/**
|
|
17414
|
-
* @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.
|
|
17415
17621
|
*
|
|
17416
|
-
* @description * You cannot
|
|
17622
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
17417
17623
|
* * RegionId
|
|
17418
17624
|
* * LoadBalancerId
|
|
17419
|
-
*
|
|
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.
|
|
17420
17627
|
* * DBInstanceId
|
|
17421
|
-
*
|
|
17422
|
-
*
|
|
17423
|
-
* *
|
|
17424
|
-
* *
|
|
17425
|
-
* * If the
|
|
17426
|
-
* * 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.
|
|
17427
17635
|
*
|
|
17428
17636
|
* @param request ModifyScalingGroupRequest
|
|
17429
17637
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17545,19 +17753,21 @@ class Client extends openapi_client_1.default {
|
|
|
17545
17753
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
17546
17754
|
}
|
|
17547
17755
|
/**
|
|
17548
|
-
* @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.
|
|
17549
17757
|
*
|
|
17550
|
-
* @description * You cannot
|
|
17758
|
+
* @description * You cannot modify the following parameters by calling this operation:
|
|
17551
17759
|
* * RegionId
|
|
17552
17760
|
* * LoadBalancerId
|
|
17553
|
-
*
|
|
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.
|
|
17554
17763
|
* * DBInstanceId
|
|
17555
|
-
*
|
|
17556
|
-
*
|
|
17557
|
-
* *
|
|
17558
|
-
* *
|
|
17559
|
-
* * If the
|
|
17560
|
-
* * 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.
|
|
17561
17771
|
*
|
|
17562
17772
|
* @param request ModifyScalingGroupRequest
|
|
17563
17773
|
* @return ModifyScalingGroupResponse
|
|
@@ -18044,16 +18254,15 @@ class Client extends openapi_client_1.default {
|
|
|
18044
18254
|
return await this.resumeProcessesWithOptions(request, runtime);
|
|
18045
18255
|
}
|
|
18046
18256
|
/**
|
|
18047
|
-
* @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.
|
|
18048
18258
|
*
|
|
18049
|
-
* @description
|
|
18050
|
-
* * The following conditions must be met:
|
|
18259
|
+
* @description * Before you call this operation, take note of the following items:
|
|
18051
18260
|
* * The scaling group is in the Active state.
|
|
18052
|
-
* *
|
|
18053
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
18054
|
-
* * If the addition of a
|
|
18055
|
-
* * If the removal of a
|
|
18056
|
-
* 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.
|
|
18057
18266
|
*
|
|
18058
18267
|
* @param tmpReq ScaleWithAdjustmentRequest
|
|
18059
18268
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18120,16 +18329,15 @@ class Client extends openapi_client_1.default {
|
|
|
18120
18329
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
18121
18330
|
}
|
|
18122
18331
|
/**
|
|
18123
|
-
* @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.
|
|
18124
18333
|
*
|
|
18125
|
-
* @description
|
|
18126
|
-
* * The following conditions must be met:
|
|
18334
|
+
* @description * Before you call this operation, take note of the following items:
|
|
18127
18335
|
* * The scaling group is in the Active state.
|
|
18128
|
-
* *
|
|
18129
|
-
* * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities
|
|
18130
|
-
* * If the addition of a
|
|
18131
|
-
* * If the removal of a
|
|
18132
|
-
* 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.
|
|
18133
18341
|
*
|
|
18134
18342
|
* @param request ScaleWithAdjustmentRequest
|
|
18135
18343
|
* @return ScaleWithAdjustmentResponse
|
|
@@ -18357,7 +18565,15 @@ class Client extends openapi_client_1.default {
|
|
|
18357
18565
|
return await this.suspendProcessesWithOptions(request, runtime);
|
|
18358
18566
|
}
|
|
18359
18567
|
/**
|
|
18360
|
-
* @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.
|
|
18361
18577
|
*
|
|
18362
18578
|
* @param request TagResourcesRequest
|
|
18363
18579
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18401,7 +18617,15 @@ class Client extends openapi_client_1.default {
|
|
|
18401
18617
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
18402
18618
|
}
|
|
18403
18619
|
/**
|
|
18404
|
-
* @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.
|
|
18405
18629
|
*
|
|
18406
18630
|
* @param request TagResourcesRequest
|
|
18407
18631
|
* @return TagResourcesResponse
|