@alicloud/ess20220222 1.4.2 → 1.5.1
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 +299 -160
- package/dist/client.js +415 -169
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +453 -160
package/dist/client.js
CHANGED
|
@@ -27,15 +27,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CreateScalingRuleRequest = exports.CreateScalingGroupResponse = exports.CreateScalingGroupResponseBody = exports.CreateScalingGroupRequest = exports.CreateScalingConfigurationResponse = exports.CreateScalingConfigurationResponseBody = exports.CreateScalingConfigurationShrinkRequest = exports.CreateScalingConfigurationRequest = exports.CreateNotificationConfigurationResponse = exports.CreateNotificationConfigurationResponseBody = exports.CreateNotificationConfigurationRequest = exports.CreateLifecycleHookResponse = exports.CreateLifecycleHookResponseBody = exports.CreateLifecycleHookRequest = exports.CreateEciScalingConfigurationResponse = exports.CreateEciScalingConfigurationResponseBody = exports.CreateEciScalingConfigurationRequest = exports.CreateAlarmResponse = exports.CreateAlarmResponseBody = exports.CreateAlarmRequest = exports.CompleteLifecycleActionResponse = exports.CompleteLifecycleActionResponseBody = exports.CompleteLifecycleActionRequest = exports.ChangeResourceGroupResponse = exports.ChangeResourceGroupResponseBody = exports.ChangeResourceGroupRequest = exports.AttachVServerGroupsResponse = exports.AttachVServerGroupsResponseBody = exports.AttachVServerGroupsRequest = exports.AttachServerGroupsResponse = exports.AttachServerGroupsResponseBody = exports.AttachServerGroupsRequest = exports.AttachLoadBalancersResponse = exports.AttachLoadBalancersResponseBody = exports.AttachLoadBalancersRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.AttachDBInstancesResponse = exports.AttachDBInstancesResponseBody = exports.AttachDBInstancesRequest = exports.AttachAlbServerGroupsResponse = exports.AttachAlbServerGroupsResponseBody = exports.AttachAlbServerGroupsRequest = exports.ApplyScalingGroupResponse = exports.ApplyScalingGroupResponseBody = exports.ApplyScalingGroupRequest = exports.ApplyEciScalingConfigurationResponse = exports.ApplyEciScalingConfigurationResponseBody = exports.ApplyEciScalingConfigurationRequest = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.TagResourcesRequestTags = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = void 0;
|
|
30
|
+
exports.DescribeLifecycleHooksResponse = exports.DescribeLifecycleHooksResponseBody = exports.DescribeLifecycleHooksRequest = exports.DescribeLifecycleActionsResponse = exports.DescribeLifecycleActionsResponseBody = exports.DescribeLifecycleActionsRequest = exports.DescribeEciScalingConfigurationsResponse = exports.DescribeEciScalingConfigurationsResponseBody = exports.DescribeEciScalingConfigurationsRequest = exports.DescribeEciScalingConfigurationDetailResponse = exports.DescribeEciScalingConfigurationDetailResponseBody = exports.DescribeEciScalingConfigurationDetailRequest = exports.DescribeAlertConfigurationResponse = exports.DescribeAlertConfigurationResponseBody = exports.DescribeAlertConfigurationRequest = exports.DescribeAlarmsResponse = exports.DescribeAlarmsResponseBody = exports.DescribeAlarmsRequest = exports.DeleteScheduledTaskResponse = exports.DeleteScheduledTaskResponseBody = exports.DeleteScheduledTaskRequest = exports.DeleteScalingRuleResponse = exports.DeleteScalingRuleResponseBody = exports.DeleteScalingRuleRequest = exports.DeleteScalingGroupResponse = exports.DeleteScalingGroupResponseBody = exports.DeleteScalingGroupRequest = exports.DeleteScalingConfigurationResponse = exports.DeleteScalingConfigurationResponseBody = exports.DeleteScalingConfigurationRequest = exports.DeleteNotificationConfigurationResponse = exports.DeleteNotificationConfigurationResponseBody = exports.DeleteNotificationConfigurationRequest = exports.DeleteLifecycleHookResponse = exports.DeleteLifecycleHookResponseBody = exports.DeleteLifecycleHookRequest = exports.DeleteEciScalingConfigurationResponse = exports.DeleteEciScalingConfigurationResponseBody = exports.DeleteEciScalingConfigurationRequest = exports.DeleteAlarmResponse = exports.DeleteAlarmResponseBody = exports.DeleteAlarmRequest = exports.DeactivateScalingConfigurationResponse = exports.DeactivateScalingConfigurationResponseBody = exports.DeactivateScalingConfigurationRequest = exports.CreateScheduledTaskResponse = exports.CreateScheduledTaskResponseBody = exports.CreateScheduledTaskRequest = exports.CreateScalingRuleResponse = exports.CreateScalingRuleResponseBody = void 0;
|
|
31
|
+
exports.DetachLoadBalancersResponseBody = exports.DetachLoadBalancersRequest = exports.DetachInstancesResponse = exports.DetachInstancesResponseBody = exports.DetachInstancesRequest = exports.DetachDBInstancesResponse = exports.DetachDBInstancesResponseBody = exports.DetachDBInstancesRequest = exports.DetachAlbServerGroupsResponse = exports.DetachAlbServerGroupsResponseBody = exports.DetachAlbServerGroupsRequest = exports.DescribeScheduledTasksResponse = exports.DescribeScheduledTasksResponseBody = exports.DescribeScheduledTasksRequest = exports.DescribeScalingRulesResponse = exports.DescribeScalingRulesResponseBody = exports.DescribeScalingRulesRequest = exports.DescribeScalingInstancesResponse = exports.DescribeScalingInstancesResponseBody = exports.DescribeScalingInstancesRequest = exports.DescribeScalingGroupsResponse = exports.DescribeScalingGroupsResponseBody = exports.DescribeScalingGroupsRequest = exports.DescribeScalingGroupDetailResponse = exports.DescribeScalingGroupDetailResponseBody = exports.DescribeScalingGroupDetailRequest = exports.DescribeScalingConfigurationsResponse = exports.DescribeScalingConfigurationsResponseBody = exports.DescribeScalingConfigurationsRequest = exports.DescribeScalingActivityDetailResponse = exports.DescribeScalingActivityDetailResponseBody = exports.DescribeScalingActivityDetailRequest = exports.DescribeScalingActivitiesResponse = exports.DescribeScalingActivitiesResponseBody = exports.DescribeScalingActivitiesRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribePatternTypesResponse = exports.DescribePatternTypesResponseBody = exports.DescribePatternTypesRequest = exports.DescribeNotificationTypesResponse = exports.DescribeNotificationTypesResponseBody = exports.DescribeNotificationTypesRequest = exports.DescribeNotificationConfigurationsResponse = exports.DescribeNotificationConfigurationsResponseBody = exports.DescribeNotificationConfigurationsRequest = exports.DescribeLimitationResponse = exports.DescribeLimitationResponseBody = exports.DescribeLimitationRequest = void 0;
|
|
32
|
+
exports.ModifyLifecycleHookRequest = exports.ModifyInstanceAttributeResponse = exports.ModifyInstanceAttributeResponseBody = exports.ModifyInstanceAttributeRequest = exports.ModifyEciScalingConfigurationResponse = exports.ModifyEciScalingConfigurationResponseBody = exports.ModifyEciScalingConfigurationRequest = exports.ModifyAlertConfigurationResponse = exports.ModifyAlertConfigurationResponseBody = exports.ModifyAlertConfigurationRequest = exports.ModifyAlarmResponse = exports.ModifyAlarmResponseBody = exports.ModifyAlarmRequest = exports.ListTagValuesResponse = exports.ListTagValuesResponseBody = exports.ListTagValuesRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.ListTagKeysResponse = exports.ListTagKeysResponseBody = exports.ListTagKeysRequest = exports.ExitStandbyResponse = exports.ExitStandbyResponseBody = exports.ExitStandbyRequest = exports.ExecuteScalingRuleResponse = exports.ExecuteScalingRuleResponseBody = exports.ExecuteScalingRuleRequest = exports.EnterStandbyResponse = exports.EnterStandbyResponseBody = exports.EnterStandbyRequest = exports.EnableScalingGroupResponse = exports.EnableScalingGroupResponseBody = exports.EnableScalingGroupRequest = exports.EnableAlarmResponse = exports.EnableAlarmResponseBody = exports.EnableAlarmRequest = exports.DisableScalingGroupResponse = exports.DisableScalingGroupResponseBody = exports.DisableScalingGroupRequest = exports.DisableAlarmResponse = exports.DisableAlarmResponseBody = exports.DisableAlarmRequest = exports.DetachVServerGroupsResponse = exports.DetachVServerGroupsResponseBody = exports.DetachVServerGroupsRequest = exports.DetachServerGroupsResponse = exports.DetachServerGroupsResponseBody = exports.DetachServerGroupsRequest = exports.DetachLoadBalancersResponse = void 0;
|
|
33
|
+
exports.UntagResourcesRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SuspendProcessesResponse = exports.SuspendProcessesResponseBody = exports.SuspendProcessesRequest = exports.SetInstancesProtectionResponse = exports.SetInstancesProtectionResponseBody = exports.SetInstancesProtectionRequest = exports.SetInstanceHealthResponse = exports.SetInstanceHealthResponseBody = exports.SetInstanceHealthRequest = exports.SetGroupDeletionProtectionResponse = exports.SetGroupDeletionProtectionResponseBody = exports.SetGroupDeletionProtectionRequest = exports.ScaleWithAdjustmentResponse = exports.ScaleWithAdjustmentResponseBody = exports.ScaleWithAdjustmentShrinkRequest = exports.ScaleWithAdjustmentRequest = exports.ResumeProcessesResponse = exports.ResumeProcessesResponseBody = exports.ResumeProcessesRequest = exports.RemoveInstancesResponse = exports.RemoveInstancesResponseBody = exports.RemoveInstancesRequest = exports.RecordLifecycleActionHeartbeatResponse = exports.RecordLifecycleActionHeartbeatResponseBody = exports.RecordLifecycleActionHeartbeatRequest = exports.RebalanceInstancesResponse = exports.RebalanceInstancesResponseBody = exports.RebalanceInstancesRequest = exports.ModifyScheduledTaskResponse = exports.ModifyScheduledTaskResponseBody = exports.ModifyScheduledTaskRequest = exports.ModifyScalingRuleResponse = exports.ModifyScalingRuleResponseBody = exports.ModifyScalingRuleRequest = exports.ModifyScalingGroupResponse = exports.ModifyScalingGroupResponseBody = exports.ModifyScalingGroupRequest = exports.ModifyScalingConfigurationResponse = exports.ModifyScalingConfigurationResponseBody = exports.ModifyScalingConfigurationShrinkRequest = exports.ModifyScalingConfigurationRequest = exports.ModifyNotificationConfigurationResponse = exports.ModifyNotificationConfigurationResponseBody = exports.ModifyNotificationConfigurationRequest = exports.ModifyLifecycleHookResponse = exports.ModifyLifecycleHookResponseBody = void 0;
|
|
34
|
+
exports.CreateScalingConfigurationRequestPrivatePoolOptions = exports.CreateScalingConfigurationRequestImageOptions = exports.CreateEciScalingConfigurationRequestVolumes = exports.CreateEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPaths = exports.CreateEciScalingConfigurationRequestVolumesNFSVolume = exports.CreateEciScalingConfigurationRequestVolumesHostPathVolume = exports.CreateEciScalingConfigurationRequestVolumesFlexVolume = exports.CreateEciScalingConfigurationRequestVolumesEmptyDirVolume = exports.CreateEciScalingConfigurationRequestVolumesDiskVolume = exports.CreateEciScalingConfigurationRequestTags = exports.CreateEciScalingConfigurationRequestSecurityContextSysctls = exports.CreateEciScalingConfigurationRequestInitContainers = exports.CreateEciScalingConfigurationRequestInitContainersInitContainerVolumeMounts = exports.CreateEciScalingConfigurationRequestInitContainersInitContainerPorts = exports.CreateEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars = exports.CreateEciScalingConfigurationRequestInitContainersSecurityContext = exports.CreateEciScalingConfigurationRequestInitContainersSecurityContextCapability = exports.CreateEciScalingConfigurationRequestImageRegistryCredentials = exports.CreateEciScalingConfigurationRequestHostAliases = exports.CreateEciScalingConfigurationRequestDnsConfigOptions = exports.CreateEciScalingConfigurationRequestContainers = exports.CreateEciScalingConfigurationRequestContainersVolumeMounts = exports.CreateEciScalingConfigurationRequestContainersPorts = exports.CreateEciScalingConfigurationRequestContainersEnvironmentVars = exports.CreateEciScalingConfigurationRequestContainersSecurityContext = exports.CreateEciScalingConfigurationRequestContainersSecurityContextCapability = exports.CreateEciScalingConfigurationRequestContainersReadinessProbe = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeTcpSocket = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeHttpGet = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeExec = exports.CreateEciScalingConfigurationRequestContainersLivenessProbe = exports.CreateEciScalingConfigurationRequestContainersLivenessProbeTcpSocket = exports.CreateEciScalingConfigurationRequestContainersLivenessProbeHttpGet = exports.CreateEciScalingConfigurationRequestContainersLivenessProbeExec = exports.CreateEciScalingConfigurationRequestAcrRegistryInfos = exports.CreateAlarmRequestExpressions = exports.CreateAlarmRequestDimensions = exports.AttachVServerGroupsRequestVServerGroups = exports.AttachVServerGroupsRequestVServerGroupsVServerGroupAttributes = exports.AttachServerGroupsRequestServerGroups = exports.AttachLoadBalancersRequestLoadBalancerConfigs = exports.AttachAlbServerGroupsRequestAlbServerGroups = exports.VerifyUserResponse = exports.VerifyUserResponseBody = exports.VerifyUserRequest = exports.VerifyAuthenticationResponse = exports.VerifyAuthenticationResponseBody = exports.VerifyAuthenticationRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = void 0;
|
|
35
|
+
exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersPorts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersEnvironmentVars = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsAcrRegistryInfos = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfiguration = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumes = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationVolumesConfigFileVolumeConfigFileToPaths = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationTags = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationSecurityContextSysCtls = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainers = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerVolumeMounts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerPorts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationInitContainersInitContainerEnvironmentVars = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationImageRegistryCredentials = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationHostAliases = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationDnsConfigOptions = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainers = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersVolumeMounts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersPorts = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos = exports.DescribeAlarmsResponseBodyAlarmList = exports.DescribeAlarmsResponseBodyAlarmListExpressions = exports.DescribeAlarmsResponseBodyAlarmListDimensions = exports.CreateScalingRuleRequestStepAdjustments = exports.CreateScalingRuleRequestAlarmDimensions = exports.CreateScalingGroupRequestVServerGroups = exports.CreateScalingGroupRequestVServerGroupsVServerGroupAttributes = exports.CreateScalingGroupRequestTags = exports.CreateScalingGroupRequestServerGroups = exports.CreateScalingGroupRequestLoadBalancerConfigs = exports.CreateScalingGroupRequestLifecycleHooks = exports.CreateScalingGroupRequestLaunchTemplateOverrides = exports.CreateScalingGroupRequestDBInstances = exports.CreateScalingGroupRequestAlbServerGroups = exports.CreateScalingConfigurationShrinkRequestSpotPriceLimits = exports.CreateScalingConfigurationShrinkRequestNetworkInterfaces = exports.CreateScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.CreateScalingConfigurationShrinkRequestInstancePatternInfos = exports.CreateScalingConfigurationShrinkRequestDataDisks = exports.CreateScalingConfigurationShrinkRequestCustomPriorities = exports.CreateScalingConfigurationShrinkRequestSystemDisk = exports.CreateScalingConfigurationShrinkRequestPrivatePoolOptions = exports.CreateScalingConfigurationShrinkRequestImageOptions = exports.CreateScalingConfigurationRequestSpotPriceLimits = exports.CreateScalingConfigurationRequestNetworkInterfaces = exports.CreateScalingConfigurationRequestInstanceTypeOverrides = exports.CreateScalingConfigurationRequestInstancePatternInfos = exports.CreateScalingConfigurationRequestDataDisks = exports.CreateScalingConfigurationRequestCustomPriorities = exports.CreateScalingConfigurationRequestSystemDisk = void 0;
|
|
36
|
+
exports.DescribeScalingRulesResponseBodyScalingRulesAlarmsDimensions = exports.DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions = exports.DescribeScalingInstancesResponseBodyScalingInstances = exports.DescribeScalingGroupsResponseBodyScalingGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsVServerGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes = exports.DescribeScalingGroupsResponseBodyScalingGroupsTags = exports.DescribeScalingGroupsResponseBodyScalingGroupsServerGroups = exports.DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs = exports.DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides = exports.DescribeScalingGroupsResponseBodyScalingGroupsDBInstances = exports.DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups = exports.DescribeScalingGroupsRequestTags = exports.DescribeScalingGroupDetailResponseBodyScalingGroup = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroupsVServerGroupAttributes = exports.DescribeScalingGroupDetailResponseBodyScalingGroupTags = exports.DescribeScalingGroupDetailResponseBodyScalingGroupServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLoadBalancerConfigs = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLaunchTemplateOverrides = exports.DescribeScalingGroupDetailResponseBodyScalingGroupAlbServerGroups = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsTags = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSpotPriceLimits = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSchedulerOptions = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities = exports.DescribeScalingActivitiesResponseBodyScalingActivities = exports.DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext = exports.DescribeRegionsResponseBodyRegions = exports.DescribePatternTypesResponseBodyPatternTypes = exports.DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels = exports.DescribeLifecycleHooksResponseBodyLifecycleHooks = exports.DescribeLifecycleActionsResponseBodyLifecycleActions = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumesConfigFileVolumeConfigFileToPaths = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsTags = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsSecurityContextSysCtls = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainers = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerVolumeMounts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerPorts = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsInitContainersInitContainerEnvironmentVars = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsImageRegistryCredentials = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsHostAliases = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainers = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsContainersVolumeMounts = void 0;
|
|
37
|
+
exports.ModifyScalingConfigurationRequestPrivatePoolOptions = exports.ModifyScalingConfigurationRequestImageOptions = exports.ModifyEciScalingConfigurationRequestVolumes = exports.ModifyEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPath = exports.ModifyEciScalingConfigurationRequestVolumesNFSVolume = exports.ModifyEciScalingConfigurationRequestVolumesHostPathVolume = exports.ModifyEciScalingConfigurationRequestVolumesFlexVolume = exports.ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume = exports.ModifyEciScalingConfigurationRequestVolumesDiskVolume = exports.ModifyEciScalingConfigurationRequestTags = exports.ModifyEciScalingConfigurationRequestSecurityContextSysCtls = exports.ModifyEciScalingConfigurationRequestInitContainers = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerVolumeMounts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerPorts = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars = exports.ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef = exports.ModifyEciScalingConfigurationRequestInitContainersSecurityContext = exports.ModifyEciScalingConfigurationRequestInitContainersSecurityContextCapability = exports.ModifyEciScalingConfigurationRequestImageRegistryCredentials = exports.ModifyEciScalingConfigurationRequestHostAliases = exports.ModifyEciScalingConfigurationRequestDnsConfigOptions = exports.ModifyEciScalingConfigurationRequestContainers = exports.ModifyEciScalingConfigurationRequestContainersVolumeMounts = exports.ModifyEciScalingConfigurationRequestContainersPorts = exports.ModifyEciScalingConfigurationRequestContainersEnvironmentVars = exports.ModifyEciScalingConfigurationRequestContainersEnvironmentVarsFieldRef = exports.ModifyEciScalingConfigurationRequestContainersSecurityContext = exports.ModifyEciScalingConfigurationRequestContainersSecurityContextCapability = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbe = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeTcpSocket = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeHttpGet = exports.ModifyEciScalingConfigurationRequestContainersReadinessProbeExec = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbe = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeTcpSocket = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeHttpGet = exports.ModifyEciScalingConfigurationRequestContainersLivenessProbeExec = exports.ModifyEciScalingConfigurationRequestAcrRegistryInfos = exports.ModifyAlarmRequestExpressions = exports.ModifyAlarmRequestDimensions = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesRequestTags = exports.EnableScalingGroupRequestLaunchTemplateOverrides = exports.DetachVServerGroupsRequestVServerGroups = exports.DetachVServerGroupsRequestVServerGroupsVServerGroupAttributes = exports.DetachServerGroupsRequestServerGroups = exports.DetachAlbServerGroupsRequestAlbServerGroups = exports.DescribeScheduledTasksResponseBodyScheduledTasks = exports.DescribeScalingRulesResponseBodyScalingRules = exports.DescribeScalingRulesResponseBodyScalingRulesStepAdjustments = exports.DescribeScalingRulesResponseBodyScalingRulesAlarms = void 0;
|
|
38
|
+
exports.TagResourcesRequestTags = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = exports.ModifyScalingConfigurationRequestNetworkInterfaces = exports.ModifyScalingConfigurationRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationRequestInstancePatternInfos = exports.ModifyScalingConfigurationRequestDataDisks = exports.ModifyScalingConfigurationRequestCustomPriorities = exports.ModifyScalingConfigurationRequestSystemDisk = void 0;
|
|
39
39
|
// This file is auto-generated, don't edit it
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
@@ -2319,6 +2319,66 @@ class DescribeAlarmsResponse extends $tea.Model {
|
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
2321
|
exports.DescribeAlarmsResponse = DescribeAlarmsResponse;
|
|
2322
|
+
class DescribeAlertConfigurationRequest extends $tea.Model {
|
|
2323
|
+
static names() {
|
|
2324
|
+
return {
|
|
2325
|
+
ownerId: 'OwnerId',
|
|
2326
|
+
regionId: 'RegionId',
|
|
2327
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2328
|
+
scalingGroupId: 'ScalingGroupId',
|
|
2329
|
+
};
|
|
2330
|
+
}
|
|
2331
|
+
static types() {
|
|
2332
|
+
return {
|
|
2333
|
+
ownerId: 'number',
|
|
2334
|
+
regionId: 'string',
|
|
2335
|
+
resourceOwnerAccount: 'string',
|
|
2336
|
+
scalingGroupId: 'string',
|
|
2337
|
+
};
|
|
2338
|
+
}
|
|
2339
|
+
constructor(map) {
|
|
2340
|
+
super(map);
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
exports.DescribeAlertConfigurationRequest = DescribeAlertConfigurationRequest;
|
|
2344
|
+
class DescribeAlertConfigurationResponseBody extends $tea.Model {
|
|
2345
|
+
static names() {
|
|
2346
|
+
return {
|
|
2347
|
+
requestId: 'RequestId',
|
|
2348
|
+
scaleStatuses: 'ScaleStatuses',
|
|
2349
|
+
};
|
|
2350
|
+
}
|
|
2351
|
+
static types() {
|
|
2352
|
+
return {
|
|
2353
|
+
requestId: 'string',
|
|
2354
|
+
scaleStatuses: { 'type': 'array', 'itemType': 'string' },
|
|
2355
|
+
};
|
|
2356
|
+
}
|
|
2357
|
+
constructor(map) {
|
|
2358
|
+
super(map);
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
exports.DescribeAlertConfigurationResponseBody = DescribeAlertConfigurationResponseBody;
|
|
2362
|
+
class DescribeAlertConfigurationResponse extends $tea.Model {
|
|
2363
|
+
static names() {
|
|
2364
|
+
return {
|
|
2365
|
+
headers: 'headers',
|
|
2366
|
+
statusCode: 'statusCode',
|
|
2367
|
+
body: 'body',
|
|
2368
|
+
};
|
|
2369
|
+
}
|
|
2370
|
+
static types() {
|
|
2371
|
+
return {
|
|
2372
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2373
|
+
statusCode: 'number',
|
|
2374
|
+
body: DescribeAlertConfigurationResponseBody,
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
constructor(map) {
|
|
2378
|
+
super(map);
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
exports.DescribeAlertConfigurationResponse = DescribeAlertConfigurationResponse;
|
|
2322
2382
|
class DescribeEciScalingConfigurationDetailRequest extends $tea.Model {
|
|
2323
2383
|
static names() {
|
|
2324
2384
|
return {
|
|
@@ -4745,6 +4805,66 @@ class ModifyAlarmResponse extends $tea.Model {
|
|
|
4745
4805
|
}
|
|
4746
4806
|
}
|
|
4747
4807
|
exports.ModifyAlarmResponse = ModifyAlarmResponse;
|
|
4808
|
+
class ModifyAlertConfigurationRequest extends $tea.Model {
|
|
4809
|
+
static names() {
|
|
4810
|
+
return {
|
|
4811
|
+
ownerId: 'OwnerId',
|
|
4812
|
+
regionId: 'RegionId',
|
|
4813
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4814
|
+
scaleStatuses: 'ScaleStatuses',
|
|
4815
|
+
scalingGroupId: 'ScalingGroupId',
|
|
4816
|
+
};
|
|
4817
|
+
}
|
|
4818
|
+
static types() {
|
|
4819
|
+
return {
|
|
4820
|
+
ownerId: 'number',
|
|
4821
|
+
regionId: 'string',
|
|
4822
|
+
resourceOwnerAccount: 'string',
|
|
4823
|
+
scaleStatuses: { 'type': 'array', 'itemType': 'string' },
|
|
4824
|
+
scalingGroupId: 'string',
|
|
4825
|
+
};
|
|
4826
|
+
}
|
|
4827
|
+
constructor(map) {
|
|
4828
|
+
super(map);
|
|
4829
|
+
}
|
|
4830
|
+
}
|
|
4831
|
+
exports.ModifyAlertConfigurationRequest = ModifyAlertConfigurationRequest;
|
|
4832
|
+
class ModifyAlertConfigurationResponseBody extends $tea.Model {
|
|
4833
|
+
static names() {
|
|
4834
|
+
return {
|
|
4835
|
+
requestId: 'RequestId',
|
|
4836
|
+
};
|
|
4837
|
+
}
|
|
4838
|
+
static types() {
|
|
4839
|
+
return {
|
|
4840
|
+
requestId: 'string',
|
|
4841
|
+
};
|
|
4842
|
+
}
|
|
4843
|
+
constructor(map) {
|
|
4844
|
+
super(map);
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
exports.ModifyAlertConfigurationResponseBody = ModifyAlertConfigurationResponseBody;
|
|
4848
|
+
class ModifyAlertConfigurationResponse extends $tea.Model {
|
|
4849
|
+
static names() {
|
|
4850
|
+
return {
|
|
4851
|
+
headers: 'headers',
|
|
4852
|
+
statusCode: 'statusCode',
|
|
4853
|
+
body: 'body',
|
|
4854
|
+
};
|
|
4855
|
+
}
|
|
4856
|
+
static types() {
|
|
4857
|
+
return {
|
|
4858
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4859
|
+
statusCode: 'number',
|
|
4860
|
+
body: ModifyAlertConfigurationResponseBody,
|
|
4861
|
+
};
|
|
4862
|
+
}
|
|
4863
|
+
constructor(map) {
|
|
4864
|
+
super(map);
|
|
4865
|
+
}
|
|
4866
|
+
}
|
|
4867
|
+
exports.ModifyAlertConfigurationResponse = ModifyAlertConfigurationResponse;
|
|
4748
4868
|
class ModifyEciScalingConfigurationRequest extends $tea.Model {
|
|
4749
4869
|
static names() {
|
|
4750
4870
|
return {
|
|
@@ -5131,6 +5251,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
5131
5251
|
override: 'Override',
|
|
5132
5252
|
ownerAccount: 'OwnerAccount',
|
|
5133
5253
|
ownerId: 'OwnerId',
|
|
5254
|
+
password: 'Password',
|
|
5134
5255
|
passwordInherit: 'PasswordInherit',
|
|
5135
5256
|
ramRoleName: 'RamRoleName',
|
|
5136
5257
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -5188,6 +5309,7 @@ class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
5188
5309
|
override: 'boolean',
|
|
5189
5310
|
ownerAccount: 'string',
|
|
5190
5311
|
ownerId: 'number',
|
|
5312
|
+
password: 'string',
|
|
5191
5313
|
passwordInherit: 'boolean',
|
|
5192
5314
|
ramRoleName: 'string',
|
|
5193
5315
|
resourceGroupId: 'string',
|
|
@@ -5251,6 +5373,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
5251
5373
|
override: 'Override',
|
|
5252
5374
|
ownerAccount: 'OwnerAccount',
|
|
5253
5375
|
ownerId: 'OwnerId',
|
|
5376
|
+
password: 'Password',
|
|
5254
5377
|
passwordInherit: 'PasswordInherit',
|
|
5255
5378
|
ramRoleName: 'RamRoleName',
|
|
5256
5379
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -5308,6 +5431,7 @@ class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
5308
5431
|
override: 'boolean',
|
|
5309
5432
|
ownerAccount: 'string',
|
|
5310
5433
|
ownerId: 'number',
|
|
5434
|
+
password: 'string',
|
|
5311
5435
|
passwordInherit: 'boolean',
|
|
5312
5436
|
ramRoleName: 'string',
|
|
5313
5437
|
resourceGroupId: 'string',
|
|
@@ -9836,6 +9960,7 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
9836
9960
|
memory: 'Memory',
|
|
9837
9961
|
networkInterfaces: 'NetworkInterfaces',
|
|
9838
9962
|
passwordInherit: 'PasswordInherit',
|
|
9963
|
+
passwordSetted: 'PasswordSetted',
|
|
9839
9964
|
privatePoolOptions_id: 'PrivatePoolOptions.Id',
|
|
9840
9965
|
privatePoolOptions_matchCriteria: 'PrivatePoolOptions.MatchCriteria',
|
|
9841
9966
|
ramRoleName: 'RamRoleName',
|
|
@@ -9908,6 +10033,7 @@ class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $te
|
|
|
9908
10033
|
memory: 'number',
|
|
9909
10034
|
networkInterfaces: { 'type': 'array', 'itemType': DescribeScalingConfigurationsResponseBodyScalingConfigurationsNetworkInterfaces },
|
|
9910
10035
|
passwordInherit: 'boolean',
|
|
10036
|
+
passwordSetted: 'boolean',
|
|
9911
10037
|
privatePoolOptions_id: 'string',
|
|
9912
10038
|
privatePoolOptions_matchCriteria: 'string',
|
|
9913
10039
|
ramRoleName: 'string',
|
|
@@ -12442,10 +12568,11 @@ class Client extends openapi_client_1.default {
|
|
|
12442
12568
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12443
12569
|
}
|
|
12444
12570
|
/**
|
|
12445
|
-
* @summary
|
|
12571
|
+
* @summary Applies a scaling configuration of the Elastic Container Instance type. If you want to create and manage scaling configurations of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
|
|
12446
12572
|
*
|
|
12447
|
-
* @description
|
|
12448
|
-
* If you
|
|
12573
|
+
* @description Before you use a YAML configuration file to manage scaling configurations of the Elastic Container Instance type, you must take note of the following items:
|
|
12574
|
+
* * If you include a scaling configuration ID within your request, the system updates the scaling configuration based on the YAML configuration file.
|
|
12575
|
+
* * If you do not include a scaling configuration ID within your request, the system creates a scaling configuration of the Elastic Container Instance type based on the YAML configuration file.
|
|
12449
12576
|
*
|
|
12450
12577
|
* @param request ApplyEciScalingConfigurationRequest
|
|
12451
12578
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12486,10 +12613,11 @@ class Client extends openapi_client_1.default {
|
|
|
12486
12613
|
return $tea.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
12487
12614
|
}
|
|
12488
12615
|
/**
|
|
12489
|
-
* @summary
|
|
12616
|
+
* @summary Applies a scaling configuration of the Elastic Container Instance type. If you want to create and manage scaling configurations of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
|
|
12490
12617
|
*
|
|
12491
|
-
* @description
|
|
12492
|
-
* If you
|
|
12618
|
+
* @description Before you use a YAML configuration file to manage scaling configurations of the Elastic Container Instance type, you must take note of the following items:
|
|
12619
|
+
* * If you include a scaling configuration ID within your request, the system updates the scaling configuration based on the YAML configuration file.
|
|
12620
|
+
* * If you do not include a scaling configuration ID within your request, the system creates a scaling configuration of the Elastic Container Instance type based on the YAML configuration file.
|
|
12493
12621
|
*
|
|
12494
12622
|
* @param request ApplyEciScalingConfigurationRequest
|
|
12495
12623
|
* @return ApplyEciScalingConfigurationResponse
|
|
@@ -12752,7 +12880,7 @@ class Client extends openapi_client_1.default {
|
|
|
12752
12880
|
return await this.attachDBInstancesWithOptions(request, runtime);
|
|
12753
12881
|
}
|
|
12754
12882
|
/**
|
|
12755
|
-
* @summary Adds instances to a scaling group. You can call the AttachInstances operation to add
|
|
12883
|
+
* @summary Adds instances to a scaling group to provide services or restarts Elastic Compute Service (ECS) instances stopped in Economical Mode to provide services. You can call the AttachInstances operation to add ECS instances, elastic container instances, or third-party instances managed by Alibaba Cloud to your scaling group to provide services. You can also call this operation to restart ECS instances stopped in Economical Mode in your scaling group to provide services.
|
|
12756
12884
|
*
|
|
12757
12885
|
* @description Before you call this operation, take note of the following items:
|
|
12758
12886
|
* * The scaling group is in the Active state.
|
|
@@ -12826,7 +12954,7 @@ class Client extends openapi_client_1.default {
|
|
|
12826
12954
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
12827
12955
|
}
|
|
12828
12956
|
/**
|
|
12829
|
-
* @summary Adds instances to a scaling group. You can call the AttachInstances operation to add
|
|
12957
|
+
* @summary Adds instances to a scaling group to provide services or restarts Elastic Compute Service (ECS) instances stopped in Economical Mode to provide services. You can call the AttachInstances operation to add ECS instances, elastic container instances, or third-party instances managed by Alibaba Cloud to your scaling group to provide services. You can also call this operation to restart ECS instances stopped in Economical Mode in your scaling group to provide services.
|
|
12830
12958
|
*
|
|
12831
12959
|
* @description Before you call this operation, take note of the following items:
|
|
12832
12960
|
* * The scaling group is in the Active state.
|
|
@@ -13491,7 +13619,7 @@ class Client extends openapi_client_1.default {
|
|
|
13491
13619
|
return await this.createEciScalingConfigurationWithOptions(request, runtime);
|
|
13492
13620
|
}
|
|
13493
13621
|
/**
|
|
13494
|
-
* @summary Creates one or more lifecycle hooks.
|
|
13622
|
+
* @summary Creates one or more lifecycle hooks in a scaling group. A lifecycle hook allows you to execute custom actions like sending notifications or automating script execution at critical stages (such as instance startup and termination) in the lifecycle of an instance. Implementing the lifecycle hook feature allows for finer control and management of instances. For example, you can verify configurations, set up custom tasks, or back up data on your instances when lifecycle hooks take effect, thus enhancing the flexibility and reliability of application deployment.
|
|
13495
13623
|
*
|
|
13496
13624
|
* @description You can create up to six lifecycle hooks for each scaling group. After a lifecycle hook is created for a scaling group, Elastic Compute Service (ECS) instances in the scaling group waits to be added to or removed from the scaling group during scaling activities. You can use the HeartbeatTimeout parameter to specify the timeout period of the lifecycle hook. During the timeout period of a lifecycle hook, you can perform custom operations such as initialize ECS instance configurations and download ECS instance data on the ECS instances for which the lifecycle hook is applied.
|
|
13497
13625
|
* During a scale-out activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be added to the associated whitelist that manages access to the ApsaraDB RDS instance. The ECS instances also wait to be added to the backend server group of the associated Classic Load Balancer (CLB) instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are added to the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also added to the backend server group of the associated CLB instance. During a scale-in activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances also wait to be removed from the backend server group of the associated CLB instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also removed from the backend server group of the associated CLB instance.
|
|
@@ -13552,7 +13680,7 @@ class Client extends openapi_client_1.default {
|
|
|
13552
13680
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
13553
13681
|
}
|
|
13554
13682
|
/**
|
|
13555
|
-
* @summary Creates one or more lifecycle hooks.
|
|
13683
|
+
* @summary Creates one or more lifecycle hooks in a scaling group. A lifecycle hook allows you to execute custom actions like sending notifications or automating script execution at critical stages (such as instance startup and termination) in the lifecycle of an instance. Implementing the lifecycle hook feature allows for finer control and management of instances. For example, you can verify configurations, set up custom tasks, or back up data on your instances when lifecycle hooks take effect, thus enhancing the flexibility and reliability of application deployment.
|
|
13556
13684
|
*
|
|
13557
13685
|
* @description You can create up to six lifecycle hooks for each scaling group. After a lifecycle hook is created for a scaling group, Elastic Compute Service (ECS) instances in the scaling group waits to be added to or removed from the scaling group during scaling activities. You can use the HeartbeatTimeout parameter to specify the timeout period of the lifecycle hook. During the timeout period of a lifecycle hook, you can perform custom operations such as initialize ECS instance configurations and download ECS instance data on the ECS instances for which the lifecycle hook is applied.
|
|
13558
13686
|
* During a scale-out activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be added to the associated whitelist that manages access to the ApsaraDB RDS instance. The ECS instances also wait to be added to the backend server group of the associated Classic Load Balancer (CLB) instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are added to the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also added to the backend server group of the associated CLB instance. During a scale-in activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances also wait to be removed from the backend server group of the associated CLB instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also removed from the backend server group of the associated CLB instance.
|
|
@@ -13855,27 +13983,27 @@ class Client extends openapi_client_1.default {
|
|
|
13855
13983
|
return await this.createScalingConfigurationWithOptions(request, runtime);
|
|
13856
13984
|
}
|
|
13857
13985
|
/**
|
|
13858
|
-
* @summary Creates a scaling group.
|
|
13859
|
-
*
|
|
13860
|
-
* @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used
|
|
13861
|
-
* You can create only a limited number of scaling groups in a region.
|
|
13862
|
-
* A scaling group does not immediately take effect after you create the scaling group. You
|
|
13863
|
-
*
|
|
13864
|
-
* If you
|
|
13865
|
-
* * Default server group:
|
|
13866
|
-
* * vServer group: If you want to forward requests to backend servers
|
|
13867
|
-
* >
|
|
13868
|
-
* The default weight of
|
|
13869
|
-
* * The CLB instance
|
|
13870
|
-
* *
|
|
13871
|
-
* If you
|
|
13872
|
-
* If you
|
|
13873
|
-
* * The ApsaraDB RDS instance
|
|
13874
|
-
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance
|
|
13875
|
-
* If you set
|
|
13876
|
-
* *
|
|
13877
|
-
* * If you do not specify
|
|
13878
|
-
* If you set
|
|
13986
|
+
* @summary Creates a scaling group. You can call the CreateScalingGroup operation to automate the adjustment of computing power of a specific type based on your business requirements and scaling polices.
|
|
13987
|
+
*
|
|
13988
|
+
* @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
|
|
13989
|
+
* You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
|
|
13990
|
+
* A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
|
|
13991
|
+
* If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
|
|
13992
|
+
* If you attach a CLB instance to the scaling group that you want to create, Auto Scaling will automatically add the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
|
|
13993
|
+
* * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
|
|
13994
|
+
* * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names and URLs, you can specify vServer groups.
|
|
13995
|
+
* > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling will add the ECS instances in your scaling group to these server groups concurrently.
|
|
13996
|
+
* The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
|
|
13997
|
+
* * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
|
|
13998
|
+
* * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
|
|
13999
|
+
* If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling will add the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600559.html).
|
|
14000
|
+
* If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling will automatically add the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
14001
|
+
* * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
|
|
14002
|
+
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
|
|
14003
|
+
* If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
|
|
14004
|
+
* * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling will prioritize the implementation of the specified instance allocation mode during scale-out events.
|
|
14005
|
+
* * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling will preferentially create instances of the lowest-priced instance type based on the cost optimization policy.
|
|
14006
|
+
* If you set `Tags.Propagate` to true, the following rules will apply:
|
|
13879
14007
|
* * 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.
|
|
13880
14008
|
* * 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.
|
|
13881
14009
|
* * 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.
|
|
@@ -14039,27 +14167,27 @@ class Client extends openapi_client_1.default {
|
|
|
14039
14167
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
14040
14168
|
}
|
|
14041
14169
|
/**
|
|
14042
|
-
* @summary Creates a scaling group.
|
|
14043
|
-
*
|
|
14044
|
-
* @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used
|
|
14045
|
-
* You can create only a limited number of scaling groups in a region.
|
|
14046
|
-
* A scaling group does not immediately take effect after you create the scaling group. You
|
|
14047
|
-
*
|
|
14048
|
-
* If you
|
|
14049
|
-
* * Default server group:
|
|
14050
|
-
* * vServer group: If you want to forward requests to backend servers
|
|
14051
|
-
* >
|
|
14052
|
-
* The default weight of
|
|
14053
|
-
* * The CLB instance
|
|
14054
|
-
* *
|
|
14055
|
-
* If you
|
|
14056
|
-
* If you
|
|
14057
|
-
* * The ApsaraDB RDS instance
|
|
14058
|
-
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance
|
|
14059
|
-
* If you set
|
|
14060
|
-
* *
|
|
14061
|
-
* * If you do not specify
|
|
14062
|
-
* If you set
|
|
14170
|
+
* @summary Creates a scaling group. You can call the CreateScalingGroup operation to automate the adjustment of computing power of a specific type based on your business requirements and scaling polices.
|
|
14171
|
+
*
|
|
14172
|
+
* @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
|
|
14173
|
+
* You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
|
|
14174
|
+
* A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
|
|
14175
|
+
* If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
|
|
14176
|
+
* If you attach a CLB instance to the scaling group that you want to create, Auto Scaling will automatically add the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
|
|
14177
|
+
* * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
|
|
14178
|
+
* * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names and URLs, you can specify vServer groups.
|
|
14179
|
+
* > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling will add the ECS instances in your scaling group to these server groups concurrently.
|
|
14180
|
+
* The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
|
|
14181
|
+
* * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
|
|
14182
|
+
* * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
|
|
14183
|
+
* If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling will add the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600559.html).
|
|
14184
|
+
* If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling will automatically add the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
14185
|
+
* * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
|
|
14186
|
+
* * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
|
|
14187
|
+
* If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
|
|
14188
|
+
* * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling will prioritize the implementation of the specified instance allocation mode during scale-out events.
|
|
14189
|
+
* * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling will preferentially create instances of the lowest-priced instance type based on the cost optimization policy.
|
|
14190
|
+
* If you set `Tags.Propagate` to true, the following rules will apply:
|
|
14063
14191
|
* * 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.
|
|
14064
14192
|
* * 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.
|
|
14065
14193
|
* * 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.
|
|
@@ -14072,21 +14200,20 @@ class Client extends openapi_client_1.default {
|
|
|
14072
14200
|
return await this.createScalingGroupWithOptions(request, runtime);
|
|
14073
14201
|
}
|
|
14074
14202
|
/**
|
|
14075
|
-
* @summary Creates a scaling rule.
|
|
14203
|
+
* @summary Creates a scaling rule. The purpose of a scaling rule varies based on its type. You can use a scaling rule to trigger a scaling activity or adjust the boundary values for a scaling group. You can call the CreateScalingRule operation to create different types of scaling rules based on your business requirements. For example, if your business requires only automatic adjustment of the boundary values for your scaling group, you can call this operation to create a predictive scaling rule.
|
|
14076
14204
|
*
|
|
14077
|
-
* @description
|
|
14078
|
-
*
|
|
14079
|
-
* *
|
|
14080
|
-
* * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
|
|
14205
|
+
* @description A scaling rule defines the specific scaling action. For example, you can use a scaling rule to define N instances to add or remove. If the execution of a scaling rule causes the total number of Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to drop below the value of MinSize or to exceed the value of MaxSize, Auto Scaling adjusts the number of instances to add or remove, which ensures that the total number of instances stays within the valid range. Take note that Auto Scaling does not adjust the number of instances that you defined in the scaling rule. Examples:
|
|
14206
|
+
* * The maximum number of instances (MaxSize) that can be contained in a scaling group is 3 and the current number of instances (Total Capacity) in the scaling group is 2. In this example, the Add3 scaling rule is created to add three ECS instances to the scaling group. However, after you execute Add3, Auto Scaling adds only one ECS instance to the scaling group. In addition, the number of ECS instances to add in the Add3 scaling rule remains unchanged.
|
|
14207
|
+
* * The minimum number of instances (MinSize) that must be contained in a scaling group is 2 and the current number of instances (Total Capacity) is 3. In this example, the Remove5 scaling rule is created to remove five ECS instances from the scaling group. However, after you execute Remove5, Auto Scaling only removes one ECS instance from the scaling group. In addition, the number of ECS instances to remove in the Remove5 scaling rule remains unchanged.
|
|
14081
14208
|
* Before you call this operation, take note of the following items:
|
|
14082
|
-
* * If you set
|
|
14083
|
-
* * If you set
|
|
14084
|
-
* * If you set
|
|
14085
|
-
* * If
|
|
14086
|
-
* * You can create only a limited number of scaling rules for a scaling group. For more information, see
|
|
14087
|
-
* * The unique identifier
|
|
14088
|
-
* * ExecuteScalingRule: You can call this operation to manually execute a
|
|
14089
|
-
* * CreateScheduledTask: You can call this operation to create a scheduled task for a
|
|
14209
|
+
* * If you set AdjustmentType to TotalCapacity, the total number of ECS instances or elastic container instances in your scaling group will be adjusted to a specified number when the scaling rule that you create by calling this operation is executed. You must set AdjustmentValue to an integer that is greater than 0.
|
|
14210
|
+
* * If you set AdjustmentType to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies that a specific number of ECS instances or elastic container instances will be added to your scaling group, and a negative value of AdjustmentValue specifies that a specific number of ECS instances or elastic container instances will be removed from the scaling group.
|
|
14211
|
+
* * If you set AdjustmentType to PercentChangeInCapacity, Auto Scaling calculates the number of ECS instances or elastic container instances to add or remove by multiplying the current capacity of the scaling group (Total Capacity) by AdjustmentValue divided by 100, rounding off the result to determine the final adjustment count.
|
|
14212
|
+
* * If you specify a cooldown period for a scaling rule, the cooldown period of the scaling rule takes effect after you execute the scaling rule. If you do not specify a cooldown period for a scaling rule, the value of DefaultCooldown of the scaling group takes effect after you execute the scaling rule.
|
|
14213
|
+
* * You can create only a limited number of scaling rules for a scaling group. For more information, see [Limits](https://help.aliyun.com/document_detail/25863.html).
|
|
14214
|
+
* * The following API operations may use the unique identifier of a scaling rule (ScalingRuleAri) that is returned after you call the CreateScalingRule operation:
|
|
14215
|
+
* * ExecuteScalingRule: You can call this operation to manually execute a scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to execute.
|
|
14216
|
+
* * CreateScheduledTask: You can call this operation to create a scheduled task for a scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule for which you want to create a scheduled task.
|
|
14090
14217
|
*
|
|
14091
14218
|
* @param request CreateScalingRuleRequest
|
|
14092
14219
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14184,21 +14311,20 @@ class Client extends openapi_client_1.default {
|
|
|
14184
14311
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
14185
14312
|
}
|
|
14186
14313
|
/**
|
|
14187
|
-
* @summary Creates a scaling rule.
|
|
14314
|
+
* @summary Creates a scaling rule. The purpose of a scaling rule varies based on its type. You can use a scaling rule to trigger a scaling activity or adjust the boundary values for a scaling group. You can call the CreateScalingRule operation to create different types of scaling rules based on your business requirements. For example, if your business requires only automatic adjustment of the boundary values for your scaling group, you can call this operation to create a predictive scaling rule.
|
|
14188
14315
|
*
|
|
14189
|
-
* @description
|
|
14190
|
-
*
|
|
14191
|
-
* *
|
|
14192
|
-
* * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
|
|
14316
|
+
* @description A scaling rule defines the specific scaling action. For example, you can use a scaling rule to define N instances to add or remove. If the execution of a scaling rule causes the total number of Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to drop below the value of MinSize or to exceed the value of MaxSize, Auto Scaling adjusts the number of instances to add or remove, which ensures that the total number of instances stays within the valid range. Take note that Auto Scaling does not adjust the number of instances that you defined in the scaling rule. Examples:
|
|
14317
|
+
* * The maximum number of instances (MaxSize) that can be contained in a scaling group is 3 and the current number of instances (Total Capacity) in the scaling group is 2. In this example, the Add3 scaling rule is created to add three ECS instances to the scaling group. However, after you execute Add3, Auto Scaling adds only one ECS instance to the scaling group. In addition, the number of ECS instances to add in the Add3 scaling rule remains unchanged.
|
|
14318
|
+
* * The minimum number of instances (MinSize) that must be contained in a scaling group is 2 and the current number of instances (Total Capacity) is 3. In this example, the Remove5 scaling rule is created to remove five ECS instances from the scaling group. However, after you execute Remove5, Auto Scaling only removes one ECS instance from the scaling group. In addition, the number of ECS instances to remove in the Remove5 scaling rule remains unchanged.
|
|
14193
14319
|
* Before you call this operation, take note of the following items:
|
|
14194
|
-
* * If you set
|
|
14195
|
-
* * If you set
|
|
14196
|
-
* * If you set
|
|
14197
|
-
* * If
|
|
14198
|
-
* * You can create only a limited number of scaling rules for a scaling group. For more information, see
|
|
14199
|
-
* * The unique identifier
|
|
14200
|
-
* * ExecuteScalingRule: You can call this operation to manually execute a
|
|
14201
|
-
* * CreateScheduledTask: You can call this operation to create a scheduled task for a
|
|
14320
|
+
* * If you set AdjustmentType to TotalCapacity, the total number of ECS instances or elastic container instances in your scaling group will be adjusted to a specified number when the scaling rule that you create by calling this operation is executed. You must set AdjustmentValue to an integer that is greater than 0.
|
|
14321
|
+
* * If you set AdjustmentType to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies that a specific number of ECS instances or elastic container instances will be added to your scaling group, and a negative value of AdjustmentValue specifies that a specific number of ECS instances or elastic container instances will be removed from the scaling group.
|
|
14322
|
+
* * If you set AdjustmentType to PercentChangeInCapacity, Auto Scaling calculates the number of ECS instances or elastic container instances to add or remove by multiplying the current capacity of the scaling group (Total Capacity) by AdjustmentValue divided by 100, rounding off the result to determine the final adjustment count.
|
|
14323
|
+
* * If you specify a cooldown period for a scaling rule, the cooldown period of the scaling rule takes effect after you execute the scaling rule. If you do not specify a cooldown period for a scaling rule, the value of DefaultCooldown of the scaling group takes effect after you execute the scaling rule.
|
|
14324
|
+
* * You can create only a limited number of scaling rules for a scaling group. For more information, see [Limits](https://help.aliyun.com/document_detail/25863.html).
|
|
14325
|
+
* * The following API operations may use the unique identifier of a scaling rule (ScalingRuleAri) that is returned after you call the CreateScalingRule operation:
|
|
14326
|
+
* * ExecuteScalingRule: You can call this operation to manually execute a scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to execute.
|
|
14327
|
+
* * CreateScheduledTask: You can call this operation to create a scheduled task for a scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule for which you want to create a scheduled task.
|
|
14202
14328
|
*
|
|
14203
14329
|
* @param request CreateScalingRuleRequest
|
|
14204
14330
|
* @return CreateScalingRuleResponse
|
|
@@ -14210,12 +14336,15 @@ class Client extends openapi_client_1.default {
|
|
|
14210
14336
|
/**
|
|
14211
14337
|
* @summary Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
|
|
14212
14338
|
*
|
|
14213
|
-
* @description * If a scheduled task fails to
|
|
14214
|
-
* * If
|
|
14215
|
-
*
|
|
14216
|
-
* *
|
|
14217
|
-
*
|
|
14218
|
-
*
|
|
14339
|
+
* @description * If the scaling rule of a scheduled task fails to be executed due to an ongoing scaling activity in the scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the time window specified by `LaunchExpirationTime`. If the scheduled task still fails after the specified time window ends, the task is automatically skipped.
|
|
14340
|
+
* * If several scheduled tasks concurrently attempt to execute the same scaling rule within a scaling group, the following rules apply:
|
|
14341
|
+
* * Scaling groups with **Expected Number of Instances** configured: The scaling activities incurred by the scheduled tasks are parallel scaling activities. In a proximate time window, Auto Scaling can trigger several scheduled tasks and then execute multiple parallel scaling activities at the same time.
|
|
14342
|
+
* * Scaling groups with **Expected Number of Instances** not configured: The scaling activity incurred by the earliest scheduled task is executed. Considering that a scaling group allows for no more than one ongoing scaling activity simultaneously, other scheduled tasks will spontaneously invoke retries within the time window specified by `LaunchExpirationTime`. Upon completion of the first scheduled task, any retries invoked by other tasks within the time window specified by `LaunchExpirationTime` lead to continuous enforcement of the scaling rule, with each iteration generating a distinct scaling activity.
|
|
14343
|
+
* * You can use one of the following methods to specify the scaling mode:
|
|
14344
|
+
* * ScheduledAction: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
|
|
14345
|
+
* * ScalingGroupId: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you create the scheduled task.
|
|
14346
|
+
* **
|
|
14347
|
+
* **Note** You cannot specify ScheduledAction and ScalingGroupId at the same time.
|
|
14219
14348
|
*
|
|
14220
14349
|
* @param request CreateScheduledTaskRequest
|
|
14221
14350
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14294,12 +14423,15 @@ class Client extends openapi_client_1.default {
|
|
|
14294
14423
|
/**
|
|
14295
14424
|
* @summary Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
|
|
14296
14425
|
*
|
|
14297
|
-
* @description * If a scheduled task fails to
|
|
14298
|
-
* * If
|
|
14299
|
-
*
|
|
14300
|
-
* *
|
|
14301
|
-
*
|
|
14302
|
-
*
|
|
14426
|
+
* @description * If the scaling rule of a scheduled task fails to be executed due to an ongoing scaling activity in the scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the time window specified by `LaunchExpirationTime`. If the scheduled task still fails after the specified time window ends, the task is automatically skipped.
|
|
14427
|
+
* * If several scheduled tasks concurrently attempt to execute the same scaling rule within a scaling group, the following rules apply:
|
|
14428
|
+
* * Scaling groups with **Expected Number of Instances** configured: The scaling activities incurred by the scheduled tasks are parallel scaling activities. In a proximate time window, Auto Scaling can trigger several scheduled tasks and then execute multiple parallel scaling activities at the same time.
|
|
14429
|
+
* * Scaling groups with **Expected Number of Instances** not configured: The scaling activity incurred by the earliest scheduled task is executed. Considering that a scaling group allows for no more than one ongoing scaling activity simultaneously, other scheduled tasks will spontaneously invoke retries within the time window specified by `LaunchExpirationTime`. Upon completion of the first scheduled task, any retries invoked by other tasks within the time window specified by `LaunchExpirationTime` lead to continuous enforcement of the scaling rule, with each iteration generating a distinct scaling activity.
|
|
14430
|
+
* * You can use one of the following methods to specify the scaling mode:
|
|
14431
|
+
* * ScheduledAction: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
|
|
14432
|
+
* * ScalingGroupId: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you create the scheduled task.
|
|
14433
|
+
* **
|
|
14434
|
+
* **Note** You cannot specify ScheduledAction and ScalingGroupId at the same time.
|
|
14303
14435
|
*
|
|
14304
14436
|
* @param request CreateScheduledTaskRequest
|
|
14305
14437
|
* @return CreateScheduledTaskResponse
|
|
@@ -14468,11 +14600,11 @@ class Client extends openapi_client_1.default {
|
|
|
14468
14600
|
return await this.deleteEciScalingConfigurationWithOptions(request, runtime);
|
|
14469
14601
|
}
|
|
14470
14602
|
/**
|
|
14471
|
-
* @summary Deletes a lifecycle hook.
|
|
14603
|
+
* @summary Deletes a lifecycle hook. If you no longer require a lifecycle hook, you can call the DeleteLifecycleHook operation to delete it, which frees up the lifecycle hook quota.
|
|
14472
14604
|
*
|
|
14473
|
-
* @description If you delete
|
|
14474
|
-
* *
|
|
14475
|
-
* *
|
|
14605
|
+
* @description If you delete an effective lifecycle hook before its timeout period ends, the instances on which the lifecycle hook takes effect exits the Pending state ahead of schedule. You can use the following methods to delete a lifecycle hook:
|
|
14606
|
+
* * Include `LifecycleHookId` within your request to specify the lifecycle hook that you want to delete. In this case, `ScalingGroupId` and `LifecycleHookName` are ignored.
|
|
14607
|
+
* * Include `ScalingGroupId` and `LifecycleHookName` within your request to specify the lifecycle hook that you want to delete.
|
|
14476
14608
|
*
|
|
14477
14609
|
* @param request DeleteLifecycleHookRequest
|
|
14478
14610
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14519,11 +14651,11 @@ class Client extends openapi_client_1.default {
|
|
|
14519
14651
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
14520
14652
|
}
|
|
14521
14653
|
/**
|
|
14522
|
-
* @summary Deletes a lifecycle hook.
|
|
14654
|
+
* @summary Deletes a lifecycle hook. If you no longer require a lifecycle hook, you can call the DeleteLifecycleHook operation to delete it, which frees up the lifecycle hook quota.
|
|
14523
14655
|
*
|
|
14524
|
-
* @description If you delete
|
|
14525
|
-
* *
|
|
14526
|
-
* *
|
|
14656
|
+
* @description If you delete an effective lifecycle hook before its timeout period ends, the instances on which the lifecycle hook takes effect exits the Pending state ahead of schedule. You can use the following methods to delete a lifecycle hook:
|
|
14657
|
+
* * Include `LifecycleHookId` within your request to specify the lifecycle hook that you want to delete. In this case, `ScalingGroupId` and `LifecycleHookName` are ignored.
|
|
14658
|
+
* * Include `ScalingGroupId` and `LifecycleHookName` within your request to specify the lifecycle hook that you want to delete.
|
|
14527
14659
|
*
|
|
14528
14660
|
* @param request DeleteLifecycleHookRequest
|
|
14529
14661
|
* @return DeleteLifecycleHookResponse
|
|
@@ -14887,7 +15019,55 @@ class Client extends openapi_client_1.default {
|
|
|
14887
15019
|
return await this.describeAlarmsWithOptions(request, runtime);
|
|
14888
15020
|
}
|
|
14889
15021
|
/**
|
|
14890
|
-
* @summary Queries
|
|
15022
|
+
* @summary Queries the status of scaling activities that prompt text message or email notifications.
|
|
15023
|
+
*
|
|
15024
|
+
* @param request DescribeAlertConfigurationRequest
|
|
15025
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15026
|
+
* @return DescribeAlertConfigurationResponse
|
|
15027
|
+
*/
|
|
15028
|
+
async describeAlertConfigurationWithOptions(request, runtime) {
|
|
15029
|
+
tea_util_1.default.validateModel(request);
|
|
15030
|
+
let query = {};
|
|
15031
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
15032
|
+
query["OwnerId"] = request.ownerId;
|
|
15033
|
+
}
|
|
15034
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
15035
|
+
query["RegionId"] = request.regionId;
|
|
15036
|
+
}
|
|
15037
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
15038
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
15039
|
+
}
|
|
15040
|
+
if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
|
|
15041
|
+
query["ScalingGroupId"] = request.scalingGroupId;
|
|
15042
|
+
}
|
|
15043
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15044
|
+
query: openapi_util_1.default.query(query),
|
|
15045
|
+
});
|
|
15046
|
+
let params = new $OpenApi.Params({
|
|
15047
|
+
action: "DescribeAlertConfiguration",
|
|
15048
|
+
version: "2022-02-22",
|
|
15049
|
+
protocol: "HTTPS",
|
|
15050
|
+
pathname: "/",
|
|
15051
|
+
method: "POST",
|
|
15052
|
+
authType: "AK",
|
|
15053
|
+
style: "RPC",
|
|
15054
|
+
reqBodyType: "formData",
|
|
15055
|
+
bodyType: "json",
|
|
15056
|
+
});
|
|
15057
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
15058
|
+
}
|
|
15059
|
+
/**
|
|
15060
|
+
* @summary Queries the status of scaling activities that prompt text message or email notifications.
|
|
15061
|
+
*
|
|
15062
|
+
* @param request DescribeAlertConfigurationRequest
|
|
15063
|
+
* @return DescribeAlertConfigurationResponse
|
|
15064
|
+
*/
|
|
15065
|
+
async describeAlertConfiguration(request) {
|
|
15066
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15067
|
+
return await this.describeAlertConfigurationWithOptions(request, runtime);
|
|
15068
|
+
}
|
|
15069
|
+
/**
|
|
15070
|
+
* @summary Queries the details of a scaling configuration. You can query a scaling configuration by its ID to learn about its details such as the temporary storage size, number of IPv6 addresses, and bandwidth of the elastic IP address (EIP). The scaling configuration details can be obtained as a YAML file.
|
|
14891
15071
|
*
|
|
14892
15072
|
* @param request DescribeEciScalingConfigurationDetailRequest
|
|
14893
15073
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14925,7 +15105,7 @@ class Client extends openapi_client_1.default {
|
|
|
14925
15105
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
14926
15106
|
}
|
|
14927
15107
|
/**
|
|
14928
|
-
* @summary Queries
|
|
15108
|
+
* @summary Queries the details of a scaling configuration. You can query a scaling configuration by its ID to learn about its details such as the temporary storage size, number of IPv6 addresses, and bandwidth of the elastic IP address (EIP). The scaling configuration details can be obtained as a YAML file.
|
|
14929
15109
|
*
|
|
14930
15110
|
* @param request DescribeEciScalingConfigurationDetailRequest
|
|
14931
15111
|
* @return DescribeEciScalingConfigurationDetailResponse
|
|
@@ -15001,7 +15181,7 @@ class Client extends openapi_client_1.default {
|
|
|
15001
15181
|
return await this.describeEciScalingConfigurationsWithOptions(request, runtime);
|
|
15002
15182
|
}
|
|
15003
15183
|
/**
|
|
15004
|
-
* @summary Queries lifecycle
|
|
15184
|
+
* @summary Queries the details of a lifecycle hook. If you want to query the details of a lifecycle hook, you can call the DescribeLifecycleActions operation. For example, you can query the execution status and ID of a lifecycle hook, along with the Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect. When you call this operation, you can specify parameters such as ScalingActivityId, LifecycleActionToken, and MaxResults to query the details of a lifecycle hook.
|
|
15005
15185
|
*
|
|
15006
15186
|
* @description If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
|
|
15007
15187
|
* * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
|
|
@@ -15054,7 +15234,7 @@ class Client extends openapi_client_1.default {
|
|
|
15054
15234
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
15055
15235
|
}
|
|
15056
15236
|
/**
|
|
15057
|
-
* @summary Queries lifecycle
|
|
15237
|
+
* @summary Queries the details of a lifecycle hook. If you want to query the details of a lifecycle hook, you can call the DescribeLifecycleActions operation. For example, you can query the execution status and ID of a lifecycle hook, along with the Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect. When you call this operation, you can specify parameters such as ScalingActivityId, LifecycleActionToken, and MaxResults to query the details of a lifecycle hook.
|
|
15058
15238
|
*
|
|
15059
15239
|
* @description If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
|
|
15060
15240
|
* * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
|
|
@@ -15070,7 +15250,7 @@ class Client extends openapi_client_1.default {
|
|
|
15070
15250
|
return await this.describeLifecycleActionsWithOptions(request, runtime);
|
|
15071
15251
|
}
|
|
15072
15252
|
/**
|
|
15073
|
-
* @summary Queries lifecycle hooks.
|
|
15253
|
+
* @summary Queries lifecycle hooks. If you want to check whether the configurations of your lifecycle hooks are correct or you want to query the details of multiple lifecycle hooks at the same time, you can call the DescribeLifecycleHooks operation. You can specify lifecycle hook IDs or scaling group IDs when you call this operation. This operation returns details such as the default actions, scaling activities, Alibaba Cloud Resource Names (ARNs) of notification recipients, and timeout periods of lifecycle hooks.
|
|
15074
15254
|
*
|
|
15075
15255
|
* @description You can use one of the following methods to query lifecycle hooks:
|
|
15076
15256
|
* * Specify a list of lifecycle hook IDs by using the LifecycleHookIds parameter. In this case, you do not need to specify the ScalingGroupId and LifecycleHookName parameters.
|
|
@@ -15128,7 +15308,7 @@ class Client extends openapi_client_1.default {
|
|
|
15128
15308
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
15129
15309
|
}
|
|
15130
15310
|
/**
|
|
15131
|
-
* @summary Queries lifecycle hooks.
|
|
15311
|
+
* @summary Queries lifecycle hooks. If you want to check whether the configurations of your lifecycle hooks are correct or you want to query the details of multiple lifecycle hooks at the same time, you can call the DescribeLifecycleHooks operation. You can specify lifecycle hook IDs or scaling group IDs when you call this operation. This operation returns details such as the default actions, scaling activities, Alibaba Cloud Resource Names (ARNs) of notification recipients, and timeout periods of lifecycle hooks.
|
|
15132
15312
|
*
|
|
15133
15313
|
* @description You can use one of the following methods to query lifecycle hooks:
|
|
15134
15314
|
* * Specify a list of lifecycle hook IDs by using the LifecycleHookIds parameter. In this case, you do not need to specify the ScalingGroupId and LifecycleHookName parameters.
|
|
@@ -15185,7 +15365,7 @@ class Client extends openapi_client_1.default {
|
|
|
15185
15365
|
return await this.describeLimitationWithOptions(request, runtime);
|
|
15186
15366
|
}
|
|
15187
15367
|
/**
|
|
15188
|
-
* @summary Queries event
|
|
15368
|
+
* @summary Queries notifications. If you want to learn about a notification regarding the status of a scaling event or resource changes, you can call the DescribeNotificationConfigurations operation. This operation enables you to retrieve notification details, analyze resource change data, and refine scaling policies to efficiently utilize resources and fulfill business needs.
|
|
15189
15369
|
*
|
|
15190
15370
|
* @param request DescribeNotificationConfigurationsRequest
|
|
15191
15371
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15223,7 +15403,7 @@ class Client extends openapi_client_1.default {
|
|
|
15223
15403
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
15224
15404
|
}
|
|
15225
15405
|
/**
|
|
15226
|
-
* @summary Queries event
|
|
15406
|
+
* @summary Queries notifications. If you want to learn about a notification regarding the status of a scaling event or resource changes, you can call the DescribeNotificationConfigurations operation. This operation enables you to retrieve notification details, analyze resource change data, and refine scaling policies to efficiently utilize resources and fulfill business needs.
|
|
15227
15407
|
*
|
|
15228
15408
|
* @param request DescribeNotificationConfigurationsRequest
|
|
15229
15409
|
* @return DescribeNotificationConfigurationsResponse
|
|
@@ -15233,7 +15413,7 @@ class Client extends openapi_client_1.default {
|
|
|
15233
15413
|
return await this.describeNotificationConfigurationsWithOptions(request, runtime);
|
|
15234
15414
|
}
|
|
15235
15415
|
/**
|
|
15236
|
-
* @summary Queries notification types.
|
|
15416
|
+
* @summary Queries notification types. You can call the DescribeNotificationTypes operation to query the types of notifications on scaling events or resource changes occurred in your scaling groups. Notifications are triggered in scenarios such as successful scale-out events, successful scale-in events, expiration of scheduled tasks, and partially successful scale-out events.
|
|
15237
15417
|
*
|
|
15238
15418
|
* @param request DescribeNotificationTypesRequest
|
|
15239
15419
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15265,7 +15445,7 @@ class Client extends openapi_client_1.default {
|
|
|
15265
15445
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
15266
15446
|
}
|
|
15267
15447
|
/**
|
|
15268
|
-
* @summary Queries notification types.
|
|
15448
|
+
* @summary Queries notification types. You can call the DescribeNotificationTypes operation to query the types of notifications on scaling events or resource changes occurred in your scaling groups. Notifications are triggered in scenarios such as successful scale-out events, successful scale-in events, expiration of scheduled tasks, and partially successful scale-out events.
|
|
15269
15449
|
*
|
|
15270
15450
|
* @param request DescribeNotificationTypesRequest
|
|
15271
15451
|
* @return DescribeNotificationTypesResponse
|
|
@@ -15433,7 +15613,7 @@ class Client extends openapi_client_1.default {
|
|
|
15433
15613
|
return await this.describeScalingActivitiesWithOptions(request, runtime);
|
|
15434
15614
|
}
|
|
15435
15615
|
/**
|
|
15436
|
-
* @summary Queries the details
|
|
15616
|
+
* @summary Queries the details of a scaling activity. The DescribeScalingActivityDetail operation enables you to access and monitor the details of a scaling activity, which is beneficial for troubleshooting and performance analysis purposes.
|
|
15437
15617
|
*
|
|
15438
15618
|
* @param request DescribeScalingActivityDetailRequest
|
|
15439
15619
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15471,7 +15651,7 @@ class Client extends openapi_client_1.default {
|
|
|
15471
15651
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
15472
15652
|
}
|
|
15473
15653
|
/**
|
|
15474
|
-
* @summary Queries the details
|
|
15654
|
+
* @summary Queries the details of a scaling activity. The DescribeScalingActivityDetail operation enables you to access and monitor the details of a scaling activity, which is beneficial for troubleshooting and performance analysis purposes.
|
|
15475
15655
|
*
|
|
15476
15656
|
* @param request DescribeScalingActivityDetailRequest
|
|
15477
15657
|
* @return DescribeScalingActivityDetailResponse
|
|
@@ -15670,7 +15850,7 @@ class Client extends openapi_client_1.default {
|
|
|
15670
15850
|
return await this.describeScalingGroupsWithOptions(request, runtime);
|
|
15671
15851
|
}
|
|
15672
15852
|
/**
|
|
15673
|
-
* @summary Queries the Elastic Compute Service (ECS) instances in a scaling group
|
|
15853
|
+
* @summary Queries the Elastic Compute Service (ECS) instances in a scaling group. If you want to flexibly filter ECS instances that meet the specified criteria and query the instance details, you can call the DescribeScalingInstances operation. This operation enables you to input custom parameters for precise query of ECS instances, helping you gain a clear understanding of the instance details and optimize scaling configurations.
|
|
15674
15854
|
*
|
|
15675
15855
|
* @param request DescribeScalingInstancesRequest
|
|
15676
15856
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15744,7 +15924,7 @@ class Client extends openapi_client_1.default {
|
|
|
15744
15924
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
15745
15925
|
}
|
|
15746
15926
|
/**
|
|
15747
|
-
* @summary Queries the Elastic Compute Service (ECS) instances in a scaling group
|
|
15927
|
+
* @summary Queries the Elastic Compute Service (ECS) instances in a scaling group. If you want to flexibly filter ECS instances that meet the specified criteria and query the instance details, you can call the DescribeScalingInstances operation. This operation enables you to input custom parameters for precise query of ECS instances, helping you gain a clear understanding of the instance details and optimize scaling configurations.
|
|
15748
15928
|
*
|
|
15749
15929
|
* @param request DescribeScalingInstancesRequest
|
|
15750
15930
|
* @return DescribeScalingInstancesResponse
|
|
@@ -15833,7 +16013,7 @@ class Client extends openapi_client_1.default {
|
|
|
15833
16013
|
return await this.describeScalingRulesWithOptions(request, runtime);
|
|
15834
16014
|
}
|
|
15835
16015
|
/**
|
|
15836
|
-
* @summary Queries scheduled tasks.
|
|
16016
|
+
* @summary Queries scheduled tasks. A scheduled task is a predefined task that triggers the automatic execution of a scaling rule at the specified point in time. It ensures an automatic scaling of computing resources to fulfill your business demands at a minimum cost. After you create a scheduled task, you can call the DescribeScheduledTasks operation to query the details of the task, such as the execution time point and the scaling group ID. You can also call this operation to query the total number of existing scheduled tasks.
|
|
15837
16017
|
*
|
|
15838
16018
|
* @description You can query scheduled tasks by scaling rule, task ID, or task name.
|
|
15839
16019
|
*
|
|
@@ -15894,7 +16074,7 @@ class Client extends openapi_client_1.default {
|
|
|
15894
16074
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
15895
16075
|
}
|
|
15896
16076
|
/**
|
|
15897
|
-
* @summary Queries scheduled tasks.
|
|
16077
|
+
* @summary Queries scheduled tasks. A scheduled task is a predefined task that triggers the automatic execution of a scaling rule at the specified point in time. It ensures an automatic scaling of computing resources to fulfill your business demands at a minimum cost. After you create a scheduled task, you can call the DescribeScheduledTasks operation to query the details of the task, such as the execution time point and the scaling group ID. You can also call this operation to query the total number of existing scheduled tasks.
|
|
15898
16078
|
*
|
|
15899
16079
|
* @description You can query scheduled tasks by scaling rule, task ID, or task name.
|
|
15900
16080
|
*
|
|
@@ -16023,16 +16203,18 @@ class Client extends openapi_client_1.default {
|
|
|
16023
16203
|
return await this.detachDBInstancesWithOptions(request, runtime);
|
|
16024
16204
|
}
|
|
16025
16205
|
/**
|
|
16026
|
-
* @summary Removes one or more Elastic Compute Service (ECS) instances
|
|
16206
|
+
* @summary Removes instances from a scaling group. If an enabled scaling group has no ongoing scaling activities, you can call the DetachInstances operation to remove one or more Elastic Compute Service (ECS) instances, elastic container instances, or Alibaba Cloud-hosted third-party instances from the scaling group.
|
|
16027
16207
|
*
|
|
16028
|
-
* @description
|
|
16029
|
-
*
|
|
16030
|
-
*
|
|
16031
|
-
*
|
|
16032
|
-
*
|
|
16033
|
-
*
|
|
16034
|
-
*
|
|
16035
|
-
*
|
|
16208
|
+
* @description * Before you call the DetachInstances operation, make sure that the following conditions are met:
|
|
16209
|
+
* * The specified scaling group is enabled.
|
|
16210
|
+
* * The specified scaling group does not have any ongoing scaling activities.
|
|
16211
|
+
* **
|
|
16212
|
+
* **Note** If the specified scaling group does not have any ongoing scaling activities, the operation can bypass the cooldown period of the scaling group and immediately trigger scaling activities.
|
|
16213
|
+
* * Before you call this operation, take note of the following items:
|
|
16214
|
+
* * The ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances that are removed from a scaling group by using this operation can run independently. If needed, you can call the [AttachInstances](https://help.aliyun.com/document_detail/25954.html) operation to re-add these instances to a scaling group.
|
|
16215
|
+
* * The ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances that are removed from a scaling group by using this operation are not stopped or released.
|
|
16216
|
+
* * A successful call only means that Auto Scaling accepts your request. Scaling activities can be triggered as expected, but their successful execution is not guaranteed. You can query the status of a scaling activity based on the ScalingActivityId response parameter.
|
|
16217
|
+
* * The removal of ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances must not result in the overall number of instances within the specified scaling group falling below the minimum capacity threshold (MinSize); otherwise, an error will be reported.
|
|
16036
16218
|
*
|
|
16037
16219
|
* @param request DetachInstancesRequest
|
|
16038
16220
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16091,16 +16273,18 @@ class Client extends openapi_client_1.default {
|
|
|
16091
16273
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
16092
16274
|
}
|
|
16093
16275
|
/**
|
|
16094
|
-
* @summary Removes one or more Elastic Compute Service (ECS) instances
|
|
16276
|
+
* @summary Removes instances from a scaling group. If an enabled scaling group has no ongoing scaling activities, you can call the DetachInstances operation to remove one or more Elastic Compute Service (ECS) instances, elastic container instances, or Alibaba Cloud-hosted third-party instances from the scaling group.
|
|
16095
16277
|
*
|
|
16096
|
-
* @description
|
|
16097
|
-
*
|
|
16098
|
-
*
|
|
16099
|
-
*
|
|
16100
|
-
*
|
|
16101
|
-
*
|
|
16102
|
-
*
|
|
16103
|
-
*
|
|
16278
|
+
* @description * Before you call the DetachInstances operation, make sure that the following conditions are met:
|
|
16279
|
+
* * The specified scaling group is enabled.
|
|
16280
|
+
* * The specified scaling group does not have any ongoing scaling activities.
|
|
16281
|
+
* **
|
|
16282
|
+
* **Note** If the specified scaling group does not have any ongoing scaling activities, the operation can bypass the cooldown period of the scaling group and immediately trigger scaling activities.
|
|
16283
|
+
* * Before you call this operation, take note of the following items:
|
|
16284
|
+
* * The ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances that are removed from a scaling group by using this operation can run independently. If needed, you can call the [AttachInstances](https://help.aliyun.com/document_detail/25954.html) operation to re-add these instances to a scaling group.
|
|
16285
|
+
* * The ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances that are removed from a scaling group by using this operation are not stopped or released.
|
|
16286
|
+
* * A successful call only means that Auto Scaling accepts your request. Scaling activities can be triggered as expected, but their successful execution is not guaranteed. You can query the status of a scaling activity based on the ScalingActivityId response parameter.
|
|
16287
|
+
* * The removal of ECS instances, elastic container instances, or Alibaba Cloud-hosted third-party instances must not result in the overall number of instances within the specified scaling group falling below the minimum capacity threshold (MinSize); otherwise, an error will be reported.
|
|
16104
16288
|
*
|
|
16105
16289
|
* @param request DetachInstancesRequest
|
|
16106
16290
|
* @return DetachInstancesResponse
|
|
@@ -16110,7 +16294,7 @@ class Client extends openapi_client_1.default {
|
|
|
16110
16294
|
return await this.detachInstancesWithOptions(request, runtime);
|
|
16111
16295
|
}
|
|
16112
16296
|
/**
|
|
16113
|
-
* @summary Detaches one or more
|
|
16297
|
+
* @summary Detaches Classic Load Balancer (CLB, formerly known as Server Load Balancer or SLB) instances from a scaling group. If the current CLB instance no longer meets your business requirements, you can call the DetachLoadBalancers operation to detach it from your scaling group. When you call this operation, you can use ScalingGroupId, LoadBalancer.N, and ForceDetach to specify one or more CLB instances to detach. You can also determine whether to call this operation asynchronously and whether to remove the Elastic Compute Service (ECS) instances acting as backend servers from the backend server groups of the CLB instance. You can call this operation to detach only CLB instances from a scaling group.
|
|
16114
16298
|
*
|
|
16115
16299
|
* @param request DetachLoadBalancersRequest
|
|
16116
16300
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16160,7 +16344,7 @@ class Client extends openapi_client_1.default {
|
|
|
16160
16344
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
16161
16345
|
}
|
|
16162
16346
|
/**
|
|
16163
|
-
* @summary Detaches one or more
|
|
16347
|
+
* @summary Detaches Classic Load Balancer (CLB, formerly known as Server Load Balancer or SLB) instances from a scaling group. If the current CLB instance no longer meets your business requirements, you can call the DetachLoadBalancers operation to detach it from your scaling group. When you call this operation, you can use ScalingGroupId, LoadBalancer.N, and ForceDetach to specify one or more CLB instances to detach. You can also determine whether to call this operation asynchronously and whether to remove the Elastic Compute Service (ECS) instances acting as backend servers from the backend server groups of the CLB instance. You can call this operation to detach only CLB instances from a scaling group.
|
|
16164
16348
|
*
|
|
16165
16349
|
* @param request DetachLoadBalancersRequest
|
|
16166
16350
|
* @return DetachLoadBalancersResponse
|
|
@@ -16609,7 +16793,7 @@ class Client extends openapi_client_1.default {
|
|
|
16609
16793
|
return await this.enterStandbyWithOptions(request, runtime);
|
|
16610
16794
|
}
|
|
16611
16795
|
/**
|
|
16612
|
-
* @summary Executes a scaling rule.
|
|
16796
|
+
* @summary Executes a scaling rule. To adjust the number of Elastic Compute Service (ECS) instances or elastic container instances, you can manually execute a scaling rule or enable Auto Scaling to execute a scaling rule. You can call the ExecuteScalingRule operation to execute simple scaling rules or step scaling rules. Auto Scaling automatically executes target tracking scaling rules and predictive scaling rules on your behalf without requiring explicit execution calls.
|
|
16613
16797
|
*
|
|
16614
16798
|
* @description Before you call this operation, take note of the following items:
|
|
16615
16799
|
* * The scaling group is in the Active state.
|
|
@@ -16671,7 +16855,7 @@ class Client extends openapi_client_1.default {
|
|
|
16671
16855
|
return $tea.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
16672
16856
|
}
|
|
16673
16857
|
/**
|
|
16674
|
-
* @summary Executes a scaling rule.
|
|
16858
|
+
* @summary Executes a scaling rule. To adjust the number of Elastic Compute Service (ECS) instances or elastic container instances, you can manually execute a scaling rule or enable Auto Scaling to execute a scaling rule. You can call the ExecuteScalingRule operation to execute simple scaling rules or step scaling rules. Auto Scaling automatically executes target tracking scaling rules and predictive scaling rules on your behalf without requiring explicit execution calls.
|
|
16675
16859
|
*
|
|
16676
16860
|
* @description Before you call this operation, take note of the following items:
|
|
16677
16861
|
* * The scaling group is in the Active state.
|
|
@@ -16690,10 +16874,13 @@ class Client extends openapi_client_1.default {
|
|
|
16690
16874
|
return await this.executeScalingRuleWithOptions(request, runtime);
|
|
16691
16875
|
}
|
|
16692
16876
|
/**
|
|
16693
|
-
* @summary
|
|
16877
|
+
* @summary Removes an instance from the Standby state. When a scale-in event is triggered in a scaling group, Auto Scaling does not remove Elastic Compute Service (ECS) instances or elastic container instances that are in the Standby state from the scaling group. If you want to restart the instances that are in the Standby state, you can call the ExitStandby operation to remove the instances from the Standby state and put them into the In Service state.
|
|
16694
16878
|
*
|
|
16695
|
-
* @description
|
|
16696
|
-
*
|
|
16879
|
+
* @description After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
|
|
16880
|
+
* * The ECS instances or elastic container instances enter the In Service state.
|
|
16881
|
+
* * The default weight of each ECS instance or elastic container instance as a backend server of the attached load balancer is 50.
|
|
16882
|
+
* * If you stop or restart the ECS instances or elastic container instances, the health check status of the instances will be updated.
|
|
16883
|
+
* * When a scale-in event is triggered, Auto Scaling may remove the ECS instances or elastic container instances from the scaling group.
|
|
16697
16884
|
*
|
|
16698
16885
|
* @param request ExitStandbyRequest
|
|
16699
16886
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16740,10 +16927,13 @@ class Client extends openapi_client_1.default {
|
|
|
16740
16927
|
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
16741
16928
|
}
|
|
16742
16929
|
/**
|
|
16743
|
-
* @summary
|
|
16930
|
+
* @summary Removes an instance from the Standby state. When a scale-in event is triggered in a scaling group, Auto Scaling does not remove Elastic Compute Service (ECS) instances or elastic container instances that are in the Standby state from the scaling group. If you want to restart the instances that are in the Standby state, you can call the ExitStandby operation to remove the instances from the Standby state and put them into the In Service state.
|
|
16744
16931
|
*
|
|
16745
|
-
* @description
|
|
16746
|
-
*
|
|
16932
|
+
* @description After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
|
|
16933
|
+
* * The ECS instances or elastic container instances enter the In Service state.
|
|
16934
|
+
* * The default weight of each ECS instance or elastic container instance as a backend server of the attached load balancer is 50.
|
|
16935
|
+
* * If you stop or restart the ECS instances or elastic container instances, the health check status of the instances will be updated.
|
|
16936
|
+
* * When a scale-in event is triggered, Auto Scaling may remove the ECS instances or elastic container instances from the scaling group.
|
|
16747
16937
|
*
|
|
16748
16938
|
* @param request ExitStandbyRequest
|
|
16749
16939
|
* @return ExitStandbyResponse
|
|
@@ -17031,6 +17221,57 @@ class Client extends openapi_client_1.default {
|
|
|
17031
17221
|
let runtime = new $Util.RuntimeOptions({});
|
|
17032
17222
|
return await this.modifyAlarmWithOptions(request, runtime);
|
|
17033
17223
|
}
|
|
17224
|
+
/**
|
|
17225
|
+
* @summary Sets the status of scaling activities that prompt text message or email notifications.
|
|
17226
|
+
*
|
|
17227
|
+
* @param request ModifyAlertConfigurationRequest
|
|
17228
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17229
|
+
* @return ModifyAlertConfigurationResponse
|
|
17230
|
+
*/
|
|
17231
|
+
async modifyAlertConfigurationWithOptions(request, runtime) {
|
|
17232
|
+
tea_util_1.default.validateModel(request);
|
|
17233
|
+
let query = {};
|
|
17234
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17235
|
+
query["OwnerId"] = request.ownerId;
|
|
17236
|
+
}
|
|
17237
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
17238
|
+
query["RegionId"] = request.regionId;
|
|
17239
|
+
}
|
|
17240
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
17241
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
17242
|
+
}
|
|
17243
|
+
if (!tea_util_1.default.isUnset(request.scaleStatuses)) {
|
|
17244
|
+
query["ScaleStatuses"] = request.scaleStatuses;
|
|
17245
|
+
}
|
|
17246
|
+
if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
|
|
17247
|
+
query["ScalingGroupId"] = request.scalingGroupId;
|
|
17248
|
+
}
|
|
17249
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17250
|
+
query: openapi_util_1.default.query(query),
|
|
17251
|
+
});
|
|
17252
|
+
let params = new $OpenApi.Params({
|
|
17253
|
+
action: "ModifyAlertConfiguration",
|
|
17254
|
+
version: "2022-02-22",
|
|
17255
|
+
protocol: "HTTPS",
|
|
17256
|
+
pathname: "/",
|
|
17257
|
+
method: "POST",
|
|
17258
|
+
authType: "AK",
|
|
17259
|
+
style: "RPC",
|
|
17260
|
+
reqBodyType: "formData",
|
|
17261
|
+
bodyType: "json",
|
|
17262
|
+
});
|
|
17263
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
17264
|
+
}
|
|
17265
|
+
/**
|
|
17266
|
+
* @summary Sets the status of scaling activities that prompt text message or email notifications.
|
|
17267
|
+
*
|
|
17268
|
+
* @param request ModifyAlertConfigurationRequest
|
|
17269
|
+
* @return ModifyAlertConfigurationResponse
|
|
17270
|
+
*/
|
|
17271
|
+
async modifyAlertConfiguration(request) {
|
|
17272
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17273
|
+
return await this.modifyAlertConfigurationWithOptions(request, runtime);
|
|
17274
|
+
}
|
|
17034
17275
|
/**
|
|
17035
17276
|
* @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
|
|
17036
17277
|
*
|
|
@@ -17276,11 +17517,11 @@ class Client extends openapi_client_1.default {
|
|
|
17276
17517
|
return await this.modifyInstanceAttributeWithOptions(request, runtime);
|
|
17277
17518
|
}
|
|
17278
17519
|
/**
|
|
17279
|
-
* @summary Modifies a lifecycle hook.
|
|
17520
|
+
* @summary Modifies a lifecycle hook. If an existing lifecycle hook does not meet your business requirements anymore, you can call the ModifyLifecycleHook operation to modify the information such as the scaling event, timeout period, and default action of the lifecycle hook. Before you modify a lifecycle hook, you can locate the lifecycle hook by its ID, name, or scaling group.
|
|
17280
17521
|
*
|
|
17281
|
-
* @description You can use one of the following methods to
|
|
17282
|
-
* * Specify
|
|
17283
|
-
* * Specify
|
|
17522
|
+
* @description You can use one of the following methods to locate the lifecycle hook that you want to modify:
|
|
17523
|
+
* * Specify LifecycleHookId. In this case, ScalingGroupId and LifecycleHookName are ignored.
|
|
17524
|
+
* * Specify ScalingGroupId and LifecycleHookName. Each lifecycle hook within a scaling group has a unique name.
|
|
17284
17525
|
*
|
|
17285
17526
|
* @param request ModifyLifecycleHookRequest
|
|
17286
17527
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17345,11 +17586,11 @@ class Client extends openapi_client_1.default {
|
|
|
17345
17586
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
17346
17587
|
}
|
|
17347
17588
|
/**
|
|
17348
|
-
* @summary Modifies a lifecycle hook.
|
|
17589
|
+
* @summary Modifies a lifecycle hook. If an existing lifecycle hook does not meet your business requirements anymore, you can call the ModifyLifecycleHook operation to modify the information such as the scaling event, timeout period, and default action of the lifecycle hook. Before you modify a lifecycle hook, you can locate the lifecycle hook by its ID, name, or scaling group.
|
|
17349
17590
|
*
|
|
17350
|
-
* @description You can use one of the following methods to
|
|
17351
|
-
* * Specify
|
|
17352
|
-
* * Specify
|
|
17591
|
+
* @description You can use one of the following methods to locate the lifecycle hook that you want to modify:
|
|
17592
|
+
* * Specify LifecycleHookId. In this case, ScalingGroupId and LifecycleHookName are ignored.
|
|
17593
|
+
* * Specify ScalingGroupId and LifecycleHookName. Each lifecycle hook within a scaling group has a unique name.
|
|
17353
17594
|
*
|
|
17354
17595
|
* @param request ModifyLifecycleHookRequest
|
|
17355
17596
|
* @return ModifyLifecycleHookResponse
|
|
@@ -17359,7 +17600,7 @@ class Client extends openapi_client_1.default {
|
|
|
17359
17600
|
return await this.modifyLifecycleHookWithOptions(request, runtime);
|
|
17360
17601
|
}
|
|
17361
17602
|
/**
|
|
17362
|
-
* @summary Modifies a notification.
|
|
17603
|
+
* @summary Modifies event notification rules. Event notification rules support automatic sending of notifications to CloudMonitor, Message Service (MNS) topics, or MNS queues when a specified type of events occur. This helps you learn about the dynamics of your scaling group at the earliest opportunity and further automate resource management. If an existing event notification rule does not meet your business requirements, you can call the ModifyNotificationConfiguration operation to modify the event notification rule, without the need to create a new rule. Take not that you cannot modify the notification method of an event notification rule by calling this operation.
|
|
17363
17604
|
*
|
|
17364
17605
|
* @param request ModifyNotificationConfigurationRequest
|
|
17365
17606
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17403,7 +17644,7 @@ class Client extends openapi_client_1.default {
|
|
|
17403
17644
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
17404
17645
|
}
|
|
17405
17646
|
/**
|
|
17406
|
-
* @summary Modifies a notification.
|
|
17647
|
+
* @summary Modifies event notification rules. Event notification rules support automatic sending of notifications to CloudMonitor, Message Service (MNS) topics, or MNS queues when a specified type of events occur. This helps you learn about the dynamics of your scaling group at the earliest opportunity and further automate resource management. If an existing event notification rule does not meet your business requirements, you can call the ModifyNotificationConfiguration operation to modify the event notification rule, without the need to create a new rule. Take not that you cannot modify the notification method of an event notification rule by calling this operation.
|
|
17407
17648
|
*
|
|
17408
17649
|
* @param request ModifyNotificationConfigurationRequest
|
|
17409
17650
|
* @return ModifyNotificationConfigurationResponse
|
|
@@ -17519,6 +17760,9 @@ class Client extends openapi_client_1.default {
|
|
|
17519
17760
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
17520
17761
|
query["OwnerId"] = request.ownerId;
|
|
17521
17762
|
}
|
|
17763
|
+
if (!tea_util_1.default.isUnset(request.password)) {
|
|
17764
|
+
query["Password"] = request.password;
|
|
17765
|
+
}
|
|
17522
17766
|
if (!tea_util_1.default.isUnset(request.passwordInherit)) {
|
|
17523
17767
|
query["PasswordInherit"] = request.passwordInherit;
|
|
17524
17768
|
}
|
|
@@ -17777,7 +18021,7 @@ class Client extends openapi_client_1.default {
|
|
|
17777
18021
|
return await this.modifyScalingGroupWithOptions(request, runtime);
|
|
17778
18022
|
}
|
|
17779
18023
|
/**
|
|
17780
|
-
* @summary Modifies a scaling rule.
|
|
18024
|
+
* @summary Modifies a scaling rule. If an existing scaling rule cannot meet your business requirements, you can call the ModifyScalingRule operation to modify the scaling rule, without the need to create a new one. This streamlines your workflow, enhancing operational efficiency while also contributing to cost optimization by avoiding redundant steps.
|
|
17781
18025
|
*
|
|
17782
18026
|
* @param request ModifyScalingRuleRequest
|
|
17783
18027
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17872,7 +18116,7 @@ class Client extends openapi_client_1.default {
|
|
|
17872
18116
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
17873
18117
|
}
|
|
17874
18118
|
/**
|
|
17875
|
-
* @summary Modifies a scaling rule.
|
|
18119
|
+
* @summary Modifies a scaling rule. If an existing scaling rule cannot meet your business requirements, you can call the ModifyScalingRule operation to modify the scaling rule, without the need to create a new one. This streamlines your workflow, enhancing operational efficiency while also contributing to cost optimization by avoiding redundant steps.
|
|
17876
18120
|
*
|
|
17877
18121
|
* @param request ModifyScalingRuleRequest
|
|
17878
18122
|
* @return ModifyScalingRuleResponse
|
|
@@ -17882,7 +18126,7 @@ class Client extends openapi_client_1.default {
|
|
|
17882
18126
|
return await this.modifyScalingRuleWithOptions(request, runtime);
|
|
17883
18127
|
}
|
|
17884
18128
|
/**
|
|
17885
|
-
* @summary Modifies a scheduled task.
|
|
18129
|
+
* @summary Modifies a scheduled task. If an existing scheduled task cannot meet your business requirements, you can call the ModifyScheduledTask operation to adjust its parameter settings including the scaling rule to execute and the boundary values of your scaling group, without the need to create a new scheduled task. This operation provides a flexible way to optimize scheduled tasks.
|
|
17886
18130
|
*
|
|
17887
18131
|
* @description You can use the following parameters to specify the scaling method of a scheduled task:
|
|
17888
18132
|
* * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
|
|
@@ -17967,7 +18211,7 @@ class Client extends openapi_client_1.default {
|
|
|
17967
18211
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
17968
18212
|
}
|
|
17969
18213
|
/**
|
|
17970
|
-
* @summary Modifies a scheduled task.
|
|
18214
|
+
* @summary Modifies a scheduled task. If an existing scheduled task cannot meet your business requirements, you can call the ModifyScheduledTask operation to adjust its parameter settings including the scaling rule to execute and the boundary values of your scaling group, without the need to create a new scheduled task. This operation provides a flexible way to optimize scheduled tasks.
|
|
17971
18215
|
*
|
|
17972
18216
|
* @description You can use the following parameters to specify the scaling method of a scheduled task:
|
|
17973
18217
|
* * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
|
|
@@ -18052,9 +18296,10 @@ class Client extends openapi_client_1.default {
|
|
|
18052
18296
|
return await this.rebalanceInstancesWithOptions(request, runtime);
|
|
18053
18297
|
}
|
|
18054
18298
|
/**
|
|
18055
|
-
* @summary
|
|
18299
|
+
* @summary Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
|
|
18056
18300
|
*
|
|
18057
|
-
* @description You can call this operation
|
|
18301
|
+
* @description You can call this operation only when the desired ECS instance enters a Pending state.\\
|
|
18302
|
+
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in a Pending state up to 20 times.
|
|
18058
18303
|
*
|
|
18059
18304
|
* @param request RecordLifecycleActionHeartbeatRequest
|
|
18060
18305
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18101,9 +18346,10 @@ class Client extends openapi_client_1.default {
|
|
|
18101
18346
|
return $tea.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
18102
18347
|
}
|
|
18103
18348
|
/**
|
|
18104
|
-
* @summary
|
|
18349
|
+
* @summary Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
|
|
18105
18350
|
*
|
|
18106
|
-
* @description You can call this operation
|
|
18351
|
+
* @description You can call this operation only when the desired ECS instance enters a Pending state.\\
|
|
18352
|
+
* An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in a Pending state up to 20 times.
|
|
18107
18353
|
*
|
|
18108
18354
|
* @param request RecordLifecycleActionHeartbeatRequest
|
|
18109
18355
|
* @return RecordLifecycleActionHeartbeatResponse
|