@alicloud/ess20220222 1.5.2 → 1.6.0

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.js CHANGED
@@ -26,19 +26,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
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.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;
29
+ 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.CancelInstanceRefreshResponse = exports.CancelInstanceRefreshResponseBody = exports.CancelInstanceRefreshRequest = 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.DescribeInstanceRefreshesResponse = exports.DescribeInstanceRefreshesResponseBody = exports.DescribeInstanceRefreshesRequest = 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 = exports.CreateScalingRuleRequest = exports.CreateScalingGroupResponse = exports.CreateScalingGroupResponseBody = void 0;
31
+ 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 = exports.DescribeLifecycleHooksResponse = exports.DescribeLifecycleHooksResponseBody = exports.DescribeLifecycleHooksRequest = exports.DescribeLifecycleActionsResponse = exports.DescribeLifecycleActionsResponseBody = exports.DescribeLifecycleActionsRequest = void 0;
32
+ 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 = exports.DetachLoadBalancersResponseBody = exports.DetachLoadBalancersRequest = exports.DetachInstancesResponse = exports.DetachInstancesResponseBody = exports.DetachInstancesRequest = exports.DetachDBInstancesResponse = void 0;
33
+ exports.SetInstanceHealthRequest = exports.SetGroupDeletionProtectionResponse = exports.SetGroupDeletionProtectionResponseBody = exports.SetGroupDeletionProtectionRequest = exports.ScaleWithAdjustmentResponse = exports.ScaleWithAdjustmentResponseBody = exports.ScaleWithAdjustmentShrinkRequest = exports.ScaleWithAdjustmentRequest = exports.RollbackInstanceRefreshResponse = exports.RollbackInstanceRefreshResponseBody = exports.RollbackInstanceRefreshRequest = exports.ResumeProcessesResponse = exports.ResumeProcessesResponseBody = exports.ResumeProcessesRequest = exports.ResumeInstanceRefreshResponse = exports.ResumeInstanceRefreshResponseBody = exports.ResumeInstanceRefreshRequest = 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 = exports.ModifyLifecycleHookRequest = exports.ModifyInstanceAttributeResponse = exports.ModifyInstanceAttributeResponseBody = exports.ModifyInstanceAttributeRequest = exports.ModifyEciScalingConfigurationResponse = exports.ModifyEciScalingConfigurationResponseBody = void 0;
34
+ 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 = exports.UntagResourcesRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SuspendProcessesResponse = exports.SuspendProcessesResponseBody = exports.SuspendProcessesRequest = exports.SuspendInstanceRefreshResponse = exports.SuspendInstanceRefreshResponseBody = exports.SuspendInstanceRefreshRequest = exports.StartInstanceRefreshResponse = exports.StartInstanceRefreshResponseBody = exports.StartInstanceRefreshRequest = exports.SetInstancesProtectionResponse = exports.SetInstancesProtectionResponseBody = exports.SetInstancesProtectionRequest = exports.SetInstanceHealthResponse = exports.SetInstanceHealthResponseBody = void 0;
35
+ 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 = 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 = void 0;
36
+ 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.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks = exports.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration = 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 = 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 = void 0;
37
+ 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 = 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 = void 0;
38
+ exports.TagResourcesRequestTags = exports.StartInstanceRefreshRequestDesiredConfiguration = 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 = 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 = void 0;
39
39
  // This file is auto-generated, don't edit it
40
40
  /**
41
- *
42
41
  */
43
42
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
44
43
  const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
@@ -571,6 +570,66 @@ class AttachVServerGroupsResponse extends $tea.Model {
571
570
  }
572
571
  }
573
572
  exports.AttachVServerGroupsResponse = AttachVServerGroupsResponse;
