@alicloud/ess20220222 1.0.3 → 1.0.4
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 +225 -83
- package/dist/client.js +264 -46
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +355 -83
package/dist/client.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export declare class AttachLoadBalancersRequest extends $tea.Model {
|
|
|
151
151
|
async?: boolean;
|
|
152
152
|
clientToken?: string;
|
|
153
153
|
forceAttach?: boolean;
|
|
154
|
+
loadBalancerConfigs?: AttachLoadBalancersRequestLoadBalancerConfigs[];
|
|
154
155
|
loadBalancers?: string[];
|
|
155
156
|
ownerId?: number;
|
|
156
157
|
resourceOwnerAccount?: string;
|
|
@@ -618,6 +619,7 @@ export declare class CreateNotificationConfigurationResponse extends $tea.Model
|
|
|
618
619
|
});
|
|
619
620
|
}
|
|
620
621
|
export declare class CreateScalingConfigurationRequest extends $tea.Model {
|
|
622
|
+
imageOptions?: CreateScalingConfigurationRequestImageOptions;
|
|
621
623
|
privatePoolOptions?: CreateScalingConfigurationRequestPrivatePoolOptions;
|
|
622
624
|
systemDisk?: CreateScalingConfigurationRequestSystemDisk;
|
|
623
625
|
affinity?: string;
|
|
@@ -681,6 +683,7 @@ export declare class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
681
683
|
});
|
|
682
684
|
}
|
|
683
685
|
export declare class CreateScalingConfigurationShrinkRequest extends $tea.Model {
|
|
686
|
+
imageOptions?: CreateScalingConfigurationShrinkRequestImageOptions;
|
|
684
687
|
privatePoolOptions?: CreateScalingConfigurationShrinkRequestPrivatePoolOptions;
|
|
685
688
|
systemDisk?: CreateScalingConfigurationShrinkRequestSystemDisk;
|
|
686
689
|
affinity?: string;
|
|
@@ -789,6 +792,7 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
|
|
|
789
792
|
launchTemplateOverrides?: CreateScalingGroupRequestLaunchTemplateOverrides[];
|
|
790
793
|
launchTemplateVersion?: string;
|
|
791
794
|
lifecycleHooks?: CreateScalingGroupRequestLifecycleHooks[];
|
|
795
|
+
loadBalancerConfigs?: CreateScalingGroupRequestLoadBalancerConfigs[];
|
|
792
796
|
loadBalancerIds?: string;
|
|
793
797
|
maxInstanceLifetime?: number;
|
|
794
798
|
maxSize?: number;
|
|
@@ -855,6 +859,7 @@ export declare class CreateScalingGroupResponse extends $tea.Model {
|
|
|
855
859
|
export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
856
860
|
adjustmentType?: string;
|
|
857
861
|
adjustmentValue?: number;
|
|
862
|
+
alarmDimensions?: CreateScalingRuleRequestAlarmDimensions[];
|
|
858
863
|
cooldown?: number;
|
|
859
864
|
disableScaleIn?: boolean;
|
|
860
865
|
estimatedInstanceWarmup?: number;
|
|
@@ -1599,6 +1604,7 @@ export declare class DescribeLimitationResponseBody extends $tea.Model {
|
|
|
1599
1604
|
maxNumberOfLoadBalancers?: number;
|
|
1600
1605
|
maxNumberOfMaxSize?: number;
|
|
1601
1606
|
maxNumberOfMinSize?: number;
|
|
1607
|
+
maxNumberOfNlbServerGroup?: number;
|
|
1602
1608
|
maxNumberOfNotificationConfigurations?: number;
|
|
1603
1609
|
maxNumberOfScalingConfigurations?: number;
|
|
1604
1610
|
maxNumberOfScalingGroups?: number;
|
|
@@ -3129,6 +3135,7 @@ export declare class ModifyNotificationConfigurationResponse extends $tea.Model
|
|
|
3129
3135
|
});
|
|
3130
3136
|
}
|
|
3131
3137
|
export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
3138
|
+
imageOptions?: ModifyScalingConfigurationRequestImageOptions;
|
|
3132
3139
|
privatePoolOptions?: ModifyScalingConfigurationRequestPrivatePoolOptions;
|
|
3133
3140
|
systemDisk?: ModifyScalingConfigurationRequestSystemDisk;
|
|
3134
3141
|
affinity?: string;
|
|
@@ -3188,6 +3195,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
3188
3195
|
});
|
|
3189
3196
|
}
|
|
3190
3197
|
export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
3198
|
+
imageOptions?: ModifyScalingConfigurationShrinkRequestImageOptions;
|
|
3191
3199
|
privatePoolOptions?: ModifyScalingConfigurationShrinkRequestPrivatePoolOptions;
|
|
3192
3200
|
systemDisk?: ModifyScalingConfigurationShrinkRequestSystemDisk;
|
|
3193
3201
|
affinity?: string;
|
|
@@ -3343,6 +3351,7 @@ export declare class ModifyScalingGroupResponse extends $tea.Model {
|
|
|
3343
3351
|
export declare class ModifyScalingRuleRequest extends $tea.Model {
|
|
3344
3352
|
adjustmentType?: string;
|
|
3345
3353
|
adjustmentValue?: number;
|
|
3354
|
+
alarmDimensions?: ModifyScalingRuleRequestAlarmDimensions[];
|
|
3346
3355
|
cooldown?: number;
|
|
3347
3356
|
disableScaleIn?: boolean;
|
|
3348
3357
|
estimatedInstanceWarmup?: number;
|
|
@@ -4060,6 +4069,19 @@ export declare class AttachAlbServerGroupsRequestAlbServerGroups extends $tea.Mo
|
|
|
4060
4069
|
[key: string]: any;
|
|
4061
4070
|
});
|
|
4062
4071
|
}
|
|
4072
|
+
export declare class AttachLoadBalancersRequestLoadBalancerConfigs extends $tea.Model {
|
|
4073
|
+
loadBalancerId?: string;
|
|
4074
|
+
weight?: number;
|
|
4075
|
+
static names(): {
|
|
4076
|
+
[key: string]: string;
|
|
4077
|
+
};
|
|
4078
|
+
static types(): {
|
|
4079
|
+
[key: string]: any;
|
|
4080
|
+
};
|
|
4081
|
+
constructor(map?: {
|
|
4082
|
+
[key: string]: any;
|
|
4083
|
+
});
|
|
4084
|
+
}
|
|
4063
4085
|
export declare class AttachServerGroupsRequestServerGroups extends $tea.Model {
|
|
4064
4086
|
port?: number;
|
|
4065
4087
|
serverGroupId?: string;
|
|
@@ -4185,13 +4207,13 @@ export declare class CreateEciScalingConfigurationRequestContainersLivenessProbe
|
|
|
4185
4207
|
});
|
|
4186
4208
|
}
|
|
4187
4209
|
export declare class CreateEciScalingConfigurationRequestContainersLivenessProbe extends $tea.Model {
|
|
4188
|
-
exec
|
|
4210
|
+
exec?: CreateEciScalingConfigurationRequestContainersLivenessProbeExec;
|
|
4189
4211
|
failureThreshold?: number;
|
|
4190
|
-
httpGet
|
|
4212
|
+
httpGet?: CreateEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
|
|
4191
4213
|
initialDelaySeconds?: number;
|
|
4192
4214
|
periodSeconds?: number;
|
|
4193
4215
|
successThreshold?: number;
|
|
4194
|
-
tcpSocket
|
|
4216
|
+
tcpSocket?: CreateEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
|
|
4195
4217
|
timeoutSeconds?: number;
|
|
4196
4218
|
static names(): {
|
|
4197
4219
|
[key: string]: string;
|
|
@@ -4242,13 +4264,13 @@ export declare class CreateEciScalingConfigurationRequestContainersReadinessProb
|
|
|
4242
4264
|
});
|
|
4243
4265
|
}
|
|
4244
4266
|
export declare class CreateEciScalingConfigurationRequestContainersReadinessProbe extends $tea.Model {
|
|
4245
|
-
exec
|
|
4267
|
+
exec?: CreateEciScalingConfigurationRequestContainersReadinessProbeExec;
|
|
4246
4268
|
failureThreshold?: number;
|
|
4247
|
-
httpGet
|
|
4269
|
+
httpGet?: CreateEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
|
|
4248
4270
|
initialDelaySeconds?: number;
|
|
4249
4271
|
periodSeconds?: number;
|
|
4250
4272
|
successThreshold?: number;
|
|
4251
|
-
tcpSocket
|
|
4273
|
+
tcpSocket?: CreateEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
|
|
4252
4274
|
timeoutSeconds?: number;
|
|
4253
4275
|
static names(): {
|
|
4254
4276
|
[key: string]: string;
|
|
@@ -4273,7 +4295,7 @@ export declare class CreateEciScalingConfigurationRequestContainersSecurityConte
|
|
|
4273
4295
|
});
|
|
4274
4296
|
}
|
|
4275
4297
|
export declare class CreateEciScalingConfigurationRequestContainersSecurityContext extends $tea.Model {
|
|
4276
|
-
capability
|
|
4298
|
+
capability?: CreateEciScalingConfigurationRequestContainersSecurityContextCapability;
|
|
4277
4299
|
readOnlyRootFilesystem?: boolean;
|
|
4278
4300
|
runAsUser?: number;
|
|
4279
4301
|
static names(): {
|
|
@@ -4330,9 +4352,9 @@ export declare class CreateEciScalingConfigurationRequestContainersVolumeMounts
|
|
|
4330
4352
|
});
|
|
4331
4353
|
}
|
|
4332
4354
|
export declare class CreateEciScalingConfigurationRequestContainers extends $tea.Model {
|
|
4333
|
-
livenessProbe
|
|
4334
|
-
readinessProbe
|
|
4335
|
-
securityContext
|
|
4355
|
+
livenessProbe?: CreateEciScalingConfigurationRequestContainersLivenessProbe;
|
|
4356
|
+
readinessProbe?: CreateEciScalingConfigurationRequestContainersReadinessProbe;
|
|
4357
|
+
securityContext?: CreateEciScalingConfigurationRequestContainersSecurityContext;
|
|
4336
4358
|
args?: string[];
|
|
4337
4359
|
commands?: string[];
|
|
4338
4360
|
cpu?: number;
|
|
@@ -4411,7 +4433,7 @@ export declare class CreateEciScalingConfigurationRequestInitContainersSecurityC
|
|
|
4411
4433
|
});
|
|
4412
4434
|
}
|
|
4413
4435
|
export declare class CreateEciScalingConfigurationRequestInitContainersSecurityContext extends $tea.Model {
|
|
4414
|
-
capability
|
|
4436
|
+
capability?: CreateEciScalingConfigurationRequestInitContainersSecurityContextCapability;
|
|
4415
4437
|
readOnlyRootFilesystem?: boolean;
|
|
4416
4438
|
runAsUser?: number;
|
|
4417
4439
|
static names(): {
|
|
@@ -4468,7 +4490,7 @@ export declare class CreateEciScalingConfigurationRequestInitContainersInitConta
|
|
|
4468
4490
|
});
|
|
4469
4491
|
}
|
|
4470
4492
|
export declare class CreateEciScalingConfigurationRequestInitContainers extends $tea.Model {
|
|
4471
|
-
securityContext
|
|
4493
|
+
securityContext?: CreateEciScalingConfigurationRequestInitContainersSecurityContext;
|
|
4472
4494
|
args?: string[];
|
|
4473
4495
|
commands?: string[];
|
|
4474
4496
|
cpu?: number;
|
|
@@ -4599,11 +4621,11 @@ export declare class CreateEciScalingConfigurationRequestVolumesConfigFileVolume
|
|
|
4599
4621
|
});
|
|
4600
4622
|
}
|
|
4601
4623
|
export declare class CreateEciScalingConfigurationRequestVolumes extends $tea.Model {
|
|
4602
|
-
diskVolume
|
|
4603
|
-
emptyDirVolume
|
|
4604
|
-
flexVolume
|
|
4605
|
-
hostPathVolume
|
|
4606
|
-
NFSVolume
|
|
4624
|
+
diskVolume?: CreateEciScalingConfigurationRequestVolumesDiskVolume;
|
|
4625
|
+
emptyDirVolume?: CreateEciScalingConfigurationRequestVolumesEmptyDirVolume;
|
|
4626
|
+
flexVolume?: CreateEciScalingConfigurationRequestVolumesFlexVolume;
|
|
4627
|
+
hostPathVolume?: CreateEciScalingConfigurationRequestVolumesHostPathVolume;
|
|
4628
|
+
NFSVolume?: CreateEciScalingConfigurationRequestVolumesNFSVolume;
|
|
4607
4629
|
configFileVolumeConfigFileToPaths?: CreateEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPaths[];
|
|
4608
4630
|
configFileVolumeDefaultMode?: number;
|
|
4609
4631
|
name?: string;
|
|
@@ -4618,6 +4640,18 @@ export declare class CreateEciScalingConfigurationRequestVolumes extends $tea.Mo
|
|
|
4618
4640
|
[key: string]: any;
|
|
4619
4641
|
});
|
|
4620
4642
|
}
|
|
4643
|
+
export declare class CreateScalingConfigurationRequestImageOptions extends $tea.Model {
|
|
4644
|
+
loginAsNonRoot?: boolean;
|
|
4645
|
+
static names(): {
|
|
4646
|
+
[key: string]: string;
|
|
4647
|
+
};
|
|
4648
|
+
static types(): {
|
|
4649
|
+
[key: string]: any;
|
|
4650
|
+
};
|
|
4651
|
+
constructor(map?: {
|
|
4652
|
+
[key: string]: any;
|
|
4653
|
+
});
|
|
4654
|
+
}
|
|
4621
4655
|
export declare class CreateScalingConfigurationRequestPrivatePoolOptions extends $tea.Model {
|
|
4622
4656
|
id?: string;
|
|
4623
4657
|
matchCriteria?: string;
|
|
@@ -4722,6 +4756,18 @@ export declare class CreateScalingConfigurationRequestSpotPriceLimits extends $t
|
|
|
4722
4756
|
[key: string]: any;
|
|
4723
4757
|
});
|
|
4724
4758
|
}
|
|
4759
|
+
export declare class CreateScalingConfigurationShrinkRequestImageOptions extends $tea.Model {
|
|
4760
|
+
loginAsNonRoot?: boolean;
|
|
4761
|
+
static names(): {
|
|
4762
|
+
[key: string]: string;
|
|
4763
|
+
};
|
|
4764
|
+
static types(): {
|
|
4765
|
+
[key: string]: any;
|
|
4766
|
+
};
|
|
4767
|
+
constructor(map?: {
|
|
4768
|
+
[key: string]: any;
|
|
4769
|
+
});
|
|
4770
|
+
}
|
|
4725
4771
|
export declare class CreateScalingConfigurationShrinkRequestPrivatePoolOptions extends $tea.Model {
|
|
4726
4772
|
id?: string;
|
|
4727
4773
|
matchCriteria?: string;
|
|
@@ -4871,6 +4917,19 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
|
|
|
4871
4917
|
[key: string]: any;
|
|
4872
4918
|
});
|
|
4873
4919
|
}
|
|
4920
|
+
export declare class CreateScalingGroupRequestLoadBalancerConfigs extends $tea.Model {
|
|
4921
|
+
loadBalancerId?: string;
|
|
4922
|
+
weight?: number;
|
|
4923
|
+
static names(): {
|
|
4924
|
+
[key: string]: string;
|
|
4925
|
+
};
|
|
4926
|
+
static types(): {
|
|
4927
|
+
[key: string]: any;
|
|
4928
|
+
};
|
|
4929
|
+
constructor(map?: {
|
|
4930
|
+
[key: string]: any;
|
|
4931
|
+
});
|
|
4932
|
+
}
|
|
4874
4933
|
export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
|
|
4875
4934
|
port?: number;
|
|
4876
4935
|
serverGroupId?: string;
|
|
@@ -4926,6 +4985,19 @@ export declare class CreateScalingGroupRequestVServerGroups extends $tea.Model {
|
|
|
4926
4985
|
[key: string]: any;
|
|
4927
4986
|
});
|
|
4928
4987
|
}
|
|
4988
|
+
export declare class CreateScalingRuleRequestAlarmDimensions extends $tea.Model {
|
|
4989
|
+
dimensionKey?: string;
|
|
4990
|
+
dimensionValue?: string;
|
|
4991
|
+
static names(): {
|
|
4992
|
+
[key: string]: string;
|
|
4993
|
+
};
|
|
4994
|
+
static types(): {
|
|
4995
|
+
[key: string]: any;
|
|
4996
|
+
};
|
|
4997
|
+
constructor(map?: {
|
|
4998
|
+
[key: string]: any;
|
|
4999
|
+
});
|
|
5000
|
+
}
|
|
4929
5001
|
export declare class CreateScalingRuleRequestStepAdjustments extends $tea.Model {
|
|
4930
5002
|
metricIntervalLowerBound?: number;
|
|
4931
5003
|
metricIntervalUpperBound?: number;
|
|
@@ -5532,7 +5604,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5532
5604
|
});
|
|
5533
5605
|
}
|
|
5534
5606
|
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $tea.Model {
|
|
5535
|
-
privatePoolOptions
|
|
5607
|
+
privatePoolOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions;
|
|
5536
5608
|
affinity?: string;
|
|
5537
5609
|
cpu?: number;
|
|
5538
5610
|
creationTime?: string;
|
|
@@ -5545,6 +5617,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
5545
5617
|
imageFamily?: string;
|
|
5546
5618
|
imageId?: string;
|
|
5547
5619
|
imageName?: string;
|
|
5620
|
+
imageOptionsLoginAsNonRoot?: boolean;
|
|
5548
5621
|
imageOwnerAlias?: string;
|
|
5549
5622
|
instanceDescription?: string;
|
|
5550
5623
|
instanceGeneration?: string;
|
|
@@ -5630,6 +5703,19 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplat
|
|
|
5630
5703
|
[key: string]: any;
|
|
5631
5704
|
});
|
|
5632
5705
|
}
|
|
5706
|
+
export declare class DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs extends $tea.Model {
|
|
5707
|
+
loadBalancerId?: string;
|
|
5708
|
+
weight?: number;
|
|
5709
|
+
static names(): {
|
|
5710
|
+
[key: string]: string;
|
|
5711
|
+
};
|
|
5712
|
+
static types(): {
|
|
5713
|
+
[key: string]: any;
|
|
5714
|
+
};
|
|
5715
|
+
constructor(map?: {
|
|
5716
|
+
[key: string]: any;
|
|
5717
|
+
});
|
|
5718
|
+
}
|
|
5633
5719
|
export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $tea.Model {
|
|
5634
5720
|
port?: number;
|
|
5635
5721
|
serverGroupId?: string;
|
|
@@ -5694,6 +5780,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
5694
5780
|
launchTemplateOverrides?: DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides[];
|
|
5695
5781
|
launchTemplateVersion?: string;
|
|
5696
5782
|
lifecycleState?: string;
|
|
5783
|
+
loadBalancerConfigs?: DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs[];
|
|
5697
5784
|
loadBalancerIds?: string[];
|
|
5698
5785
|
maxInstanceLifetime?: number;
|
|
5699
5786
|
maxSize?: number;
|
|
@@ -5766,6 +5853,19 @@ export declare class DescribeScalingInstancesResponseBodyScalingInstances extend
|
|
|
5766
5853
|
[key: string]: any;
|
|
5767
5854
|
});
|
|
5768
5855
|
}
|
|
5856
|
+
export declare class DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions extends $tea.Model {
|
|
5857
|
+
dimensionKey?: string;
|
|
5858
|
+
dimensionValue?: string;
|
|
5859
|
+
static names(): {
|
|
5860
|
+
[key: string]: string;
|
|
5861
|
+
};
|
|
5862
|
+
static types(): {
|
|
5863
|
+
[key: string]: any;
|
|
5864
|
+
};
|
|
5865
|
+
constructor(map?: {
|
|
5866
|
+
[key: string]: any;
|
|
5867
|
+
});
|
|
5868
|
+
}
|
|
5769
5869
|
export declare class DescribeScalingRulesResponseBodyScalingRulesAlarmsDimensions extends $tea.Model {
|
|
5770
5870
|
dimensionKey?: string;
|
|
5771
5871
|
dimensionValue?: string;
|
|
@@ -5816,6 +5916,7 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesStepAdjustments
|
|
|
5816
5916
|
export declare class DescribeScalingRulesResponseBodyScalingRules extends $tea.Model {
|
|
5817
5917
|
adjustmentType?: string;
|
|
5818
5918
|
adjustmentValue?: number;
|
|
5919
|
+
alarmDimensions?: DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions[];
|
|
5819
5920
|
alarms?: DescribeScalingRulesResponseBodyScalingRulesAlarms[];
|
|
5820
5921
|
cooldown?: number;
|
|
5821
5922
|
disableScaleIn?: boolean;
|
|
@@ -6051,13 +6152,13 @@ export declare class ModifyEciScalingConfigurationRequestContainersLivenessProbe
|
|
|
6051
6152
|
});
|
|
6052
6153
|
}
|
|
6053
6154
|
export declare class ModifyEciScalingConfigurationRequestContainersLivenessProbe extends $tea.Model {
|
|
6054
|
-
exec
|
|
6155
|
+
exec?: ModifyEciScalingConfigurationRequestContainersLivenessProbeExec;
|
|
6055
6156
|
failureThreshold?: number;
|
|
6056
|
-
httpGet
|
|
6157
|
+
httpGet?: ModifyEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
|
|
6057
6158
|
initialDelaySeconds?: number;
|
|
6058
6159
|
periodSeconds?: number;
|
|
6059
6160
|
successThreshold?: number;
|
|
6060
|
-
tcpSocket
|
|
6161
|
+
tcpSocket?: ModifyEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
|
|
6061
6162
|
timeoutSeconds?: number;
|
|
6062
6163
|
static names(): {
|
|
6063
6164
|
[key: string]: string;
|
|
@@ -6108,13 +6209,13 @@ export declare class ModifyEciScalingConfigurationRequestContainersReadinessProb
|
|
|
6108
6209
|
});
|
|
6109
6210
|
}
|
|
6110
6211
|
export declare class ModifyEciScalingConfigurationRequestContainersReadinessProbe extends $tea.Model {
|
|
6111
|
-
exec
|
|
6212
|
+
exec?: ModifyEciScalingConfigurationRequestContainersReadinessProbeExec;
|
|
6112
6213
|
failureThreshold?: number;
|
|
6113
|
-
httpGet
|
|
6214
|
+
httpGet?: ModifyEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
|
|
6114
6215
|
initialDelaySeconds?: number;
|
|
6115
6216
|
periodSeconds?: number;
|
|
6116
6217
|
successThreshold?: number;
|
|
6117
|
-
tcpSocket
|
|
6218
|
+
tcpSocket?: ModifyEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
|
|
6118
6219
|
timeoutSeconds?: number;
|
|
6119
6220
|
static names(): {
|
|
6120
6221
|
[key: string]: string;
|
|
@@ -6139,7 +6240,7 @@ export declare class ModifyEciScalingConfigurationRequestContainersSecurityConte
|
|
|
6139
6240
|
});
|
|
6140
6241
|
}
|
|
6141
6242
|
export declare class ModifyEciScalingConfigurationRequestContainersSecurityContext extends $tea.Model {
|
|
6142
|
-
capability
|
|
6243
|
+
capability?: ModifyEciScalingConfigurationRequestContainersSecurityContextCapability;
|
|
6143
6244
|
readOnlyRootFilesystem?: boolean;
|
|
6144
6245
|
runAsUser?: number;
|
|
6145
6246
|
static names(): {
|
|
@@ -6165,7 +6266,7 @@ export declare class ModifyEciScalingConfigurationRequestContainersEnvironmentVa
|
|
|
6165
6266
|
});
|
|
6166
6267
|
}
|
|
6167
6268
|
export declare class ModifyEciScalingConfigurationRequestContainersEnvironmentVars extends $tea.Model {
|
|
6168
|
-
fieldRef
|
|
6269
|
+
fieldRef?: ModifyEciScalingConfigurationRequestContainersEnvironmentVarsFieldRef;
|
|
6169
6270
|
key?: string;
|
|
6170
6271
|
value?: string;
|
|
6171
6272
|
static names(): {
|
|
@@ -6208,9 +6309,9 @@ export declare class ModifyEciScalingConfigurationRequestContainersVolumeMounts
|
|
|
6208
6309
|
});
|
|
6209
6310
|
}
|
|
6210
6311
|
export declare class ModifyEciScalingConfigurationRequestContainers extends $tea.Model {
|
|
6211
|
-
livenessProbe
|
|
6212
|
-
readinessProbe
|
|
6213
|
-
securityContext
|
|
6312
|
+
livenessProbe?: ModifyEciScalingConfigurationRequestContainersLivenessProbe;
|
|
6313
|
+
readinessProbe?: ModifyEciScalingConfigurationRequestContainersReadinessProbe;
|
|
6314
|
+
securityContext?: ModifyEciScalingConfigurationRequestContainersSecurityContext;
|
|
6214
6315
|
args?: string[];
|
|
6215
6316
|
commands?: string[];
|
|
6216
6317
|
cpu?: number;
|
|
@@ -6289,7 +6390,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersSecurityC
|
|
|
6289
6390
|
});
|
|
6290
6391
|
}
|
|
6291
6392
|
export declare class ModifyEciScalingConfigurationRequestInitContainersSecurityContext extends $tea.Model {
|
|
6292
|
-
capability
|
|
6393
|
+
capability?: ModifyEciScalingConfigurationRequestInitContainersSecurityContextCapability;
|
|
6293
6394
|
readOnlyRootFilesystem?: boolean;
|
|
6294
6395
|
runAsUser?: number;
|
|
6295
6396
|
static names(): {
|
|
@@ -6315,7 +6416,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersInitConta
|
|
|
6315
6416
|
});
|
|
6316
6417
|
}
|
|
6317
6418
|
export declare class ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars extends $tea.Model {
|
|
6318
|
-
fieldRef
|
|
6419
|
+
fieldRef?: ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef;
|
|
6319
6420
|
key?: string;
|
|
6320
6421
|
value?: string;
|
|
6321
6422
|
static names(): {
|
|
@@ -6358,7 +6459,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersInitConta
|
|
|
6358
6459
|
});
|
|
6359
6460
|
}
|
|
6360
6461
|
export declare class ModifyEciScalingConfigurationRequestInitContainers extends $tea.Model {
|
|
6361
|
-
securityContext
|
|
6462
|
+
securityContext?: ModifyEciScalingConfigurationRequestInitContainersSecurityContext;
|
|
6362
6463
|
args?: string[];
|
|
6363
6464
|
commands?: string[];
|
|
6364
6465
|
cpu?: number;
|
|
@@ -6489,11 +6590,11 @@ export declare class ModifyEciScalingConfigurationRequestVolumesConfigFileVolume
|
|
|
6489
6590
|
});
|
|
6490
6591
|
}
|
|
6491
6592
|
export declare class ModifyEciScalingConfigurationRequestVolumes extends $tea.Model {
|
|
6492
|
-
diskVolume
|
|
6493
|
-
emptyDirVolume
|
|
6494
|
-
flexVolume
|
|
6495
|
-
hostPathVolume
|
|
6496
|
-
NFSVolume
|
|
6593
|
+
diskVolume?: ModifyEciScalingConfigurationRequestVolumesDiskVolume;
|
|
6594
|
+
emptyDirVolume?: ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume;
|
|
6595
|
+
flexVolume?: ModifyEciScalingConfigurationRequestVolumesFlexVolume;
|
|
6596
|
+
hostPathVolume?: ModifyEciScalingConfigurationRequestVolumesHostPathVolume;
|
|
6597
|
+
NFSVolume?: ModifyEciScalingConfigurationRequestVolumesNFSVolume;
|
|
6497
6598
|
configFileVolumeConfigFileToPath?: ModifyEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPath[];
|
|
6498
6599
|
configFileVolumeDefaultMode?: number;
|
|
6499
6600
|
name?: string;
|
|
@@ -6508,6 +6609,18 @@ export declare class ModifyEciScalingConfigurationRequestVolumes extends $tea.Mo
|
|
|
6508
6609
|
[key: string]: any;
|
|
6509
6610
|
});
|
|
6510
6611
|
}
|
|
6612
|
+
export declare class ModifyScalingConfigurationRequestImageOptions extends $tea.Model {
|
|
6613
|
+
loginAsNonRoot?: boolean;
|
|
6614
|
+
static names(): {
|
|
6615
|
+
[key: string]: string;
|
|
6616
|
+
};
|
|
6617
|
+
static types(): {
|
|
6618
|
+
[key: string]: any;
|
|
6619
|
+
};
|
|
6620
|
+
constructor(map?: {
|
|
6621
|
+
[key: string]: any;
|
|
6622
|
+
});
|
|
6623
|
+
}
|
|
6511
6624
|
export declare class ModifyScalingConfigurationRequestPrivatePoolOptions extends $tea.Model {
|
|
6512
6625
|
id?: string;
|
|
6513
6626
|
matchCriteria?: string;
|
|
@@ -6612,6 +6725,18 @@ export declare class ModifyScalingConfigurationRequestSpotPriceLimits extends $t
|
|
|
6612
6725
|
[key: string]: any;
|
|
6613
6726
|
});
|
|
6614
6727
|
}
|
|
6728
|
+
export declare class ModifyScalingConfigurationShrinkRequestImageOptions extends $tea.Model {
|
|
6729
|
+
loginAsNonRoot?: boolean;
|
|
6730
|
+
static names(): {
|
|
6731
|
+
[key: string]: string;
|
|
6732
|
+
};
|
|
6733
|
+
static types(): {
|
|
6734
|
+
[key: string]: any;
|
|
6735
|
+
};
|
|
6736
|
+
constructor(map?: {
|
|
6737
|
+
[key: string]: any;
|
|
6738
|
+
});
|
|
6739
|
+
}
|
|
6615
6740
|
export declare class ModifyScalingConfigurationShrinkRequestPrivatePoolOptions extends $tea.Model {
|
|
6616
6741
|
id?: string;
|
|
6617
6742
|
matchCriteria?: string;
|
|
@@ -6730,6 +6855,19 @@ export declare class ModifyScalingGroupRequestLaunchTemplateOverrides extends $t
|
|
|
6730
6855
|
[key: string]: any;
|
|
6731
6856
|
});
|
|
6732
6857
|
}
|
|
6858
|
+
export declare class ModifyScalingRuleRequestAlarmDimensions extends $tea.Model {
|
|
6859
|
+
dimensionKey?: string;
|
|
6860
|
+
dimensionValue?: string;
|
|
6861
|
+
static names(): {
|
|
6862
|
+
[key: string]: string;
|
|
6863
|
+
};
|
|
6864
|
+
static types(): {
|
|
6865
|
+
[key: string]: any;
|
|
6866
|
+
};
|
|
6867
|
+
constructor(map?: {
|
|
6868
|
+
[key: string]: any;
|
|
6869
|
+
});
|
|
6870
|
+
}
|
|
6733
6871
|
export declare class ModifyScalingRuleRequestStepAdjustments extends $tea.Model {
|
|
6734
6872
|
metricIntervalLowerBound?: number;
|
|
6735
6873
|
metricIntervalUpperBound?: number;
|
|
@@ -6856,7 +6994,7 @@ export default class Client extends OpenApi {
|
|
|
6856
6994
|
*/
|
|
6857
6995
|
changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
|
|
6858
6996
|
/**
|
|
6859
|
-
*
|
|
6997
|
+
* If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
|
|
6860
6998
|
*
|
|
6861
6999
|
* @param request CompleteLifecycleActionRequest
|
|
6862
7000
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6864,7 +7002,7 @@ export default class Client extends OpenApi {
|
|
|
6864
7002
|
*/
|
|
6865
7003
|
completeLifecycleActionWithOptions(request: CompleteLifecycleActionRequest, runtime: $Util.RuntimeOptions): Promise<CompleteLifecycleActionResponse>;
|
|
6866
7004
|
/**
|
|
6867
|
-
*
|
|
7005
|
+
* If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
|
|
6868
7006
|
*
|
|
6869
7007
|
* @param request CompleteLifecycleActionRequest
|
|
6870
7008
|
* @return CompleteLifecycleActionResponse
|
|
@@ -6911,10 +7049,10 @@ export default class Client extends OpenApi {
|
|
|
6911
7049
|
*/
|
|
6912
7050
|
createEciScalingConfiguration(request: CreateEciScalingConfigurationRequest): Promise<CreateEciScalingConfigurationResponse>;
|
|
6913
7051
|
/**
|
|
6914
|
-
* You can create up to six lifecycle hooks for each scaling group.
|
|
6915
|
-
*
|
|
6916
|
-
* You can configure a notification method for a lifecycle hook. When the lifecycle hook
|
|
6917
|
-
* > If your scaling group
|
|
7052
|
+
* You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
|
|
7053
|
+
* If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
|
|
7054
|
+
* You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
|
|
7055
|
+
* > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
|
|
6918
7056
|
*
|
|
6919
7057
|
* @param request CreateLifecycleHookRequest
|
|
6920
7058
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6922,10 +7060,10 @@ export default class Client extends OpenApi {
|
|
|
6922
7060
|
*/
|
|
6923
7061
|
createLifecycleHookWithOptions(request: CreateLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<CreateLifecycleHookResponse>;
|
|
6924
7062
|
/**
|
|
6925
|
-
* You can create up to six lifecycle hooks for each scaling group.
|
|
6926
|
-
*
|
|
6927
|
-
* You can configure a notification method for a lifecycle hook. When the lifecycle hook
|
|
6928
|
-
* > If your scaling group
|
|
7063
|
+
* You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
|
|
7064
|
+
* If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
|
|
7065
|
+
* You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
|
|
7066
|
+
* > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
|
|
6929
7067
|
*
|
|
6930
7068
|
* @param request CreateLifecycleHookRequest
|
|
6931
7069
|
* @return CreateLifecycleHookResponse
|
|
@@ -6947,13 +7085,13 @@ export default class Client extends OpenApi {
|
|
|
6947
7085
|
*/
|
|
6948
7086
|
createNotificationConfiguration(request: CreateNotificationConfigurationRequest): Promise<CreateNotificationConfigurationResponse>;
|
|
6949
7087
|
/**
|
|
6950
|
-
* Auto Scaling automatically
|
|
6951
|
-
* *
|
|
7088
|
+
* Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
|
|
7089
|
+
* * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the lowest-priced instance type based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces the failures of scale-outs caused by insufficient inventory of instance types.
|
|
6952
7090
|
* * InstanceType: In this mode, you must specify one instance type.
|
|
6953
|
-
* * InstanceTypes
|
|
6954
|
-
* *
|
|
6955
|
-
* * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines
|
|
6956
|
-
* > You cannot
|
|
7091
|
+
* * InstanceTypes: In this mode, you can specify more than one instance type.
|
|
7092
|
+
* * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
|
|
7093
|
+
* * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances of the lowest-priced instance type. This mode is available only if the Scaling Policy parameter is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
|
|
7094
|
+
* > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory parameters at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify the InstanceType and InstancePatternInfos parameters or specify the InstanceTypes and InstancePatternInfos parameters at the same time, Auto Scaling preferentially uses the instance types that are specified by the InstanceType or InstanceTypes parameter for scale-outs. If the instance types that are specified by the InstanceType or InstanceTypes parameter do not have sufficient inventory, Auto Scaling uses the instance types that are specified by the InstancePatternInfos parameter for scale-outs.
|
|
6957
7095
|
*
|
|
6958
7096
|
* @param tmpReq CreateScalingConfigurationRequest
|
|
6959
7097
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6961,13 +7099,13 @@ export default class Client extends OpenApi {
|
|
|
6961
7099
|
*/
|
|
6962
7100
|
createScalingConfigurationWithOptions(tmpReq: CreateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingConfigurationResponse>;
|
|
6963
7101
|
/**
|
|
6964
|
-
* Auto Scaling automatically
|
|
6965
|
-
* *
|
|
7102
|
+
* Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
|
|
7103
|
+
* * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the lowest-priced instance type based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces the failures of scale-outs caused by insufficient inventory of instance types.
|
|
6966
7104
|
* * InstanceType: In this mode, you must specify one instance type.
|
|
6967
|
-
* * InstanceTypes
|
|
6968
|
-
* *
|
|
6969
|
-
* * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines
|
|
6970
|
-
* > You cannot
|
|
7105
|
+
* * InstanceTypes: In this mode, you can specify more than one instance type.
|
|
7106
|
+
* * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
|
|
7107
|
+
* * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances of the lowest-priced instance type. This mode is available only if the Scaling Policy parameter is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
|
|
7108
|
+
* > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory parameters at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify the InstanceType and InstancePatternInfos parameters or specify the InstanceTypes and InstancePatternInfos parameters at the same time, Auto Scaling preferentially uses the instance types that are specified by the InstanceType or InstanceTypes parameter for scale-outs. If the instance types that are specified by the InstanceType or InstanceTypes parameter do not have sufficient inventory, Auto Scaling uses the instance types that are specified by the InstancePatternInfos parameter for scale-outs.
|
|
6971
7109
|
*
|
|
6972
7110
|
* @param request CreateScalingConfigurationRequest
|
|
6973
7111
|
* @return CreateScalingConfigurationResponse
|
|
@@ -6976,26 +7114,26 @@ export default class Client extends OpenApi {
|
|
|
6976
7114
|
/**
|
|
6977
7115
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
|
|
6978
7116
|
* You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
|
|
6979
|
-
* A scaling group does not immediately take effect after you create
|
|
6980
|
-
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the "Regions and zones" topic
|
|
6981
|
-
* If you associate a CLB instance
|
|
7117
|
+
* A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
|
|
7118
|
+
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the "Regions and zones" topic.
|
|
7119
|
+
* If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
|
|
6982
7120
|
* * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
|
|
6983
7121
|
* * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
|
|
6984
7122
|
* > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
|
|
6985
7123
|
* The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
|
|
6986
7124
|
* * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
|
|
6987
7125
|
* * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
|
|
6988
|
-
* If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
|
|
7126
|
+
* If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
|
|
6989
7127
|
* If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
|
|
6990
7128
|
* * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
|
|
6991
|
-
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic
|
|
7129
|
+
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
|
|
6992
7130
|
* If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
|
|
6993
7131
|
* * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
|
|
6994
7132
|
* * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
|
|
6995
|
-
* If you set the `Tags.Propagate` parameter
|
|
7133
|
+
* If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
|
|
6996
7134
|
* * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
|
|
6997
|
-
* * If you specify instance tags in the scaling configuration that is used to create instances
|
|
6998
|
-
* * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group
|
|
7135
|
+
* * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
|
|
7136
|
+
* * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
|
|
6999
7137
|
*
|
|
7000
7138
|
* @param request CreateScalingGroupRequest
|
|
7001
7139
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7005,26 +7143,26 @@ export default class Client extends OpenApi {
|
|
|
7005
7143
|
/**
|
|
7006
7144
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
|
|
7007
7145
|
* You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
|
|
7008
|
-
* A scaling group does not immediately take effect after you create
|
|
7009
|
-
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the "Regions and zones" topic
|
|
7010
|
-
* If you associate a CLB instance
|
|
7146
|
+
* A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
|
|
7147
|
+
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the "Regions and zones" topic.
|
|
7148
|
+
* If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
|
|
7011
7149
|
* * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
|
|
7012
7150
|
* * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
|
|
7013
7151
|
* > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
|
|
7014
7152
|
* The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
|
|
7015
7153
|
* * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
|
|
7016
7154
|
* * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
|
|
7017
|
-
* If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
|
|
7155
|
+
* If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
|
|
7018
7156
|
* If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
|
|
7019
7157
|
* * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
|
|
7020
|
-
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic
|
|
7158
|
+
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
|
|
7021
7159
|
* If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
|
|
7022
7160
|
* * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
|
|
7023
7161
|
* * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
|
|
7024
|
-
* If you set the `Tags.Propagate` parameter
|
|
7162
|
+
* If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
|
|
7025
7163
|
* * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
|
|
7026
|
-
* * If you specify instance tags in the scaling configuration that is used to create instances
|
|
7027
|
-
* * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group
|
|
7164
|
+
* * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
|
|
7165
|
+
* * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
|
|
7028
7166
|
*
|
|
7029
7167
|
* @param request CreateScalingGroupRequest
|
|
7030
7168
|
* @return CreateScalingGroupResponse
|
|
@@ -7312,9 +7450,9 @@ export default class Client extends OpenApi {
|
|
|
7312
7450
|
/**
|
|
7313
7451
|
* You can call this operation to enable a scaling group that is in the Inactive state and has an instance configuration source. The instance configuration source can be a scaling configuration, a launch template, or an Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If a scaling group is not in the Inactive state or does not have an active instance configuration source, you cannot call this operation to enable the scaling group.
|
|
7314
7452
|
* > A scaling group can have only one active instance configuration source. 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 an instance configuration source has been configured for the scaling group before you call this operation, the scaling configuration or launch template that you specify in the request overwrites the original scaling configuration or launch template.
|
|
7315
|
-
* If you specify a value for the
|
|
7316
|
-
* * If the total number of ECS instances is less than the minimum number of instances
|
|
7317
|
-
* * If the value of the
|
|
7453
|
+
* If you specify a value for the InstanceIds parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
|
|
7454
|
+
* * If the total number of ECS instances is less than the minimum number of instances required in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
|
|
7455
|
+
* * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
|
|
7318
7456
|
*
|
|
7319
7457
|
* @param request EnableScalingGroupRequest
|
|
7320
7458
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7324,9 +7462,9 @@ export default class Client extends OpenApi {
|
|
|
7324
7462
|
/**
|
|
7325
7463
|
* You can call this operation to enable a scaling group that is in the Inactive state and has an instance configuration source. The instance configuration source can be a scaling configuration, a launch template, or an Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If a scaling group is not in the Inactive state or does not have an active instance configuration source, you cannot call this operation to enable the scaling group.
|
|
7326
7464
|
* > A scaling group can have only one active instance configuration source. 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 an instance configuration source has been configured for the scaling group before you call this operation, the scaling configuration or launch template that you specify in the request overwrites the original scaling configuration or launch template.
|
|
7327
|
-
* If you specify a value for the
|
|
7328
|
-
* * If the total number of ECS instances is less than the minimum number of instances
|
|
7329
|
-
* * If the value of the
|
|
7465
|
+
* If you specify a value for the InstanceIds parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
|
|
7466
|
+
* * If the total number of ECS instances is less than the minimum number of instances required in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
|
|
7467
|
+
* * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
|
|
7330
7468
|
*
|
|
7331
7469
|
* @param request EnableScalingGroupRequest
|
|
7332
7470
|
* @return EnableScalingGroupResponse
|
|
@@ -7420,7 +7558,9 @@ export default class Client extends OpenApi {
|
|
|
7420
7558
|
*/
|
|
7421
7559
|
modifyEciScalingConfiguration(request: ModifyEciScalingConfigurationRequest): Promise<ModifyEciScalingConfigurationResponse>;
|
|
7422
7560
|
/**
|
|
7423
|
-
*
|
|
7561
|
+
* You can use one of the following methods to specify the lifecycle hook that you want to modify:
|
|
7562
|
+
* * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
|
|
7563
|
+
* * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
|
|
7424
7564
|
*
|
|
7425
7565
|
* @param request ModifyLifecycleHookRequest
|
|
7426
7566
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7428,7 +7568,9 @@ export default class Client extends OpenApi {
|
|
|
7428
7568
|
*/
|
|
7429
7569
|
modifyLifecycleHookWithOptions(request: ModifyLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLifecycleHookResponse>;
|
|
7430
7570
|
/**
|
|
7431
|
-
*
|
|
7571
|
+
* You can use one of the following methods to specify the lifecycle hook that you want to modify:
|
|
7572
|
+
* * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
|
|
7573
|
+
* * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
|
|
7432
7574
|
*
|
|
7433
7575
|
* @param request ModifyLifecycleHookRequest
|
|
7434
7576
|
* @return ModifyLifecycleHookResponse
|