573
+ class CancelInstanceRefreshRequest extends $tea.Model {
574
+ static names() {
575
+ return {
576
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
577
+ ownerId: 'OwnerId',
578
+ regionId: 'RegionId',
579
+ resourceOwnerAccount: 'ResourceOwnerAccount',
580
+ scalingGroupId: 'ScalingGroupId',
581
+ };
582
+ }
583
+ static types() {
584
+ return {
585
+ instanceRefreshTaskId: 'string',
586
+ ownerId: 'number',
587
+ regionId: 'string',
588
+ resourceOwnerAccount: 'string',
589
+ scalingGroupId: 'string',
590
+ };
591
+ }
592
+ constructor(map) {
593
+ super(map);
594
+ }
595
+ }
596
+ exports.CancelInstanceRefreshRequest = CancelInstanceRefreshRequest;
597
+ class CancelInstanceRefreshResponseBody extends $tea.Model {
598
+ static names() {
599
+ return {
600
+ requestId: 'RequestId',
601
+ };
602
+ }
603
+ static types() {
604
+ return {
605
+ requestId: 'string',
606
+ };
607
+ }
608
+ constructor(map) {
609
+ super(map);
610
+ }
611
+ }
612
+ exports.CancelInstanceRefreshResponseBody = CancelInstanceRefreshResponseBody;
613
+ class CancelInstanceRefreshResponse extends $tea.Model {
614
+ static names() {
615
+ return {
616
+ headers: 'headers',
617
+ statusCode: 'statusCode',
618
+ body: 'body',
619
+ };
620
+ }
621
+ static types() {
622
+ return {
623
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
624
+ statusCode: 'number',
625
+ body: CancelInstanceRefreshResponseBody,
626
+ };
627
+ }
628
+ constructor(map) {
629
+ super(map);
630
+ }
631
+ }
632
+ exports.CancelInstanceRefreshResponse = CancelInstanceRefreshResponse;
574
633
  class ChangeResourceGroupRequest extends $tea.Model {
575
634
  static names() {
576
635
  return {
@@ -1020,6 +1079,7 @@ class CreateNotificationConfigurationRequest extends $tea.Model {
1020
1079
  regionId: 'RegionId',
1021
1080
  resourceOwnerAccount: 'ResourceOwnerAccount',
1022
1081
  scalingGroupId: 'ScalingGroupId',
1082
+ timeZone: 'TimeZone',
1023
1083
  };
1024
1084
  }
1025
1085
  static types() {
@@ -1030,6 +1090,7 @@ class CreateNotificationConfigurationRequest extends $tea.Model {
1030
1090
  regionId: 'string',
1031
1091
  resourceOwnerAccount: 'string',
1032
1092
  scalingGroupId: 'string',
1093
+ timeZone: 'string',
1033
1094
  };
1034
1095
  }
1035
1096
  constructor(map) {
@@ -2519,6 +2580,82 @@ class DescribeEciScalingConfigurationsResponse extends $tea.Model {
2519
2580
  }
2520
2581
  }
2521
2582
  exports.DescribeEciScalingConfigurationsResponse = DescribeEciScalingConfigurationsResponse;
2583
+ class DescribeInstanceRefreshesRequest extends $tea.Model {
2584
+ static names() {
2585
+ return {
2586
+ instanceRefreshTaskIds: 'InstanceRefreshTaskIds',
2587
+ maxResults: 'MaxResults',
2588
+ nextToken: 'NextToken',
2589
+ ownerAccount: 'OwnerAccount',
2590
+ ownerId: 'OwnerId',
2591
+ regionId: 'RegionId',
2592
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2593
+ resourceOwnerId: 'ResourceOwnerId',
2594
+ scalingGroupId: 'ScalingGroupId',
2595
+ };
2596
+ }
2597
+ static types() {
2598
+ return {
2599
+ instanceRefreshTaskIds: { 'type': 'array', 'itemType': 'string' },
2600
+ maxResults: 'number',
2601
+ nextToken: 'string',
2602
+ ownerAccount: 'string',
2603
+ ownerId: 'number',
2604
+ regionId: 'string',
2605
+ resourceOwnerAccount: 'string',
2606
+ resourceOwnerId: 'number',
2607
+ scalingGroupId: 'string',
2608
+ };
2609
+ }
2610
+ constructor(map) {
2611
+ super(map);
2612
+ }
2613
+ }
2614
+ exports.DescribeInstanceRefreshesRequest = DescribeInstanceRefreshesRequest;
2615
+ class DescribeInstanceRefreshesResponseBody extends $tea.Model {
2616
+ static names() {
2617
+ return {
2618
+ instanceRefreshTasks: 'InstanceRefreshTasks',
2619
+ maxResults: 'MaxResults',
2620
+ nextToken: 'NextToken',
2621
+ requestId: 'RequestId',
2622
+ totalCount: 'TotalCount',
2623
+ };
2624
+ }
2625
+ static types() {
2626
+ return {
2627
+ instanceRefreshTasks: { 'type': 'array', 'itemType': DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks },
2628
+ maxResults: 'number',
2629
+ nextToken: 'string',
2630
+ requestId: 'string',
2631
+ totalCount: 'number',
2632
+ };
2633
+ }
2634
+ constructor(map) {
2635
+ super(map);
2636
+ }
2637
+ }
2638
+ exports.DescribeInstanceRefreshesResponseBody = DescribeInstanceRefreshesResponseBody;
2639
+ class DescribeInstanceRefreshesResponse extends $tea.Model {
2640
+ static names() {
2641
+ return {
2642
+ headers: 'headers',
2643
+ statusCode: 'statusCode',
2644
+ body: 'body',
2645
+ };
2646
+ }
2647
+ static types() {
2648
+ return {
2649
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2650
+ statusCode: 'number',
2651
+ body: DescribeInstanceRefreshesResponseBody,
2652
+ };
2653
+ }
2654
+ constructor(map) {
2655
+ super(map);
2656
+ }
2657
+ }
2658
+ exports.DescribeInstanceRefreshesResponse = DescribeInstanceRefreshesResponse;
2522
2659
  class DescribeLifecycleActionsRequest extends $tea.Model {
2523
2660
  static names() {
2524
2661
  return {
@@ -3038,6 +3175,7 @@ exports.DescribeRegionsResponse = DescribeRegionsResponse;
3038
3175
  class DescribeScalingActivitiesRequest extends $tea.Model {
3039
3176
  static names() {
3040
3177
  return {
3178
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
3041
3179
  ownerAccount: 'OwnerAccount',
3042
3180
  ownerId: 'OwnerId',
3043
3181
  pageNumber: 'PageNumber',
@@ -3052,6 +3190,7 @@ class DescribeScalingActivitiesRequest extends $tea.Model {
3052
3190
  }
3053
3191
  static types() {
3054
3192
  return {
3193
+ instanceRefreshTaskId: 'string',
3055
3194
  ownerAccount: 'string',
3056
3195
  ownerId: 'number',
3057
3196
  pageNumber: 'number',
@@ -5170,6 +5309,7 @@ class ModifyNotificationConfigurationRequest extends $tea.Model {
5170
5309
  regionId: 'RegionId',
5171
5310
  resourceOwnerAccount: 'ResourceOwnerAccount',
5172
5311
  scalingGroupId: 'ScalingGroupId',
5312
+ timeZone: 'TimeZone',
5173
5313
  };
5174
5314
  }
5175
5315
  static types() {
@@ -5180,6 +5320,7 @@ class ModifyNotificationConfigurationRequest extends $tea.Model {
5180
5320
  regionId: 'string',
5181
5321
  resourceOwnerAccount: 'string',
5182
5322
  scalingGroupId: 'string',
5323
+ timeZone: 'string',
5183
5324
  };
5184
5325
  }
5185
5326
  constructor(map) {
@@ -6001,6 +6142,66 @@ class RemoveInstancesResponse extends $tea.Model {
6001
6142
  }
6002
6143
  }
6003
6144
  exports.RemoveInstancesResponse = RemoveInstancesResponse;
6145
+ class ResumeInstanceRefreshRequest extends $tea.Model {
6146
+ static names() {
6147
+ return {
6148
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
6149
+ ownerId: 'OwnerId',
6150
+ regionId: 'RegionId',
6151
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6152
+ scalingGroupId: 'ScalingGroupId',
6153
+ };
6154
+ }
6155
+ static types() {
6156
+ return {
6157
+ instanceRefreshTaskId: 'string',
6158
+ ownerId: 'number',
6159
+ regionId: 'string',
6160
+ resourceOwnerAccount: 'string',
6161
+ scalingGroupId: 'string',
6162
+ };
6163
+ }
6164
+ constructor(map) {
6165
+ super(map);
6166
+ }
6167
+ }
6168
+ exports.ResumeInstanceRefreshRequest = ResumeInstanceRefreshRequest;
6169
+ class ResumeInstanceRefreshResponseBody extends $tea.Model {
6170
+ static names() {
6171
+ return {
6172
+ requestId: 'RequestId',
6173
+ };
6174
+ }
6175
+ static types() {
6176
+ return {
6177
+ requestId: 'string',
6178
+ };
6179
+ }
6180
+ constructor(map) {
6181
+ super(map);
6182
+ }
6183
+ }
6184
+ exports.ResumeInstanceRefreshResponseBody = ResumeInstanceRefreshResponseBody;
6185
+ class ResumeInstanceRefreshResponse extends $tea.Model {
6186
+ static names() {
6187
+ return {
6188
+ headers: 'headers',
6189
+ statusCode: 'statusCode',
6190
+ body: 'body',
6191
+ };
6192
+ }
6193
+ static types() {
6194
+ return {
6195
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6196
+ statusCode: 'number',
6197
+ body: ResumeInstanceRefreshResponseBody,
6198
+ };
6199
+ }
6200
+ constructor(map) {
6201
+ super(map);
6202
+ }
6203
+ }
6204
+ exports.ResumeInstanceRefreshResponse = ResumeInstanceRefreshResponse;
6004
6205
  class ResumeProcessesRequest extends $tea.Model {
6005
6206
  static names() {
6006
6207
  return {
@@ -6063,6 +6264,66 @@ class ResumeProcessesResponse extends $tea.Model {
6063
6264
  }
6064
6265
  }
6065
6266
  exports.ResumeProcessesResponse = ResumeProcessesResponse;
6267
+ class RollbackInstanceRefreshRequest extends $tea.Model {
6268
+ static names() {
6269
+ return {
6270
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
6271
+ ownerId: 'OwnerId',
6272
+ regionId: 'RegionId',
6273
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6274
+ scalingGroupId: 'ScalingGroupId',
6275
+ };
6276
+ }
6277
+ static types() {
6278
+ return {
6279
+ instanceRefreshTaskId: 'string',
6280
+ ownerId: 'number',
6281
+ regionId: 'string',
6282
+ resourceOwnerAccount: 'string',
6283
+ scalingGroupId: 'string',
6284
+ };
6285
+ }
6286
+ constructor(map) {
6287
+ super(map);
6288
+ }
6289
+ }
6290
+ exports.RollbackInstanceRefreshRequest = RollbackInstanceRefreshRequest;
6291
+ class RollbackInstanceRefreshResponseBody extends $tea.Model {
6292
+ static names() {
6293
+ return {
6294
+ requestId: 'RequestId',
6295
+ };
6296
+ }
6297
+ static types() {
6298
+ return {
6299
+ requestId: 'string',
6300
+ };
6301
+ }
6302
+ constructor(map) {
6303
+ super(map);
6304
+ }
6305
+ }
6306
+ exports.RollbackInstanceRefreshResponseBody = RollbackInstanceRefreshResponseBody;
6307
+ class RollbackInstanceRefreshResponse extends $tea.Model {
6308
+ static names() {
6309
+ return {
6310
+ headers: 'headers',
6311
+ statusCode: 'statusCode',
6312
+ body: 'body',
6313
+ };
6314
+ }
6315
+ static types() {
6316
+ return {
6317
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6318
+ statusCode: 'number',
6319
+ body: RollbackInstanceRefreshResponseBody,
6320
+ };
6321
+ }
6322
+ constructor(map) {
6323
+ super(map);
6324
+ }
6325
+ }
6326
+ exports.RollbackInstanceRefreshResponse = RollbackInstanceRefreshResponse;
6066
6327
  class ScaleWithAdjustmentRequest extends $tea.Model {
6067
6328
  static names() {
6068
6329
  return {
@@ -6353,6 +6614,134 @@ class SetInstancesProtectionResponse extends $tea.Model {
6353
6614
  }
6354
6615
  }
6355
6616
  exports.SetInstancesProtectionResponse = SetInstancesProtectionResponse;
6617
+ class StartInstanceRefreshRequest extends $tea.Model {
6618
+ static names() {
6619
+ return {
6620
+ clientToken: 'ClientToken',
6621
+ desiredConfiguration: 'DesiredConfiguration',
6622
+ maxHealthyPercentage: 'MaxHealthyPercentage',
6623
+ minHealthyPercentage: 'MinHealthyPercentage',
6624
+ ownerId: 'OwnerId',
6625
+ regionId: 'RegionId',
6626
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6627
+ scalingGroupId: 'ScalingGroupId',
6628
+ };
6629
+ }
6630
+ static types() {
6631
+ return {
6632
+ clientToken: 'string',
6633
+ desiredConfiguration: StartInstanceRefreshRequestDesiredConfiguration,
6634
+ maxHealthyPercentage: 'number',
6635
+ minHealthyPercentage: 'number',
6636
+ ownerId: 'number',
6637
+ regionId: 'string',
6638
+ resourceOwnerAccount: 'string',
6639
+ scalingGroupId: 'string',
6640
+ };
6641
+ }
6642
+ constructor(map) {
6643
+ super(map);
6644
+ }
6645
+ }
6646
+ exports.StartInstanceRefreshRequest = StartInstanceRefreshRequest;
6647
+ class StartInstanceRefreshResponseBody extends $tea.Model {
6648
+ static names() {
6649
+ return {
6650
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
6651
+ requestId: 'RequestId',
6652
+ };
6653
+ }
6654
+ static types() {
6655
+ return {
6656
+ instanceRefreshTaskId: 'string',
6657
+ requestId: 'string',
6658
+ };
6659
+ }
6660
+ constructor(map) {
6661
+ super(map);
6662
+ }
6663
+ }
6664
+ exports.StartInstanceRefreshResponseBody = StartInstanceRefreshResponseBody;
6665
+ class StartInstanceRefreshResponse extends $tea.Model {
6666
+ static names() {
6667
+ return {
6668
+ headers: 'headers',
6669
+ statusCode: 'statusCode',
6670
+ body: 'body',
6671
+ };
6672
+ }
6673
+ static types() {
6674
+ return {
6675
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6676
+ statusCode: 'number',
6677
+ body: StartInstanceRefreshResponseBody,
6678
+ };
6679
+ }
6680
+ constructor(map) {
6681
+ super(map);
6682
+ }
6683
+ }
6684
+ exports.StartInstanceRefreshResponse = StartInstanceRefreshResponse;
6685
+ class SuspendInstanceRefreshRequest extends $tea.Model {
6686
+ static names() {
6687
+ return {
6688
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
6689
+ ownerId: 'OwnerId',
6690
+ regionId: 'RegionId',
6691
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6692
+ scalingGroupId: 'ScalingGroupId',
6693
+ };
6694
+ }
6695
+ static types() {
6696
+ return {
6697
+ instanceRefreshTaskId: 'string',
6698
+ ownerId: 'number',
6699
+ regionId: 'string',
6700
+ resourceOwnerAccount: 'string',
6701
+ scalingGroupId: 'string',
6702
+ };
6703
+ }
6704
+ constructor(map) {
6705
+ super(map);
6706
+ }
6707
+ }
6708
+ exports.SuspendInstanceRefreshRequest = SuspendInstanceRefreshRequest;
6709
+ class SuspendInstanceRefreshResponseBody extends $tea.Model {
6710
+ static names() {
6711
+ return {
6712
+ requestId: 'RequestId',
6713
+ };
6714
+ }
6715
+ static types() {
6716
+ return {
6717
+ requestId: 'string',
6718
+ };
6719
+ }
6720
+ constructor(map) {
6721
+ super(map);
6722
+ }
6723
+ }
6724
+ exports.SuspendInstanceRefreshResponseBody = SuspendInstanceRefreshResponseBody;
6725
+ class SuspendInstanceRefreshResponse extends $tea.Model {
6726
+ static names() {
6727
+ return {
6728
+ headers: 'headers',
6729
+ statusCode: 'statusCode',
6730
+ body: 'body',
6731
+ };
6732
+ }
6733
+ static types() {
6734
+ return {
6735
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6736
+ statusCode: 'number',
6737
+ body: SuspendInstanceRefreshResponseBody,
6738
+ };
6739
+ }
6740
+ constructor(map) {
6741
+ super(map);
6742
+ }
6743
+ }
6744
+ exports.SuspendInstanceRefreshResponse = SuspendInstanceRefreshResponse;
6356
6745
  class SuspendProcessesRequest extends $tea.Model {
6357
6746
  static names() {
6358
6747
  return {
@@ -9524,7 +9913,63 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
9524
9913
  super(map);
9525
9914
  }
9526
9915
  }
9527
- exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = DescribeEciScalingConfigurationsResponseBodyScalingConfigurations;
9916
+ exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = DescribeEciScalingConfigurationsResponseBodyScalingConfigurations;
9917
+ class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration extends $tea.Model {
9918
+ static names() {
9919
+ return {
9920
+ imageId: 'ImageId',
9921
+ scalingConfigurationId: 'ScalingConfigurationId',
9922
+ };
9923
+ }
9924
+ static types() {
9925
+ return {
9926
+ imageId: 'string',
9927
+ scalingConfigurationId: 'string',
9928
+ };
9929
+ }
9930
+ constructor(map) {
9931
+ super(map);
9932
+ }
9933
+ }
9934
+ exports.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration = DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration;
9935
+ class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $tea.Model {
9936
+ static names() {
9937
+ return {
9938
+ desiredConfiguration: 'DesiredConfiguration',
9939
+ detail: 'Detail',
9940
+ endTime: 'EndTime',
9941
+ finishedUpdateCapacity: 'FinishedUpdateCapacity',
9942
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
9943
+ maxHealthyPercentage: 'MaxHealthyPercentage',
9944
+ minHealthyPercentage: 'MinHealthyPercentage',
9945
+ regionId: 'RegionId',
9946
+ scalingGroupId: 'ScalingGroupId',
9947
+ startTime: 'StartTime',
9948
+ status: 'Status',
9949
+ totalNeedUpdateCapacity: 'TotalNeedUpdateCapacity',
9950
+ };
9951
+ }
9952
+ static types() {
9953
+ return {
9954
+ desiredConfiguration: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration,
9955
+ detail: 'string',
9956
+ endTime: 'string',
9957
+ finishedUpdateCapacity: 'number',
9958
+ instanceRefreshTaskId: 'string',
9959
+ maxHealthyPercentage: 'number',
9960
+ minHealthyPercentage: 'number',
9961
+ regionId: 'string',
9962
+ scalingGroupId: 'string',
9963
+ startTime: 'string',
9964
+ status: 'string',
9965
+ totalNeedUpdateCapacity: 'number',
9966
+ };
9967
+ }
9968
+ constructor(map) {
9969
+ super(map);
9970
+ }
9971
+ }
9972
+ exports.DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks = DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks;
9528
9973
  class DescribeLifecycleActionsResponseBodyLifecycleActions extends $tea.Model {
9529
9974
  static names() {
9530
9975
  return {
@@ -9587,6 +10032,7 @@ class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationMod
9587
10032
  notificationArn: 'NotificationArn',
9588
10033
  notificationTypes: 'NotificationTypes',
9589
10034
  scalingGroupId: 'ScalingGroupId',
10035
+ timeZone: 'TimeZone',
9590
10036
  };
9591
10037
  }
9592
10038
  static types() {
@@ -9594,6 +10040,7 @@ class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationMod
9594
10040
  notificationArn: 'string',
9595
10041
  notificationTypes: { 'type': 'array', 'itemType': 'string' },
9596
10042
  scalingGroupId: 'string',
10043
+ timeZone: 'string',
9597
10044
  };
9598
10045
  }
9599
10046
  constructor(map) {
@@ -9683,6 +10130,7 @@ class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea.Model
9683
10130
  endTime: 'EndTime',
9684
10131
  errorCode: 'ErrorCode',
9685
10132
  errorMessage: 'ErrorMessage',
10133
+ instanceRefreshTaskId: 'InstanceRefreshTaskId',
9686
10134
  lifecycleHookContext: 'LifecycleHookContext',
9687
10135
  progress: 'Progress',
9688
10136
  scalingActivityId: 'ScalingActivityId',
@@ -9715,6 +10163,7 @@ class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea.Model
9715
10163
  endTime: 'string',
9716
10164
  errorCode: 'string',
9717
10165
  errorMessage: 'string',
10166
+ instanceRefreshTaskId: 'string',
9718
10167
  lifecycleHookContext: DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext,
9719
10168
  progress: 'number',
9720
10169
  scalingActivityId: 'string',
@@ -10579,6 +11028,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
10579
11028
  scalingPolicy: 'ScalingPolicy',
10580
11029
  serverGroups: 'ServerGroups',
10581
11030
  spotAllocationStrategy: 'SpotAllocationStrategy',
11031
+ spotCapacity: 'SpotCapacity',
10582
11032
  spotInstancePools: 'SpotInstancePools',
10583
11033
  spotInstanceRemedy: 'SpotInstanceRemedy',
10584
11034
  standbyCapacity: 'StandbyCapacity',
@@ -10643,6 +11093,7 @@ class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
10643
11093
  scalingPolicy: 'string',
10644
11094
  serverGroups: { 'type': 'array', 'itemType': DescribeScalingGroupsResponseBodyScalingGroupsServerGroups },
10645
11095
  spotAllocationStrategy: 'string',
11096
+ spotCapacity: 'number',
10646
11097
  spotInstancePools: 'number',
10647
11098
  spotInstanceRemedy: 'boolean',
10648
11099
  standbyCapacity: 'number',
@@ -12493,6 +12944,24 @@ class ScaleWithAdjustmentRequestOverrides extends $tea.Model {
12493
12944
  }
12494
12945
  }
12495
12946
  exports.ScaleWithAdjustmentRequestOverrides = ScaleWithAdjustmentRequestOverrides;
12947
+ class StartInstanceRefreshRequestDesiredConfiguration extends $tea.Model {
12948
+ static names() {
12949
+ return {
12950
+ imageId: 'ImageId',
12951
+ scalingConfigurationId: 'ScalingConfigurationId',
12952
+ };
12953
+ }
12954
+ static types() {
12955
+ return {
12956
+ imageId: 'string',
12957
+ scalingConfigurationId: 'string',
12958
+ };
12959
+ }
12960
+ constructor(map) {
12961
+ super(map);
12962
+ }
12963
+ }
12964
+ exports.StartInstanceRefreshRequestDesiredConfiguration = StartInstanceRefreshRequestDesiredConfiguration;
12496
12965
  class TagResourcesRequestTags extends $tea.Model {
12497
12966
  static names() {
12498
12967
  return {
@@ -12576,15 +13045,16 @@ class Client extends openapi_client_1.default {
12576
13045
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
12577
13046
  }
12578
13047
  /**
12579
- * @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.
13048
+ * 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.
12580
13049
  *
12581
- * @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:
13050
+ * @remarks
13051
+ * 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:
12582
13052
  * * If you include a scaling configuration ID within your request, the system updates the scaling configuration based on the YAML configuration file.
12583
13053
  * * 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.
12584
13054
  *
12585
- * @param request ApplyEciScalingConfigurationRequest
12586
- * @param runtime runtime options for this request RuntimeOptions
12587
- * @return ApplyEciScalingConfigurationResponse
13055
+ * @param request - ApplyEciScalingConfigurationRequest
13056
+ * @param runtime - runtime options for this request RuntimeOptions
13057
+ * @returns ApplyEciScalingConfigurationResponse
12588
13058
  */
12589
13059
  async applyEciScalingConfigurationWithOptions(request, runtime) {
12590
13060
  tea_util_1.default.validateModel(request);
@@ -12621,28 +13091,29 @@ class Client extends openapi_client_1.default {
12621
13091
  return $tea.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
12622
13092
  }
12623
13093
  /**
12624
- * @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.
13094
+ * 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.
12625
13095
  *
12626
- * @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:
13096
+ * @remarks
13097
+ * 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:
12627
13098
  * * If you include a scaling configuration ID within your request, the system updates the scaling configuration based on the YAML configuration file.
12628
13099
  * * 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.
12629
13100
  *
12630
- * @param request ApplyEciScalingConfigurationRequest
12631
- * @return ApplyEciScalingConfigurationResponse
13101
+ * @param request - ApplyEciScalingConfigurationRequest
13102
+ * @returns ApplyEciScalingConfigurationResponse
12632
13103
  */
12633
13104
  async applyEciScalingConfiguration(request) {
12634
13105
  let runtime = new $Util.RuntimeOptions({});
12635
13106
  return await this.applyEciScalingConfigurationWithOptions(request, runtime);
12636
13107
  }
12637
13108
  /**
12638
- * @summary 基于yaml配置进行弹性伸缩管理
13109
+ * Creates and manages scaling groups by using configuration files. You can call the ApplyScalingGroup operation to create and manage scaling groups by using configuration files with efficiency.
12639
13110
  *
12640
- * @description You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
13111
+ * @remarks
13112
+ * You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
12641
13113
  * Mapping between YAML files and scaling groups: You can map the triplet of namespace, kind, and name in a YAML file to a scaling group name. A YAML file and a scaling group have a one-to-one mapping relationship in a region. For example, if you use the Kubernetes Deployment YAML file whose name is NGINX in the default namespace to create a scaling group in a region, the unique name of the mapped scaling group is k8s_default_Deployment_nginx.
12642
13114
  * You can use a Kubernetes Deployment YAML file to manage a scaling group based on the following logic:
12643
13115
  * * If an existing scaling group has a mapping relationship with your Kubernetes Deployment YAML file, you can update the scaling group by using the YAML file.
12644
13116
  * * If no scaling group that has a mapping relationship with your Kubernetes Deployment YAML file exists, you can create a scaling group with ease by using the YAML file.
12645
- * ### Precautions
12646
13117
  * 1. If you do not specify a virtual private cloud (VPC), vSwitch, security group, or annotation in your Kubernetes Deployment YAML file, the system creates a default VPC that has default vSwitches and uses the default security group ess-default-sg of Auto Scaling. By default, the security group rule allows traffic on Transmission Control Protocol (TCP)-based port 22 and port 3389 and enables Internet Control Message Protocol (ICMP) for IPv4 addresses. If you want to enable other ports or protocols, you can create custom security group rules.
12647
13118
  * 2. If you want to use a public image, you must enable the Internet access feature and configure the k8s.aliyun.com/eci-with-eip pod annotation to enable the elastic IP address (EIP) feature.
12648
13119
  * 3. After you call the ApplyScalingGroup operation to apply a Kubernetes Deployment YAML file, the scaling group immediately enters the Enabled state and the scaling configuration immediately enters the Active state. If the number of replicas that you specified in the YAML file is grater than 0, elastic container instances are automatically created.
@@ -12653,27 +13124,27 @@ class Client extends openapi_client_1.default {
12653
13124
  * |k8s.aliyun.com/ess-scaling-group-min-size|1|The minimum size of the scaling group that you want to create. Default value: 0.|
12654
13125
  * |k8s.aliyun.com/ess-scaling-group-max-size|20|The maximum size of the scaling group that you want to create. Default value: maximum number of replicas or 30, whichever is greater.|
12655
13126
  * |k8s.aliyun.com/eci-ntp-server|100.100.*.*|The IP address of the Network Time Protocol (NTP) server.|
12656
- * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GB memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
13127
+ * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GiB of memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
12657
13128
  * |k8s.aliyun.com/eci-vswitch|vsw-bp1xpiowfm5vo8o3c\\*\\*\\*\\*|The ID of the vSwitch. You can specify multiple vSwitches to specify multiple zones.|
12658
13129
  * |k8s.aliyun.com/eci-security-group|sg-bp1dktddjsg5nktv\\*\\*\\*\\*|The ID of the security group. Before you configure this annotation, take note of the following requirements:<ul data-sourcepos="26:74-26:168"><li data-sourcepos="26:78-26:114">You can specify one or more security groups. You can specify up to five security groups for each scaling group.</li><li data-sourcepos="26:114-26:140">If you specify multiple security groups, the security groups must belong to the same VPC.</li><li data-sourcepos="26:140-26:163">If you specify multiple security groups, the security groups must be of the same type.</li></ul>|
12659
13130
  * |k8s.aliyun.com/eci-sls-enable|"false"|If you set the value to false, the log collection feature is disabled.
12660
13131
  * If you do not want to use Custom Resource Definition (CRD) for Simple Log Service to collect logs of specific pods, you can configure this annotation for the pods and set the value to false. This prevents resource wastes caused by Logtails created by the system.|
12661
- * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for the preemptible instance. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instance is created as a preemptible instance for which you specify the maximum hourly price If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.</li></ul>|
12662
- * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of the preemptible instance. This value can be accurate to up to three decimal places.
13132
+ * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for preemptible instances. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instances are created as preemptible instances with a maximum hourly price. If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.</li></ul>|
13133
+ * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of preemptible instances. This value can be accurate to up to three decimal places.
12663
13134
  * This annotation takes effect only when you set the k8s.aliyun.com/eci-spot-strategy annotation to SpotWithPriceLimit.|
12664
- * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an EIP is automatically created and bound to each elastic container instance.|
12665
- * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of the specified DataCache. If you want to use a DataCache to create a pod, you must configure this annotation.|
12666
- * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create by using the specified DataCache.
12667
- * By default, enhanced SSDs (ESSDs) are created. Default value: PL1.|
12668
- * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
12669
- * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
12670
- * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
12671
- * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
13135
+ * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an elastic IP address (EIP) is automatically created and bound to each elastic container instance.|
13136
+ * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of data caches. If you want to create a pod based on data caches, you must configure this annotation.|
13137
+ * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create based on data caches.
13138
+ * By default, enterprise SSDs (ESSDs) are created. Default value: PL1.|
13139
+ * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
13140
+ * If you configure this annotation, the cloud disk that is created based on data caches is of the ESSD AutoPL type.|
13141
+ * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
13142
+ * If you configure this annotation, the cloud disk that is created based on data caches is of the ESSD AutoPL type.|
12672
13143
  * |k8s.aliyun.com/eci-custom-tags|"env:test,name:alice"|The tags that you want to add to each elastic container instance. You can add up to three tags for each elastic container instance. Separate a tag key and a tag value with a colon (:). Separate multiple tags with commas (,).|
12673
13144
  *
12674
- * @param request ApplyScalingGroupRequest
12675
- * @param runtime runtime options for this request RuntimeOptions
12676
- * @return ApplyScalingGroupResponse
13145
+ * @param request - ApplyScalingGroupRequest
13146
+ * @param runtime - runtime options for this request RuntimeOptions
13147
+ * @returns ApplyScalingGroupResponse
12677
13148
  */
12678
13149
  async applyScalingGroupWithOptions(request, runtime) {
12679
13150
  tea_util_1.default.validateModel(request);
@@ -12704,14 +13175,14 @@ class Client extends openapi_client_1.default {
12704
13175
  return $tea.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
12705
13176
  }
12706
13177
  /**
12707
- * @summary 基于yaml配置进行弹性伸缩管理
13178
+ * Creates and manages scaling groups by using configuration files. You can call the ApplyScalingGroup operation to create and manage scaling groups by using configuration files with efficiency.
12708
13179
  *
12709
- * @description You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
13180
+ * @remarks
13181
+ * You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
12710
13182
  * Mapping between YAML files and scaling groups: You can map the triplet of namespace, kind, and name in a YAML file to a scaling group name. A YAML file and a scaling group have a one-to-one mapping relationship in a region. For example, if you use the Kubernetes Deployment YAML file whose name is NGINX in the default namespace to create a scaling group in a region, the unique name of the mapped scaling group is k8s_default_Deployment_nginx.
12711
13183
  * You can use a Kubernetes Deployment YAML file to manage a scaling group based on the following logic:
12712
13184
  * * If an existing scaling group has a mapping relationship with your Kubernetes Deployment YAML file, you can update the scaling group by using the YAML file.
12713
13185
  * * If no scaling group that has a mapping relationship with your Kubernetes Deployment YAML file exists, you can create a scaling group with ease by using the YAML file.
12714
- * ### Precautions
12715
13186
  * 1. If you do not specify a virtual private cloud (VPC), vSwitch, security group, or annotation in your Kubernetes Deployment YAML file, the system creates a default VPC that has default vSwitches and uses the default security group ess-default-sg of Auto Scaling. By default, the security group rule allows traffic on Transmission Control Protocol (TCP)-based port 22 and port 3389 and enables Internet Control Message Protocol (ICMP) for IPv4 addresses. If you want to enable other ports or protocols, you can create custom security group rules.
12716
13187
  * 2. If you want to use a public image, you must enable the Internet access feature and configure the k8s.aliyun.com/eci-with-eip pod annotation to enable the elastic IP address (EIP) feature.
12717
13188
  * 3. After you call the ApplyScalingGroup operation to apply a Kubernetes Deployment YAML file, the scaling group immediately enters the Enabled state and the scaling configuration immediately enters the Active state. If the number of replicas that you specified in the YAML file is grater than 0, elastic container instances are automatically created.
@@ -12722,41 +13193,42 @@ class Client extends openapi_client_1.default {
12722
13193
  * |k8s.aliyun.com/ess-scaling-group-min-size|1|The minimum size of the scaling group that you want to create. Default value: 0.|
12723
13194
  * |k8s.aliyun.com/ess-scaling-group-max-size|20|The maximum size of the scaling group that you want to create. Default value: maximum number of replicas or 30, whichever is greater.|
12724
13195
  * |k8s.aliyun.com/eci-ntp-server|100.100.*.*|The IP address of the Network Time Protocol (NTP) server.|
12725
- * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GB memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
13196
+ * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GiB of memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
12726
13197
  * |k8s.aliyun.com/eci-vswitch|vsw-bp1xpiowfm5vo8o3c\\*\\*\\*\\*|The ID of the vSwitch. You can specify multiple vSwitches to specify multiple zones.|
12727
13198
  * |k8s.aliyun.com/eci-security-group|sg-bp1dktddjsg5nktv\\*\\*\\*\\*|The ID of the security group. Before you configure this annotation, take note of the following requirements:<ul data-sourcepos="26:74-26:168"><li data-sourcepos="26:78-26:114">You can specify one or more security groups. You can specify up to five security groups for each scaling group.</li><li data-sourcepos="26:114-26:140">If you specify multiple security groups, the security groups must belong to the same VPC.</li><li data-sourcepos="26:140-26:163">If you specify multiple security groups, the security groups must be of the same type.</li></ul>|
12728
13199
  * |k8s.aliyun.com/eci-sls-enable|"false"|If you set the value to false, the log collection feature is disabled.
12729
13200
  * If you do not want to use Custom Resource Definition (CRD) for Simple Log Service to collect logs of specific pods, you can configure this annotation for the pods and set the value to false. This prevents resource wastes caused by Logtails created by the system.|
12730
- * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for the preemptible instance. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instance is created as a preemptible instance for which you specify the maximum hourly price If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.</li></ul>|
12731
- * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of the preemptible instance. This value can be accurate to up to three decimal places.
13201
+ * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for preemptible instances. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instances are created as preemptible instances with a maximum hourly price. If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.</li></ul>|
13202
+ * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of preemptible instances. This value can be accurate to up to three decimal places.
12732
13203
  * This annotation takes effect only when you set the k8s.aliyun.com/eci-spot-strategy annotation to SpotWithPriceLimit.|
12733
- * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an EIP is automatically created and bound to each elastic container instance.|
12734
- * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of the specified DataCache. If you want to use a DataCache to create a pod, you must configure this annotation.|
12735
- * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create by using the specified DataCache.
12736
- * By default, enhanced SSDs (ESSDs) are created. Default value: PL1.|
12737
- * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
12738
- * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
12739
- * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
12740
- * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
13204
+ * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an elastic IP address (EIP) is automatically created and bound to each elastic container instance.|
13205
+ * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of data caches. If you want to create a pod based on data caches, you must configure this annotation.|
13206
+ * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create based on data caches.
13207
+ * By default, enterprise SSDs (ESSDs) are created. Default value: PL1.|
13208
+ * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
13209
+ * If you configure this annotation, the cloud disk that is created based on data caches is of the ESSD AutoPL type.|
13210
+ * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
13211
+ * If you configure this annotation, the cloud disk that is created based on data caches is of the ESSD AutoPL type.|
12741
13212
  * |k8s.aliyun.com/eci-custom-tags|"env:test,name:alice"|The tags that you want to add to each elastic container instance. You can add up to three tags for each elastic container instance. Separate a tag key and a tag value with a colon (:). Separate multiple tags with commas (,).|
12742
13213
  *
12743
- * @param request ApplyScalingGroupRequest
12744
- * @return ApplyScalingGroupResponse
13214
+ * @param request - ApplyScalingGroupRequest
13215
+ * @returns ApplyScalingGroupResponse
12745
13216
  */
12746
13217
  async applyScalingGroup(request) {
12747
13218
  let runtime = new $Util.RuntimeOptions({});
12748
13219
  return await this.applyScalingGroupWithOptions(request, runtime);
12749
13220
  }
12750
13221
  /**
12751
- * @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13222
+ * Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
12752
13223
  *
12753
- * @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
13224
+ * @remarks
13225
+ * Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
12754
13226
  * * The scaling group and the ALB server group share the same virtual private cloud (VPC).
12755
13227
  * * The ALB server group is in the Available state.
12756
13228
  *
12757
- * @param request AttachAlbServerGroupsRequest
12758
- * @param runtime runtime options for this request RuntimeOptions
12759
- * @return AttachAlbServerGroupsResponse
13229
+ * @param request - AttachAlbServerGroupsRequest
13230
+ * @param runtime - runtime options for this request RuntimeOptions
13231
+ * @returns AttachAlbServerGroupsResponse
12760
13232
  */
12761
13233
  async attachAlbServerGroupsWithOptions(request, runtime) {
12762
13234
  tea_util_1.default.validateModel(request);
@@ -12799,31 +13271,33 @@ class Client extends openapi_client_1.default {
12799
13271
  return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
12800
13272
  }
12801
13273
  /**
12802
- * @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13274
+ * Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
12803
13275
  *
12804
- * @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
13276
+ * @remarks
13277
+ * Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
12805
13278
  * * The scaling group and the ALB server group share the same virtual private cloud (VPC).
12806
13279
  * * The ALB server group is in the Available state.
12807
13280
  *
12808
- * @param request AttachAlbServerGroupsRequest
12809
- * @return AttachAlbServerGroupsResponse
13281
+ * @param request - AttachAlbServerGroupsRequest
13282
+ * @returns AttachAlbServerGroupsResponse
12810
13283
  */
12811
13284
  async attachAlbServerGroups(request) {
12812
13285
  let runtime = new $Util.RuntimeOptions({});
12813
13286
  return await this.attachAlbServerGroupsWithOptions(request, runtime);
12814
13287
  }
12815
13288
  /**
12816
- * @summary Associates one or more ApsaraDB RDS instances with a scaling group.
13289
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
12817
13290
  *
12818
- * @description Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
13291
+ * @remarks
13292
+ * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
12819
13293
  * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
12820
13294
  * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
12821
13295
  * * The ApsaraDB RDS instance must be in the Running state.
12822
13296
  * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](https://help.aliyun.com/document_detail/43185.html).
12823
13297
  *
12824
- * @param request AttachDBInstancesRequest
12825
- * @param runtime runtime options for this request RuntimeOptions
12826
- * @return AttachDBInstancesResponse
13298
+ * @param request - AttachDBInstancesRequest
13299
+ * @param runtime - runtime options for this request RuntimeOptions
13300
+ * @returns AttachDBInstancesResponse
12827
13301
  */
12828
13302
  async attachDBInstancesWithOptions(request, runtime) {
12829
13303
  tea_util_1.default.validateModel(request);
@@ -12872,25 +13346,27 @@ class Client extends openapi_client_1.default {
12872
13346
  return $tea.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
12873
13347
  }
12874
13348
  /**
12875
- * @summary Associates one or more ApsaraDB RDS instances with a scaling group.
13349
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
12876
13350
  *
12877
- * @description Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
13351
+ * @remarks
13352
+ * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
12878
13353
  * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
12879
13354
  * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
12880
13355
  * * The ApsaraDB RDS instance must be in the Running state.
12881
13356
  * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](https://help.aliyun.com/document_detail/43185.html).
12882
13357
  *
12883
- * @param request AttachDBInstancesRequest
12884
- * @return AttachDBInstancesResponse
13358
+ * @param request - AttachDBInstancesRequest
13359
+ * @returns AttachDBInstancesResponse
12885
13360
  */
12886
13361
  async attachDBInstances(request) {
12887
13362
  let runtime = new $Util.RuntimeOptions({});
12888
13363
  return await this.attachDBInstancesWithOptions(request, runtime);
12889
13364
  }
12890
13365
  /**
12891
- * @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.
13366
+ * 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.
12892
13367
  *
12893
- * @description Before you call this operation, take note of the following items:
13368
+ * @remarks
13369
+ * Before you call this operation, take note of the following items:
12894
13370
  * * The scaling group is in the Active state.
12895
13371
  * * No scaling activities in the scaling group are in progress.
12896
13372
  * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
@@ -12905,9 +13381,9 @@ class Client extends openapi_client_1.default {
12905
13381
  * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
12906
13382
  * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
12907
13383
  *
12908
- * @param request AttachInstancesRequest
12909
- * @param runtime runtime options for this request RuntimeOptions
12910
- * @return AttachInstancesResponse
13384
+ * @param request - AttachInstancesRequest
13385
+ * @param runtime - runtime options for this request RuntimeOptions
13386
+ * @returns AttachInstancesResponse
12911
13387
  */
12912
13388
  async attachInstancesWithOptions(request, runtime) {
12913
13389
  tea_util_1.default.validateModel(request);
@@ -12962,9 +13438,10 @@ class Client extends openapi_client_1.default {
12962
13438
  return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
12963
13439
  }
12964
13440
  /**
12965
- * @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.
13441
+ * 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.
12966
13442
  *
12967
- * @description Before you call this operation, take note of the following items:
13443
+ * @remarks
13444
+ * Before you call this operation, take note of the following items:
12968
13445
  * * The scaling group is in the Active state.
12969
13446
  * * No scaling activities in the scaling group are in progress.
12970
13447
  * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
@@ -12979,17 +13456,18 @@ class Client extends openapi_client_1.default {
12979
13456
  * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
12980
13457
  * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
12981
13458
  *
12982
- * @param request AttachInstancesRequest
12983
- * @return AttachInstancesResponse
13459
+ * @param request - AttachInstancesRequest
13460
+ * @returns AttachInstancesResponse
12984
13461
  */
12985
13462
  async attachInstances(request) {
12986
13463
  let runtime = new $Util.RuntimeOptions({});
12987
13464
  return await this.attachInstancesWithOptions(request, runtime);
12988
13465
  }
12989
13466
  /**
12990
- * @summary Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
13467
+ * Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
12991
13468
  *
12992
- * @description Before you call this operation, make sure that the following requirements are met:
13469
+ * @remarks
13470
+ * Before you call this operation, make sure that the following requirements are met:
12993
13471
  * * The load balancer and the scaling group belong to the same Alibaba Cloud account and region.
12994
13472
  * * The load balancer is in the `Running` state.
12995
13473
  * * At least one listener is configured for the load balancer, and the health check feature is enabled for the load balancer.
@@ -12997,9 +13475,9 @@ class Client extends openapi_client_1.default {
12997
13475
  * * If the network type of the scaling group is VPC, and that of the load balancer is classic network and a backend server of the load balancer uses a VPC, the scaling group and the backend server use the same VPC.
12998
13476
  * * The attachment of load balancers ensures that the cumulative number of load balancers attached to the scaling group stays within the predefined maximum limit. For information about the load balancer quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
12999
13477
  *
13000
- * @param request AttachLoadBalancersRequest
13001
- * @param runtime runtime options for this request RuntimeOptions
13002
- * @return AttachLoadBalancersResponse
13478
+ * @param request - AttachLoadBalancersRequest
13479
+ * @param runtime - runtime options for this request RuntimeOptions
13480
+ * @returns AttachLoadBalancersResponse
13003
13481
  */
13004
13482
  async attachLoadBalancersWithOptions(request, runtime) {
13005
13483
  tea_util_1.default.validateModel(request);
@@ -13045,9 +13523,10 @@ class Client extends openapi_client_1.default {
13045
13523
  return $tea.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
13046
13524
  }
13047
13525
  /**
13048
- * @summary Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
13526
+ * Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
13049
13527
  *
13050
- * @description Before you call this operation, make sure that the following requirements are met:
13528
+ * @remarks
13529
+ * Before you call this operation, make sure that the following requirements are met:
13051
13530
  * * The load balancer and the scaling group belong to the same Alibaba Cloud account and region.
13052
13531
  * * The load balancer is in the `Running` state.
13053
13532
  * * At least one listener is configured for the load balancer, and the health check feature is enabled for the load balancer.
@@ -13055,19 +13534,19 @@ class Client extends openapi_client_1.default {
13055
13534
  * * If the network type of the scaling group is VPC, and that of the load balancer is classic network and a backend server of the load balancer uses a VPC, the scaling group and the backend server use the same VPC.
13056
13535
  * * The attachment of load balancers ensures that the cumulative number of load balancers attached to the scaling group stays within the predefined maximum limit. For information about the load balancer quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
13057
13536
  *
13058
- * @param request AttachLoadBalancersRequest
13059
- * @return AttachLoadBalancersResponse
13537
+ * @param request - AttachLoadBalancersRequest
13538
+ * @returns AttachLoadBalancersResponse
13060
13539
  */
13061
13540
  async attachLoadBalancers(request) {
13062
13541
  let runtime = new $Util.RuntimeOptions({});
13063
13542
  return await this.attachLoadBalancersWithOptions(request, runtime);
13064
13543
  }
13065
13544
  /**
13066
- * @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13545
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13067
13546
  *
13068
- * @param request AttachServerGroupsRequest
13069
- * @param runtime runtime options for this request RuntimeOptions
13070
- * @return AttachServerGroupsResponse
13547
+ * @param request - AttachServerGroupsRequest
13548
+ * @param runtime - runtime options for this request RuntimeOptions
13549
+ * @returns AttachServerGroupsResponse
13071
13550
  */
13072
13551
  async attachServerGroupsWithOptions(request, runtime) {
13073
13552
  tea_util_1.default.validateModel(request);
@@ -13110,19 +13589,20 @@ class Client extends openapi_client_1.default {
13110
13589
  return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
13111
13590
  }
13112
13591
  /**
13113
- * @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13592
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
13114
13593
  *
13115
- * @param request AttachServerGroupsRequest
13116
- * @return AttachServerGroupsResponse
13594
+ * @param request - AttachServerGroupsRequest
13595
+ * @returns AttachServerGroupsResponse
13117
13596
  */
13118
13597
  async attachServerGroups(request) {
13119
13598
  let runtime = new $Util.RuntimeOptions({});
13120
13599
  return await this.attachServerGroupsWithOptions(request, runtime);
13121
13600
  }
13122
13601
  /**
13123
- * @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
13602
+ * Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
13124
13603
  *
13125
- * @description * Before you call this operation, make sure that the following requirements are met:
13604
+ * @remarks
13605
+ * Before you call this operation, make sure that the following requirements are met:
13126
13606
  * * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
13127
13607
  * * The CLB instance and the scaling group reside in the same region.
13128
13608
  * * The CLB instance is in the Running state.
@@ -13138,9 +13618,9 @@ class Client extends openapi_client_1.default {
13138
13618
  * **
13139
13619
  * **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
13140
13620
  *
13141
- * @param request AttachVServerGroupsRequest
13142
- * @param runtime runtime options for this request RuntimeOptions
13143
- * @return AttachVServerGroupsResponse
13621
+ * @param request - AttachVServerGroupsRequest
13622
+ * @param runtime - runtime options for this request RuntimeOptions
13623
+ * @returns AttachVServerGroupsResponse
13144
13624
  */
13145
13625
  async attachVServerGroupsWithOptions(request, runtime) {
13146
13626
  tea_util_1.default.validateModel(request);
@@ -13183,9 +13663,10 @@ class Client extends openapi_client_1.default {
13183
13663
  return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
13184
13664
  }
13185
13665
  /**
13186
- * @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
13666
+ * Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
13187
13667
  *
13188
- * @description * Before you call this operation, make sure that the following requirements are met:
13668
+ * @remarks
13669
+ * Before you call this operation, make sure that the following requirements are met:
13189
13670
  * * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
13190
13671
  * * The CLB instance and the scaling group reside in the same region.
13191
13672
  * * The CLB instance is in the Running state.
@@ -13201,22 +13682,70 @@ class Client extends openapi_client_1.default {
13201
13682
  * **
13202
13683
  * **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
13203
13684
  *
13204
- * @param request AttachVServerGroupsRequest
13205
- * @return AttachVServerGroupsResponse
13685
+ * @param request - AttachVServerGroupsRequest
13686
+ * @returns AttachVServerGroupsResponse
13206
13687
  */
13207
13688
  async attachVServerGroups(request) {
13208
13689
  let runtime = new $Util.RuntimeOptions({});
13209
13690
  return await this.attachVServerGroupsWithOptions(request, runtime);
13210
13691
  }
13211
13692
  /**
13212
- * @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
13693
+ * @param request - CancelInstanceRefreshRequest
13694
+ * @param runtime - runtime options for this request RuntimeOptions
13695
+ * @returns CancelInstanceRefreshResponse
13696
+ */
13697
+ async cancelInstanceRefreshWithOptions(request, runtime) {
13698
+ tea_util_1.default.validateModel(request);
13699
+ let query = {};
13700
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskId)) {
13701
+ query["InstanceRefreshTaskId"] = request.instanceRefreshTaskId;
13702
+ }
13703
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
13704
+ query["OwnerId"] = request.ownerId;
13705
+ }
13706
+ if (!tea_util_1.default.isUnset(request.regionId)) {
13707
+ query["RegionId"] = request.regionId;
13708
+ }
13709
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
13710
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
13711
+ }
13712
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
13713
+ query["ScalingGroupId"] = request.scalingGroupId;
13714
+ }
13715
+ let req = new $OpenApi.OpenApiRequest({
13716
+ query: openapi_util_1.default.query(query),
13717
+ });
13718
+ let params = new $OpenApi.Params({
13719
+ action: "CancelInstanceRefresh",
13720
+ version: "2022-02-22",
13721
+ protocol: "HTTPS",
13722
+ pathname: "/",
13723
+ method: "POST",
13724
+ authType: "AK",
13725
+ style: "RPC",
13726
+ reqBodyType: "formData",
13727
+ bodyType: "json",
13728
+ });
13729
+ return $tea.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
13730
+ }
13731
+ /**
13732
+ * @param request - CancelInstanceRefreshRequest
13733
+ * @returns CancelInstanceRefreshResponse
13734
+ */
13735
+ async cancelInstanceRefresh(request) {
13736
+ let runtime = new $Util.RuntimeOptions({});
13737
+ return await this.cancelInstanceRefreshWithOptions(request, runtime);
13738
+ }
13739
+ /**
13740
+ * Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
13213
13741
  *
13214
- * @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
13742
+ * @remarks
13743
+ * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
13215
13744
  * * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
13216
13745
  *
13217
- * @param request ChangeResourceGroupRequest
13218
- * @param runtime runtime options for this request RuntimeOptions
13219
- * @return ChangeResourceGroupResponse
13746
+ * @param request - ChangeResourceGroupRequest
13747
+ * @param runtime - runtime options for this request RuntimeOptions
13748
+ * @returns ChangeResourceGroupResponse
13220
13749
  */
13221
13750
  async changeResourceGroupWithOptions(request, runtime) {
13222
13751
  tea_util_1.default.validateModel(request);
@@ -13256,26 +13785,28 @@ class Client extends openapi_client_1.default {
13256
13785
  return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
13257
13786
  }
13258
13787
  /**
13259
- * @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
13788
+ * Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
13260
13789
  *
13261
- * @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
13790
+ * @remarks
13791
+ * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
13262
13792
  * * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
13263
13793
  *
13264
- * @param request ChangeResourceGroupRequest
13265
- * @return ChangeResourceGroupResponse
13794
+ * @param request - ChangeResourceGroupRequest
13795
+ * @returns ChangeResourceGroupResponse
13266
13796
  */
13267
13797
  async changeResourceGroup(request) {
13268
13798
  let runtime = new $Util.RuntimeOptions({});
13269
13799
  return await this.changeResourceGroupWithOptions(request, runtime);
13270
13800
  }
13271
13801
  /**
13272
- * @summary Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
13802
+ * Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
13273
13803
  *
13274
- * @description When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
13804
+ * @remarks
13805
+ * When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
13275
13806
  *
13276
- * @param request CompleteLifecycleActionRequest
13277
- * @param runtime runtime options for this request RuntimeOptions
13278
- * @return CompleteLifecycleActionResponse
13807
+ * @param request - CompleteLifecycleActionRequest
13808
+ * @param runtime - runtime options for this request RuntimeOptions
13809
+ * @returns CompleteLifecycleActionResponse
13279
13810
  */
13280
13811
  async completeLifecycleActionWithOptions(request, runtime) {
13281
13812
  tea_util_1.default.validateModel(request);
@@ -13321,29 +13852,31 @@ class Client extends openapi_client_1.default {
13321
13852
  return $tea.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
13322
13853
  }
13323
13854
  /**
13324
- * @summary Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
13855
+ * Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
13325
13856
  *
13326
- * @description When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
13857
+ * @remarks
13858
+ * When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
13327
13859
  *
13328
- * @param request CompleteLifecycleActionRequest
13329
- * @return CompleteLifecycleActionResponse
13860
+ * @param request - CompleteLifecycleActionRequest
13861
+ * @returns CompleteLifecycleActionResponse
13330
13862
  */
13331
13863
  async completeLifecycleAction(request) {
13332
13864
  let runtime = new $Util.RuntimeOptions({});
13333
13865
  return await this.completeLifecycleActionWithOptions(request, runtime);
13334
13866
  }
13335
13867
  /**
13336
- * @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
13868
+ * Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
13337
13869
  *
13338
- * @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
13870
+ * @remarks
13871
+ * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
13339
13872
  * * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
13340
13873
  * * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
13341
13874
  * * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
13342
13875
  * > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
13343
13876
  *
13344
- * @param request CreateAlarmRequest
13345
- * @param runtime runtime options for this request RuntimeOptions
13346
- * @return CreateAlarmResponse
13877
+ * @param request - CreateAlarmRequest
13878
+ * @param runtime - runtime options for this request RuntimeOptions
13879
+ * @returns CreateAlarmResponse
13347
13880
  */
13348
13881
  async createAlarmWithOptions(request, runtime) {
13349
13882
  tea_util_1.default.validateModel(request);
@@ -13422,30 +13955,32 @@ class Client extends openapi_client_1.default {
13422
13955
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
13423
13956
  }
13424
13957
  /**
13425
- * @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
13958
+ * Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
13426
13959
  *
13427
- * @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
13960
+ * @remarks
13961
+ * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
13428
13962
  * * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
13429
13963
  * * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
13430
13964
  * * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
13431
13965
  * > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
13432
13966
  *
13433
- * @param request CreateAlarmRequest
13434
- * @return CreateAlarmResponse
13967
+ * @param request - CreateAlarmRequest
13968
+ * @returns CreateAlarmResponse
13435
13969
  */
13436
13970
  async createAlarm(request) {
13437
13971
  let runtime = new $Util.RuntimeOptions({});
13438
13972
  return await this.createAlarmWithOptions(request, runtime);
13439
13973
  }
13440
13974
  /**
13441
- * @summary Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
13975
+ * Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
13442
13976
  *
13443
- * @description A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
13977
+ * @remarks
13978
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
13444
13979
  * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
13445
13980
  *
13446
- * @param request CreateEciScalingConfigurationRequest
13447
- * @param runtime runtime options for this request RuntimeOptions
13448
- * @return CreateEciScalingConfigurationResponse
13981
+ * @param request - CreateEciScalingConfigurationRequest
13982
+ * @param runtime - runtime options for this request RuntimeOptions
13983
+ * @returns CreateEciScalingConfigurationResponse
13449
13984
  */
13450
13985
  async createEciScalingConfigurationWithOptions(request, runtime) {
13451
13986
  tea_util_1.default.validateModel(request);
@@ -13614,29 +14149,31 @@ class Client extends openapi_client_1.default {
13614
14149
  return $tea.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
13615
14150
  }
13616
14151
  /**
13617
- * @summary Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
14152
+ * Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
13618
14153
  *
13619
- * @description A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
14154
+ * @remarks
14155
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
13620
14156
  * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
13621
14157
  *
13622
- * @param request CreateEciScalingConfigurationRequest
13623
- * @return CreateEciScalingConfigurationResponse
14158
+ * @param request - CreateEciScalingConfigurationRequest
14159
+ * @returns CreateEciScalingConfigurationResponse
13624
14160
  */
13625
14161
  async createEciScalingConfiguration(request) {
13626
14162
  let runtime = new $Util.RuntimeOptions({});
13627
14163
  return await this.createEciScalingConfigurationWithOptions(request, runtime);
13628
14164
  }
13629
14165
  /**
13630
- * @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.
14166
+ * 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.
13631
14167
  *
13632
- * @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.
14168
+ * @remarks
14169
+ * 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.
13633
14170
  * 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.
13634
14171
  * You can configure a notification method for a lifecycle hook. When the lifecycle hook is triggered, a notification can be sent to the specified Message Service (MNS) topic or queue, or an operation can be performed based on the specified Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a Resource Access Management (RAM) role for OOS. For more information, see [Grant RAM permissions to OOS](https://help.aliyun.com/document_detail/120810.html).
13635
14172
  * > If your scaling group has existing ECS instances and you configured an OOS template that is used to add the private IP addresses of ECS instances to or remove the private IP addresses of ECS instances from the whitelists that manage access to cloud databases that are not ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the whitelists that manage access to the cloud databases.
13636
14173
  *
13637
- * @param request CreateLifecycleHookRequest
13638
- * @param runtime runtime options for this request RuntimeOptions
13639
- * @return CreateLifecycleHookResponse
14174
+ * @param request - CreateLifecycleHookRequest
14175
+ * @param runtime - runtime options for this request RuntimeOptions
14176
+ * @returns CreateLifecycleHookResponse
13640
14177
  */
13641
14178
  async createLifecycleHookWithOptions(request, runtime) {
13642
14179
  tea_util_1.default.validateModel(request);
@@ -13688,29 +14225,32 @@ class Client extends openapi_client_1.default {
13688
14225
  return $tea.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
13689
14226
  }
13690
14227
  /**
13691
- * @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.
14228
+ * 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.
13692
14229
  *
13693
- * @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.
14230
+ * @remarks
14231
+ * 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.
13694
14232
  * 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.
13695
14233
  * You can configure a notification method for a lifecycle hook. When the lifecycle hook is triggered, a notification can be sent to the specified Message Service (MNS) topic or queue, or an operation can be performed based on the specified Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a Resource Access Management (RAM) role for OOS. For more information, see [Grant RAM permissions to OOS](https://help.aliyun.com/document_detail/120810.html).
13696
14234
  * > If your scaling group has existing ECS instances and you configured an OOS template that is used to add the private IP addresses of ECS instances to or remove the private IP addresses of ECS instances from the whitelists that manage access to cloud databases that are not ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the whitelists that manage access to the cloud databases.
13697
14235
  *
13698
- * @param request CreateLifecycleHookRequest
13699
- * @return CreateLifecycleHookResponse
14236
+ * @param request - CreateLifecycleHookRequest
14237
+ * @returns CreateLifecycleHookResponse
13700
14238
  */
13701
14239
  async createLifecycleHook(request) {
13702
14240
  let runtime = new $Util.RuntimeOptions({});
13703
14241
  return await this.createLifecycleHookWithOptions(request, runtime);
13704
14242
  }
13705
14243
  /**
13706
- * @summary Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
14244
+ * Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
13707
14245
  *
13708
- * @description ## Description
13709
- * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
14246
+ * @remarks
14247
+ * You can enable a CloudMonitor system event, Message Service (MNS) queue, or MNS topic to receive notifications. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or MNS.
14248
+ * * You cannot specify the same recipient for notifications of different event types in a scaling group.
14249
+ * For example, you cannot enable the same CloudMonitor system event, MNS topic, or MNS queue to receive notifications of different event types in a scaling group.
13710
14250
  *
13711
- * @param request CreateNotificationConfigurationRequest
13712
- * @param runtime runtime options for this request RuntimeOptions
13713
- * @return CreateNotificationConfigurationResponse
14251
+ * @param request - CreateNotificationConfigurationRequest
14252
+ * @param runtime - runtime options for this request RuntimeOptions
14253
+ * @returns CreateNotificationConfigurationResponse
13714
14254
  */
13715
14255
  async createNotificationConfigurationWithOptions(request, runtime) {
13716
14256
  tea_util_1.default.validateModel(request);
@@ -13733,6 +14273,9 @@ class Client extends openapi_client_1.default {
13733
14273
  if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
13734
14274
  query["ScalingGroupId"] = request.scalingGroupId;
13735
14275
  }
14276
+ if (!tea_util_1.default.isUnset(request.timeZone)) {
14277
+ query["TimeZone"] = request.timeZone;
14278
+ }
13736
14279
  let req = new $OpenApi.OpenApiRequest({
13737
14280
  query: openapi_util_1.default.query(query),
13738
14281
  });
@@ -13750,22 +14293,25 @@ class Client extends openapi_client_1.default {
13750
14293
  return $tea.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
13751
14294
  }
13752
14295
  /**
13753
- * @summary Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
14296
+ * Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
13754
14297
  *
13755
- * @description ## Description
13756
- * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
14298
+ * @remarks
14299
+ * You can enable a CloudMonitor system event, Message Service (MNS) queue, or MNS topic to receive notifications. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or MNS.
14300
+ * * You cannot specify the same recipient for notifications of different event types in a scaling group.
14301
+ * For example, you cannot enable the same CloudMonitor system event, MNS topic, or MNS queue to receive notifications of different event types in a scaling group.
13757
14302
  *
13758
- * @param request CreateNotificationConfigurationRequest
13759
- * @return CreateNotificationConfigurationResponse
14303
+ * @param request - CreateNotificationConfigurationRequest
14304
+ * @returns CreateNotificationConfigurationResponse
13760
14305
  */
13761
14306
  async createNotificationConfiguration(request) {
13762
14307
  let runtime = new $Util.RuntimeOptions({});
13763
14308
  return await this.createNotificationConfigurationWithOptions(request, runtime);
13764
14309
  }
13765
14310
  /**
13766
- * @summary Creates a scaling configuration.
14311
+ * Creates scaling configurations. When you call the CreateScalingConfiguration operation, you can specify the scaling group ID, instance type, and image to create a scaling configuration of the Elastic Compute Service (ECS) type.
13767
14312
  *
13768
- * @description Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
14313
+ * @remarks
14314
+ * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
13769
14315
  * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
13770
14316
  * * InstanceType: In this mode, you must specify one instance type.
13771
14317
  * * InstanceTypes: In this mode, you can specify more than one instance type.
@@ -13773,9 +14319,9 @@ class Client extends openapi_client_1.default {
13773
14319
  * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
13774
14320
  * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
13775
14321
  *
13776
- * @param tmpReq CreateScalingConfigurationRequest
13777
- * @param runtime runtime options for this request RuntimeOptions
13778
- * @return CreateScalingConfigurationResponse
14322
+ * @param tmpReq - CreateScalingConfigurationRequest
14323
+ * @param runtime - runtime options for this request RuntimeOptions
14324
+ * @returns CreateScalingConfigurationResponse
13779
14325
  */
13780
14326
  async createScalingConfigurationWithOptions(tmpReq, runtime) {
13781
14327
  tea_util_1.default.validateModel(tmpReq);
@@ -13973,9 +14519,10 @@ class Client extends openapi_client_1.default {
13973
14519
  return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
13974
14520
  }
13975
14521
  /**
13976
- * @summary Creates a scaling configuration.
14522
+ * Creates scaling configurations. When you call the CreateScalingConfiguration operation, you can specify the scaling group ID, instance type, and image to create a scaling configuration of the Elastic Compute Service (ECS) type.
13977
14523
  *
13978
- * @description Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
14524
+ * @remarks
14525
+ * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
13979
14526
  * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
13980
14527
  * * InstanceType: In this mode, you must specify one instance type.
13981
14528
  * * InstanceTypes: In this mode, you can specify more than one instance type.
@@ -13983,42 +14530,43 @@ class Client extends openapi_client_1.default {
13983
14530
  * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
13984
14531
  * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
13985
14532
  *
13986
- * @param request CreateScalingConfigurationRequest
13987
- * @return CreateScalingConfigurationResponse
14533
+ * @param request - CreateScalingConfigurationRequest
14534
+ * @returns CreateScalingConfigurationResponse
13988
14535
  */
13989
14536
  async createScalingConfiguration(request) {
13990
14537
  let runtime = new $Util.RuntimeOptions({});
13991
14538
  return await this.createScalingConfigurationWithOptions(request, runtime);
13992
14539
  }
13993
14540
  /**
13994
- * @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.
14541
+ * 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.
13995
14542
  *
13996
- * @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
14543
+ * @remarks
14544
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
13997
14545
  * 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.
13998
14546
  * 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.
13999
14547
  * 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).
14000
- * 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:
14548
+ * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds 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:
14001
14549
  * * 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.
14002
- * * 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.
14003
- * > 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.
14550
+ * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
14551
+ * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
14004
14552
  * 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:
14005
14553
  * * 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.
14006
14554
  * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
14007
- * 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).
14008
- * 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:
14555
+ * 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 adds 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/600535.html).
14556
+ * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds 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:
14009
14557
  * * 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.
14010
14558
  * * 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).
14011
14559
  * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
14012
- * * 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.
14013
- * * 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.
14560
+ * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
14561
+ * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
14014
14562
  * If you set `Tags.Propagate` to true, the following rules will apply:
14015
14563
  * * 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.
14016
14564
  * * 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.
14017
14565
  * * 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.
14018
14566
  *
14019
- * @param request CreateScalingGroupRequest
14020
- * @param runtime runtime options for this request RuntimeOptions
14021
- * @return CreateScalingGroupResponse
14567
+ * @param request - CreateScalingGroupRequest
14568
+ * @param runtime - runtime options for this request RuntimeOptions
14569
+ * @returns CreateScalingGroupResponse
14022
14570
  */
14023
14571
  async createScalingGroupWithOptions(request, runtime) {
14024
14572
  tea_util_1.default.validateModel(request);
@@ -14175,42 +14723,44 @@ class Client extends openapi_client_1.default {
14175
14723
  return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
14176
14724
  }
14177
14725
  /**
14178
- * @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.
14726
+ * 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.
14179
14727
  *
14180
- * @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
14728
+ * @remarks
14729
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
14181
14730
  * 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.
14182
14731
  * 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.
14183
14732
  * 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).
14184
- * 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:
14733
+ * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds 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:
14185
14734
  * * 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.
14186
- * * 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.
14187
- * > 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.
14735
+ * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
14736
+ * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
14188
14737
  * 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:
14189
14738
  * * 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.
14190
14739
  * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
14191
- * 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).
14192
- * 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:
14740
+ * 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 adds 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/600535.html).
14741
+ * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds 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:
14193
14742
  * * 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.
14194
14743
  * * 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).
14195
14744
  * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
14196
- * * 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.
14197
- * * 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.
14745
+ * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
14746
+ * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
14198
14747
  * If you set `Tags.Propagate` to true, the following rules will apply:
14199
14748
  * * 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.
14200
14749
  * * 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.
14201
14750
  * * 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.
14202
14751
  *
14203
- * @param request CreateScalingGroupRequest
14204
- * @return CreateScalingGroupResponse
14752
+ * @param request - CreateScalingGroupRequest
14753
+ * @returns CreateScalingGroupResponse
14205
14754
  */
14206
14755
  async createScalingGroup(request) {
14207
14756
  let runtime = new $Util.RuntimeOptions({});
14208
14757
  return await this.createScalingGroupWithOptions(request, runtime);
14209
14758
  }
14210
14759
  /**
14211
- * @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.
14760
+ * 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.
14212
14761
  *
14213
- * @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:
14762
+ * @remarks
14763
+ * 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:
14214
14764
  * * 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.
14215
14765
  * * 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.
14216
14766
  * Before you call this operation, take note of the following items:
@@ -14223,9 +14773,9 @@ class Client extends openapi_client_1.default {
14223
14773
  * * 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.
14224
14774
  * * 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.
14225
14775
  *
14226
- * @param request CreateScalingRuleRequest
14227
- * @param runtime runtime options for this request RuntimeOptions
14228
- * @return CreateScalingRuleResponse
14776
+ * @param request - CreateScalingRuleRequest
14777
+ * @param runtime - runtime options for this request RuntimeOptions
14778
+ * @returns CreateScalingRuleResponse
14229
14779
  */
14230
14780
  async createScalingRuleWithOptions(request, runtime) {
14231
14781
  tea_util_1.default.validateModel(request);
@@ -14319,9 +14869,10 @@ class Client extends openapi_client_1.default {
14319
14869
  return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
14320
14870
  }
14321
14871
  /**
14322
- * @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.
14872
+ * 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.
14323
14873
  *
14324
- * @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:
14874
+ * @remarks
14875
+ * 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:
14325
14876
  * * 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.
14326
14877
  * * 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.
14327
14878
  * Before you call this operation, take note of the following items:
@@ -14334,17 +14885,18 @@ class Client extends openapi_client_1.default {
14334
14885
  * * 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.
14335
14886
  * * 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.
14336
14887
  *
14337
- * @param request CreateScalingRuleRequest
14338
- * @return CreateScalingRuleResponse
14888
+ * @param request - CreateScalingRuleRequest
14889
+ * @returns CreateScalingRuleResponse
14339
14890
  */
14340
14891
  async createScalingRule(request) {
14341
14892
  let runtime = new $Util.RuntimeOptions({});
14342
14893
  return await this.createScalingRuleWithOptions(request, runtime);
14343
14894
  }
14344
14895
  /**
14345
- * @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.
14896
+ * 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.
14346
14897
  *
14347
- * @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.
14898
+ * @remarks
14899
+ * 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.
14348
14900
  * * If several scheduled tasks concurrently attempt to execute the same scaling rule within a scaling group, the following rules apply:
14349
14901
  * * 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.
14350
14902
  * * 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.
@@ -14354,9 +14906,9 @@ class Client extends openapi_client_1.default {
14354
14906
  * **
14355
14907
  * **Note** You cannot specify ScheduledAction and ScalingGroupId at the same time.
14356
14908
  *
14357
- * @param request CreateScheduledTaskRequest
14358
- * @param runtime runtime options for this request RuntimeOptions
14359
- * @return CreateScheduledTaskResponse
14909
+ * @param request - CreateScheduledTaskRequest
14910
+ * @param runtime - runtime options for this request RuntimeOptions
14911
+ * @returns CreateScheduledTaskResponse
14360
14912
  */
14361
14913
  async createScheduledTaskWithOptions(request, runtime) {
14362
14914
  tea_util_1.default.validateModel(request);
@@ -14429,9 +14981,10 @@ class Client extends openapi_client_1.default {
14429
14981
  return $tea.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
14430
14982
  }
14431
14983
  /**
14432
- * @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.
14984
+ * 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.
14433
14985
  *
14434
- * @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.
14986
+ * @remarks
14987
+ * 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.
14435
14988
  * * If several scheduled tasks concurrently attempt to execute the same scaling rule within a scaling group, the following rules apply:
14436
14989
  * * 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.
14437
14990
  * * 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.
@@ -14441,21 +14994,22 @@ class Client extends openapi_client_1.default {
14441
14994
  * **
14442
14995
  * **Note** You cannot specify ScheduledAction and ScalingGroupId at the same time.
14443
14996
  *
14444
- * @param request CreateScheduledTaskRequest
14445
- * @return CreateScheduledTaskResponse
14997
+ * @param request - CreateScheduledTaskRequest
14998
+ * @returns CreateScheduledTaskResponse
14446
14999
  */
14447
15000
  async createScheduledTask(request) {
14448
15001
  let runtime = new $Util.RuntimeOptions({});
14449
15002
  return await this.createScheduledTaskWithOptions(request, runtime);
14450
15003
  }
14451
15004
  /**
14452
- * @summary Deactivates a scaling configuration.
15005
+ * Deactivates a scaling configuration.
14453
15006
  *
14454
- * @description * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
15007
+ * @remarks
15008
+ * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
14455
15009
  *
14456
- * @param request DeactivateScalingConfigurationRequest
14457
- * @param runtime runtime options for this request RuntimeOptions
14458
- * @return DeactivateScalingConfigurationResponse
15010
+ * @param request - DeactivateScalingConfigurationRequest
15011
+ * @param runtime - runtime options for this request RuntimeOptions
15012
+ * @returns DeactivateScalingConfigurationResponse
14459
15013
  */
14460
15014
  async deactivateScalingConfigurationWithOptions(request, runtime) {
14461
15015
  tea_util_1.default.validateModel(request);
@@ -14489,23 +15043,24 @@ class Client extends openapi_client_1.default {
14489
15043
  return $tea.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
14490
15044
  }
14491
15045
  /**
14492
- * @summary Deactivates a scaling configuration.
15046
+ * Deactivates a scaling configuration.
14493
15047
  *
14494
- * @description * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
15048
+ * @remarks
15049
+ * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
14495
15050
  *
14496
- * @param request DeactivateScalingConfigurationRequest
14497
- * @return DeactivateScalingConfigurationResponse
15051
+ * @param request - DeactivateScalingConfigurationRequest
15052
+ * @returns DeactivateScalingConfigurationResponse
14498
15053
  */
14499
15054
  async deactivateScalingConfiguration(request) {
14500
15055
  let runtime = new $Util.RuntimeOptions({});
14501
15056
  return await this.deactivateScalingConfigurationWithOptions(request, runtime);
14502
15057
  }
14503
15058
  /**
14504
- * @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
15059
+ * Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
14505
15060
  *
14506
- * @param request DeleteAlarmRequest
14507
- * @param runtime runtime options for this request RuntimeOptions
14508
- * @return DeleteAlarmResponse
15061
+ * @param request - DeleteAlarmRequest
15062
+ * @param runtime - runtime options for this request RuntimeOptions
15063
+ * @returns DeleteAlarmResponse
14509
15064
  */
14510
15065
  async deleteAlarmWithOptions(request, runtime) {
14511
15066
  tea_util_1.default.validateModel(request);
@@ -14539,25 +15094,26 @@ class Client extends openapi_client_1.default {
14539
15094
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
14540
15095
  }
14541
15096
  /**
14542
- * @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
15097
+ * Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
14543
15098
  *
14544
- * @param request DeleteAlarmRequest
14545
- * @return DeleteAlarmResponse
15099
+ * @param request - DeleteAlarmRequest
15100
+ * @returns DeleteAlarmResponse
14546
15101
  */
14547
15102
  async deleteAlarm(request) {
14548
15103
  let runtime = new $Util.RuntimeOptions({});
14549
15104
  return await this.deleteAlarmWithOptions(request, runtime);
14550
15105
  }
14551
15106
  /**
14552
- * @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
15107
+ * Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
14553
15108
  *
14554
- * @description You cannot call this operation to delete a scaling configuration in the following scenarios:
15109
+ * @remarks
15110
+ * You cannot call this operation to delete a scaling configuration in the following scenarios:
14555
15111
  * * The scaling configuration is in the Active state.
14556
15112
  * * The scaling group contains elastic container instances created from the scaling configuration.
14557
15113
  *
14558
- * @param request DeleteEciScalingConfigurationRequest
14559
- * @param runtime runtime options for this request RuntimeOptions
14560
- * @return DeleteEciScalingConfigurationResponse
15114
+ * @param request - DeleteEciScalingConfigurationRequest
15115
+ * @param runtime - runtime options for this request RuntimeOptions
15116
+ * @returns DeleteEciScalingConfigurationResponse
14561
15117
  */
14562
15118
  async deleteEciScalingConfigurationWithOptions(request, runtime) {
14563
15119
  tea_util_1.default.validateModel(request);
@@ -14594,29 +15150,31 @@ class Client extends openapi_client_1.default {
14594
15150
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
14595
15151
  }
14596
15152
  /**
14597
- * @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
15153
+ * Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
14598
15154
  *
14599
- * @description You cannot call this operation to delete a scaling configuration in the following scenarios:
15155
+ * @remarks
15156
+ * You cannot call this operation to delete a scaling configuration in the following scenarios:
14600
15157
  * * The scaling configuration is in the Active state.
14601
15158
  * * The scaling group contains elastic container instances created from the scaling configuration.
14602
15159
  *
14603
- * @param request DeleteEciScalingConfigurationRequest
14604
- * @return DeleteEciScalingConfigurationResponse
15160
+ * @param request - DeleteEciScalingConfigurationRequest
15161
+ * @returns DeleteEciScalingConfigurationResponse
14605
15162
  */
14606
15163
  async deleteEciScalingConfiguration(request) {
14607
15164
  let runtime = new $Util.RuntimeOptions({});
14608
15165
  return await this.deleteEciScalingConfigurationWithOptions(request, runtime);
14609
15166
  }
14610
15167
  /**
14611
- * @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.
15168
+ * 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.
14612
15169
  *
14613
- * @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:
15170
+ * @remarks
15171
+ * 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:
14614
15172
  * * Include `LifecycleHookId` within your request to specify the lifecycle hook that you want to delete. In this case, `ScalingGroupId` and `LifecycleHookName` are ignored.
14615
15173
  * * Include `ScalingGroupId` and `LifecycleHookName` within your request to specify the lifecycle hook that you want to delete.
14616
15174
  *
14617
- * @param request DeleteLifecycleHookRequest
14618
- * @param runtime runtime options for this request RuntimeOptions
14619
- * @return DeleteLifecycleHookResponse
15175
+ * @param request - DeleteLifecycleHookRequest
15176
+ * @param runtime - runtime options for this request RuntimeOptions
15177
+ * @returns DeleteLifecycleHookResponse
14620
15178
  */
14621
15179
  async deleteLifecycleHookWithOptions(request, runtime) {
14622
15180
  tea_util_1.default.validateModel(request);
@@ -14659,25 +15217,26 @@ class Client extends openapi_client_1.default {
14659
15217
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
14660
15218
  }
14661
15219
  /**
14662
- * @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.
15220
+ * 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.
14663
15221
  *
14664
- * @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:
15222
+ * @remarks
15223
+ * 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:
14665
15224
  * * Include `LifecycleHookId` within your request to specify the lifecycle hook that you want to delete. In this case, `ScalingGroupId` and `LifecycleHookName` are ignored.
14666
15225
  * * Include `ScalingGroupId` and `LifecycleHookName` within your request to specify the lifecycle hook that you want to delete.
14667
15226
  *
14668
- * @param request DeleteLifecycleHookRequest
14669
- * @return DeleteLifecycleHookResponse
15227
+ * @param request - DeleteLifecycleHookRequest
15228
+ * @returns DeleteLifecycleHookResponse
14670
15229
  */
14671
15230
  async deleteLifecycleHook(request) {
14672
15231
  let runtime = new $Util.RuntimeOptions({});
14673
15232
  return await this.deleteLifecycleHookWithOptions(request, runtime);
14674
15233
  }
14675
15234
  /**
14676
- * @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
15235
+ * Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
14677
15236
  *
14678
- * @param request DeleteNotificationConfigurationRequest
14679
- * @param runtime runtime options for this request RuntimeOptions
14680
- * @return DeleteNotificationConfigurationResponse
15237
+ * @param request - DeleteNotificationConfigurationRequest
15238
+ * @param runtime - runtime options for this request RuntimeOptions
15239
+ * @returns DeleteNotificationConfigurationResponse
14681
15240
  */
14682
15241
  async deleteNotificationConfigurationWithOptions(request, runtime) {
14683
15242
  tea_util_1.default.validateModel(request);
@@ -14714,25 +15273,26 @@ class Client extends openapi_client_1.default {
14714
15273
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
14715
15274
  }
14716
15275
  /**
14717
- * @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
15276
+ * Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
14718
15277
  *
14719
- * @param request DeleteNotificationConfigurationRequest
14720
- * @return DeleteNotificationConfigurationResponse
15278
+ * @param request - DeleteNotificationConfigurationRequest
15279
+ * @returns DeleteNotificationConfigurationResponse
14721
15280
  */
14722
15281
  async deleteNotificationConfiguration(request) {
14723
15282
  let runtime = new $Util.RuntimeOptions({});
14724
15283
  return await this.deleteNotificationConfigurationWithOptions(request, runtime);
14725
15284
  }
14726
15285
  /**
14727
- * @summary Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
15286
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
14728
15287
  *
14729
- * @description You cannot delete a scaling configuration in one of the following scenarios:
15288
+ * @remarks
15289
+ * You cannot delete a scaling configuration in one of the following scenarios:
14730
15290
  * * The scaling configuration in your scaling group is in the Active state.
14731
15291
  * * The scaling group contains ECS instances that were created based on the scaling configuration.
14732
15292
  *
14733
- * @param request DeleteScalingConfigurationRequest
14734
- * @param runtime runtime options for this request RuntimeOptions
14735
- * @return DeleteScalingConfigurationResponse
15293
+ * @param request - DeleteScalingConfigurationRequest
15294
+ * @param runtime - runtime options for this request RuntimeOptions
15295
+ * @returns DeleteScalingConfigurationResponse
14736
15296
  */
14737
15297
  async deleteScalingConfigurationWithOptions(request, runtime) {
14738
15298
  tea_util_1.default.validateModel(request);
@@ -14766,23 +15326,25 @@ class Client extends openapi_client_1.default {
14766
15326
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
14767
15327
  }
14768
15328
  /**
14769
- * @summary Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
15329
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
14770
15330
  *
14771
- * @description You cannot delete a scaling configuration in one of the following scenarios:
15331
+ * @remarks
15332
+ * You cannot delete a scaling configuration in one of the following scenarios:
14772
15333
  * * The scaling configuration in your scaling group is in the Active state.
14773
15334
  * * The scaling group contains ECS instances that were created based on the scaling configuration.
14774
15335
  *
14775
- * @param request DeleteScalingConfigurationRequest
14776
- * @return DeleteScalingConfigurationResponse
15336
+ * @param request - DeleteScalingConfigurationRequest
15337
+ * @returns DeleteScalingConfigurationResponse
14777
15338
  */
14778
15339
  async deleteScalingConfiguration(request) {
14779
15340
  let runtime = new $Util.RuntimeOptions({});
14780
15341
  return await this.deleteScalingConfigurationWithOptions(request, runtime);
14781
15342
  }
14782
15343
  /**
14783
- * @summary Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
15344
+ * Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
14784
15345
  *
14785
- * @description Before you call the DeleteScalingGroup operation, take note of the following items:
15346
+ * @remarks
15347
+ * Before you call the DeleteScalingGroup operation, take note of the following items:
14786
15348
  * * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
14787
15349
  * * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
14788
15350
  * * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
@@ -14793,9 +15355,9 @@ class Client extends openapi_client_1.default {
14793
15355
  * **
14794
15356
  * **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
14795
15357
  *
14796
- * @param request DeleteScalingGroupRequest
14797
- * @param runtime runtime options for this request RuntimeOptions
14798
- * @return DeleteScalingGroupResponse
15358
+ * @param request - DeleteScalingGroupRequest
15359
+ * @param runtime - runtime options for this request RuntimeOptions
15360
+ * @returns DeleteScalingGroupResponse
14799
15361
  */
14800
15362
  async deleteScalingGroupWithOptions(request, runtime) {
14801
15363
  tea_util_1.default.validateModel(request);
@@ -14835,9 +15397,10 @@ class Client extends openapi_client_1.default {
14835
15397
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
14836
15398
  }
14837
15399
  /**
14838
- * @summary Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
15400
+ * Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
14839
15401
  *
14840
- * @description Before you call the DeleteScalingGroup operation, take note of the following items:
15402
+ * @remarks
15403
+ * Before you call the DeleteScalingGroup operation, take note of the following items:
14841
15404
  * * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
14842
15405
  * * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
14843
15406
  * * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
@@ -14848,19 +15411,19 @@ class Client extends openapi_client_1.default {
14848
15411
  * **
14849
15412
  * **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
14850
15413
  *
14851
- * @param request DeleteScalingGroupRequest
14852
- * @return DeleteScalingGroupResponse
15414
+ * @param request - DeleteScalingGroupRequest
15415
+ * @returns DeleteScalingGroupResponse
14853
15416
  */
14854
15417
  async deleteScalingGroup(request) {
14855
15418
  let runtime = new $Util.RuntimeOptions({});
14856
15419
  return await this.deleteScalingGroupWithOptions(request, runtime);
14857
15420
  }
14858
15421
  /**
14859
- * @summary Deletes a scaling rule.
15422
+ * Deletes a scaling rule.
14860
15423
  *
14861
- * @param request DeleteScalingRuleRequest
14862
- * @param runtime runtime options for this request RuntimeOptions
14863
- * @return DeleteScalingRuleResponse
15424
+ * @param request - DeleteScalingRuleRequest
15425
+ * @param runtime - runtime options for this request RuntimeOptions
15426
+ * @returns DeleteScalingRuleResponse
14864
15427
  */
14865
15428
  async deleteScalingRuleWithOptions(request, runtime) {
14866
15429
  tea_util_1.default.validateModel(request);
@@ -14897,21 +15460,21 @@ class Client extends openapi_client_1.default {
14897
15460
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
14898
15461
  }
14899
15462
  /**
14900
- * @summary Deletes a scaling rule.
15463
+ * Deletes a scaling rule.
14901
15464
  *
14902
- * @param request DeleteScalingRuleRequest
14903
- * @return DeleteScalingRuleResponse
15465
+ * @param request - DeleteScalingRuleRequest
15466
+ * @returns DeleteScalingRuleResponse
14904
15467
  */
14905
15468
  async deleteScalingRule(request) {
14906
15469
  let runtime = new $Util.RuntimeOptions({});
14907
15470
  return await this.deleteScalingRuleWithOptions(request, runtime);
14908
15471
  }
14909
15472
  /**
14910
- * @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
15473
+ * Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
14911
15474
  *
14912
- * @param request DeleteScheduledTaskRequest
14913
- * @param runtime runtime options for this request RuntimeOptions
14914
- * @return DeleteScheduledTaskResponse
15475
+ * @param request - DeleteScheduledTaskRequest
15476
+ * @param runtime - runtime options for this request RuntimeOptions
15477
+ * @returns DeleteScheduledTaskResponse
14915
15478
  */
14916
15479
  async deleteScheduledTaskWithOptions(request, runtime) {
14917
15480
  tea_util_1.default.validateModel(request);
@@ -14948,21 +15511,21 @@ class Client extends openapi_client_1.default {
14948
15511
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
14949
15512
  }
14950
15513
  /**
14951
- * @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
15514
+ * Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
14952
15515
  *
14953
- * @param request DeleteScheduledTaskRequest
14954
- * @return DeleteScheduledTaskResponse
15516
+ * @param request - DeleteScheduledTaskRequest
15517
+ * @returns DeleteScheduledTaskResponse
14955
15518
  */
14956
15519
  async deleteScheduledTask(request) {
14957
15520
  let runtime = new $Util.RuntimeOptions({});
14958
15521
  return await this.deleteScheduledTaskWithOptions(request, runtime);
14959
15522
  }
14960
15523
  /**
14961
- * @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
15524
+ * Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
14962
15525
  *
14963
- * @param request DescribeAlarmsRequest
14964
- * @param runtime runtime options for this request RuntimeOptions
14965
- * @return DescribeAlarmsResponse
15526
+ * @param request - DescribeAlarmsRequest
15527
+ * @param runtime - runtime options for this request RuntimeOptions
15528
+ * @returns DescribeAlarmsResponse
14966
15529
  */
14967
15530
  async describeAlarmsWithOptions(request, runtime) {
14968
15531
  tea_util_1.default.validateModel(request);
@@ -15017,21 +15580,21 @@ class Client extends openapi_client_1.default {
15017
15580
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
15018
15581
  }
15019
15582
  /**
15020
- * @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
15583
+ * Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
15021
15584
  *
15022
- * @param request DescribeAlarmsRequest
15023
- * @return DescribeAlarmsResponse
15585
+ * @param request - DescribeAlarmsRequest
15586
+ * @returns DescribeAlarmsResponse
15024
15587
  */
15025
15588
  async describeAlarms(request) {
15026
15589
  let runtime = new $Util.RuntimeOptions({});
15027
15590
  return await this.describeAlarmsWithOptions(request, runtime);
15028
15591
  }
15029
15592
  /**
15030
- * @summary Queries the status of scaling activities that prompt text message or email notifications.
15593
+ * Queries the status of scaling activities that trigger text message, internal message, or email-based notifications. When you call the DescribeAlertConfiguration operation, you must specify the scaling group ID and region ID to query the status of the desired scaling activities. A scaling activity can be in one of the following states: Successful, Failed, and Rejected.
15031
15594
  *
15032
- * @param request DescribeAlertConfigurationRequest
15033
- * @param runtime runtime options for this request RuntimeOptions
15034
- * @return DescribeAlertConfigurationResponse
15595
+ * @param request - DescribeAlertConfigurationRequest
15596
+ * @param runtime - runtime options for this request RuntimeOptions
15597
+ * @returns DescribeAlertConfigurationResponse
15035
15598
  */
15036
15599
  async describeAlertConfigurationWithOptions(request, runtime) {
15037
15600
  tea_util_1.default.validateModel(request);
@@ -15065,21 +15628,21 @@ class Client extends openapi_client_1.default {
15065
15628
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
15066
15629
  }
15067
15630
  /**
15068
- * @summary Queries the status of scaling activities that prompt text message or email notifications.
15631
+ * Queries the status of scaling activities that trigger text message, internal message, or email-based notifications. When you call the DescribeAlertConfiguration operation, you must specify the scaling group ID and region ID to query the status of the desired scaling activities. A scaling activity can be in one of the following states: Successful, Failed, and Rejected.
15069
15632
  *
15070
- * @param request DescribeAlertConfigurationRequest
15071
- * @return DescribeAlertConfigurationResponse
15633
+ * @param request - DescribeAlertConfigurationRequest
15634
+ * @returns DescribeAlertConfigurationResponse
15072
15635
  */
15073
15636
  async describeAlertConfiguration(request) {
15074
15637
  let runtime = new $Util.RuntimeOptions({});
15075
15638
  return await this.describeAlertConfigurationWithOptions(request, runtime);
15076
15639
  }
15077
15640
  /**
15078
- * @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.
15641
+ * 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.
15079
15642
  *
15080
- * @param request DescribeEciScalingConfigurationDetailRequest
15081
- * @param runtime runtime options for this request RuntimeOptions
15082
- * @return DescribeEciScalingConfigurationDetailResponse
15643
+ * @param request - DescribeEciScalingConfigurationDetailRequest
15644
+ * @param runtime - runtime options for this request RuntimeOptions
15645
+ * @returns DescribeEciScalingConfigurationDetailResponse
15083
15646
  */
15084
15647
  async describeEciScalingConfigurationDetailWithOptions(request, runtime) {
15085
15648
  tea_util_1.default.validateModel(request);
@@ -15113,21 +15676,21 @@ class Client extends openapi_client_1.default {
15113
15676
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
15114
15677
  }
15115
15678
  /**
15116
- * @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.
15679
+ * 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.
15117
15680
  *
15118
- * @param request DescribeEciScalingConfigurationDetailRequest
15119
- * @return DescribeEciScalingConfigurationDetailResponse
15681
+ * @param request - DescribeEciScalingConfigurationDetailRequest
15682
+ * @returns DescribeEciScalingConfigurationDetailResponse
15120
15683
  */
15121
15684
  async describeEciScalingConfigurationDetail(request) {
15122
15685
  let runtime = new $Util.RuntimeOptions({});
15123
15686
  return await this.describeEciScalingConfigurationDetailWithOptions(request, runtime);
15124
15687
  }
15125
15688
  /**
15126
- * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances.
15689
+ * Queries scaling configurations of the Elastic Container Instance type. When you call the DescribeEciScalingConfigurations operation, you can specify ScalingGroupId, ScalingConfigurationIds, or ScalingConfigurationNames to query details about the desired scaling configurations, such as the instance bidding policy, instance type, image pulling policy, and load balancing weight of each elastic container instance. This can help you select a suitable template for creating elastic container instances or reference existing scaling configurations before you modify the automatic scaling policy for elastic container instances.
15127
15690
  *
15128
- * @param request DescribeEciScalingConfigurationsRequest
15129
- * @param runtime runtime options for this request RuntimeOptions
15130
- * @return DescribeEciScalingConfigurationsResponse
15691
+ * @param request - DescribeEciScalingConfigurationsRequest
15692
+ * @param runtime - runtime options for this request RuntimeOptions
15693
+ * @returns DescribeEciScalingConfigurationsResponse
15131
15694
  */
15132
15695
  async describeEciScalingConfigurationsWithOptions(request, runtime) {
15133
15696
  tea_util_1.default.validateModel(request);
@@ -15179,27 +15742,87 @@ class Client extends openapi_client_1.default {
15179
15742
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
15180
15743
  }
15181
15744
  /**
15182
- * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances.
15745
+ * Queries scaling configurations of the Elastic Container Instance type. When you call the DescribeEciScalingConfigurations operation, you can specify ScalingGroupId, ScalingConfigurationIds, or ScalingConfigurationNames to query details about the desired scaling configurations, such as the instance bidding policy, instance type, image pulling policy, and load balancing weight of each elastic container instance. This can help you select a suitable template for creating elastic container instances or reference existing scaling configurations before you modify the automatic scaling policy for elastic container instances.
15183
15746
  *
15184
- * @param request DescribeEciScalingConfigurationsRequest
15185
- * @return DescribeEciScalingConfigurationsResponse
15747
+ * @param request - DescribeEciScalingConfigurationsRequest
15748
+ * @returns DescribeEciScalingConfigurationsResponse
15186
15749
  */
15187
15750
  async describeEciScalingConfigurations(request) {
15188
15751
  let runtime = new $Util.RuntimeOptions({});
15189
15752
  return await this.describeEciScalingConfigurationsWithOptions(request, runtime);
15190
15753
  }
15191
15754
  /**
15192
- * @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.
15755
+ * @param request - DescribeInstanceRefreshesRequest
15756
+ * @param runtime - runtime options for this request RuntimeOptions
15757
+ * @returns DescribeInstanceRefreshesResponse
15758
+ */
15759
+ async describeInstanceRefreshesWithOptions(request, runtime) {
15760
+ tea_util_1.default.validateModel(request);
15761
+ let query = {};
15762
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskIds)) {
15763
+ query["InstanceRefreshTaskIds"] = request.instanceRefreshTaskIds;
15764
+ }
15765
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
15766
+ query["MaxResults"] = request.maxResults;
15767
+ }
15768
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
15769
+ query["NextToken"] = request.nextToken;
15770
+ }
15771
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
15772
+ query["OwnerAccount"] = request.ownerAccount;
15773
+ }
15774
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
15775
+ query["OwnerId"] = request.ownerId;
15776
+ }
15777
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15778
+ query["RegionId"] = request.regionId;
15779
+ }
15780
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
15781
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
15782
+ }
15783
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
15784
+ query["ResourceOwnerId"] = request.resourceOwnerId;
15785
+ }
15786
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
15787
+ query["ScalingGroupId"] = request.scalingGroupId;
15788
+ }
15789
+ let req = new $OpenApi.OpenApiRequest({
15790
+ query: openapi_util_1.default.query(query),
15791
+ });
15792
+ let params = new $OpenApi.Params({
15793
+ action: "DescribeInstanceRefreshes",
15794
+ version: "2022-02-22",
15795
+ protocol: "HTTPS",
15796
+ pathname: "/",
15797
+ method: "POST",
15798
+ authType: "AK",
15799
+ style: "RPC",
15800
+ reqBodyType: "formData",
15801
+ bodyType: "json",
15802
+ });
15803
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
15804
+ }
15805
+ /**
15806
+ * @param request - DescribeInstanceRefreshesRequest
15807
+ * @returns DescribeInstanceRefreshesResponse
15808
+ */
15809
+ async describeInstanceRefreshes(request) {
15810
+ let runtime = new $Util.RuntimeOptions({});
15811
+ return await this.describeInstanceRefreshesWithOptions(request, runtime);
15812
+ }
15813
+ /**
15814
+ * 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.
15193
15815
  *
15194
- * @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:
15816
+ * @remarks
15817
+ * 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:
15195
15818
  * * 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.
15196
15819
  * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
15197
15820
  * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
15198
15821
  * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
15199
15822
  *
15200
- * @param request DescribeLifecycleActionsRequest
15201
- * @param runtime runtime options for this request RuntimeOptions
15202
- * @return DescribeLifecycleActionsResponse
15823
+ * @param request - DescribeLifecycleActionsRequest
15824
+ * @param runtime - runtime options for this request RuntimeOptions
15825
+ * @returns DescribeLifecycleActionsResponse
15203
15826
  */
15204
15827
  async describeLifecycleActionsWithOptions(request, runtime) {
15205
15828
  tea_util_1.default.validateModel(request);
@@ -15242,32 +15865,34 @@ class Client extends openapi_client_1.default {
15242
15865
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
15243
15866
  }
15244
15867
  /**
15245
- * @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.
15868
+ * 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.
15246
15869
  *
15247
- * @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:
15870
+ * @remarks
15871
+ * 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:
15248
15872
  * * 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.
15249
15873
  * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
15250
15874
  * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
15251
15875
  * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
15252
15876
  *
15253
- * @param request DescribeLifecycleActionsRequest
15254
- * @return DescribeLifecycleActionsResponse
15877
+ * @param request - DescribeLifecycleActionsRequest
15878
+ * @returns DescribeLifecycleActionsResponse
15255
15879
  */
15256
15880
  async describeLifecycleActions(request) {
15257
15881
  let runtime = new $Util.RuntimeOptions({});
15258
15882
  return await this.describeLifecycleActionsWithOptions(request, runtime);
15259
15883
  }
15260
15884
  /**
15261
- * @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.
15885
+ * 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.
15262
15886
  *
15263
- * @description You can use one of the following methods to query lifecycle hooks:
15887
+ * @remarks
15888
+ * You can use one of the following methods to query lifecycle hooks:
15264
15889
  * * 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.
15265
15890
  * * Specify the scaling group ID by using the ScalingGroupId parameter.
15266
15891
  * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
15267
15892
  *
15268
- * @param request DescribeLifecycleHooksRequest
15269
- * @param runtime runtime options for this request RuntimeOptions
15270
- * @return DescribeLifecycleHooksResponse
15893
+ * @param request - DescribeLifecycleHooksRequest
15894
+ * @param runtime - runtime options for this request RuntimeOptions
15895
+ * @returns DescribeLifecycleHooksResponse
15271
15896
  */
15272
15897
  async describeLifecycleHooksWithOptions(request, runtime) {
15273
15898
  tea_util_1.default.validateModel(request);
@@ -15316,26 +15941,27 @@ class Client extends openapi_client_1.default {
15316
15941
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
15317
15942
  }
15318
15943
  /**
15319
- * @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.
15944
+ * 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.
15320
15945
  *
15321
- * @description You can use one of the following methods to query lifecycle hooks:
15946
+ * @remarks
15947
+ * You can use one of the following methods to query lifecycle hooks:
15322
15948
  * * 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.
15323
15949
  * * Specify the scaling group ID by using the ScalingGroupId parameter.
15324
15950
  * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
15325
15951
  *
15326
- * @param request DescribeLifecycleHooksRequest
15327
- * @return DescribeLifecycleHooksResponse
15952
+ * @param request - DescribeLifecycleHooksRequest
15953
+ * @returns DescribeLifecycleHooksResponse
15328
15954
  */
15329
15955
  async describeLifecycleHooks(request) {
15330
15956
  let runtime = new $Util.RuntimeOptions({});
15331
15957
  return await this.describeLifecycleHooksWithOptions(request, runtime);
15332
15958
  }
15333
15959
  /**
15334
- * @summary Queries resource quotas. You can call the DescribeLimitation operation to query the upper limits on resources such as scheduled tasks that can be created in a scaling group, load balancers that can be attached to a scaling group, instances that can be contained in a scaling group, and scaling configurations that can be created in a scaling group.
15960
+ * Queries resource quotas. For example, you can call the DescribeLimitation operation to query the maximum numbers of scheduled tasks that you can create in a scaling group, load balancers that you can attach to a scaling group, instances that you can add to a scaling group, and scaling configurations that you can create in a scaling group.
15335
15961
  *
15336
- * @param request DescribeLimitationRequest
15337
- * @param runtime runtime options for this request RuntimeOptions
15338
- * @return DescribeLimitationResponse
15962
+ * @param request - DescribeLimitationRequest
15963
+ * @param runtime - runtime options for this request RuntimeOptions
15964
+ * @returns DescribeLimitationResponse
15339
15965
  */
15340
15966
  async describeLimitationWithOptions(request, runtime) {
15341
15967
  tea_util_1.default.validateModel(request);
@@ -15363,21 +15989,21 @@ class Client extends openapi_client_1.default {
15363
15989
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
15364
15990
  }
15365
15991
  /**
15366
- * @summary Queries resource quotas. You can call the DescribeLimitation operation to query the upper limits on resources such as scheduled tasks that can be created in a scaling group, load balancers that can be attached to a scaling group, instances that can be contained in a scaling group, and scaling configurations that can be created in a scaling group.
15992
+ * Queries resource quotas. For example, you can call the DescribeLimitation operation to query the maximum numbers of scheduled tasks that you can create in a scaling group, load balancers that you can attach to a scaling group, instances that you can add to a scaling group, and scaling configurations that you can create in a scaling group.
15367
15993
  *
15368
- * @param request DescribeLimitationRequest
15369
- * @return DescribeLimitationResponse
15994
+ * @param request - DescribeLimitationRequest
15995
+ * @returns DescribeLimitationResponse
15370
15996
  */
15371
15997
  async describeLimitation(request) {
15372
15998
  let runtime = new $Util.RuntimeOptions({});
15373
15999
  return await this.describeLimitationWithOptions(request, runtime);
15374
16000
  }
15375
16001
  /**
15376
- * @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.
16002
+ * Queries notification settings. You can call the DescribeNotificationConfiguration operation to query notification settings of scaling events or resource changes, including the notification types and methods.
15377
16003
  *
15378
- * @param request DescribeNotificationConfigurationsRequest
15379
- * @param runtime runtime options for this request RuntimeOptions
15380
- * @return DescribeNotificationConfigurationsResponse
16004
+ * @param request - DescribeNotificationConfigurationsRequest
16005
+ * @param runtime - runtime options for this request RuntimeOptions
16006
+ * @returns DescribeNotificationConfigurationsResponse
15381
16007
  */
15382
16008
  async describeNotificationConfigurationsWithOptions(request, runtime) {
15383
16009
  tea_util_1.default.validateModel(request);
@@ -15411,21 +16037,21 @@ class Client extends openapi_client_1.default {
15411
16037
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
15412
16038
  }
15413
16039
  /**
15414
- * @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.
16040
+ * Queries notification settings. You can call the DescribeNotificationConfiguration operation to query notification settings of scaling events or resource changes, including the notification types and methods.
15415
16041
  *
15416
- * @param request DescribeNotificationConfigurationsRequest
15417
- * @return DescribeNotificationConfigurationsResponse
16042
+ * @param request - DescribeNotificationConfigurationsRequest
16043
+ * @returns DescribeNotificationConfigurationsResponse
15418
16044
  */
15419
16045
  async describeNotificationConfigurations(request) {
15420
16046
  let runtime = new $Util.RuntimeOptions({});
15421
16047
  return await this.describeNotificationConfigurationsWithOptions(request, runtime);
15422
16048
  }
15423
16049
  /**
15424
- * @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.
16050
+ * 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.
15425
16051
  *
15426
- * @param request DescribeNotificationTypesRequest
15427
- * @param runtime runtime options for this request RuntimeOptions
15428
- * @return DescribeNotificationTypesResponse
16052
+ * @param request - DescribeNotificationTypesRequest
16053
+ * @param runtime - runtime options for this request RuntimeOptions
16054
+ * @returns DescribeNotificationTypesResponse
15429
16055
  */
15430
16056
  async describeNotificationTypesWithOptions(request, runtime) {
15431
16057
  tea_util_1.default.validateModel(request);
@@ -15453,21 +16079,21 @@ class Client extends openapi_client_1.default {
15453
16079
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
15454
16080
  }
15455
16081
  /**
15456
- * @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.
16082
+ * 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.
15457
16083
  *
15458
- * @param request DescribeNotificationTypesRequest
15459
- * @return DescribeNotificationTypesResponse
16084
+ * @param request - DescribeNotificationTypesRequest
16085
+ * @returns DescribeNotificationTypesResponse
15460
16086
  */
15461
16087
  async describeNotificationTypes(request) {
15462
16088
  let runtime = new $Util.RuntimeOptions({});
15463
16089
  return await this.describeNotificationTypesWithOptions(request, runtime);
15464
16090
  }
15465
16091
  /**
15466
- * @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
16092
+ * Queries instance types. When you call the DescribePatternTypes operation, you can specify attributes such as the vSwitch ID, number of vCPUs, memory size, instance family, and maximum acceptable price to filer instance types that meet your business requirements.
15467
16093
  *
15468
- * @param request DescribePatternTypesRequest
15469
- * @param runtime runtime options for this request RuntimeOptions
15470
- * @return DescribePatternTypesResponse
16094
+ * @param request - DescribePatternTypesRequest
16095
+ * @param runtime - runtime options for this request RuntimeOptions
16096
+ * @returns DescribePatternTypesResponse
15471
16097
  */
15472
16098
  async describePatternTypesWithOptions(request, runtime) {
15473
16099
  tea_util_1.default.validateModel(request);
@@ -15489,21 +16115,21 @@ class Client extends openapi_client_1.default {
15489
16115
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
15490
16116
  }
15491
16117
  /**
15492
- * @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
16118
+ * Queries instance types. When you call the DescribePatternTypes operation, you can specify attributes such as the vSwitch ID, number of vCPUs, memory size, instance family, and maximum acceptable price to filer instance types that meet your business requirements.
15493
16119
  *
15494
- * @param request DescribePatternTypesRequest
15495
- * @return DescribePatternTypesResponse
16120
+ * @param request - DescribePatternTypesRequest
16121
+ * @returns DescribePatternTypesResponse
15496
16122
  */
15497
16123
  async describePatternTypes(request) {
15498
16124
  let runtime = new $Util.RuntimeOptions({});
15499
16125
  return await this.describePatternTypesWithOptions(request, runtime);
15500
16126
  }
15501
16127
  /**
15502
- * @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
16128
+ * Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
15503
16129
  *
15504
- * @param request DescribeRegionsRequest
15505
- * @param runtime runtime options for this request RuntimeOptions
15506
- * @return DescribeRegionsResponse
16130
+ * @param request - DescribeRegionsRequest
16131
+ * @param runtime - runtime options for this request RuntimeOptions
16132
+ * @returns DescribeRegionsResponse
15507
16133
  */
15508
16134
  async describeRegionsWithOptions(request, runtime) {
15509
16135
  tea_util_1.default.validateModel(request);
@@ -15537,29 +16163,33 @@ class Client extends openapi_client_1.default {
15537
16163
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
15538
16164
  }
15539
16165
  /**
15540
- * @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
16166
+ * Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
15541
16167
  *
15542
- * @param request DescribeRegionsRequest
15543
- * @return DescribeRegionsResponse
16168
+ * @param request - DescribeRegionsRequest
16169
+ * @returns DescribeRegionsResponse
15544
16170
  */
15545
16171
  async describeRegions(request) {
15546
16172
  let runtime = new $Util.RuntimeOptions({});
15547
16173
  return await this.describeRegionsWithOptions(request, runtime);
15548
16174
  }
15549
16175
  /**
15550
- * @summary Queries scaling activities.
16176
+ * Queries scaling activities.
15551
16177
  *
15552
- * @description You can specify a scaling group ID to query all scaling activities in the scaling group.
16178
+ * @remarks
16179
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
15553
16180
  * You can filter query results based on the status of scaling activities.
15554
16181
  * You can query scaling activities that are executed in the previous 30 days.
15555
16182
  *
15556
- * @param request DescribeScalingActivitiesRequest
15557
- * @param runtime runtime options for this request RuntimeOptions
15558
- * @return DescribeScalingActivitiesResponse
16183
+ * @param request - DescribeScalingActivitiesRequest
16184
+ * @param runtime - runtime options for this request RuntimeOptions
16185
+ * @returns DescribeScalingActivitiesResponse
15559
16186
  */
15560
16187
  async describeScalingActivitiesWithOptions(request, runtime) {
15561
16188
  tea_util_1.default.validateModel(request);
15562
16189
  let query = {};
16190
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskId)) {
16191
+ query["InstanceRefreshTaskId"] = request.instanceRefreshTaskId;
16192
+ }
15563
16193
  if (!tea_util_1.default.isUnset(request.ownerAccount)) {
15564
16194
  query["OwnerAccount"] = request.ownerAccount;
15565
16195
  }
@@ -15607,25 +16237,26 @@ class Client extends openapi_client_1.default {
15607
16237
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
15608
16238
  }
15609
16239
  /**
15610
- * @summary Queries scaling activities.
16240
+ * Queries scaling activities.
15611
16241
  *
15612
- * @description You can specify a scaling group ID to query all scaling activities in the scaling group.
16242
+ * @remarks
16243
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
15613
16244
  * You can filter query results based on the status of scaling activities.
15614
16245
  * You can query scaling activities that are executed in the previous 30 days.
15615
16246
  *
15616
- * @param request DescribeScalingActivitiesRequest
15617
- * @return DescribeScalingActivitiesResponse
16247
+ * @param request - DescribeScalingActivitiesRequest
16248
+ * @returns DescribeScalingActivitiesResponse
15618
16249
  */
15619
16250
  async describeScalingActivities(request) {
15620
16251
  let runtime = new $Util.RuntimeOptions({});
15621
16252
  return await this.describeScalingActivitiesWithOptions(request, runtime);
15622
16253
  }
15623
16254
  /**
15624
- * @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.
16255
+ * 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.
15625
16256
  *
15626
- * @param request DescribeScalingActivityDetailRequest
15627
- * @param runtime runtime options for this request RuntimeOptions
15628
- * @return DescribeScalingActivityDetailResponse
16257
+ * @param request - DescribeScalingActivityDetailRequest
16258
+ * @param runtime - runtime options for this request RuntimeOptions
16259
+ * @returns DescribeScalingActivityDetailResponse
15629
16260
  */
15630
16261
  async describeScalingActivityDetailWithOptions(request, runtime) {
15631
16262
  tea_util_1.default.validateModel(request);
@@ -15659,21 +16290,21 @@ class Client extends openapi_client_1.default {
15659
16290
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
15660
16291
  }
15661
16292
  /**
15662
- * @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.
16293
+ * 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.
15663
16294
  *
15664
- * @param request DescribeScalingActivityDetailRequest
15665
- * @return DescribeScalingActivityDetailResponse
16295
+ * @param request - DescribeScalingActivityDetailRequest
16296
+ * @returns DescribeScalingActivityDetailResponse
15666
16297
  */
15667
16298
  async describeScalingActivityDetail(request) {
15668
16299
  let runtime = new $Util.RuntimeOptions({});
15669
16300
  return await this.describeScalingActivityDetailWithOptions(request, runtime);
15670
16301
  }
15671
16302
  /**
15672
- * @summary Queries scaling configurations.
16303
+ * Queries scaling configurations.
15673
16304
  *
15674
- * @param request DescribeScalingConfigurationsRequest
15675
- * @param runtime runtime options for this request RuntimeOptions
15676
- * @return DescribeScalingConfigurationsResponse
16305
+ * @param request - DescribeScalingConfigurationsRequest
16306
+ * @param runtime - runtime options for this request RuntimeOptions
16307
+ * @returns DescribeScalingConfigurationsResponse
15677
16308
  */
15678
16309
  async describeScalingConfigurationsWithOptions(request, runtime) {
15679
16310
  tea_util_1.default.validateModel(request);
@@ -15725,21 +16356,21 @@ class Client extends openapi_client_1.default {
15725
16356
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
15726
16357
  }
15727
16358
  /**
15728
- * @summary Queries scaling configurations.
16359
+ * Queries scaling configurations.
15729
16360
  *
15730
- * @param request DescribeScalingConfigurationsRequest
15731
- * @return DescribeScalingConfigurationsResponse
16361
+ * @param request - DescribeScalingConfigurationsRequest
16362
+ * @returns DescribeScalingConfigurationsResponse
15732
16363
  */
15733
16364
  async describeScalingConfigurations(request) {
15734
16365
  let runtime = new $Util.RuntimeOptions({});
15735
16366
  return await this.describeScalingConfigurationsWithOptions(request, runtime);
15736
16367
  }
15737
16368
  /**
15738
- * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
16369
+ * Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
15739
16370
  *
15740
- * @param request DescribeScalingGroupDetailRequest
15741
- * @param runtime runtime options for this request RuntimeOptions
15742
- * @return DescribeScalingGroupDetailResponse
16371
+ * @param request - DescribeScalingGroupDetailRequest
16372
+ * @param runtime - runtime options for this request RuntimeOptions
16373
+ * @returns DescribeScalingGroupDetailResponse
15743
16374
  */
15744
16375
  async describeScalingGroupDetailWithOptions(request, runtime) {
15745
16376
  tea_util_1.default.validateModel(request);
@@ -15773,21 +16404,21 @@ class Client extends openapi_client_1.default {
15773
16404
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
15774
16405
  }
15775
16406
  /**
15776
- * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
16407
+ * Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
15777
16408
  *
15778
- * @param request DescribeScalingGroupDetailRequest
15779
- * @return DescribeScalingGroupDetailResponse
16409
+ * @param request - DescribeScalingGroupDetailRequest
16410
+ * @returns DescribeScalingGroupDetailResponse
15780
16411
  */
15781
16412
  async describeScalingGroupDetail(request) {
15782
16413
  let runtime = new $Util.RuntimeOptions({});
15783
16414
  return await this.describeScalingGroupDetailWithOptions(request, runtime);
15784
16415
  }
15785
16416
  /**
15786
- * @summary Queries scaling groups. If you want to query the basic information, instances, and scaling configurations of a scaling group, you can call the DescribeScalingGroups operation.
16417
+ * Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
15787
16418
  *
15788
- * @param request DescribeScalingGroupsRequest
15789
- * @param runtime runtime options for this request RuntimeOptions
15790
- * @return DescribeScalingGroupsResponse
16419
+ * @param request - DescribeScalingGroupsRequest
16420
+ * @param runtime - runtime options for this request RuntimeOptions
16421
+ * @returns DescribeScalingGroupsResponse
15791
16422
  */
15792
16423
  async describeScalingGroupsWithOptions(request, runtime) {
15793
16424
  tea_util_1.default.validateModel(request);
@@ -15848,21 +16479,21 @@ class Client extends openapi_client_1.default {
15848
16479
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
15849
16480
  }
15850
16481
  /**
15851
- * @summary Queries scaling groups. If you want to query the basic information, instances, and scaling configurations of a scaling group, you can call the DescribeScalingGroups operation.
16482
+ * Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
15852
16483
  *
15853
- * @param request DescribeScalingGroupsRequest
15854
- * @return DescribeScalingGroupsResponse
16484
+ * @param request - DescribeScalingGroupsRequest
16485
+ * @returns DescribeScalingGroupsResponse
15855
16486
  */
15856
16487
  async describeScalingGroups(request) {
15857
16488
  let runtime = new $Util.RuntimeOptions({});
15858
16489
  return await this.describeScalingGroupsWithOptions(request, runtime);
15859
16490
  }
15860
16491
  /**
15861
- * @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.
16492
+ * Queries instances in a scaling group. You can call the DescribeScalingInstances operation to query instance details, such as the number of preemptible instances in the Running state, the number of Elastic Compute Service (ECS) instances, the warm-up status of ECS instances, and the lifecycle status of ECS instances in a scaling group. You can specify the scaling group whose instances you want to query by scaling group ID. If you want to filter instances based on conditions, such as the instance health status, lifecycle status, or creation method, you can also call this operation.
15862
16493
  *
15863
- * @param request DescribeScalingInstancesRequest
15864
- * @param runtime runtime options for this request RuntimeOptions
15865
- * @return DescribeScalingInstancesResponse
16494
+ * @param request - DescribeScalingInstancesRequest
16495
+ * @param runtime - runtime options for this request RuntimeOptions
16496
+ * @returns DescribeScalingInstancesResponse
15866
16497
  */
15867
16498
  async describeScalingInstancesWithOptions(request, runtime) {
15868
16499
  tea_util_1.default.validateModel(request);
@@ -15932,23 +16563,24 @@ class Client extends openapi_client_1.default {
15932
16563
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
15933
16564
  }
15934
16565
  /**
15935
- * @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.
16566
+ * Queries instances in a scaling group. You can call the DescribeScalingInstances operation to query instance details, such as the number of preemptible instances in the Running state, the number of Elastic Compute Service (ECS) instances, the warm-up status of ECS instances, and the lifecycle status of ECS instances in a scaling group. You can specify the scaling group whose instances you want to query by scaling group ID. If you want to filter instances based on conditions, such as the instance health status, lifecycle status, or creation method, you can also call this operation.
15936
16567
  *
15937
- * @param request DescribeScalingInstancesRequest
15938
- * @return DescribeScalingInstancesResponse
16568
+ * @param request - DescribeScalingInstancesRequest
16569
+ * @returns DescribeScalingInstancesResponse
15939
16570
  */
15940
16571
  async describeScalingInstances(request) {
15941
16572
  let runtime = new $Util.RuntimeOptions({});
15942
16573
  return await this.describeScalingInstancesWithOptions(request, runtime);
15943
16574
  }
15944
16575
  /**
15945
- * @summary Queries all scaling rules in a scaling group.
16576
+ * Queries scaling rules. When you call this operation, you can specify the ID, name, or Alibaba Cloud Resource Name (ARN) of a scaling rule to query the details of the scaling rule. For example, you can query the adjustment method, instance warm-up period, and associated event-triggered tasks of the desired scaling rule.
15946
16577
  *
15947
- * @description You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
16578
+ * @remarks
16579
+ * You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
15948
16580
  *
15949
- * @param request DescribeScalingRulesRequest
15950
- * @param runtime runtime options for this request RuntimeOptions
15951
- * @return DescribeScalingRulesResponse
16581
+ * @param request - DescribeScalingRulesRequest
16582
+ * @param runtime - runtime options for this request RuntimeOptions
16583
+ * @returns DescribeScalingRulesResponse
15952
16584
  */
15953
16585
  async describeScalingRulesWithOptions(request, runtime) {
15954
16586
  tea_util_1.default.validateModel(request);
@@ -16009,25 +16641,27 @@ class Client extends openapi_client_1.default {
16009
16641
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
16010
16642
  }
16011
16643
  /**
16012
- * @summary Queries all scaling rules in a scaling group.
16644
+ * Queries scaling rules. When you call this operation, you can specify the ID, name, or Alibaba Cloud Resource Name (ARN) of a scaling rule to query the details of the scaling rule. For example, you can query the adjustment method, instance warm-up period, and associated event-triggered tasks of the desired scaling rule.
16013
16645
  *
16014
- * @description You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
16646
+ * @remarks
16647
+ * You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
16015
16648
  *
16016
- * @param request DescribeScalingRulesRequest
16017
- * @return DescribeScalingRulesResponse
16649
+ * @param request - DescribeScalingRulesRequest
16650
+ * @returns DescribeScalingRulesResponse
16018
16651
  */
16019
16652
  async describeScalingRules(request) {
16020
16653
  let runtime = new $Util.RuntimeOptions({});
16021
16654
  return await this.describeScalingRulesWithOptions(request, runtime);
16022
16655
  }
16023
16656
  /**
16024
- * @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.
16657
+ * 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.
16025
16658
  *
16026
- * @description You can query scheduled tasks by scaling rule, task ID, or task name.
16659
+ * @remarks
16660
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
16027
16661
  *
16028
- * @param request DescribeScheduledTasksRequest
16029
- * @param runtime runtime options for this request RuntimeOptions
16030
- * @return DescribeScheduledTasksResponse
16662
+ * @param request - DescribeScheduledTasksRequest
16663
+ * @param runtime - runtime options for this request RuntimeOptions
16664
+ * @returns DescribeScheduledTasksResponse
16031
16665
  */
16032
16666
  async describeScheduledTasksWithOptions(request, runtime) {
16033
16667
  tea_util_1.default.validateModel(request);
@@ -16094,23 +16728,24 @@ class Client extends openapi_client_1.default {
16094
16728
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
16095
16729
  }
16096
16730
  /**
16097
- * @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.
16731
+ * 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.
16098
16732
  *
16099
- * @description You can query scheduled tasks by scaling rule, task ID, or task name.
16733
+ * @remarks
16734
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
16100
16735
  *
16101
- * @param request DescribeScheduledTasksRequest
16102
- * @return DescribeScheduledTasksResponse
16736
+ * @param request - DescribeScheduledTasksRequest
16737
+ * @returns DescribeScheduledTasksResponse
16103
16738
  */
16104
16739
  async describeScheduledTasks(request) {
16105
16740
  let runtime = new $Util.RuntimeOptions({});
16106
16741
  return await this.describeScheduledTasksWithOptions(request, runtime);
16107
16742
  }
16108
16743
  /**
16109
- * @summary Disassociates one or more Application Load Balancer (ALB) server groups from a scaling group.
16744
+ * Detaches Application Load Balancer (ALB) server groups from a scaling group. When you call the DetachAlbServerGroups operation, you can specify the scaling group ID, ALB server group ID, and port used by Elastic Compute Service (ECS) instances in the desired ALB server group to detach one or more ALB server groups from your scaling group.
16110
16745
  *
16111
- * @param request DetachAlbServerGroupsRequest
16112
- * @param runtime runtime options for this request RuntimeOptions
16113
- * @return DetachAlbServerGroupsResponse
16746
+ * @param request - DetachAlbServerGroupsRequest
16747
+ * @param runtime - runtime options for this request RuntimeOptions
16748
+ * @returns DetachAlbServerGroupsResponse
16114
16749
  */
16115
16750
  async detachAlbServerGroupsWithOptions(request, runtime) {
16116
16751
  tea_util_1.default.validateModel(request);
@@ -16153,21 +16788,21 @@ class Client extends openapi_client_1.default {
16153
16788
  return $tea.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
16154
16789
  }
16155
16790
  /**
16156
- * @summary Disassociates one or more Application Load Balancer (ALB) server groups from a scaling group.
16791
+ * Detaches Application Load Balancer (ALB) server groups from a scaling group. When you call the DetachAlbServerGroups operation, you can specify the scaling group ID, ALB server group ID, and port used by Elastic Compute Service (ECS) instances in the desired ALB server group to detach one or more ALB server groups from your scaling group.
16157
16792
  *
16158
- * @param request DetachAlbServerGroupsRequest
16159
- * @return DetachAlbServerGroupsResponse
16793
+ * @param request - DetachAlbServerGroupsRequest
16794
+ * @returns DetachAlbServerGroupsResponse
16160
16795
  */
16161
16796
  async detachAlbServerGroups(request) {
16162
16797
  let runtime = new $Util.RuntimeOptions({});
16163
16798
  return await this.detachAlbServerGroupsWithOptions(request, runtime);
16164
16799
  }
16165
16800
  /**
16166
- * @summary Disassociates one or more ApsaraDB RDS instances from a scaling group.
16801
+ * Disassociates one or more ApsaraDB RDS instances from a scaling group.
16167
16802
  *
16168
- * @param request DetachDBInstancesRequest
16169
- * @param runtime runtime options for this request RuntimeOptions
16170
- * @return DetachDBInstancesResponse
16803
+ * @param request - DetachDBInstancesRequest
16804
+ * @param runtime - runtime options for this request RuntimeOptions
16805
+ * @returns DetachDBInstancesResponse
16171
16806
  */
16172
16807
  async detachDBInstancesWithOptions(request, runtime) {
16173
16808
  tea_util_1.default.validateModel(request);
@@ -16213,19 +16848,20 @@ class Client extends openapi_client_1.default {
16213
16848
  return $tea.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
16214
16849
  }
16215
16850
  /**
16216
- * @summary Disassociates one or more ApsaraDB RDS instances from a scaling group.
16851
+ * Disassociates one or more ApsaraDB RDS instances from a scaling group.
16217
16852
  *
16218
- * @param request DetachDBInstancesRequest
16219
- * @return DetachDBInstancesResponse
16853
+ * @param request - DetachDBInstancesRequest
16854
+ * @returns DetachDBInstancesResponse
16220
16855
  */
16221
16856
  async detachDBInstances(request) {
16222
16857
  let runtime = new $Util.RuntimeOptions({});
16223
16858
  return await this.detachDBInstancesWithOptions(request, runtime);
16224
16859
  }
16225
16860
  /**
16226
- * @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.
16861
+ * 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.
16227
16862
  *
16228
- * @description * Before you call the DetachInstances operation, make sure that the following conditions are met:
16863
+ * @remarks
16864
+ * Before you call the DetachInstances operation, make sure that the following conditions are met:
16229
16865
  * * The specified scaling group is enabled.
16230
16866
  * * The specified scaling group does not have any ongoing scaling activities.
16231
16867
  * **
@@ -16236,9 +16872,9 @@ class Client extends openapi_client_1.default {
16236
16872
  * * 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.
16237
16873
  * * 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.
16238
16874
  *
16239
- * @param request DetachInstancesRequest
16240
- * @param runtime runtime options for this request RuntimeOptions
16241
- * @return DetachInstancesResponse
16875
+ * @param request - DetachInstancesRequest
16876
+ * @param runtime - runtime options for this request RuntimeOptions
16877
+ * @returns DetachInstancesResponse
16242
16878
  */
16243
16879
  async detachInstancesWithOptions(request, runtime) {
16244
16880
  tea_util_1.default.validateModel(request);
@@ -16293,9 +16929,10 @@ class Client extends openapi_client_1.default {
16293
16929
  return $tea.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
16294
16930
  }
16295
16931
  /**
16296
- * @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.
16932
+ * 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.
16297
16933
  *
16298
- * @description * Before you call the DetachInstances operation, make sure that the following conditions are met:
16934
+ * @remarks
16935
+ * Before you call the DetachInstances operation, make sure that the following conditions are met:
16299
16936
  * * The specified scaling group is enabled.
16300
16937
  * * The specified scaling group does not have any ongoing scaling activities.
16301
16938
  * **
@@ -16306,19 +16943,19 @@ class Client extends openapi_client_1.default {
16306
16943
  * * 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.
16307
16944
  * * 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.
16308
16945
  *
16309
- * @param request DetachInstancesRequest
16310
- * @return DetachInstancesResponse
16946
+ * @param request - DetachInstancesRequest
16947
+ * @returns DetachInstancesResponse
16311
16948
  */
16312
16949
  async detachInstances(request) {
16313
16950
  let runtime = new $Util.RuntimeOptions({});
16314
16951
  return await this.detachInstancesWithOptions(request, runtime);
16315
16952
  }
16316
16953
  /**
16317
- * @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.
16954
+ * 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.
16318
16955
  *
16319
- * @param request DetachLoadBalancersRequest
16320
- * @param runtime runtime options for this request RuntimeOptions
16321
- * @return DetachLoadBalancersResponse
16956
+ * @param request - DetachLoadBalancersRequest
16957
+ * @param runtime - runtime options for this request RuntimeOptions
16958
+ * @returns DetachLoadBalancersResponse
16322
16959
  */
16323
16960
  async detachLoadBalancersWithOptions(request, runtime) {
16324
16961
  tea_util_1.default.validateModel(request);
@@ -16364,21 +17001,21 @@ class Client extends openapi_client_1.default {
16364
17001
  return $tea.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
16365
17002
  }
16366
17003
  /**
16367
- * @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.
17004
+ * 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.
16368
17005
  *
16369
- * @param request DetachLoadBalancersRequest
16370
- * @return DetachLoadBalancersResponse
17006
+ * @param request - DetachLoadBalancersRequest
17007
+ * @returns DetachLoadBalancersResponse
16371
17008
  */
16372
17009
  async detachLoadBalancers(request) {
16373
17010
  let runtime = new $Util.RuntimeOptions({});
16374
17011
  return await this.detachLoadBalancersWithOptions(request, runtime);
16375
17012
  }
16376
17013
  /**
16377
- * @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
17014
+ * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
16378
17015
  *
16379
- * @param request DetachServerGroupsRequest
16380
- * @param runtime runtime options for this request RuntimeOptions
16381
- * @return DetachServerGroupsResponse
17016
+ * @param request - DetachServerGroupsRequest
17017
+ * @param runtime - runtime options for this request RuntimeOptions
17018
+ * @returns DetachServerGroupsResponse
16382
17019
  */
16383
17020
  async detachServerGroupsWithOptions(request, runtime) {
16384
17021
  tea_util_1.default.validateModel(request);
@@ -16421,28 +17058,29 @@ class Client extends openapi_client_1.default {
16421
17058
  return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
16422
17059
  }
16423
17060
  /**
16424
- * @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
17061
+ * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
16425
17062
  *
16426
- * @param request DetachServerGroupsRequest
16427
- * @return DetachServerGroupsResponse
17063
+ * @param request - DetachServerGroupsRequest
17064
+ * @returns DetachServerGroupsResponse
16428
17065
  */
16429
17066
  async detachServerGroups(request) {
16430
17067
  let runtime = new $Util.RuntimeOptions({});
16431
17068
  return await this.detachServerGroupsWithOptions(request, runtime);
16432
17069
  }
16433
17070
  /**
16434
- * @summary Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
17071
+ * Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
16435
17072
  *
16436
- * @description * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
17073
+ * @remarks
17074
+ * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
16437
17075
  * * LoadBalancerId: the ID of the load balancer
16438
17076
  * * VServerGroupId: the ID of the vServer group
16439
17077
  * * Port: the port number of the vServer group
16440
17078
  * * When the vServer group specified by the request parameters matches that attached to your scaling group, this operation yields a favorable result. Otherwise, the request is ignored and no error is reported.
16441
17079
  * * Before you call this operation, you must make sure that the load balancer has ceased routing the access traffic to the instances in the scaling group. Failure to do so may lead to service requests being dropped or lost during the detachment process.
16442
17080
  *
16443
- * @param request DetachVServerGroupsRequest
16444
- * @param runtime runtime options for this request RuntimeOptions
16445
- * @return DetachVServerGroupsResponse
17081
+ * @param request - DetachVServerGroupsRequest
17082
+ * @param runtime - runtime options for this request RuntimeOptions
17083
+ * @returns DetachVServerGroupsResponse
16446
17084
  */
16447
17085
  async detachVServerGroupsWithOptions(request, runtime) {
16448
17086
  tea_util_1.default.validateModel(request);
@@ -16485,30 +17123,32 @@ class Client extends openapi_client_1.default {
16485
17123
  return $tea.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
16486
17124
  }
16487
17125
  /**
16488
- * @summary Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
17126
+ * Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
16489
17127
  *
16490
- * @description * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
17128
+ * @remarks
17129
+ * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
16491
17130
  * * LoadBalancerId: the ID of the load balancer
16492
17131
  * * VServerGroupId: the ID of the vServer group
16493
17132
  * * Port: the port number of the vServer group
16494
17133
  * * When the vServer group specified by the request parameters matches that attached to your scaling group, this operation yields a favorable result. Otherwise, the request is ignored and no error is reported.
16495
17134
  * * Before you call this operation, you must make sure that the load balancer has ceased routing the access traffic to the instances in the scaling group. Failure to do so may lead to service requests being dropped or lost during the detachment process.
16496
17135
  *
16497
- * @param request DetachVServerGroupsRequest
16498
- * @return DetachVServerGroupsResponse
17136
+ * @param request - DetachVServerGroupsRequest
17137
+ * @returns DetachVServerGroupsResponse
16499
17138
  */
16500
17139
  async detachVServerGroups(request) {
16501
17140
  let runtime = new $Util.RuntimeOptions({});
16502
17141
  return await this.detachVServerGroupsWithOptions(request, runtime);
16503
17142
  }
16504
17143
  /**
16505
- * @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
17144
+ * Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
16506
17145
  *
16507
- * @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
17146
+ * @remarks
17147
+ * Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
16508
17148
  *
16509
- * @param request DisableAlarmRequest
16510
- * @param runtime runtime options for this request RuntimeOptions
16511
- * @return DisableAlarmResponse
17149
+ * @param request - DisableAlarmRequest
17150
+ * @param runtime - runtime options for this request RuntimeOptions
17151
+ * @returns DisableAlarmResponse
16512
17152
  */
16513
17153
  async disableAlarmWithOptions(request, runtime) {
16514
17154
  tea_util_1.default.validateModel(request);
@@ -16542,27 +17182,29 @@ class Client extends openapi_client_1.default {
16542
17182
  return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
16543
17183
  }
16544
17184
  /**
16545
- * @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
17185
+ * Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
16546
17186
  *
16547
- * @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
17187
+ * @remarks
17188
+ * Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
16548
17189
  *
16549
- * @param request DisableAlarmRequest
16550
- * @return DisableAlarmResponse
17190
+ * @param request - DisableAlarmRequest
17191
+ * @returns DisableAlarmResponse
16551
17192
  */
16552
17193
  async disableAlarm(request) {
16553
17194
  let runtime = new $Util.RuntimeOptions({});
16554
17195
  return await this.disableAlarmWithOptions(request, runtime);
16555
17196
  }
16556
17197
  /**
16557
- * @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
17198
+ * Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
16558
17199
  *
16559
- * @description Before you call this operation to disable a scaling group, take note of the following items:
17200
+ * @remarks
17201
+ * Before you call this operation to disable a scaling group, take note of the following items:
16560
17202
  * * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
16561
17203
  * * This operation can be called only when the scaling group is in the Active state.
16562
17204
  *
16563
- * @param request DisableScalingGroupRequest
16564
- * @param runtime runtime options for this request RuntimeOptions
16565
- * @return DisableScalingGroupResponse
17205
+ * @param request - DisableScalingGroupRequest
17206
+ * @param runtime - runtime options for this request RuntimeOptions
17207
+ * @returns DisableScalingGroupResponse
16566
17208
  */
16567
17209
  async disableScalingGroupWithOptions(request, runtime) {
16568
17210
  tea_util_1.default.validateModel(request);
@@ -16599,25 +17241,26 @@ class Client extends openapi_client_1.default {
16599
17241
  return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
16600
17242
  }
16601
17243
  /**
16602
- * @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
17244
+ * Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
16603
17245
  *
16604
- * @description Before you call this operation to disable a scaling group, take note of the following items:
17246
+ * @remarks
17247
+ * Before you call this operation to disable a scaling group, take note of the following items:
16605
17248
  * * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
16606
17249
  * * This operation can be called only when the scaling group is in the Active state.
16607
17250
  *
16608
- * @param request DisableScalingGroupRequest
16609
- * @return DisableScalingGroupResponse
17251
+ * @param request - DisableScalingGroupRequest
17252
+ * @returns DisableScalingGroupResponse
16610
17253
  */
16611
17254
  async disableScalingGroup(request) {
16612
17255
  let runtime = new $Util.RuntimeOptions({});
16613
17256
  return await this.disableScalingGroupWithOptions(request, runtime);
16614
17257
  }
16615
17258
  /**
16616
- * @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
17259
+ * Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
16617
17260
  *
16618
- * @param request EnableAlarmRequest
16619
- * @param runtime runtime options for this request RuntimeOptions
16620
- * @return EnableAlarmResponse
17261
+ * @param request - EnableAlarmRequest
17262
+ * @param runtime - runtime options for this request RuntimeOptions
17263
+ * @returns EnableAlarmResponse
16621
17264
  */
16622
17265
  async enableAlarmWithOptions(request, runtime) {
16623
17266
  tea_util_1.default.validateModel(request);
@@ -16651,28 +17294,29 @@ class Client extends openapi_client_1.default {
16651
17294
  return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
16652
17295
  }
16653
17296
  /**
16654
- * @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
17297
+ * Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
16655
17298
  *
16656
- * @param request EnableAlarmRequest
16657
- * @return EnableAlarmResponse
17299
+ * @param request - EnableAlarmRequest
17300
+ * @returns EnableAlarmResponse
16658
17301
  */
16659
17302
  async enableAlarm(request) {
16660
17303
  let runtime = new $Util.RuntimeOptions({});
16661
17304
  return await this.enableAlarmWithOptions(request, runtime);
16662
17305
  }
16663
17306
  /**
16664
- * @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
17307
+ * Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
16665
17308
  *
16666
- * @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
17309
+ * @remarks
17310
+ * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
16667
17311
  * **
16668
17312
  * **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
16669
17313
  * * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
16670
17314
  * * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
16671
17315
  * * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
16672
17316
  *
16673
- * @param request EnableScalingGroupRequest
16674
- * @param runtime runtime options for this request RuntimeOptions
16675
- * @return EnableScalingGroupResponse
17317
+ * @param request - EnableScalingGroupRequest
17318
+ * @param runtime - runtime options for this request RuntimeOptions
17319
+ * @returns EnableScalingGroupResponse
16676
17320
  */
16677
17321
  async enableScalingGroupWithOptions(request, runtime) {
16678
17322
  tea_util_1.default.validateModel(request);
@@ -16730,34 +17374,36 @@ class Client extends openapi_client_1.default {
16730
17374
  return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
16731
17375
  }
16732
17376
  /**
16733
- * @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
17377
+ * Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
16734
17378
  *
16735
- * @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
17379
+ * @remarks
17380
+ * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
16736
17381
  * **
16737
17382
  * **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
16738
17383
  * * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
16739
17384
  * * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
16740
17385
  * * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
16741
17386
  *
16742
- * @param request EnableScalingGroupRequest
16743
- * @return EnableScalingGroupResponse
17387
+ * @param request - EnableScalingGroupRequest
17388
+ * @returns EnableScalingGroupResponse
16744
17389
  */
16745
17390
  async enableScalingGroup(request) {
16746
17391
  let runtime = new $Util.RuntimeOptions({});
16747
17392
  return await this.enableScalingGroupWithOptions(request, runtime);
16748
17393
  }
16749
17394
  /**
16750
- * @summary Puts an Elastic Compute Service (ECS) instance into the Standby state.
17395
+ * Puts an Elastic Compute Service (ECS) instance into the Standby state.
16751
17396
  *
16752
- * @description ## Description
17397
+ * @remarks
17398
+ * ## Description
16753
17399
  * * If you call the operation to put an ECS instance in a scaling group that is associated with a Classic Load Balancer (CLB) instance into the Standby state, the weight of the ECS instance as a backend server of the CLB instance is set to 0.
16754
17400
  * * You can remove an instance that is in the Standby state from a scaling group, and then release the instance.
16755
17401
  * * ECS instances that are in the Standby state are not removed from the scaling group during scale-in activities triggered by event-triggered tasks.
16756
17402
  * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, for example, the ECS instance is being stopped or being restarted, Auto Scaling does not update the health status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health status of the ECS instance only when the ECS instance is no longer in the Standby state.
16757
17403
  *
16758
- * @param request EnterStandbyRequest
16759
- * @param runtime runtime options for this request RuntimeOptions
16760
- * @return EnterStandbyResponse
17404
+ * @param request - EnterStandbyRequest
17405
+ * @param runtime - runtime options for this request RuntimeOptions
17406
+ * @returns EnterStandbyResponse
16761
17407
  */
16762
17408
  async enterStandbyWithOptions(request, runtime) {
16763
17409
  tea_util_1.default.validateModel(request);
@@ -16797,25 +17443,27 @@ class Client extends openapi_client_1.default {
16797
17443
  return $tea.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
16798
17444
  }
16799
17445
  /**
16800
- * @summary Puts an Elastic Compute Service (ECS) instance into the Standby state.
17446
+ * Puts an Elastic Compute Service (ECS) instance into the Standby state.
16801
17447
  *
16802
- * @description ## Description
17448
+ * @remarks
17449
+ * ## Description
16803
17450
  * * If you call the operation to put an ECS instance in a scaling group that is associated with a Classic Load Balancer (CLB) instance into the Standby state, the weight of the ECS instance as a backend server of the CLB instance is set to 0.
16804
17451
  * * You can remove an instance that is in the Standby state from a scaling group, and then release the instance.
16805
17452
  * * ECS instances that are in the Standby state are not removed from the scaling group during scale-in activities triggered by event-triggered tasks.
16806
17453
  * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, for example, the ECS instance is being stopped or being restarted, Auto Scaling does not update the health status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health status of the ECS instance only when the ECS instance is no longer in the Standby state.
16807
17454
  *
16808
- * @param request EnterStandbyRequest
16809
- * @return EnterStandbyResponse
17455
+ * @param request - EnterStandbyRequest
17456
+ * @returns EnterStandbyResponse
16810
17457
  */
16811
17458
  async enterStandby(request) {
16812
17459
  let runtime = new $Util.RuntimeOptions({});
16813
17460
  return await this.enterStandbyWithOptions(request, runtime);
16814
17461
  }
16815
17462
  /**
16816
- * @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.
17463
+ * 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.
16817
17464
  *
16818
- * @description Before you call this operation, take note of the following items:
17465
+ * @remarks
17466
+ * Before you call this operation, take note of the following items:
16819
17467
  * * The scaling group is in the Active state.
16820
17468
  * * No scaling activities in the scaling group are in progress.
16821
17469
  * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
@@ -16824,9 +17472,9 @@ class Client extends openapi_client_1.default {
16824
17472
  * If the removal of a specified number of ECS instances from a scaling group causes the total number of ECS instances in the scaling group to drop below the minimum number of instances allowed, Auto Scaling removes only a specific number of ECS instances to ensure that the total number of instances is equal to the minimum number of instances.
16825
17473
  * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
16826
17474
  *
16827
- * @param request ExecuteScalingRuleRequest
16828
- * @param runtime runtime options for this request RuntimeOptions
16829
- * @return ExecuteScalingRuleResponse
17475
+ * @param request - ExecuteScalingRuleRequest
17476
+ * @param runtime - runtime options for this request RuntimeOptions
17477
+ * @returns ExecuteScalingRuleResponse
16830
17478
  */
16831
17479
  async executeScalingRuleWithOptions(request, runtime) {
16832
17480
  tea_util_1.default.validateModel(request);
@@ -16875,9 +17523,10 @@ class Client extends openapi_client_1.default {
16875
17523
  return $tea.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
16876
17524
  }
16877
17525
  /**
16878
- * @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.
17526
+ * 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.
16879
17527
  *
16880
- * @description Before you call this operation, take note of the following items:
17528
+ * @remarks
17529
+ * Before you call this operation, take note of the following items:
16881
17530
  * * The scaling group is in the Active state.
16882
17531
  * * No scaling activities in the scaling group are in progress.
16883
17532
  * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
@@ -16886,25 +17535,26 @@ class Client extends openapi_client_1.default {
16886
17535
  * If the removal of a specified number of ECS instances from a scaling group causes the total number of ECS instances in the scaling group to drop below the minimum number of instances allowed, Auto Scaling removes only a specific number of ECS instances to ensure that the total number of instances is equal to the minimum number of instances.
16887
17536
  * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
16888
17537
  *
16889
- * @param request ExecuteScalingRuleRequest
16890
- * @return ExecuteScalingRuleResponse
17538
+ * @param request - ExecuteScalingRuleRequest
17539
+ * @returns ExecuteScalingRuleResponse
16891
17540
  */
16892
17541
  async executeScalingRule(request) {
16893
17542
  let runtime = new $Util.RuntimeOptions({});
16894
17543
  return await this.executeScalingRuleWithOptions(request, runtime);
16895
17544
  }
16896
17545
  /**
16897
- * @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.
17546
+ * 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.
16898
17547
  *
16899
- * @description After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
17548
+ * @remarks
17549
+ * After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
16900
17550
  * * The ECS instances or elastic container instances enter the In Service state.
16901
17551
  * * The default weight of each ECS instance or elastic container instance as a backend server of the attached load balancer is 50.
16902
17552
  * * If you stop or restart the ECS instances or elastic container instances, the health check status of the instances will be updated.
16903
17553
  * * When a scale-in event is triggered, Auto Scaling may remove the ECS instances or elastic container instances from the scaling group.
16904
17554
  *
16905
- * @param request ExitStandbyRequest
16906
- * @param runtime runtime options for this request RuntimeOptions
16907
- * @return ExitStandbyResponse
17555
+ * @param request - ExitStandbyRequest
17556
+ * @param runtime - runtime options for this request RuntimeOptions
17557
+ * @returns ExitStandbyResponse
16908
17558
  */
16909
17559
  async exitStandbyWithOptions(request, runtime) {
16910
17560
  tea_util_1.default.validateModel(request);
@@ -16947,27 +17597,28 @@ class Client extends openapi_client_1.default {
16947
17597
  return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
16948
17598
  }
16949
17599
  /**
16950
- * @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.
17600
+ * 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.
16951
17601
  *
16952
- * @description After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
17602
+ * @remarks
17603
+ * After ECS instances or elastic container instances are removed from the Standby state, the following rules apply:
16953
17604
  * * The ECS instances or elastic container instances enter the In Service state.
16954
17605
  * * The default weight of each ECS instance or elastic container instance as a backend server of the attached load balancer is 50.
16955
17606
  * * If you stop or restart the ECS instances or elastic container instances, the health check status of the instances will be updated.
16956
17607
  * * When a scale-in event is triggered, Auto Scaling may remove the ECS instances or elastic container instances from the scaling group.
16957
17608
  *
16958
- * @param request ExitStandbyRequest
16959
- * @return ExitStandbyResponse
17609
+ * @param request - ExitStandbyRequest
17610
+ * @returns ExitStandbyResponse
16960
17611
  */
16961
17612
  async exitStandby(request) {
16962
17613
  let runtime = new $Util.RuntimeOptions({});
16963
17614
  return await this.exitStandbyWithOptions(request, runtime);
16964
17615
  }
16965
17616
  /**
16966
- * @summary Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
17617
+ * Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
16967
17618
  *
16968
- * @param request ListTagKeysRequest
16969
- * @param runtime runtime options for this request RuntimeOptions
16970
- * @return ListTagKeysResponse
17619
+ * @param request - ListTagKeysRequest
17620
+ * @param runtime - runtime options for this request RuntimeOptions
17621
+ * @returns ListTagKeysResponse
16971
17622
  */
16972
17623
  async listTagKeysWithOptions(request, runtime) {
16973
17624
  tea_util_1.default.validateModel(request);
@@ -17007,24 +17658,25 @@ class Client extends openapi_client_1.default {
17007
17658
  return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
17008
17659
  }
17009
17660
  /**
17010
- * @summary Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
17661
+ * Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
17011
17662
  *
17012
- * @param request ListTagKeysRequest
17013
- * @return ListTagKeysResponse
17663
+ * @param request - ListTagKeysRequest
17664
+ * @returns ListTagKeysResponse
17014
17665
  */
17015
17666
  async listTagKeys(request) {
17016
17667
  let runtime = new $Util.RuntimeOptions({});
17017
17668
  return await this.listTagKeysWithOptions(request, runtime);
17018
17669
  }
17019
17670
  /**
17020
- * @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
17671
+ * Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
17021
17672
  *
17022
- * @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
17673
+ * @remarks
17674
+ * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
17023
17675
  * * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
17024
17676
  *
17025
- * @param request ListTagResourcesRequest
17026
- * @param runtime runtime options for this request RuntimeOptions
17027
- * @return ListTagResourcesResponse
17677
+ * @param request - ListTagResourcesRequest
17678
+ * @param runtime - runtime options for this request RuntimeOptions
17679
+ * @returns ListTagResourcesResponse
17028
17680
  */
17029
17681
  async listTagResourcesWithOptions(request, runtime) {
17030
17682
  tea_util_1.default.validateModel(request);
@@ -17067,24 +17719,25 @@ class Client extends openapi_client_1.default {
17067
17719
  return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
17068
17720
  }
17069
17721
  /**
17070
- * @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
17722
+ * Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
17071
17723
  *
17072
- * @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
17724
+ * @remarks
17725
+ * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
17073
17726
  * * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
17074
17727
  *
17075
- * @param request ListTagResourcesRequest
17076
- * @return ListTagResourcesResponse
17728
+ * @param request - ListTagResourcesRequest
17729
+ * @returns ListTagResourcesResponse
17077
17730
  */
17078
17731
  async listTagResources(request) {
17079
17732
  let runtime = new $Util.RuntimeOptions({});
17080
17733
  return await this.listTagResourcesWithOptions(request, runtime);
17081
17734
  }
17082
17735
  /**
17083
- * @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
17736
+ * Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
17084
17737
  *
17085
- * @param request ListTagValuesRequest
17086
- * @param runtime runtime options for this request RuntimeOptions
17087
- * @return ListTagValuesResponse
17738
+ * @param request - ListTagValuesRequest
17739
+ * @param runtime - runtime options for this request RuntimeOptions
17740
+ * @returns ListTagValuesResponse
17088
17741
  */
17089
17742
  async listTagValuesWithOptions(request, runtime) {
17090
17743
  tea_util_1.default.validateModel(request);
@@ -17127,27 +17780,28 @@ class Client extends openapi_client_1.default {
17127
17780
  return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
17128
17781
  }
17129
17782
  /**
17130
- * @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
17783
+ * Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
17131
17784
  *
17132
- * @param request ListTagValuesRequest
17133
- * @return ListTagValuesResponse
17785
+ * @param request - ListTagValuesRequest
17786
+ * @returns ListTagValuesResponse
17134
17787
  */
17135
17788
  async listTagValues(request) {
17136
17789
  let runtime = new $Util.RuntimeOptions({});
17137
17790
  return await this.listTagValuesWithOptions(request, runtime);
17138
17791
  }
17139
17792
  /**
17140
- * @summary Modifies an event-triggered task.
17793
+ * Modifies an event-triggered task.
17141
17794
  *
17142
- * @description * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
17795
+ * @remarks
17796
+ * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
17143
17797
  * * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
17144
17798
  * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
17145
17799
  * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
17146
17800
  * > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
17147
17801
  *
17148
- * @param request ModifyAlarmRequest
17149
- * @param runtime runtime options for this request RuntimeOptions
17150
- * @return ModifyAlarmResponse
17802
+ * @param request - ModifyAlarmRequest
17803
+ * @param runtime - runtime options for this request RuntimeOptions
17804
+ * @returns ModifyAlarmResponse
17151
17805
  */
17152
17806
  async modifyAlarmWithOptions(request, runtime) {
17153
17807
  tea_util_1.default.validateModel(request);
@@ -17226,27 +17880,28 @@ class Client extends openapi_client_1.default {
17226
17880
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
17227
17881
  }
17228
17882
  /**
17229
- * @summary Modifies an event-triggered task.
17883
+ * Modifies an event-triggered task.
17230
17884
  *
17231
- * @description * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
17885
+ * @remarks
17886
+ * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
17232
17887
  * * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
17233
17888
  * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
17234
17889
  * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
17235
17890
  * > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
17236
17891
  *
17237
- * @param request ModifyAlarmRequest
17238
- * @return ModifyAlarmResponse
17892
+ * @param request - ModifyAlarmRequest
17893
+ * @returns ModifyAlarmResponse
17239
17894
  */
17240
17895
  async modifyAlarm(request) {
17241
17896
  let runtime = new $Util.RuntimeOptions({});
17242
17897
  return await this.modifyAlarmWithOptions(request, runtime);
17243
17898
  }
17244
17899
  /**
17245
- * @summary Sets the status of scaling activities that prompt text message or email notifications.
17900
+ * Sets the status of scaling activities that prompt text message or email notifications.
17246
17901
  *
17247
- * @param request ModifyAlertConfigurationRequest
17248
- * @param runtime runtime options for this request RuntimeOptions
17249
- * @return ModifyAlertConfigurationResponse
17902
+ * @param request - ModifyAlertConfigurationRequest
17903
+ * @param runtime - runtime options for this request RuntimeOptions
17904
+ * @returns ModifyAlertConfigurationResponse
17250
17905
  */
17251
17906
  async modifyAlertConfigurationWithOptions(request, runtime) {
17252
17907
  tea_util_1.default.validateModel(request);
@@ -17283,23 +17938,25 @@ class Client extends openapi_client_1.default {
17283
17938
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
17284
17939
  }
17285
17940
  /**
17286
- * @summary Sets the status of scaling activities that prompt text message or email notifications.
17941
+ * Sets the status of scaling activities that prompt text message or email notifications.
17287
17942
  *
17288
- * @param request ModifyAlertConfigurationRequest
17289
- * @return ModifyAlertConfigurationResponse
17943
+ * @param request - ModifyAlertConfigurationRequest
17944
+ * @returns ModifyAlertConfigurationResponse
17290
17945
  */
17291
17946
  async modifyAlertConfiguration(request) {
17292
17947
  let runtime = new $Util.RuntimeOptions({});
17293
17948
  return await this.modifyAlertConfigurationWithOptions(request, runtime);
17294
17949
  }
17295
17950
  /**
17296
- * @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
17951
+ * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
17297
17952
  *
17298
- * @description If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
17953
+ * @remarks
17954
+ * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
17955
+ * * You can call the [ModifyEciScalingConfiguration](https://help.aliyun.com/document_detail/459378.html) operation to check the modification result.
17299
17956
  *
17300
- * @param request ModifyEciScalingConfigurationRequest
17301
- * @param runtime runtime options for this request RuntimeOptions
17302
- * @return ModifyEciScalingConfigurationResponse
17957
+ * @param request - ModifyEciScalingConfigurationRequest
17958
+ * @param runtime - runtime options for this request RuntimeOptions
17959
+ * @returns ModifyEciScalingConfigurationResponse
17303
17960
  */
17304
17961
  async modifyEciScalingConfigurationWithOptions(request, runtime) {
17305
17962
  tea_util_1.default.validateModel(request);
@@ -17471,23 +18128,25 @@ class Client extends openapi_client_1.default {
17471
18128
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
17472
18129
  }
17473
18130
  /**
17474
- * @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
18131
+ * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
17475
18132
  *
17476
- * @description If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
18133
+ * @remarks
18134
+ * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
18135
+ * * You can call the [ModifyEciScalingConfiguration](https://help.aliyun.com/document_detail/459378.html) operation to check the modification result.
17477
18136
  *
17478
- * @param request ModifyEciScalingConfigurationRequest
17479
- * @return ModifyEciScalingConfigurationResponse
18137
+ * @param request - ModifyEciScalingConfigurationRequest
18138
+ * @returns ModifyEciScalingConfigurationResponse
17480
18139
  */
17481
18140
  async modifyEciScalingConfiguration(request) {
17482
18141
  let runtime = new $Util.RuntimeOptions({});
17483
18142
  return await this.modifyEciScalingConfigurationWithOptions(request, runtime);
17484
18143
  }
17485
18144
  /**
17486
- * @summary Modifies the attributes of an Elastic Compute Service (ECS) instance in a scaling group. You can call the ModifyInstanceAttribute operation to modify the lifecycle management attribute of a manually added ECS instance in a scaling group.
18145
+ * Modifies the information of an Elastic Compute Service (ECS) instance. When you call the ModifyInstanceAttribute operation, you can specify attributes such as the instance ID, scaling group ID, and region ID to modify the attributes of an ECS instance in a scaling group. You can modify only the hosting attributes of instances that are manually added to scaling groups.
17487
18146
  *
17488
- * @param request ModifyInstanceAttributeRequest
17489
- * @param runtime runtime options for this request RuntimeOptions
17490
- * @return ModifyInstanceAttributeResponse
18147
+ * @param request - ModifyInstanceAttributeRequest
18148
+ * @param runtime - runtime options for this request RuntimeOptions
18149
+ * @returns ModifyInstanceAttributeResponse
17491
18150
  */
17492
18151
  async modifyInstanceAttributeWithOptions(request, runtime) {
17493
18152
  tea_util_1.default.validateModel(request);
@@ -17527,25 +18186,26 @@ class Client extends openapi_client_1.default {
17527
18186
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
17528
18187
  }
17529
18188
  /**
17530
- * @summary Modifies the attributes of an Elastic Compute Service (ECS) instance in a scaling group. You can call the ModifyInstanceAttribute operation to modify the lifecycle management attribute of a manually added ECS instance in a scaling group.
18189
+ * Modifies the information of an Elastic Compute Service (ECS) instance. When you call the ModifyInstanceAttribute operation, you can specify attributes such as the instance ID, scaling group ID, and region ID to modify the attributes of an ECS instance in a scaling group. You can modify only the hosting attributes of instances that are manually added to scaling groups.
17531
18190
  *
17532
- * @param request ModifyInstanceAttributeRequest
17533
- * @return ModifyInstanceAttributeResponse
18191
+ * @param request - ModifyInstanceAttributeRequest
18192
+ * @returns ModifyInstanceAttributeResponse
17534
18193
  */
17535
18194
  async modifyInstanceAttribute(request) {
17536
18195
  let runtime = new $Util.RuntimeOptions({});
17537
18196
  return await this.modifyInstanceAttributeWithOptions(request, runtime);
17538
18197
  }
17539
18198
  /**
17540
- * @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.
18199
+ * 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.
17541
18200
  *
17542
- * @description You can use one of the following methods to locate the lifecycle hook that you want to modify:
18201
+ * @remarks
18202
+ * You can use one of the following methods to locate the lifecycle hook that you want to modify:
17543
18203
  * * Specify LifecycleHookId. In this case, ScalingGroupId and LifecycleHookName are ignored.
17544
18204
  * * Specify ScalingGroupId and LifecycleHookName. Each lifecycle hook within a scaling group has a unique name.
17545
18205
  *
17546
- * @param request ModifyLifecycleHookRequest
17547
- * @param runtime runtime options for this request RuntimeOptions
17548
- * @return ModifyLifecycleHookResponse
18206
+ * @param request - ModifyLifecycleHookRequest
18207
+ * @param runtime - runtime options for this request RuntimeOptions
18208
+ * @returns ModifyLifecycleHookResponse
17549
18209
  */
17550
18210
  async modifyLifecycleHookWithOptions(request, runtime) {
17551
18211
  tea_util_1.default.validateModel(request);
@@ -17606,25 +18266,26 @@ class Client extends openapi_client_1.default {
17606
18266
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
17607
18267
  }
17608
18268
  /**
17609
- * @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.
18269
+ * 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.
17610
18270
  *
17611
- * @description You can use one of the following methods to locate the lifecycle hook that you want to modify:
18271
+ * @remarks
18272
+ * You can use one of the following methods to locate the lifecycle hook that you want to modify:
17612
18273
  * * Specify LifecycleHookId. In this case, ScalingGroupId and LifecycleHookName are ignored.
17613
18274
  * * Specify ScalingGroupId and LifecycleHookName. Each lifecycle hook within a scaling group has a unique name.
17614
18275
  *
17615
- * @param request ModifyLifecycleHookRequest
17616
- * @return ModifyLifecycleHookResponse
18276
+ * @param request - ModifyLifecycleHookRequest
18277
+ * @returns ModifyLifecycleHookResponse
17617
18278
  */
17618
18279
  async modifyLifecycleHook(request) {
17619
18280
  let runtime = new $Util.RuntimeOptions({});
17620
18281
  return await this.modifyLifecycleHookWithOptions(request, runtime);
17621
18282
  }
17622
18283
  /**
17623
- * @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.
18284
+ * 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.
17624
18285
  *
17625
- * @param request ModifyNotificationConfigurationRequest
17626
- * @param runtime runtime options for this request RuntimeOptions
17627
- * @return ModifyNotificationConfigurationResponse
18286
+ * @param request - ModifyNotificationConfigurationRequest
18287
+ * @param runtime - runtime options for this request RuntimeOptions
18288
+ * @returns ModifyNotificationConfigurationResponse
17628
18289
  */
17629
18290
  async modifyNotificationConfigurationWithOptions(request, runtime) {
17630
18291
  tea_util_1.default.validateModel(request);
@@ -17647,6 +18308,9 @@ class Client extends openapi_client_1.default {
17647
18308
  if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
17648
18309
  query["ScalingGroupId"] = request.scalingGroupId;
17649
18310
  }
18311
+ if (!tea_util_1.default.isUnset(request.timeZone)) {
18312
+ query["TimeZone"] = request.timeZone;
18313
+ }
17650
18314
  let req = new $OpenApi.OpenApiRequest({
17651
18315
  query: openapi_util_1.default.query(query),
17652
18316
  });
@@ -17664,23 +18328,27 @@ class Client extends openapi_client_1.default {
17664
18328
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
17665
18329
  }
17666
18330
  /**
17667
- * @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.
18331
+ * 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.
17668
18332
  *
17669
- * @param request ModifyNotificationConfigurationRequest
17670
- * @return ModifyNotificationConfigurationResponse
18333
+ * @param request - ModifyNotificationConfigurationRequest
18334
+ * @returns ModifyNotificationConfigurationResponse
17671
18335
  */
17672
18336
  async modifyNotificationConfiguration(request) {
17673
18337
  let runtime = new $Util.RuntimeOptions({});
17674
18338
  return await this.modifyNotificationConfigurationWithOptions(request, runtime);
17675
18339
  }
17676
18340
  /**
17677
- * @summary Modifies a scaling configuration.
18341
+ * Modifies a scaling configuration.
17678
18342
  *
17679
- * @description You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
18343
+ * @remarks
18344
+ * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
18345
+ * * If you want to bind a primary elastic network interface (ENI) when you call this operation, you must use one of the following methods. If you use the following methods at the same time, the call fails and an error is reported. In addition, if you use one of the following methods to modify the ENI information when you call this operation, the ENI information configured by using the other method is cleared.
18346
+ * * You can specify SecurityGroupId, SecurityGroupIds, and Ipv6AddressCount to configure ENI-related information.
18347
+ * * You can specify NetworkInterfaces to configure primary and secondary ENIs. You must use NetworkInterface to specify at least one primary ENI. If you set NetworkInterface.InstanceType to Primary, it specifies that a primary ENI is configured. If you set NetworkInterface.InstanceType to Secondary or leave it empty, it specifies that a secondary ENI is configured.
17680
18348
  *
17681
- * @param tmpReq ModifyScalingConfigurationRequest
17682
- * @param runtime runtime options for this request RuntimeOptions
17683
- * @return ModifyScalingConfigurationResponse
18349
+ * @param tmpReq - ModifyScalingConfigurationRequest
18350
+ * @param runtime - runtime options for this request RuntimeOptions
18351
+ * @returns ModifyScalingConfigurationResponse
17684
18352
  */
17685
18353
  async modifyScalingConfigurationWithOptions(tmpReq, runtime) {
17686
18354
  tea_util_1.default.validateModel(tmpReq);
@@ -17869,21 +18537,26 @@ class Client extends openapi_client_1.default {
17869
18537
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
17870
18538
  }
17871
18539
  /**
17872
- * @summary Modifies a scaling configuration.
18540
+ * Modifies a scaling configuration.
17873
18541
  *
17874
- * @description You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
18542
+ * @remarks
18543
+ * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
18544
+ * * If you want to bind a primary elastic network interface (ENI) when you call this operation, you must use one of the following methods. If you use the following methods at the same time, the call fails and an error is reported. In addition, if you use one of the following methods to modify the ENI information when you call this operation, the ENI information configured by using the other method is cleared.
18545
+ * * You can specify SecurityGroupId, SecurityGroupIds, and Ipv6AddressCount to configure ENI-related information.
18546
+ * * You can specify NetworkInterfaces to configure primary and secondary ENIs. You must use NetworkInterface to specify at least one primary ENI. If you set NetworkInterface.InstanceType to Primary, it specifies that a primary ENI is configured. If you set NetworkInterface.InstanceType to Secondary or leave it empty, it specifies that a secondary ENI is configured.
17875
18547
  *
17876
- * @param request ModifyScalingConfigurationRequest
17877
- * @return ModifyScalingConfigurationResponse
18548
+ * @param request - ModifyScalingConfigurationRequest
18549
+ * @returns ModifyScalingConfigurationResponse
17878
18550
  */
17879
18551
  async modifyScalingConfiguration(request) {
17880
18552
  let runtime = new $Util.RuntimeOptions({});
17881
18553
  return await this.modifyScalingConfigurationWithOptions(request, runtime);
17882
18554
  }
17883
18555
  /**
17884
- * @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
18556
+ * Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
17885
18557
  *
17886
- * @description * You cannot modify the following parameters by calling this operation:
18558
+ * @remarks
18559
+ * You cannot modify the following parameters by calling this operation:
17887
18560
  * * RegionId
17888
18561
  * * LoadBalancerId
17889
18562
  * **
@@ -17897,9 +18570,9 @@ class Client extends openapi_client_1.default {
17897
18570
  * * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
17898
18571
  * * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
17899
18572
  *
17900
- * @param request ModifyScalingGroupRequest
17901
- * @param runtime runtime options for this request RuntimeOptions
17902
- * @return ModifyScalingGroupResponse
18573
+ * @param request - ModifyScalingGroupRequest
18574
+ * @param runtime - runtime options for this request RuntimeOptions
18575
+ * @returns ModifyScalingGroupResponse
17903
18576
  */
17904
18577
  async modifyScalingGroupWithOptions(request, runtime) {
17905
18578
  tea_util_1.default.validateModel(request);
@@ -18017,9 +18690,10 @@ class Client extends openapi_client_1.default {
18017
18690
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
18018
18691
  }
18019
18692
  /**
18020
- * @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
18693
+ * Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
18021
18694
  *
18022
- * @description * You cannot modify the following parameters by calling this operation:
18695
+ * @remarks
18696
+ * You cannot modify the following parameters by calling this operation:
18023
18697
  * * RegionId
18024
18698
  * * LoadBalancerId
18025
18699
  * **
@@ -18033,19 +18707,19 @@ class Client extends openapi_client_1.default {
18033
18707
  * * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
18034
18708
  * * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
18035
18709
  *
18036
- * @param request ModifyScalingGroupRequest
18037
- * @return ModifyScalingGroupResponse
18710
+ * @param request - ModifyScalingGroupRequest
18711
+ * @returns ModifyScalingGroupResponse
18038
18712
  */
18039
18713
  async modifyScalingGroup(request) {
18040
18714
  let runtime = new $Util.RuntimeOptions({});
18041
18715
  return await this.modifyScalingGroupWithOptions(request, runtime);
18042
18716
  }
18043
18717
  /**
18044
- * @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.
18718
+ * 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.
18045
18719
  *
18046
- * @param request ModifyScalingRuleRequest
18047
- * @param runtime runtime options for this request RuntimeOptions
18048
- * @return ModifyScalingRuleResponse
18720
+ * @param request - ModifyScalingRuleRequest
18721
+ * @param runtime - runtime options for this request RuntimeOptions
18722
+ * @returns ModifyScalingRuleResponse
18049
18723
  */
18050
18724
  async modifyScalingRuleWithOptions(request, runtime) {
18051
18725
  tea_util_1.default.validateModel(request);
@@ -18136,26 +18810,27 @@ class Client extends openapi_client_1.default {
18136
18810
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
18137
18811
  }
18138
18812
  /**
18139
- * @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.
18813
+ * 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.
18140
18814
  *
18141
- * @param request ModifyScalingRuleRequest
18142
- * @return ModifyScalingRuleResponse
18815
+ * @param request - ModifyScalingRuleRequest
18816
+ * @returns ModifyScalingRuleResponse
18143
18817
  */
18144
18818
  async modifyScalingRule(request) {
18145
18819
  let runtime = new $Util.RuntimeOptions({});
18146
18820
  return await this.modifyScalingRuleWithOptions(request, runtime);
18147
18821
  }
18148
18822
  /**
18149
- * @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.
18823
+ * 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.
18150
18824
  *
18151
- * @description You can use the following parameters to specify the scaling method of a scheduled task:
18825
+ * @remarks
18826
+ * You can use the following parameters to specify the scaling method of a scheduled task:
18152
18827
  * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
18153
18828
  * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
18154
18829
  * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
18155
18830
  *
18156
- * @param request ModifyScheduledTaskRequest
18157
- * @param runtime runtime options for this request RuntimeOptions
18158
- * @return ModifyScheduledTaskResponse
18831
+ * @param request - ModifyScheduledTaskRequest
18832
+ * @param runtime - runtime options for this request RuntimeOptions
18833
+ * @returns ModifyScheduledTaskResponse
18159
18834
  */
18160
18835
  async modifyScheduledTaskWithOptions(request, runtime) {
18161
18836
  tea_util_1.default.validateModel(request);
@@ -18231,24 +18906,26 @@ class Client extends openapi_client_1.default {
18231
18906
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
18232
18907
  }
18233
18908
  /**
18234
- * @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.
18909
+ * 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.
18235
18910
  *
18236
- * @description You can use the following parameters to specify the scaling method of a scheduled task:
18911
+ * @remarks
18912
+ * You can use the following parameters to specify the scaling method of a scheduled task:
18237
18913
  * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
18238
18914
  * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
18239
18915
  * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
18240
18916
  *
18241
- * @param request ModifyScheduledTaskRequest
18242
- * @return ModifyScheduledTaskResponse
18917
+ * @param request - ModifyScheduledTaskRequest
18918
+ * @returns ModifyScheduledTaskResponse
18243
18919
  */
18244
18920
  async modifyScheduledTask(request) {
18245
18921
  let runtime = new $Util.RuntimeOptions({});
18246
18922
  return await this.modifyScheduledTaskWithOptions(request, runtime);
18247
18923
  }
18248
18924
  /**
18249
- * @summary Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
18925
+ * Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
18250
18926
  *
18251
- * @description ## [](#)Usage notes
18927
+ * @remarks
18928
+ * ## [](#)Usage notes
18252
18929
  * Auto Scaling creates new ECS instances to replace the existing ECS instances to fulfill the rebalancing purpose. Auto Scaling starts the new ECS instances before stopping the existing ECS instances. The rebalancing operation does not affect the performance or service availability of your application.
18253
18930
  * * This operation is supported by only multi-zone scaling groups whose `MultiAZPolicy` is set to `BALANCE`.
18254
18931
  * * A rebalancing operation is required only when the distribution of the instances of a multi-zone scaling group is significantly unbalanced. In a rebalancing activity, Auto Scaling replaces up to 20 ECS instances to rectify the unbalanced distribution.
@@ -18256,9 +18933,9 @@ class Client extends openapi_client_1.default {
18256
18933
  * **
18257
18934
  * **Note** If the 10% increment of the maximum number of instances in a scaling group yield a non-integer value, the decimal portion is always rounded up to ensure an additional instance is accounted for. For example, you have a scaling group that holds a maximum of 15 ECS instances. During a rebalancing operation, Auto Scaling would permit the total number of instances to momentarily surpass this limit by 2, instead of the calculated 10% (which is 1.5).
18258
18935
  *
18259
- * @param request RebalanceInstancesRequest
18260
- * @param runtime runtime options for this request RuntimeOptions
18261
- * @return RebalanceInstancesResponse
18936
+ * @param request - RebalanceInstancesRequest
18937
+ * @param runtime - runtime options for this request RuntimeOptions
18938
+ * @returns RebalanceInstancesResponse
18262
18939
  */
18263
18940
  async rebalanceInstancesWithOptions(request, runtime) {
18264
18941
  tea_util_1.default.validateModel(request);
@@ -18298,9 +18975,10 @@ class Client extends openapi_client_1.default {
18298
18975
  return $tea.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
18299
18976
  }
18300
18977
  /**
18301
- * @summary Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
18978
+ * Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
18302
18979
  *
18303
- * @description ## [](#)Usage notes
18980
+ * @remarks
18981
+ * ## [](#)Usage notes
18304
18982
  * Auto Scaling creates new ECS instances to replace the existing ECS instances to fulfill the rebalancing purpose. Auto Scaling starts the new ECS instances before stopping the existing ECS instances. The rebalancing operation does not affect the performance or service availability of your application.
18305
18983
  * * This operation is supported by only multi-zone scaling groups whose `MultiAZPolicy` is set to `BALANCE`.
18306
18984
  * * A rebalancing operation is required only when the distribution of the instances of a multi-zone scaling group is significantly unbalanced. In a rebalancing activity, Auto Scaling replaces up to 20 ECS instances to rectify the unbalanced distribution.
@@ -18308,22 +18986,23 @@ class Client extends openapi_client_1.default {
18308
18986
  * **
18309
18987
  * **Note** If the 10% increment of the maximum number of instances in a scaling group yield a non-integer value, the decimal portion is always rounded up to ensure an additional instance is accounted for. For example, you have a scaling group that holds a maximum of 15 ECS instances. During a rebalancing operation, Auto Scaling would permit the total number of instances to momentarily surpass this limit by 2, instead of the calculated 10% (which is 1.5).
18310
18988
  *
18311
- * @param request RebalanceInstancesRequest
18312
- * @return RebalanceInstancesResponse
18989
+ * @param request - RebalanceInstancesRequest
18990
+ * @returns RebalanceInstancesResponse
18313
18991
  */
18314
18992
  async rebalanceInstances(request) {
18315
18993
  let runtime = new $Util.RuntimeOptions({});
18316
18994
  return await this.rebalanceInstancesWithOptions(request, runtime);
18317
18995
  }
18318
18996
  /**
18319
- * @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.
18997
+ * 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.
18320
18998
  *
18321
- * @description You can call this operation only when the desired ECS instance enters a Pending state.\\
18999
+ * @remarks
19000
+ * You can call this operation only when the desired ECS instance enters a Pending state.\\
18322
19001
  * 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.
18323
19002
  *
18324
- * @param request RecordLifecycleActionHeartbeatRequest
18325
- * @param runtime runtime options for this request RuntimeOptions
18326
- * @return RecordLifecycleActionHeartbeatResponse
19003
+ * @param request - RecordLifecycleActionHeartbeatRequest
19004
+ * @param runtime - runtime options for this request RuntimeOptions
19005
+ * @returns RecordLifecycleActionHeartbeatResponse
18327
19006
  */
18328
19007
  async recordLifecycleActionHeartbeatWithOptions(request, runtime) {
18329
19008
  tea_util_1.default.validateModel(request);
@@ -18366,22 +19045,24 @@ class Client extends openapi_client_1.default {
18366
19045
  return $tea.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
18367
19046
  }
18368
19047
  /**
18369
- * @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.
19048
+ * 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.
18370
19049
  *
18371
- * @description You can call this operation only when the desired ECS instance enters a Pending state.\\
19050
+ * @remarks
19051
+ * You can call this operation only when the desired ECS instance enters a Pending state.\\
18372
19052
  * 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.
18373
19053
  *
18374
- * @param request RecordLifecycleActionHeartbeatRequest
18375
- * @return RecordLifecycleActionHeartbeatResponse
19054
+ * @param request - RecordLifecycleActionHeartbeatRequest
19055
+ * @returns RecordLifecycleActionHeartbeatResponse
18376
19056
  */
18377
19057
  async recordLifecycleActionHeartbeat(request) {
18378
19058
  let runtime = new $Util.RuntimeOptions({});
18379
19059
  return await this.recordLifecycleActionHeartbeatWithOptions(request, runtime);
18380
19060
  }
18381
19061
  /**
18382
- * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
19062
+ * Removes one or more instances from a scaling group. If your scaling group is enabled and contains no ongoing scaling activities, you can call the RemoveInstances operation to remove instances that you no longer require from the scaling group.
18383
19063
  *
18384
- * @description * Before you call this operation, make sure that the following requirements are met:
19064
+ * @remarks
19065
+ * Before you call this operation, make sure that the following requirements are met:
18385
19066
  * * The scaling group is in the Active state.
18386
19067
  * * No scaling activity is in progress within the scaling group.
18387
19068
  * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
@@ -18390,9 +19071,9 @@ class Client extends openapi_client_1.default {
18390
19071
  * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
18391
19072
  * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
18392
19073
  *
18393
- * @param request RemoveInstancesRequest
18394
- * @param runtime runtime options for this request RuntimeOptions
18395
- * @return RemoveInstancesResponse
19074
+ * @param request - RemoveInstancesRequest
19075
+ * @param runtime - runtime options for this request RuntimeOptions
19076
+ * @returns RemoveInstancesResponse
18396
19077
  */
18397
19078
  async removeInstancesWithOptions(request, runtime) {
18398
19079
  tea_util_1.default.validateModel(request);
@@ -18447,9 +19128,10 @@ class Client extends openapi_client_1.default {
18447
19128
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
18448
19129
  }
18449
19130
  /**
18450
- * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
19131
+ * Removes one or more instances from a scaling group. If your scaling group is enabled and contains no ongoing scaling activities, you can call the RemoveInstances operation to remove instances that you no longer require from the scaling group.
18451
19132
  *
18452
- * @description * Before you call this operation, make sure that the following requirements are met:
19133
+ * @remarks
19134
+ * Before you call this operation, make sure that the following requirements are met:
18453
19135
  * * The scaling group is in the Active state.
18454
19136
  * * No scaling activity is in progress within the scaling group.
18455
19137
  * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
@@ -18458,19 +19140,66 @@ class Client extends openapi_client_1.default {
18458
19140
  * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
18459
19141
  * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
18460
19142
  *
18461
- * @param request RemoveInstancesRequest
18462
- * @return RemoveInstancesResponse
19143
+ * @param request - RemoveInstancesRequest
19144
+ * @returns RemoveInstancesResponse
18463
19145
  */
18464
19146
  async removeInstances(request) {
18465
19147
  let runtime = new $Util.RuntimeOptions({});
18466
19148
  return await this.removeInstancesWithOptions(request, runtime);
18467
19149
  }
18468
19150
  /**
18469
- * @summary Resumes suspended processes in a scaling group.
19151
+ * @param request - ResumeInstanceRefreshRequest
19152
+ * @param runtime - runtime options for this request RuntimeOptions
19153
+ * @returns ResumeInstanceRefreshResponse
19154
+ */
19155
+ async resumeInstanceRefreshWithOptions(request, runtime) {
19156
+ tea_util_1.default.validateModel(request);
19157
+ let query = {};
19158
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskId)) {
19159
+ query["InstanceRefreshTaskId"] = request.instanceRefreshTaskId;
19160
+ }
19161
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
19162
+ query["OwnerId"] = request.ownerId;
19163
+ }
19164
+ if (!tea_util_1.default.isUnset(request.regionId)) {
19165
+ query["RegionId"] = request.regionId;
19166
+ }
19167
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
19168
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19169
+ }
19170
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
19171
+ query["ScalingGroupId"] = request.scalingGroupId;
19172
+ }
19173
+ let req = new $OpenApi.OpenApiRequest({
19174
+ query: openapi_util_1.default.query(query),
19175
+ });
19176
+ let params = new $OpenApi.Params({
19177
+ action: "ResumeInstanceRefresh",
19178
+ version: "2022-02-22",
19179
+ protocol: "HTTPS",
19180
+ pathname: "/",
19181
+ method: "POST",
19182
+ authType: "AK",
19183
+ style: "RPC",
19184
+ reqBodyType: "formData",
19185
+ bodyType: "json",
19186
+ });
19187
+ return $tea.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
19188
+ }
19189
+ /**
19190
+ * @param request - ResumeInstanceRefreshRequest
19191
+ * @returns ResumeInstanceRefreshResponse
19192
+ */
19193
+ async resumeInstanceRefresh(request) {
19194
+ let runtime = new $Util.RuntimeOptions({});
19195
+ return await this.resumeInstanceRefreshWithOptions(request, runtime);
19196
+ }
19197
+ /**
19198
+ * Resumes suspended processes in a scaling group.
18470
19199
  *
18471
- * @param request ResumeProcessesRequest
18472
- * @param runtime runtime options for this request RuntimeOptions
18473
- * @return ResumeProcessesResponse
19200
+ * @param request - ResumeProcessesRequest
19201
+ * @param runtime - runtime options for this request RuntimeOptions
19202
+ * @returns ResumeProcessesResponse
18474
19203
  */
18475
19204
  async resumeProcessesWithOptions(request, runtime) {
18476
19205
  tea_util_1.default.validateModel(request);
@@ -18510,19 +19239,67 @@ class Client extends openapi_client_1.default {
18510
19239
  return $tea.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
18511
19240
  }
18512
19241
  /**
18513
- * @summary Resumes suspended processes in a scaling group.
19242
+ * Resumes suspended processes in a scaling group.
18514
19243
  *
18515
- * @param request ResumeProcessesRequest
18516
- * @return ResumeProcessesResponse
19244
+ * @param request - ResumeProcessesRequest
19245
+ * @returns ResumeProcessesResponse
18517
19246
  */
18518
19247
  async resumeProcesses(request) {
18519
19248
  let runtime = new $Util.RuntimeOptions({});
18520
19249
  return await this.resumeProcessesWithOptions(request, runtime);
18521
19250
  }
18522
19251
  /**
18523
- * @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
19252
+ * @param request - RollbackInstanceRefreshRequest
19253
+ * @param runtime - runtime options for this request RuntimeOptions
19254
+ * @returns RollbackInstanceRefreshResponse
19255
+ */
19256
+ async rollbackInstanceRefreshWithOptions(request, runtime) {
19257
+ tea_util_1.default.validateModel(request);
19258
+ let query = {};
19259
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskId)) {
19260
+ query["InstanceRefreshTaskId"] = request.instanceRefreshTaskId;
19261
+ }
19262
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
19263
+ query["OwnerId"] = request.ownerId;
19264
+ }
19265
+ if (!tea_util_1.default.isUnset(request.regionId)) {
19266
+ query["RegionId"] = request.regionId;
19267
+ }
19268
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
19269
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19270
+ }
19271
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
19272
+ query["ScalingGroupId"] = request.scalingGroupId;
19273
+ }
19274
+ let req = new $OpenApi.OpenApiRequest({
19275
+ query: openapi_util_1.default.query(query),
19276
+ });
19277
+ let params = new $OpenApi.Params({
19278
+ action: "RollbackInstanceRefresh",
19279
+ version: "2022-02-22",
19280
+ protocol: "HTTPS",
19281
+ pathname: "/",
19282
+ method: "POST",
19283
+ authType: "AK",
19284
+ style: "RPC",
19285
+ reqBodyType: "formData",
19286
+ bodyType: "json",
19287
+ });
19288
+ return $tea.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
19289
+ }
19290
+ /**
19291
+ * @param request - RollbackInstanceRefreshRequest
19292
+ * @returns RollbackInstanceRefreshResponse
19293
+ */
19294
+ async rollbackInstanceRefresh(request) {
19295
+ let runtime = new $Util.RuntimeOptions({});
19296
+ return await this.rollbackInstanceRefreshWithOptions(request, runtime);
19297
+ }
19298
+ /**
19299
+ * Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
18524
19300
  *
18525
- * @description * Before you call this operation, take note of the following items:
19301
+ * @remarks
19302
+ * Before you call this operation, take note of the following items:
18526
19303
  * * The scaling group is in the Active state.
18527
19304
  * * The scaling group has no ongoing scaling activities.
18528
19305
  * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
@@ -18530,9 +19307,9 @@ class Client extends openapi_client_1.default {
18530
19307
  * * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
18531
19308
  * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
18532
19309
  *
18533
- * @param tmpReq ScaleWithAdjustmentRequest
18534
- * @param runtime runtime options for this request RuntimeOptions
18535
- * @return ScaleWithAdjustmentResponse
19310
+ * @param tmpReq - ScaleWithAdjustmentRequest
19311
+ * @param runtime - runtime options for this request RuntimeOptions
19312
+ * @returns ScaleWithAdjustmentResponse
18536
19313
  */
18537
19314
  async scaleWithAdjustmentWithOptions(tmpReq, runtime) {
18538
19315
  tea_util_1.default.validateModel(tmpReq);
@@ -18595,9 +19372,10 @@ class Client extends openapi_client_1.default {
18595
19372
  return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
18596
19373
  }
18597
19374
  /**
18598
- * @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
19375
+ * Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
18599
19376
  *
18600
- * @description * Before you call this operation, take note of the following items:
19377
+ * @remarks
19378
+ * Before you call this operation, take note of the following items:
18601
19379
  * * The scaling group is in the Active state.
18602
19380
  * * The scaling group has no ongoing scaling activities.
18603
19381
  * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
@@ -18605,19 +19383,19 @@ class Client extends openapi_client_1.default {
18605
19383
  * * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
18606
19384
  * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
18607
19385
  *
18608
- * @param request ScaleWithAdjustmentRequest
18609
- * @return ScaleWithAdjustmentResponse
19386
+ * @param request - ScaleWithAdjustmentRequest
19387
+ * @returns ScaleWithAdjustmentResponse
18610
19388
  */
18611
19389
  async scaleWithAdjustment(request) {
18612
19390
  let runtime = new $Util.RuntimeOptions({});
18613
19391
  return await this.scaleWithAdjustmentWithOptions(request, runtime);
18614
19392
  }
18615
19393
  /**
18616
- * @summary Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
19394
+ * Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
18617
19395
  *
18618
- * @param request SetGroupDeletionProtectionRequest
18619
- * @param runtime runtime options for this request RuntimeOptions
18620
- * @return SetGroupDeletionProtectionResponse
19396
+ * @param request - SetGroupDeletionProtectionRequest
19397
+ * @param runtime - runtime options for this request RuntimeOptions
19398
+ * @returns SetGroupDeletionProtectionResponse
18621
19399
  */
18622
19400
  async setGroupDeletionProtectionWithOptions(request, runtime) {
18623
19401
  tea_util_1.default.validateModel(request);
@@ -18654,23 +19432,24 @@ class Client extends openapi_client_1.default {
18654
19432
  return $tea.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
18655
19433
  }
18656
19434
  /**
18657
- * @summary Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
19435
+ * Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
18658
19436
  *
18659
- * @param request SetGroupDeletionProtectionRequest
18660
- * @return SetGroupDeletionProtectionResponse
19437
+ * @param request - SetGroupDeletionProtectionRequest
19438
+ * @returns SetGroupDeletionProtectionResponse
18661
19439
  */
18662
19440
  async setGroupDeletionProtection(request) {
18663
19441
  let runtime = new $Util.RuntimeOptions({});
18664
19442
  return await this.setGroupDeletionProtectionWithOptions(request, runtime);
18665
19443
  }
18666
19444
  /**
18667
- * @summary Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
19445
+ * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
18668
19446
  *
18669
- * @description Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
19447
+ * @remarks
19448
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
18670
19449
  *
18671
- * @param request SetInstanceHealthRequest
18672
- * @param runtime runtime options for this request RuntimeOptions
18673
- * @return SetInstanceHealthResponse
19450
+ * @param request - SetInstanceHealthRequest
19451
+ * @param runtime - runtime options for this request RuntimeOptions
19452
+ * @returns SetInstanceHealthResponse
18674
19453
  */
18675
19454
  async setInstanceHealthWithOptions(request, runtime) {
18676
19455
  tea_util_1.default.validateModel(request);
@@ -18704,28 +19483,30 @@ class Client extends openapi_client_1.default {
18704
19483
  return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
18705
19484
  }
18706
19485
  /**
18707
- * @summary Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
19486
+ * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
18708
19487
  *
18709
- * @description Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
19488
+ * @remarks
19489
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
18710
19490
  *
18711
- * @param request SetInstanceHealthRequest
18712
- * @return SetInstanceHealthResponse
19491
+ * @param request - SetInstanceHealthRequest
19492
+ * @returns SetInstanceHealthResponse
18713
19493
  */
18714
19494
  async setInstanceHealth(request) {
18715
19495
  let runtime = new $Util.RuntimeOptions({});
18716
19496
  return await this.setInstanceHealthWithOptions(request, runtime);
18717
19497
  }
18718
19498
  /**
18719
- * @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
19499
+ * Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
18720
19500
  *
18721
- * @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
19501
+ * @remarks
19502
+ * Once ECS instances enter the Protected state, they become subject to the following restrictions:
18722
19503
  * * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
18723
19504
  * * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
18724
19505
  * * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
18725
19506
  *
18726
- * @param request SetInstancesProtectionRequest
18727
- * @param runtime runtime options for this request RuntimeOptions
18728
- * @return SetInstancesProtectionResponse
19507
+ * @param request - SetInstancesProtectionRequest
19508
+ * @param runtime - runtime options for this request RuntimeOptions
19509
+ * @returns SetInstancesProtectionResponse
18729
19510
  */
18730
19511
  async setInstancesProtectionWithOptions(request, runtime) {
18731
19512
  tea_util_1.default.validateModel(request);
@@ -18762,26 +19543,130 @@ class Client extends openapi_client_1.default {
18762
19543
  return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
18763
19544
  }
18764
19545
  /**
18765
- * @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
19546
+ * Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
18766
19547
  *
18767
- * @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
19548
+ * @remarks
19549
+ * Once ECS instances enter the Protected state, they become subject to the following restrictions:
18768
19550
  * * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
18769
19551
  * * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
18770
19552
  * * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
18771
19553
  *
18772
- * @param request SetInstancesProtectionRequest
18773
- * @return SetInstancesProtectionResponse
19554
+ * @param request - SetInstancesProtectionRequest
19555
+ * @returns SetInstancesProtectionResponse
18774
19556
  */
18775
19557
  async setInstancesProtection(request) {
18776
19558
  let runtime = new $Util.RuntimeOptions({});
18777
19559
  return await this.setInstancesProtectionWithOptions(request, runtime);
18778
19560
  }
18779
19561
  /**
18780
- * @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
19562
+ * @param request - StartInstanceRefreshRequest
19563
+ * @param runtime - runtime options for this request RuntimeOptions
19564
+ * @returns StartInstanceRefreshResponse
19565
+ */
19566
+ async startInstanceRefreshWithOptions(request, runtime) {
19567
+ tea_util_1.default.validateModel(request);
19568
+ let query = {};
19569
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
19570
+ query["ClientToken"] = request.clientToken;
19571
+ }
19572
+ if (!tea_util_1.default.isUnset(request.desiredConfiguration)) {
19573
+ query["DesiredConfiguration"] = request.desiredConfiguration;
19574
+ }
19575
+ if (!tea_util_1.default.isUnset(request.maxHealthyPercentage)) {
19576
+ query["MaxHealthyPercentage"] = request.maxHealthyPercentage;
19577
+ }
19578
+ if (!tea_util_1.default.isUnset(request.minHealthyPercentage)) {
19579
+ query["MinHealthyPercentage"] = request.minHealthyPercentage;
19580
+ }
19581
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
19582
+ query["OwnerId"] = request.ownerId;
19583
+ }
19584
+ if (!tea_util_1.default.isUnset(request.regionId)) {
19585
+ query["RegionId"] = request.regionId;
19586
+ }
19587
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
19588
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19589
+ }
19590
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
19591
+ query["ScalingGroupId"] = request.scalingGroupId;
19592
+ }
19593
+ let req = new $OpenApi.OpenApiRequest({
19594
+ query: openapi_util_1.default.query(query),
19595
+ });
19596
+ let params = new $OpenApi.Params({
19597
+ action: "StartInstanceRefresh",
19598
+ version: "2022-02-22",
19599
+ protocol: "HTTPS",
19600
+ pathname: "/",
19601
+ method: "POST",
19602
+ authType: "AK",
19603
+ style: "RPC",
19604
+ reqBodyType: "formData",
19605
+ bodyType: "json",
19606
+ });
19607
+ return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
19608
+ }
19609
+ /**
19610
+ * @param request - StartInstanceRefreshRequest
19611
+ * @returns StartInstanceRefreshResponse
19612
+ */
19613
+ async startInstanceRefresh(request) {
19614
+ let runtime = new $Util.RuntimeOptions({});
19615
+ return await this.startInstanceRefreshWithOptions(request, runtime);
19616
+ }
19617
+ /**
19618
+ * @param request - SuspendInstanceRefreshRequest
19619
+ * @param runtime - runtime options for this request RuntimeOptions
19620
+ * @returns SuspendInstanceRefreshResponse
19621
+ */
19622
+ async suspendInstanceRefreshWithOptions(request, runtime) {
19623
+ tea_util_1.default.validateModel(request);
19624
+ let query = {};
19625
+ if (!tea_util_1.default.isUnset(request.instanceRefreshTaskId)) {
19626
+ query["InstanceRefreshTaskId"] = request.instanceRefreshTaskId;
19627
+ }
19628
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
19629
+ query["OwnerId"] = request.ownerId;
19630
+ }
19631
+ if (!tea_util_1.default.isUnset(request.regionId)) {
19632
+ query["RegionId"] = request.regionId;
19633
+ }
19634
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
19635
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19636
+ }
19637
+ if (!tea_util_1.default.isUnset(request.scalingGroupId)) {
19638
+ query["ScalingGroupId"] = request.scalingGroupId;
19639
+ }
19640
+ let req = new $OpenApi.OpenApiRequest({
19641
+ query: openapi_util_1.default.query(query),
19642
+ });
19643
+ let params = new $OpenApi.Params({
19644
+ action: "SuspendInstanceRefresh",
19645
+ version: "2022-02-22",
19646
+ protocol: "HTTPS",
19647
+ pathname: "/",
19648
+ method: "POST",
19649
+ authType: "AK",
19650
+ style: "RPC",
19651
+ reqBodyType: "formData",
19652
+ bodyType: "json",
19653
+ });
19654
+ return $tea.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
19655
+ }
19656
+ /**
19657
+ * @param request - SuspendInstanceRefreshRequest
19658
+ * @returns SuspendInstanceRefreshResponse
19659
+ */
19660
+ async suspendInstanceRefresh(request) {
19661
+ let runtime = new $Util.RuntimeOptions({});
19662
+ return await this.suspendInstanceRefreshWithOptions(request, runtime);
19663
+ }
19664
+ /**
19665
+ * Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
18781
19666
  *
18782
- * @param request SuspendProcessesRequest
18783
- * @param runtime runtime options for this request RuntimeOptions
18784
- * @return SuspendProcessesResponse
19667
+ * @param request - SuspendProcessesRequest
19668
+ * @param runtime - runtime options for this request RuntimeOptions
19669
+ * @returns SuspendProcessesResponse
18785
19670
  */
18786
19671
  async suspendProcessesWithOptions(request, runtime) {
18787
19672
  tea_util_1.default.validateModel(request);
@@ -18821,19 +19706,20 @@ class Client extends openapi_client_1.default {
18821
19706
  return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
18822
19707
  }
18823
19708
  /**
18824
- * @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
19709
+ * Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
18825
19710
  *
18826
- * @param request SuspendProcessesRequest
18827
- * @return SuspendProcessesResponse
19711
+ * @param request - SuspendProcessesRequest
19712
+ * @returns SuspendProcessesResponse
18828
19713
  */
18829
19714
  async suspendProcesses(request) {
18830
19715
  let runtime = new $Util.RuntimeOptions({});
18831
19716
  return await this.suspendProcessesWithOptions(request, runtime);
18832
19717
  }
18833
19718
  /**
18834
- * @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
19719
+ * Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
18835
19720
  *
18836
- * @description * You can attach up to 20 tags to a scaling group.
19721
+ * @remarks
19722
+ * You can attach up to 20 tags to a scaling group.
18837
19723
  * **
18838
19724
  * **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
18839
19725
  * * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
@@ -18841,9 +19727,9 @@ class Client extends openapi_client_1.default {
18841
19727
  * * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
18842
19728
  * * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
18843
19729
  *
18844
- * @param request TagResourcesRequest
18845
- * @param runtime runtime options for this request RuntimeOptions
18846
- * @return TagResourcesResponse
19730
+ * @param request - TagResourcesRequest
19731
+ * @param runtime - runtime options for this request RuntimeOptions
19732
+ * @returns TagResourcesResponse
18847
19733
  */
18848
19734
  async tagResourcesWithOptions(request, runtime) {
18849
19735
  tea_util_1.default.validateModel(request);
@@ -18883,9 +19769,10 @@ class Client extends openapi_client_1.default {
18883
19769
  return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
18884
19770
  }
18885
19771
  /**
18886
- * @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
19772
+ * Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
18887
19773
  *
18888
- * @description * You can attach up to 20 tags to a scaling group.
19774
+ * @remarks
19775
+ * You can attach up to 20 tags to a scaling group.
18889
19776
  * **
18890
19777
  * **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
18891
19778
  * * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
@@ -18893,19 +19780,19 @@ class Client extends openapi_client_1.default {
18893
19780
  * * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
18894
19781
  * * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
18895
19782
  *
18896
- * @param request TagResourcesRequest
18897
- * @return TagResourcesResponse
19783
+ * @param request - TagResourcesRequest
19784
+ * @returns TagResourcesResponse
18898
19785
  */
18899
19786
  async tagResources(request) {
18900
19787
  let runtime = new $Util.RuntimeOptions({});
18901
19788
  return await this.tagResourcesWithOptions(request, runtime);
18902
19789
  }
18903
19790
  /**
18904
- * @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
19791
+ * Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
18905
19792
  *
18906
- * @param request UntagResourcesRequest
18907
- * @param runtime runtime options for this request RuntimeOptions
18908
- * @return UntagResourcesResponse
19793
+ * @param request - UntagResourcesRequest
19794
+ * @param runtime - runtime options for this request RuntimeOptions
19795
+ * @returns UntagResourcesResponse
18909
19796
  */
18910
19797
  async untagResourcesWithOptions(request, runtime) {
18911
19798
  tea_util_1.default.validateModel(request);
@@ -18948,21 +19835,21 @@ class Client extends openapi_client_1.default {
18948
19835
  return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
18949
19836
  }
18950
19837
  /**
18951
- * @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
19838
+ * Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
18952
19839
  *
18953
- * @param request UntagResourcesRequest
18954
- * @return UntagResourcesResponse
19840
+ * @param request - UntagResourcesRequest
19841
+ * @returns UntagResourcesResponse
18955
19842
  */
18956
19843
  async untagResources(request) {
18957
19844
  let runtime = new $Util.RuntimeOptions({});
18958
19845
  return await this.untagResourcesWithOptions(request, runtime);
18959
19846
  }
18960
19847
  /**
18961
- * @summary Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
19848
+ * Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
18962
19849
  *
18963
- * @param request VerifyAuthenticationRequest
18964
- * @param runtime runtime options for this request RuntimeOptions
18965
- * @return VerifyAuthenticationResponse
19850
+ * @param request - VerifyAuthenticationRequest
19851
+ * @param runtime - runtime options for this request RuntimeOptions
19852
+ * @returns VerifyAuthenticationResponse
18966
19853
  */
18967
19854
  async verifyAuthenticationWithOptions(request, runtime) {
18968
19855
  tea_util_1.default.validateModel(request);
@@ -18999,21 +19886,21 @@ class Client extends openapi_client_1.default {
18999
19886
  return $tea.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
19000
19887
  }
19001
19888
  /**
19002
- * @summary Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
19889
+ * Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
19003
19890
  *
19004
- * @param request VerifyAuthenticationRequest
19005
- * @return VerifyAuthenticationResponse
19891
+ * @param request - VerifyAuthenticationRequest
19892
+ * @returns VerifyAuthenticationResponse
19006
19893
  */
19007
19894
  async verifyAuthentication(request) {
19008
19895
  let runtime = new $Util.RuntimeOptions({});
19009
19896
  return await this.verifyAuthenticationWithOptions(request, runtime);
19010
19897
  }
19011
19898
  /**
19012
- * @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
19899
+ * Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
19013
19900
  *
19014
- * @param request VerifyUserRequest
19015
- * @param runtime runtime options for this request RuntimeOptions
19016
- * @return VerifyUserResponse
19901
+ * @param request - VerifyUserRequest
19902
+ * @param runtime - runtime options for this request RuntimeOptions
19903
+ * @returns VerifyUserResponse
19017
19904
  */
19018
19905
  async verifyUserWithOptions(request, runtime) {
19019
19906
  tea_util_1.default.validateModel(request);
@@ -19047,10 +19934,10 @@ class Client extends openapi_client_1.default {
19047
19934
  return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
19048
19935
  }
19049
19936
  /**
19050
- * @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
19937
+ * Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
19051
19938
  *
19052
- * @param request VerifyUserRequest
19053
- * @return VerifyUserResponse
19939
+ * @param request - VerifyUserRequest
19940
+ * @returns VerifyUserResponse
19054
19941
  */
19055
19942
  async verifyUser(request) {
19056
19943
  let runtime = new $Util.RuntimeOptions({});