@alicloud/ess20220222 1.8.6 → 1.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +156 -4
- package/dist/client.js +131 -577
- package/dist/client.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +276 -578
package/dist/client.js
CHANGED
|
@@ -44,14 +44,13 @@ exports.ResumeProcessesResponseBody = exports.ResumeProcessesRequest = exports.R
|
|
|
44
44
|
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 = exports.SetInstanceHealthRequest = exports.SetGroupDeletionProtectionResponse = exports.SetGroupDeletionProtectionResponseBody = exports.SetGroupDeletionProtectionRequest = exports.ScaleWithAdjustmentResponse = exports.ScaleWithAdjustmentResponseBody = exports.ScaleWithAdjustmentShrinkRequest = exports.ScaleWithAdjustmentRequest = exports.RollbackInstanceRefreshResponse = exports.RollbackInstanceRefreshResponseBody = exports.RollbackInstanceRefreshRequest = exports.ResumeProcessesResponse = void 0;
|
|
45
45
|
exports.CreateScalingGroupRequestCapacityOptions = exports.CreateScalingGroupRequestAlbServerGroups = exports.CreateScalingConfigurationShrinkRequestSpotPriceLimits = exports.CreateScalingConfigurationShrinkRequestSecurityOptions = exports.CreateScalingConfigurationShrinkRequestNetworkInterfaces = exports.CreateScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.CreateScalingConfigurationShrinkRequestInstancePatternInfos = exports.CreateScalingConfigurationShrinkRequestDataDisks = exports.CreateScalingConfigurationShrinkRequestCustomPriorities = exports.CreateScalingConfigurationShrinkRequestSystemDisk = exports.CreateScalingConfigurationShrinkRequestPrivatePoolOptions = exports.CreateScalingConfigurationShrinkRequestImageOptions = exports.CreateScalingConfigurationRequestSpotPriceLimits = exports.CreateScalingConfigurationRequestSecurityOptions = 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 = exports.CreateEciScalingConfigurationRequestHostAliases = exports.CreateEciScalingConfigurationRequestDnsConfigOptions = exports.CreateEciScalingConfigurationRequestContainers = exports.CreateEciScalingConfigurationRequestContainersVolumeMounts = exports.CreateEciScalingConfigurationRequestContainersPorts = exports.CreateEciScalingConfigurationRequestContainersEnvironmentVars = exports.CreateEciScalingConfigurationRequestContainersSecurityContext = exports.CreateEciScalingConfigurationRequestContainersSecurityContextCapability = exports.CreateEciScalingConfigurationRequestContainersReadinessProbe = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeTcpSocket = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeHttpGet = exports.CreateEciScalingConfigurationRequestContainersReadinessProbeExec = void 0;
|
|
46
46
|
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 = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationContainersEnvironmentVars = exports.DescribeEciScalingConfigurationDetailResponseBodyScalingConfigurationAcrRegistryInfos = exports.DescribeDiagnoseReportsResponseBodyReports = exports.DescribeDiagnoseReportsResponseBodyReportsDetails = exports.DescribeAlarmsResponseBodyAlarmList = exports.DescribeAlarmsResponseBodyAlarmListHybridMetrics = exports.DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions = exports.DescribeAlarmsResponseBodyAlarmListExpressions = exports.DescribeAlarmsResponseBodyAlarmListDimensions = exports.CreateScalingRuleRequestStepAdjustments = exports.CreateScalingRuleRequestHybridMetrics = exports.CreateScalingRuleRequestHybridMetricsDimensions = exports.CreateScalingRuleRequestAlarmDimensions = exports.CreateScalingGroupRequestVServerGroups = exports.CreateScalingGroupRequestVServerGroupsVServerGroupAttributes = exports.CreateScalingGroupRequestTags = exports.CreateScalingGroupRequestServerGroups = exports.CreateScalingGroupRequestLoadBalancerConfigs = exports.CreateScalingGroupRequestLifecycleHooks = exports.CreateScalingGroupRequestLaunchTemplateOverrides = exports.CreateScalingGroupRequestDBInstances = void 0;
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.TagResourcesRequestTags = exports.StartInstanceRefreshRequestDesiredConfiguration = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestHybridMetrics = exports.ModifyScalingRuleRequestHybridMetricsDimensions = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingGroupRequestCapacityOptions = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestSecurityOptions = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = exports.ModifyScalingConfigurationRequestSecurityOptions = exports.ModifyScalingConfigurationRequestNetworkInterfaces = exports.ModifyScalingConfigurationRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationRequestInstancePatternInfos = exports.ModifyScalingConfigurationRequestDataDisks = exports.ModifyScalingConfigurationRequestCustomPriorities = void 0;
|
|
47
|
+
exports.DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions = 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.DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions = exports.DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups = exports.DescribeScalingGroupsRequestTags = exports.DescribeScalingGroupDiagnoseDetailsResponseBodyDetails = exports.DescribeScalingGroupDetailResponseBodyScalingGroup = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupVServerGroupsVServerGroupAttributes = exports.DescribeScalingGroupDetailResponseBodyScalingGroupTags = exports.DescribeScalingGroupDetailResponseBodyScalingGroupServerGroups = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLoadBalancerConfigs = exports.DescribeScalingGroupDetailResponseBodyScalingGroupLaunchTemplateOverrides = exports.DescribeScalingGroupDetailResponseBodyScalingGroupAlbServerGroups = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsTags = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSpotPriceLimits = exports.DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions = 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.DescribeElasticStrengthResponseBodyResourcePools = exports.DescribeElasticStrengthResponseBodyElasticStrengthModels = exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools = exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumes = exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsVolumesConfigFileVolumeConfigFileToPaths = void 0;
|
|
48
|
+
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.DescribeScalingRulesResponseBodyScalingRulesHybridMetrics = void 0;
|
|
49
|
+
exports.TagResourcesRequestTags = exports.StartInstanceRefreshRequestDesiredConfiguration = exports.ScaleWithAdjustmentRequestOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverrides = exports.ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars = exports.ScaleWithAdjustmentRequestLifecycleHookContext = exports.ModifyScalingRuleRequestStepAdjustments = exports.ModifyScalingRuleRequestHybridMetrics = exports.ModifyScalingRuleRequestHybridMetricsDimensions = exports.ModifyScalingRuleRequestAlarmDimensions = exports.ModifyScalingGroupRequestLaunchTemplateOverrides = exports.ModifyScalingGroupRequestCapacityOptions = exports.ModifyScalingConfigurationShrinkRequestSpotPriceLimits = exports.ModifyScalingConfigurationShrinkRequestSecurityOptions = exports.ModifyScalingConfigurationShrinkRequestNetworkInterfaces = exports.ModifyScalingConfigurationShrinkRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationShrinkRequestInstancePatternInfos = exports.ModifyScalingConfigurationShrinkRequestDataDisks = exports.ModifyScalingConfigurationShrinkRequestCustomPriorities = exports.ModifyScalingConfigurationShrinkRequestSystemDisk = exports.ModifyScalingConfigurationShrinkRequestPrivatePoolOptions = exports.ModifyScalingConfigurationShrinkRequestImageOptions = exports.ModifyScalingConfigurationRequestSpotPriceLimits = exports.ModifyScalingConfigurationRequestSecurityOptions = exports.ModifyScalingConfigurationRequestNetworkInterfaces = exports.ModifyScalingConfigurationRequestInstanceTypeOverrides = exports.ModifyScalingConfigurationRequestInstancePatternInfos = exports.ModifyScalingConfigurationRequestDataDisks = exports.ModifyScalingConfigurationRequestCustomPriorities = exports.ModifyScalingConfigurationRequestSystemDisk = void 0;
|
|
50
50
|
// This file is auto-generated, don't edit it
|
|
51
51
|
/**
|
|
52
52
|
*/
|
|
53
53
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
54
|
-
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
55
54
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
56
55
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
57
56
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
@@ -315,6 +314,7 @@ class AttachInstancesRequest extends $tea.Model {
|
|
|
315
314
|
return {
|
|
316
315
|
clientToken: 'ClientToken',
|
|
317
316
|
entrusted: 'Entrusted',
|
|
317
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
318
318
|
instanceIds: 'InstanceIds',
|
|
319
319
|
lifecycleHook: 'LifecycleHook',
|
|
320
320
|
loadBalancerWeights: 'LoadBalancerWeights',
|
|
@@ -330,6 +330,7 @@ class AttachInstancesRequest extends $tea.Model {
|
|
|
330
330
|
return {
|
|
331
331
|
clientToken: 'string',
|
|
332
332
|
entrusted: 'boolean',
|
|
333
|
+
ignoreInvalidInstance: 'boolean',
|
|
333
334
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
334
335
|
lifecycleHook: 'boolean',
|
|
335
336
|
loadBalancerWeights: { 'type': 'array', 'itemType': 'number' },
|
|
@@ -10446,12 +10447,36 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
10446
10447
|
}
|
|
10447
10448
|
}
|
|
10448
10449
|
exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = DescribeEciScalingConfigurationsResponseBodyScalingConfigurations;
|
|
10450
|
+
class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth extends $tea.Model {
|
|
10451
|
+
static names() {
|
|
10452
|
+
return {
|
|
10453
|
+
adequacyScore: 'AdequacyScore',
|
|
10454
|
+
healthScore: 'HealthScore',
|
|
10455
|
+
hotScore: 'HotScore',
|
|
10456
|
+
supplyScore: 'SupplyScore',
|
|
10457
|
+
};
|
|
10458
|
+
}
|
|
10459
|
+
static types() {
|
|
10460
|
+
return {
|
|
10461
|
+
adequacyScore: 'number',
|
|
10462
|
+
healthScore: 'number',
|
|
10463
|
+
hotScore: 'number',
|
|
10464
|
+
supplyScore: 'number',
|
|
10465
|
+
};
|
|
10466
|
+
}
|
|
10467
|
+
constructor(map) {
|
|
10468
|
+
super(map);
|
|
10469
|
+
}
|
|
10470
|
+
}
|
|
10471
|
+
exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth = DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth;
|
|
10449
10472
|
class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
10450
10473
|
static names() {
|
|
10451
10474
|
return {
|
|
10452
10475
|
code: 'Code',
|
|
10453
10476
|
instanceType: 'InstanceType',
|
|
10477
|
+
inventoryHealth: 'InventoryHealth',
|
|
10454
10478
|
msg: 'Msg',
|
|
10479
|
+
status: 'Status',
|
|
10455
10480
|
strength: 'Strength',
|
|
10456
10481
|
vSwitchIds: 'VSwitchIds',
|
|
10457
10482
|
zoneId: 'ZoneId',
|
|
@@ -10461,7 +10486,9 @@ class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools exte
|
|
|
10461
10486
|
return {
|
|
10462
10487
|
code: 'string',
|
|
10463
10488
|
instanceType: 'string',
|
|
10489
|
+
inventoryHealth: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth,
|
|
10464
10490
|
msg: 'string',
|
|
10491
|
+
status: 'string',
|
|
10465
10492
|
strength: 'number',
|
|
10466
10493
|
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
10467
10494
|
zoneId: 'string',
|
|
@@ -10475,6 +10502,7 @@ exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools =
|
|
|
10475
10502
|
class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
10476
10503
|
static names() {
|
|
10477
10504
|
return {
|
|
10505
|
+
elasticStrength: 'ElasticStrength',
|
|
10478
10506
|
resourcePools: 'ResourcePools',
|
|
10479
10507
|
scalingGroupId: 'ScalingGroupId',
|
|
10480
10508
|
totalStrength: 'TotalStrength',
|
|
@@ -10482,6 +10510,7 @@ class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Mode
|
|
|
10482
10510
|
}
|
|
10483
10511
|
static types() {
|
|
10484
10512
|
return {
|
|
10513
|
+
elasticStrength: 'string',
|
|
10485
10514
|
resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools },
|
|
10486
10515
|
scalingGroupId: 'string',
|
|
10487
10516
|
totalStrength: 'number',
|
|
@@ -13805,9 +13834,6 @@ exports.TagResourcesRequestTags = TagResourcesRequestTags;
|
|
|
13805
13834
|
class Client extends openapi_client_1.default {
|
|
13806
13835
|
constructor(config) {
|
|
13807
13836
|
super(config);
|
|
13808
|
-
this._productId = "Ess";
|
|
13809
|
-
let gatewayClient = new gateway_pop_1.default();
|
|
13810
|
-
this._spi = gatewayClient;
|
|
13811
13837
|
this._endpointRule = "regional";
|
|
13812
13838
|
this._endpointMap = {
|
|
13813
13839
|
'cn-qingdao': "ess.aliyuncs.com",
|
|
@@ -13911,12 +13937,7 @@ class Client extends openapi_client_1.default {
|
|
|
13911
13937
|
reqBodyType: "formData",
|
|
13912
13938
|
bodyType: "json",
|
|
13913
13939
|
});
|
|
13914
|
-
|
|
13915
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
13916
|
-
}
|
|
13917
|
-
else {
|
|
13918
|
-
return $tea.cast(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
13919
|
-
}
|
|
13940
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
13920
13941
|
}
|
|
13921
13942
|
/**
|
|
13922
13943
|
* 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.
|
|
@@ -14000,12 +14021,7 @@ class Client extends openapi_client_1.default {
|
|
|
14000
14021
|
reqBodyType: "formData",
|
|
14001
14022
|
bodyType: "json",
|
|
14002
14023
|
});
|
|
14003
|
-
|
|
14004
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
14005
|
-
}
|
|
14006
|
-
else {
|
|
14007
|
-
return $tea.cast(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
14008
|
-
}
|
|
14024
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
14009
14025
|
}
|
|
14010
14026
|
/**
|
|
14011
14027
|
* 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.
|
|
@@ -14101,12 +14117,7 @@ class Client extends openapi_client_1.default {
|
|
|
14101
14117
|
reqBodyType: "formData",
|
|
14102
14118
|
bodyType: "json",
|
|
14103
14119
|
});
|
|
14104
|
-
|
|
14105
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
14106
|
-
}
|
|
14107
|
-
else {
|
|
14108
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
14109
|
-
}
|
|
14120
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
14110
14121
|
}
|
|
14111
14122
|
/**
|
|
14112
14123
|
* 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.
|
|
@@ -14183,12 +14194,7 @@ class Client extends openapi_client_1.default {
|
|
|
14183
14194
|
reqBodyType: "formData",
|
|
14184
14195
|
bodyType: "json",
|
|
14185
14196
|
});
|
|
14186
|
-
|
|
14187
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
14188
|
-
}
|
|
14189
|
-
else {
|
|
14190
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
14191
|
-
}
|
|
14197
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
14192
14198
|
}
|
|
14193
14199
|
/**
|
|
14194
14200
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
@@ -14241,6 +14247,9 @@ class Client extends openapi_client_1.default {
|
|
|
14241
14247
|
if (!tea_util_1.default.isUnset(request.entrusted)) {
|
|
14242
14248
|
query["Entrusted"] = request.entrusted;
|
|
14243
14249
|
}
|
|
14250
|
+
if (!tea_util_1.default.isUnset(request.ignoreInvalidInstance)) {
|
|
14251
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
14252
|
+
}
|
|
14244
14253
|
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
14245
14254
|
query["InstanceIds"] = request.instanceIds;
|
|
14246
14255
|
}
|
|
@@ -14282,12 +14291,7 @@ class Client extends openapi_client_1.default {
|
|
|
14282
14291
|
reqBodyType: "formData",
|
|
14283
14292
|
bodyType: "json",
|
|
14284
14293
|
});
|
|
14285
|
-
|
|
14286
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
14287
|
-
}
|
|
14288
|
-
else {
|
|
14289
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
|
|
14290
|
-
}
|
|
14294
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
14291
14295
|
}
|
|
14292
14296
|
/**
|
|
14293
14297
|
* 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.
|
|
@@ -14372,12 +14376,7 @@ class Client extends openapi_client_1.default {
|
|
|
14372
14376
|
reqBodyType: "formData",
|
|
14373
14377
|
bodyType: "json",
|
|
14374
14378
|
});
|
|
14375
|
-
|
|
14376
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
14377
|
-
}
|
|
14378
|
-
else {
|
|
14379
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
14380
|
-
}
|
|
14379
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
14381
14380
|
}
|
|
14382
14381
|
/**
|
|
14383
14382
|
* 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.
|
|
@@ -14443,12 +14442,7 @@ class Client extends openapi_client_1.default {
|
|
|
14443
14442
|
reqBodyType: "formData",
|
|
14444
14443
|
bodyType: "json",
|
|
14445
14444
|
});
|
|
14446
|
-
|
|
14447
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
14448
|
-
}
|
|
14449
|
-
else {
|
|
14450
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
14451
|
-
}
|
|
14445
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
14452
14446
|
}
|
|
14453
14447
|
/**
|
|
14454
14448
|
* 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.
|
|
@@ -14522,12 +14516,7 @@ class Client extends openapi_client_1.default {
|
|
|
14522
14516
|
reqBodyType: "formData",
|
|
14523
14517
|
bodyType: "json",
|
|
14524
14518
|
});
|
|
14525
|
-
|
|
14526
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
14527
|
-
}
|
|
14528
|
-
else {
|
|
14529
|
-
return $tea.cast(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
14530
|
-
}
|
|
14519
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
14531
14520
|
}
|
|
14532
14521
|
/**
|
|
14533
14522
|
* 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.
|
|
@@ -14598,12 +14587,7 @@ class Client extends openapi_client_1.default {
|
|
|
14598
14587
|
reqBodyType: "formData",
|
|
14599
14588
|
bodyType: "json",
|
|
14600
14589
|
});
|
|
14601
|
-
|
|
14602
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
14603
|
-
}
|
|
14604
|
-
else {
|
|
14605
|
-
return $tea.cast(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
14606
|
-
}
|
|
14590
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
14607
14591
|
}
|
|
14608
14592
|
/**
|
|
14609
14593
|
* Cancels an instance refresh task. Take note that instances whose configurations were already updated by running an instance refresh task remain intact even after you cancel the task.
|
|
@@ -14664,12 +14648,7 @@ class Client extends openapi_client_1.default {
|
|
|
14664
14648
|
reqBodyType: "formData",
|
|
14665
14649
|
bodyType: "json",
|
|
14666
14650
|
});
|
|
14667
|
-
|
|
14668
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
14669
|
-
}
|
|
14670
|
-
else {
|
|
14671
|
-
return $tea.cast(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
14672
|
-
}
|
|
14651
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
14673
14652
|
}
|
|
14674
14653
|
/**
|
|
14675
14654
|
* 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.
|
|
@@ -14736,12 +14715,7 @@ class Client extends openapi_client_1.default {
|
|
|
14736
14715
|
reqBodyType: "formData",
|
|
14737
14716
|
bodyType: "json",
|
|
14738
14717
|
});
|
|
14739
|
-
|
|
14740
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
14741
|
-
}
|
|
14742
|
-
else {
|
|
14743
|
-
return $tea.cast(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
14744
|
-
}
|
|
14718
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
14745
14719
|
}
|
|
14746
14720
|
/**
|
|
14747
14721
|
* 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.
|
|
@@ -14844,12 +14818,7 @@ class Client extends openapi_client_1.default {
|
|
|
14844
14818
|
reqBodyType: "formData",
|
|
14845
14819
|
bodyType: "json",
|
|
14846
14820
|
});
|
|
14847
|
-
|
|
14848
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
14849
|
-
}
|
|
14850
|
-
else {
|
|
14851
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
|
|
14852
|
-
}
|
|
14821
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
14853
14822
|
}
|
|
14854
14823
|
/**
|
|
14855
14824
|
* 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.
|
|
@@ -14892,12 +14861,7 @@ class Client extends openapi_client_1.default {
|
|
|
14892
14861
|
reqBodyType: "formData",
|
|
14893
14862
|
bodyType: "json",
|
|
14894
14863
|
});
|
|
14895
|
-
|
|
14896
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
14897
|
-
}
|
|
14898
|
-
else {
|
|
14899
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
14900
|
-
}
|
|
14864
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
14901
14865
|
}
|
|
14902
14866
|
/**
|
|
14903
14867
|
* Creates a diagnostic report.
|
|
@@ -15087,12 +15051,7 @@ class Client extends openapi_client_1.default {
|
|
|
15087
15051
|
reqBodyType: "formData",
|
|
15088
15052
|
bodyType: "json",
|
|
15089
15053
|
});
|
|
15090
|
-
|
|
15091
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
15092
|
-
}
|
|
15093
|
-
else {
|
|
15094
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
15095
|
-
}
|
|
15054
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
15096
15055
|
}
|
|
15097
15056
|
/**
|
|
15098
15057
|
* 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-out events.
|
|
@@ -15168,12 +15127,7 @@ class Client extends openapi_client_1.default {
|
|
|
15168
15127
|
reqBodyType: "formData",
|
|
15169
15128
|
bodyType: "json",
|
|
15170
15129
|
});
|
|
15171
|
-
|
|
15172
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
15173
|
-
}
|
|
15174
|
-
else {
|
|
15175
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
15176
|
-
}
|
|
15130
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
15177
15131
|
}
|
|
15178
15132
|
/**
|
|
15179
15133
|
* 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.
|
|
@@ -15241,12 +15195,7 @@ class Client extends openapi_client_1.default {
|
|
|
15241
15195
|
reqBodyType: "formData",
|
|
15242
15196
|
bodyType: "json",
|
|
15243
15197
|
});
|
|
15244
|
-
|
|
15245
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
15246
|
-
}
|
|
15247
|
-
else {
|
|
15248
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
15249
|
-
}
|
|
15198
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
15250
15199
|
}
|
|
15251
15200
|
/**
|
|
15252
15201
|
* 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.
|
|
@@ -15481,12 +15430,7 @@ class Client extends openapi_client_1.default {
|
|
|
15481
15430
|
reqBodyType: "formData",
|
|
15482
15431
|
bodyType: "json",
|
|
15483
15432
|
});
|
|
15484
|
-
|
|
15485
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
15486
|
-
}
|
|
15487
|
-
else {
|
|
15488
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
15489
|
-
}
|
|
15433
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
15490
15434
|
}
|
|
15491
15435
|
/**
|
|
15492
15436
|
* 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.
|
|
@@ -15696,12 +15640,7 @@ class Client extends openapi_client_1.default {
|
|
|
15696
15640
|
reqBodyType: "formData",
|
|
15697
15641
|
bodyType: "json",
|
|
15698
15642
|
});
|
|
15699
|
-
|
|
15700
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
15701
|
-
}
|
|
15702
|
-
else {
|
|
15703
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
15704
|
-
}
|
|
15643
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
15705
15644
|
}
|
|
15706
15645
|
/**
|
|
15707
15646
|
* 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.
|
|
@@ -15856,12 +15795,7 @@ class Client extends openapi_client_1.default {
|
|
|
15856
15795
|
reqBodyType: "formData",
|
|
15857
15796
|
bodyType: "json",
|
|
15858
15797
|
});
|
|
15859
|
-
|
|
15860
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
15861
|
-
}
|
|
15862
|
-
else {
|
|
15863
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
15864
|
-
}
|
|
15798
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
15865
15799
|
}
|
|
15866
15800
|
/**
|
|
15867
15801
|
* 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.
|
|
@@ -15973,12 +15907,7 @@ class Client extends openapi_client_1.default {
|
|
|
15973
15907
|
reqBodyType: "formData",
|
|
15974
15908
|
bodyType: "json",
|
|
15975
15909
|
});
|
|
15976
|
-
|
|
15977
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
15978
|
-
}
|
|
15979
|
-
else {
|
|
15980
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
15981
|
-
}
|
|
15910
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
15982
15911
|
}
|
|
15983
15912
|
/**
|
|
15984
15913
|
* 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.
|
|
@@ -16040,12 +15969,7 @@ class Client extends openapi_client_1.default {
|
|
|
16040
15969
|
reqBodyType: "formData",
|
|
16041
15970
|
bodyType: "json",
|
|
16042
15971
|
});
|
|
16043
|
-
|
|
16044
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
16045
|
-
}
|
|
16046
|
-
else {
|
|
16047
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
16048
|
-
}
|
|
15972
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
16049
15973
|
}
|
|
16050
15974
|
/**
|
|
16051
15975
|
* Deactivates a scaling configuration.
|
|
@@ -16096,12 +16020,7 @@ class Client extends openapi_client_1.default {
|
|
|
16096
16020
|
reqBodyType: "formData",
|
|
16097
16021
|
bodyType: "json",
|
|
16098
16022
|
});
|
|
16099
|
-
|
|
16100
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
16101
|
-
}
|
|
16102
|
-
else {
|
|
16103
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
|
|
16104
|
-
}
|
|
16023
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
16105
16024
|
}
|
|
16106
16025
|
/**
|
|
16107
16026
|
* 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.
|
|
@@ -16157,12 +16076,7 @@ class Client extends openapi_client_1.default {
|
|
|
16157
16076
|
reqBodyType: "formData",
|
|
16158
16077
|
bodyType: "json",
|
|
16159
16078
|
});
|
|
16160
|
-
|
|
16161
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
16162
|
-
}
|
|
16163
|
-
else {
|
|
16164
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
16165
|
-
}
|
|
16079
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
16166
16080
|
}
|
|
16167
16081
|
/**
|
|
16168
16082
|
* 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.
|
|
@@ -16229,12 +16143,7 @@ class Client extends openapi_client_1.default {
|
|
|
16229
16143
|
reqBodyType: "formData",
|
|
16230
16144
|
bodyType: "json",
|
|
16231
16145
|
});
|
|
16232
|
-
|
|
16233
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
16234
|
-
}
|
|
16235
|
-
else {
|
|
16236
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
16237
|
-
}
|
|
16146
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
16238
16147
|
}
|
|
16239
16148
|
/**
|
|
16240
16149
|
* 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.
|
|
@@ -16290,12 +16199,7 @@ class Client extends openapi_client_1.default {
|
|
|
16290
16199
|
reqBodyType: "formData",
|
|
16291
16200
|
bodyType: "json",
|
|
16292
16201
|
});
|
|
16293
|
-
|
|
16294
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
16295
|
-
}
|
|
16296
|
-
else {
|
|
16297
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
16298
|
-
}
|
|
16202
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
16299
16203
|
}
|
|
16300
16204
|
/**
|
|
16301
16205
|
* 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.
|
|
@@ -16348,12 +16252,7 @@ class Client extends openapi_client_1.default {
|
|
|
16348
16252
|
reqBodyType: "formData",
|
|
16349
16253
|
bodyType: "json",
|
|
16350
16254
|
});
|
|
16351
|
-
|
|
16352
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
16353
|
-
}
|
|
16354
|
-
else {
|
|
16355
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
16356
|
-
}
|
|
16255
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
16357
16256
|
}
|
|
16358
16257
|
/**
|
|
16359
16258
|
* Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
|
|
@@ -16424,12 +16323,7 @@ class Client extends openapi_client_1.default {
|
|
|
16424
16323
|
reqBodyType: "formData",
|
|
16425
16324
|
bodyType: "json",
|
|
16426
16325
|
});
|
|
16427
|
-
|
|
16428
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
16429
|
-
}
|
|
16430
|
-
else {
|
|
16431
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
16432
|
-
}
|
|
16326
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
16433
16327
|
}
|
|
16434
16328
|
/**
|
|
16435
16329
|
* 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.
|
|
@@ -16492,12 +16386,7 @@ class Client extends openapi_client_1.default {
|
|
|
16492
16386
|
reqBodyType: "formData",
|
|
16493
16387
|
bodyType: "json",
|
|
16494
16388
|
});
|
|
16495
|
-
|
|
16496
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
16497
|
-
}
|
|
16498
|
-
else {
|
|
16499
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
16500
|
-
}
|
|
16389
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
16501
16390
|
}
|
|
16502
16391
|
/**
|
|
16503
16392
|
* Deletes a scaling rule.
|
|
@@ -16548,12 +16437,7 @@ class Client extends openapi_client_1.default {
|
|
|
16548
16437
|
reqBodyType: "formData",
|
|
16549
16438
|
bodyType: "json",
|
|
16550
16439
|
});
|
|
16551
|
-
|
|
16552
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
16553
|
-
}
|
|
16554
|
-
else {
|
|
16555
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
16556
|
-
}
|
|
16440
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
16557
16441
|
}
|
|
16558
16442
|
/**
|
|
16559
16443
|
* 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.
|
|
@@ -16622,12 +16506,7 @@ class Client extends openapi_client_1.default {
|
|
|
16622
16506
|
reqBodyType: "formData",
|
|
16623
16507
|
bodyType: "json",
|
|
16624
16508
|
});
|
|
16625
|
-
|
|
16626
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
16627
|
-
}
|
|
16628
|
-
else {
|
|
16629
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
16630
|
-
}
|
|
16509
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
16631
16510
|
}
|
|
16632
16511
|
/**
|
|
16633
16512
|
* 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.
|
|
@@ -16675,12 +16554,7 @@ class Client extends openapi_client_1.default {
|
|
|
16675
16554
|
reqBodyType: "formData",
|
|
16676
16555
|
bodyType: "json",
|
|
16677
16556
|
});
|
|
16678
|
-
|
|
16679
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
16680
|
-
}
|
|
16681
|
-
else {
|
|
16682
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
16683
|
-
}
|
|
16557
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
16684
16558
|
}
|
|
16685
16559
|
/**
|
|
16686
16560
|
* 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.
|
|
@@ -16716,12 +16590,7 @@ class Client extends openapi_client_1.default {
|
|
|
16716
16590
|
reqBodyType: "formData",
|
|
16717
16591
|
bodyType: "json",
|
|
16718
16592
|
});
|
|
16719
|
-
|
|
16720
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
16721
|
-
}
|
|
16722
|
-
else {
|
|
16723
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
16724
|
-
}
|
|
16593
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
16725
16594
|
}
|
|
16726
16595
|
/**
|
|
16727
16596
|
* Queries the diagnostic reports.
|
|
@@ -16769,12 +16638,7 @@ class Client extends openapi_client_1.default {
|
|
|
16769
16638
|
reqBodyType: "formData",
|
|
16770
16639
|
bodyType: "json",
|
|
16771
16640
|
});
|
|
16772
|
-
|
|
16773
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
16774
|
-
}
|
|
16775
|
-
else {
|
|
16776
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
16777
|
-
}
|
|
16641
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
16778
16642
|
}
|
|
16779
16643
|
/**
|
|
16780
16644
|
* 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.
|
|
@@ -16840,12 +16704,7 @@ class Client extends openapi_client_1.default {
|
|
|
16840
16704
|
reqBodyType: "formData",
|
|
16841
16705
|
bodyType: "json",
|
|
16842
16706
|
});
|
|
16843
|
-
|
|
16844
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
16845
|
-
}
|
|
16846
|
-
else {
|
|
16847
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
16848
|
-
}
|
|
16707
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
16849
16708
|
}
|
|
16850
16709
|
/**
|
|
16851
16710
|
* 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.
|
|
@@ -16881,12 +16740,7 @@ class Client extends openapi_client_1.default {
|
|
|
16881
16740
|
reqBodyType: "formData",
|
|
16882
16741
|
bodyType: "json",
|
|
16883
16742
|
});
|
|
16884
|
-
|
|
16885
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
16886
|
-
}
|
|
16887
|
-
else {
|
|
16888
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
16889
|
-
}
|
|
16743
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
16890
16744
|
}
|
|
16891
16745
|
/**
|
|
16892
16746
|
* Queries the scaling strength of a scaling configuration. The success rate of scale-out events depends on the scaling strength of the scaling configuration that you want to use. By checking the scaling strength of a scaling configuration, you can enable Auto Scaling to measure its performance and improve specific configurations.
|
|
@@ -16949,12 +16803,7 @@ class Client extends openapi_client_1.default {
|
|
|
16949
16803
|
reqBodyType: "formData",
|
|
16950
16804
|
bodyType: "json",
|
|
16951
16805
|
});
|
|
16952
|
-
|
|
16953
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
16954
|
-
}
|
|
16955
|
-
else {
|
|
16956
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
16957
|
-
}
|
|
16806
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
16958
16807
|
}
|
|
16959
16808
|
/**
|
|
16960
16809
|
* Queries instance refresh tasks. If you want to view the basic information and execution progress of an instance refresh task, you can call the DescribeInstanceRefreshes operation.
|
|
@@ -17018,12 +16867,7 @@ class Client extends openapi_client_1.default {
|
|
|
17018
16867
|
reqBodyType: "formData",
|
|
17019
16868
|
bodyType: "json",
|
|
17020
16869
|
});
|
|
17021
|
-
|
|
17022
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
17023
|
-
}
|
|
17024
|
-
else {
|
|
17025
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
17026
|
-
}
|
|
16870
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
17027
16871
|
}
|
|
17028
16872
|
/**
|
|
17029
16873
|
* Queries lifecycle hook actions. When you call the DescribeLifecycleActions operation, you can specify parameters such as ScalingActivityId, NextToken, and MaxResults to query the details such as the action status and ID of a lifecycle hook. You can also call this operation to query the IDs of Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect.
|
|
@@ -17099,12 +16943,7 @@ class Client extends openapi_client_1.default {
|
|
|
17099
16943
|
reqBodyType: "formData",
|
|
17100
16944
|
bodyType: "json",
|
|
17101
16945
|
});
|
|
17102
|
-
|
|
17103
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
17104
|
-
}
|
|
17105
|
-
else {
|
|
17106
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
17107
|
-
}
|
|
16946
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
17108
16947
|
}
|
|
17109
16948
|
/**
|
|
17110
16949
|
* Queries lifecycle hooks. When you call this operation, you can specify the lifecycle hook ID or scaling group ID to query the details of the desired lifecycle hook, such as the default action after the lifecycle hook times out, scaling activity that corresponds to the lifecycle hook, Alibaba Cloud Resource Name (ARN) of the notification recipient, and effective period of the lifecycle hook.
|
|
@@ -17152,12 +16991,7 @@ class Client extends openapi_client_1.default {
|
|
|
17152
16991
|
reqBodyType: "formData",
|
|
17153
16992
|
bodyType: "json",
|
|
17154
16993
|
});
|
|
17155
|
-
|
|
17156
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
|
|
17157
|
-
}
|
|
17158
|
-
else {
|
|
17159
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
|
|
17160
|
-
}
|
|
16994
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
|
|
17161
16995
|
}
|
|
17162
16996
|
/**
|
|
17163
16997
|
* 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.
|
|
@@ -17205,12 +17039,7 @@ class Client extends openapi_client_1.default {
|
|
|
17205
17039
|
reqBodyType: "formData",
|
|
17206
17040
|
bodyType: "json",
|
|
17207
17041
|
});
|
|
17208
|
-
|
|
17209
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
17210
|
-
}
|
|
17211
|
-
else {
|
|
17212
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
17213
|
-
}
|
|
17042
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
17214
17043
|
}
|
|
17215
17044
|
/**
|
|
17216
17045
|
* 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.
|
|
@@ -17252,12 +17081,7 @@ class Client extends openapi_client_1.default {
|
|
|
17252
17081
|
reqBodyType: "formData",
|
|
17253
17082
|
bodyType: "json",
|
|
17254
17083
|
});
|
|
17255
|
-
|
|
17256
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
17257
|
-
}
|
|
17258
|
-
else {
|
|
17259
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
17260
|
-
}
|
|
17084
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
17261
17085
|
}
|
|
17262
17086
|
/**
|
|
17263
17087
|
* 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.
|
|
@@ -17293,12 +17117,7 @@ class Client extends openapi_client_1.default {
|
|
|
17293
17117
|
reqBodyType: "formData",
|
|
17294
17118
|
bodyType: "json",
|
|
17295
17119
|
});
|
|
17296
|
-
|
|
17297
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
17298
|
-
}
|
|
17299
|
-
else {
|
|
17300
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
17301
|
-
}
|
|
17120
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
17302
17121
|
}
|
|
17303
17122
|
/**
|
|
17304
17123
|
* 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.
|
|
@@ -17346,12 +17165,7 @@ class Client extends openapi_client_1.default {
|
|
|
17346
17165
|
reqBodyType: "formData",
|
|
17347
17166
|
bodyType: "json",
|
|
17348
17167
|
});
|
|
17349
|
-
|
|
17350
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17351
|
-
}
|
|
17352
|
-
else {
|
|
17353
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17354
|
-
}
|
|
17168
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17355
17169
|
}
|
|
17356
17170
|
/**
|
|
17357
17171
|
* 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.
|
|
@@ -17425,12 +17239,7 @@ class Client extends openapi_client_1.default {
|
|
|
17425
17239
|
reqBodyType: "formData",
|
|
17426
17240
|
bodyType: "json",
|
|
17427
17241
|
});
|
|
17428
|
-
|
|
17429
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
17430
|
-
}
|
|
17431
|
-
else {
|
|
17432
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
17433
|
-
}
|
|
17242
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
17434
17243
|
}
|
|
17435
17244
|
/**
|
|
17436
17245
|
* Queries scaling activities. You can call the DescribeScalingActivities operation to query the results of scaling activities triggered by scheduled tasks, event-triggered tasks, or manual execution of scaling rules. For example, you can query the status and cause of a scaling activity. You can also query the total number of instances after a scaling activity is complete.
|
|
@@ -17483,12 +17292,7 @@ class Client extends openapi_client_1.default {
|
|
|
17483
17292
|
reqBodyType: "formData",
|
|
17484
17293
|
bodyType: "json",
|
|
17485
17294
|
});
|
|
17486
|
-
|
|
17487
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
17488
|
-
}
|
|
17489
|
-
else {
|
|
17490
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
17491
|
-
}
|
|
17295
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
17492
17296
|
}
|
|
17493
17297
|
/**
|
|
17494
17298
|
* Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.
|
|
@@ -17554,12 +17358,7 @@ class Client extends openapi_client_1.default {
|
|
|
17554
17358
|
reqBodyType: "formData",
|
|
17555
17359
|
bodyType: "json",
|
|
17556
17360
|
});
|
|
17557
|
-
|
|
17558
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
17559
|
-
}
|
|
17560
|
-
else {
|
|
17561
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
17562
|
-
}
|
|
17361
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
17563
17362
|
}
|
|
17564
17363
|
/**
|
|
17565
17364
|
* Queries scaling configurations.
|
|
@@ -17607,12 +17406,7 @@ class Client extends openapi_client_1.default {
|
|
|
17607
17406
|
reqBodyType: "formData",
|
|
17608
17407
|
bodyType: "json",
|
|
17609
17408
|
});
|
|
17610
|
-
|
|
17611
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
17612
|
-
}
|
|
17613
|
-
else {
|
|
17614
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
17615
|
-
}
|
|
17409
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
17616
17410
|
}
|
|
17617
17411
|
/**
|
|
17618
17412
|
* 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 for a scaling group of the Elastic Container Instance type, the output is a Kubernetes Deployment file in the YAML format.
|
|
@@ -17648,12 +17442,7 @@ class Client extends openapi_client_1.default {
|
|
|
17648
17442
|
reqBodyType: "formData",
|
|
17649
17443
|
bodyType: "json",
|
|
17650
17444
|
});
|
|
17651
|
-
|
|
17652
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
17653
|
-
}
|
|
17654
|
-
else {
|
|
17655
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
17656
|
-
}
|
|
17445
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
17657
17446
|
}
|
|
17658
17447
|
/**
|
|
17659
17448
|
* Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
|
|
@@ -17728,12 +17517,7 @@ class Client extends openapi_client_1.default {
|
|
|
17728
17517
|
reqBodyType: "formData",
|
|
17729
17518
|
bodyType: "json",
|
|
17730
17519
|
});
|
|
17731
|
-
|
|
17732
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
17733
|
-
}
|
|
17734
|
-
else {
|
|
17735
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
17736
|
-
}
|
|
17520
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
17737
17521
|
}
|
|
17738
17522
|
/**
|
|
17739
17523
|
* Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
|
|
@@ -17817,12 +17601,7 @@ class Client extends openapi_client_1.default {
|
|
|
17817
17601
|
reqBodyType: "formData",
|
|
17818
17602
|
bodyType: "json",
|
|
17819
17603
|
});
|
|
17820
|
-
|
|
17821
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
17822
|
-
}
|
|
17823
|
-
else {
|
|
17824
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
17825
|
-
}
|
|
17604
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
17826
17605
|
}
|
|
17827
17606
|
/**
|
|
17828
17607
|
* 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.
|
|
@@ -17900,12 +17679,7 @@ class Client extends openapi_client_1.default {
|
|
|
17900
17679
|
reqBodyType: "formData",
|
|
17901
17680
|
bodyType: "json",
|
|
17902
17681
|
});
|
|
17903
|
-
|
|
17904
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
17905
|
-
}
|
|
17906
|
-
else {
|
|
17907
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
17908
|
-
}
|
|
17682
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
17909
17683
|
}
|
|
17910
17684
|
/**
|
|
17911
17685
|
* 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.
|
|
@@ -17992,12 +17766,7 @@ class Client extends openapi_client_1.default {
|
|
|
17992
17766
|
reqBodyType: "formData",
|
|
17993
17767
|
bodyType: "json",
|
|
17994
17768
|
});
|
|
17995
|
-
|
|
17996
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
17997
|
-
}
|
|
17998
|
-
else {
|
|
17999
|
-
return $tea.cast(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
18000
|
-
}
|
|
17769
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
18001
17770
|
}
|
|
18002
17771
|
/**
|
|
18003
17772
|
* 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.
|
|
@@ -18057,12 +17826,7 @@ class Client extends openapi_client_1.default {
|
|
|
18057
17826
|
reqBodyType: "formData",
|
|
18058
17827
|
bodyType: "json",
|
|
18059
17828
|
});
|
|
18060
|
-
|
|
18061
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
18062
|
-
}
|
|
18063
|
-
else {
|
|
18064
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
18065
|
-
}
|
|
17829
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
18066
17830
|
}
|
|
18067
17831
|
/**
|
|
18068
17832
|
* 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.
|
|
@@ -18122,12 +17886,7 @@ class Client extends openapi_client_1.default {
|
|
|
18122
17886
|
reqBodyType: "formData",
|
|
18123
17887
|
bodyType: "json",
|
|
18124
17888
|
});
|
|
18125
|
-
|
|
18126
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
18127
|
-
}
|
|
18128
|
-
else {
|
|
18129
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
18130
|
-
}
|
|
17889
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
18131
17890
|
}
|
|
18132
17891
|
/**
|
|
18133
17892
|
* Detaches one or more ApsaraDB RDS instances from a scaling group. If you want to decrease the number of ApsaraDB RDS instances attached to your scaling group, you can call the DetachDBInstance operation. This operation liberates ApsaraDB RDS instances from your scaling group, thereby significantly boosting the agility and efficiency in managing and allocating your resources.
|
|
@@ -18208,12 +17967,7 @@ class Client extends openapi_client_1.default {
|
|
|
18208
17967
|
reqBodyType: "formData",
|
|
18209
17968
|
bodyType: "json",
|
|
18210
17969
|
});
|
|
18211
|
-
|
|
18212
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
18213
|
-
}
|
|
18214
|
-
else {
|
|
18215
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
|
|
18216
|
-
}
|
|
17970
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
18217
17971
|
}
|
|
18218
17972
|
/**
|
|
18219
17973
|
* 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.
|
|
@@ -18285,12 +18039,7 @@ class Client extends openapi_client_1.default {
|
|
|
18285
18039
|
reqBodyType: "formData",
|
|
18286
18040
|
bodyType: "json",
|
|
18287
18041
|
});
|
|
18288
|
-
|
|
18289
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
18290
|
-
}
|
|
18291
|
-
else {
|
|
18292
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
18293
|
-
}
|
|
18042
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
18294
18043
|
}
|
|
18295
18044
|
/**
|
|
18296
18045
|
* 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.
|
|
@@ -18347,12 +18096,7 @@ class Client extends openapi_client_1.default {
|
|
|
18347
18096
|
reqBodyType: "formData",
|
|
18348
18097
|
bodyType: "json",
|
|
18349
18098
|
});
|
|
18350
|
-
|
|
18351
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
18352
|
-
}
|
|
18353
|
-
else {
|
|
18354
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
18355
|
-
}
|
|
18099
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
18356
18100
|
}
|
|
18357
18101
|
/**
|
|
18358
18102
|
* 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.
|
|
@@ -18417,12 +18161,7 @@ class Client extends openapi_client_1.default {
|
|
|
18417
18161
|
reqBodyType: "formData",
|
|
18418
18162
|
bodyType: "json",
|
|
18419
18163
|
});
|
|
18420
|
-
|
|
18421
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
18422
|
-
}
|
|
18423
|
-
else {
|
|
18424
|
-
return $tea.cast(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
18425
|
-
}
|
|
18164
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
18426
18165
|
}
|
|
18427
18166
|
/**
|
|
18428
18167
|
* 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.
|
|
@@ -18481,12 +18220,7 @@ class Client extends openapi_client_1.default {
|
|
|
18481
18220
|
reqBodyType: "formData",
|
|
18482
18221
|
bodyType: "json",
|
|
18483
18222
|
});
|
|
18484
|
-
|
|
18485
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
18486
|
-
}
|
|
18487
|
-
else {
|
|
18488
|
-
return $tea.cast(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
|
|
18489
|
-
}
|
|
18223
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
18490
18224
|
}
|
|
18491
18225
|
/**
|
|
18492
18226
|
* 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.
|
|
@@ -18545,12 +18279,7 @@ class Client extends openapi_client_1.default {
|
|
|
18545
18279
|
reqBodyType: "formData",
|
|
18546
18280
|
bodyType: "json",
|
|
18547
18281
|
});
|
|
18548
|
-
|
|
18549
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
18550
|
-
}
|
|
18551
|
-
else {
|
|
18552
|
-
return $tea.cast(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
18553
|
-
}
|
|
18282
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
18554
18283
|
}
|
|
18555
18284
|
/**
|
|
18556
18285
|
* 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.
|
|
@@ -18603,12 +18332,7 @@ class Client extends openapi_client_1.default {
|
|
|
18603
18332
|
reqBodyType: "formData",
|
|
18604
18333
|
bodyType: "json",
|
|
18605
18334
|
});
|
|
18606
|
-
|
|
18607
|
-
return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
18608
|
-
}
|
|
18609
|
-
else {
|
|
18610
|
-
return $tea.cast(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
|
|
18611
|
-
}
|
|
18335
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
18612
18336
|
}
|
|
18613
18337
|
/**
|
|
18614
18338
|
* 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.
|
|
@@ -18688,12 +18412,7 @@ class Client extends openapi_client_1.default {
|
|
|
18688
18412
|
reqBodyType: "formData",
|
|
18689
18413
|
bodyType: "json",
|
|
18690
18414
|
});
|
|
18691
|
-
|
|
18692
|
-
return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
18693
|
-
}
|
|
18694
|
-
else {
|
|
18695
|
-
return $tea.cast(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
18696
|
-
}
|
|
18415
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
18697
18416
|
}
|
|
18698
18417
|
/**
|
|
18699
18418
|
* 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.
|
|
@@ -18762,12 +18481,7 @@ class Client extends openapi_client_1.default {
|
|
|
18762
18481
|
reqBodyType: "formData",
|
|
18763
18482
|
bodyType: "json",
|
|
18764
18483
|
});
|
|
18765
|
-
|
|
18766
|
-
return $tea.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
|
|
18767
|
-
}
|
|
18768
|
-
else {
|
|
18769
|
-
return $tea.cast(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
|
|
18770
|
-
}
|
|
18484
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
|
|
18771
18485
|
}
|
|
18772
18486
|
/**
|
|
18773
18487
|
* Puts an Elastic Compute Service (ECS) instance into the Standby state.
|
|
@@ -18847,12 +18561,7 @@ class Client extends openapi_client_1.default {
|
|
|
18847
18561
|
reqBodyType: "formData",
|
|
18848
18562
|
bodyType: "json",
|
|
18849
18563
|
});
|
|
18850
|
-
|
|
18851
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
18852
|
-
}
|
|
18853
|
-
else {
|
|
18854
|
-
return $tea.cast(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
18855
|
-
}
|
|
18564
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
18856
18565
|
}
|
|
18857
18566
|
/**
|
|
18858
18567
|
* 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.
|
|
@@ -18926,12 +18635,7 @@ class Client extends openapi_client_1.default {
|
|
|
18926
18635
|
reqBodyType: "formData",
|
|
18927
18636
|
bodyType: "json",
|
|
18928
18637
|
});
|
|
18929
|
-
|
|
18930
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
18931
|
-
}
|
|
18932
|
-
else {
|
|
18933
|
-
return $tea.cast(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
|
|
18934
|
-
}
|
|
18638
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
18935
18639
|
}
|
|
18936
18640
|
/**
|
|
18937
18641
|
* 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.
|
|
@@ -18992,12 +18696,7 @@ class Client extends openapi_client_1.default {
|
|
|
18992
18696
|
reqBodyType: "formData",
|
|
18993
18697
|
bodyType: "json",
|
|
18994
18698
|
});
|
|
18995
|
-
|
|
18996
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
18997
|
-
}
|
|
18998
|
-
else {
|
|
18999
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
|
|
19000
|
-
}
|
|
18699
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
19001
18700
|
}
|
|
19002
18701
|
/**
|
|
19003
18702
|
* 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.
|
|
@@ -19058,12 +18757,7 @@ class Client extends openapi_client_1.default {
|
|
|
19058
18757
|
reqBodyType: "formData",
|
|
19059
18758
|
bodyType: "json",
|
|
19060
18759
|
});
|
|
19061
|
-
|
|
19062
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
19063
|
-
}
|
|
19064
|
-
else {
|
|
19065
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
19066
|
-
}
|
|
18760
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
19067
18761
|
}
|
|
19068
18762
|
/**
|
|
19069
18763
|
* 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 resource management. This operation aids in the automation of resource categorization and permission management processes.
|
|
@@ -19124,12 +18818,7 @@ class Client extends openapi_client_1.default {
|
|
|
19124
18818
|
reqBodyType: "formData",
|
|
19125
18819
|
bodyType: "json",
|
|
19126
18820
|
});
|
|
19127
|
-
|
|
19128
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
19129
|
-
}
|
|
19130
|
-
else {
|
|
19131
|
-
return $tea.cast(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
|
|
19132
|
-
}
|
|
18821
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
19133
18822
|
}
|
|
19134
18823
|
/**
|
|
19135
18824
|
* 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.
|
|
@@ -19229,12 +18918,7 @@ class Client extends openapi_client_1.default {
|
|
|
19229
18918
|
reqBodyType: "formData",
|
|
19230
18919
|
bodyType: "json",
|
|
19231
18920
|
});
|
|
19232
|
-
|
|
19233
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
|
|
19234
|
-
}
|
|
19235
|
-
else {
|
|
19236
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
|
|
19237
|
-
}
|
|
18921
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
|
|
19238
18922
|
}
|
|
19239
18923
|
/**
|
|
19240
18924
|
* Modifies an event-triggered task.
|
|
@@ -19292,12 +18976,7 @@ class Client extends openapi_client_1.default {
|
|
|
19292
18976
|
reqBodyType: "formData",
|
|
19293
18977
|
bodyType: "json",
|
|
19294
18978
|
});
|
|
19295
|
-
|
|
19296
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
19297
|
-
}
|
|
19298
|
-
else {
|
|
19299
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
19300
|
-
}
|
|
18979
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
19301
18980
|
}
|
|
19302
18981
|
/**
|
|
19303
18982
|
* Sets the status of scaling activities that prompt text message or email notifications.
|
|
@@ -19490,12 +19169,7 @@ class Client extends openapi_client_1.default {
|
|
|
19490
19169
|
reqBodyType: "formData",
|
|
19491
19170
|
bodyType: "json",
|
|
19492
19171
|
});
|
|
19493
|
-
|
|
19494
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
19495
|
-
}
|
|
19496
|
-
else {
|
|
19497
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
19498
|
-
}
|
|
19172
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
19499
19173
|
}
|
|
19500
19174
|
/**
|
|
19501
19175
|
* 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.
|
|
@@ -19553,12 +19227,7 @@ class Client extends openapi_client_1.default {
|
|
|
19553
19227
|
reqBodyType: "formData",
|
|
19554
19228
|
bodyType: "json",
|
|
19555
19229
|
});
|
|
19556
|
-
|
|
19557
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
19558
|
-
}
|
|
19559
|
-
else {
|
|
19560
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
19561
|
-
}
|
|
19230
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
19562
19231
|
}
|
|
19563
19232
|
/**
|
|
19564
19233
|
* 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.
|
|
@@ -19638,12 +19307,7 @@ class Client extends openapi_client_1.default {
|
|
|
19638
19307
|
reqBodyType: "formData",
|
|
19639
19308
|
bodyType: "json",
|
|
19640
19309
|
});
|
|
19641
|
-
|
|
19642
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
19643
|
-
}
|
|
19644
|
-
else {
|
|
19645
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
19646
|
-
}
|
|
19310
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
19647
19311
|
}
|
|
19648
19312
|
/**
|
|
19649
19313
|
* 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.
|
|
@@ -19705,12 +19369,7 @@ class Client extends openapi_client_1.default {
|
|
|
19705
19369
|
reqBodyType: "formData",
|
|
19706
19370
|
bodyType: "json",
|
|
19707
19371
|
});
|
|
19708
|
-
|
|
19709
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
19710
|
-
}
|
|
19711
|
-
else {
|
|
19712
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
19713
|
-
}
|
|
19372
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
19714
19373
|
}
|
|
19715
19374
|
/**
|
|
19716
19375
|
* 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.
|
|
@@ -19931,12 +19590,7 @@ class Client extends openapi_client_1.default {
|
|
|
19931
19590
|
reqBodyType: "formData",
|
|
19932
19591
|
bodyType: "json",
|
|
19933
19592
|
});
|
|
19934
|
-
|
|
19935
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
19936
|
-
}
|
|
19937
|
-
else {
|
|
19938
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
19939
|
-
}
|
|
19593
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
19940
19594
|
}
|
|
19941
19595
|
/**
|
|
19942
19596
|
* Modifies a scaling configuration.
|
|
@@ -20095,12 +19749,7 @@ class Client extends openapi_client_1.default {
|
|
|
20095
19749
|
reqBodyType: "formData",
|
|
20096
19750
|
bodyType: "json",
|
|
20097
19751
|
});
|
|
20098
|
-
|
|
20099
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
20100
|
-
}
|
|
20101
|
-
else {
|
|
20102
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
20103
|
-
}
|
|
19752
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
20104
19753
|
}
|
|
20105
19754
|
/**
|
|
20106
19755
|
* 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.
|
|
@@ -20229,12 +19878,7 @@ class Client extends openapi_client_1.default {
|
|
|
20229
19878
|
reqBodyType: "formData",
|
|
20230
19879
|
bodyType: "json",
|
|
20231
19880
|
});
|
|
20232
|
-
|
|
20233
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
20234
|
-
}
|
|
20235
|
-
else {
|
|
20236
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
20237
|
-
}
|
|
19881
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
20238
19882
|
}
|
|
20239
19883
|
/**
|
|
20240
19884
|
* 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.
|
|
@@ -20333,12 +19977,7 @@ class Client extends openapi_client_1.default {
|
|
|
20333
19977
|
reqBodyType: "formData",
|
|
20334
19978
|
bodyType: "json",
|
|
20335
19979
|
});
|
|
20336
|
-
|
|
20337
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
20338
|
-
}
|
|
20339
|
-
else {
|
|
20340
|
-
return $tea.cast(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
20341
|
-
}
|
|
19980
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
20342
19981
|
}
|
|
20343
19982
|
/**
|
|
20344
19983
|
* 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.
|
|
@@ -20407,12 +20046,7 @@ class Client extends openapi_client_1.default {
|
|
|
20407
20046
|
reqBodyType: "formData",
|
|
20408
20047
|
bodyType: "json",
|
|
20409
20048
|
});
|
|
20410
|
-
|
|
20411
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
20412
|
-
}
|
|
20413
|
-
else {
|
|
20414
|
-
return $tea.cast(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
20415
|
-
}
|
|
20049
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
20416
20050
|
}
|
|
20417
20051
|
/**
|
|
20418
20052
|
* 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.
|
|
@@ -20482,12 +20116,7 @@ class Client extends openapi_client_1.default {
|
|
|
20482
20116
|
reqBodyType: "formData",
|
|
20483
20117
|
bodyType: "json",
|
|
20484
20118
|
});
|
|
20485
|
-
|
|
20486
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
20487
|
-
}
|
|
20488
|
-
else {
|
|
20489
|
-
return $tea.cast(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
20490
|
-
}
|
|
20119
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
20491
20120
|
}
|
|
20492
20121
|
/**
|
|
20493
20122
|
* 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.
|
|
@@ -20573,12 +20202,7 @@ class Client extends openapi_client_1.default {
|
|
|
20573
20202
|
reqBodyType: "formData",
|
|
20574
20203
|
bodyType: "json",
|
|
20575
20204
|
});
|
|
20576
|
-
|
|
20577
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
|
|
20578
|
-
}
|
|
20579
|
-
else {
|
|
20580
|
-
return $tea.cast(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
|
|
20581
|
-
}
|
|
20205
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
|
|
20582
20206
|
}
|
|
20583
20207
|
/**
|
|
20584
20208
|
* 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.
|
|
@@ -20639,12 +20263,7 @@ class Client extends openapi_client_1.default {
|
|
|
20639
20263
|
reqBodyType: "formData",
|
|
20640
20264
|
bodyType: "json",
|
|
20641
20265
|
});
|
|
20642
|
-
|
|
20643
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
20644
|
-
}
|
|
20645
|
-
else {
|
|
20646
|
-
return $tea.cast(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
20647
|
-
}
|
|
20266
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
20648
20267
|
}
|
|
20649
20268
|
/**
|
|
20650
20269
|
* Resumes an instance refresh task.
|
|
@@ -20698,12 +20317,7 @@ class Client extends openapi_client_1.default {
|
|
|
20698
20317
|
reqBodyType: "formData",
|
|
20699
20318
|
bodyType: "json",
|
|
20700
20319
|
});
|
|
20701
|
-
|
|
20702
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
|
|
20703
|
-
}
|
|
20704
|
-
else {
|
|
20705
|
-
return $tea.cast(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
|
|
20706
|
-
}
|
|
20320
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
|
|
20707
20321
|
}
|
|
20708
20322
|
/**
|
|
20709
20323
|
* Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
|
|
@@ -20754,12 +20368,7 @@ class Client extends openapi_client_1.default {
|
|
|
20754
20368
|
reqBodyType: "formData",
|
|
20755
20369
|
bodyType: "json",
|
|
20756
20370
|
});
|
|
20757
|
-
|
|
20758
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
20759
|
-
}
|
|
20760
|
-
else {
|
|
20761
|
-
return $tea.cast(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
20762
|
-
}
|
|
20371
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
20763
20372
|
}
|
|
20764
20373
|
/**
|
|
20765
20374
|
* Rolls back an instance refresh task. If an instance refresh task cannot meet your business requirements, you can call the RollbackInstanceRefresh operation. When you roll back an instance refresh task, Auto Scaling creates new instances based on the active scaling configuration to replace the instances whose configurations are already updated by running the task.
|
|
@@ -20845,12 +20454,7 @@ class Client extends openapi_client_1.default {
|
|
|
20845
20454
|
reqBodyType: "formData",
|
|
20846
20455
|
bodyType: "json",
|
|
20847
20456
|
});
|
|
20848
|
-
|
|
20849
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
20850
|
-
}
|
|
20851
|
-
else {
|
|
20852
|
-
return $tea.cast(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
20853
|
-
}
|
|
20457
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
20854
20458
|
}
|
|
20855
20459
|
/**
|
|
20856
20460
|
* 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.
|
|
@@ -20910,12 +20514,7 @@ class Client extends openapi_client_1.default {
|
|
|
20910
20514
|
reqBodyType: "formData",
|
|
20911
20515
|
bodyType: "json",
|
|
20912
20516
|
});
|
|
20913
|
-
|
|
20914
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
20915
|
-
}
|
|
20916
|
-
else {
|
|
20917
|
-
return $tea.cast(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
20918
|
-
}
|
|
20517
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
20919
20518
|
}
|
|
20920
20519
|
/**
|
|
20921
20520
|
* 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.
|
|
@@ -20966,12 +20565,7 @@ class Client extends openapi_client_1.default {
|
|
|
20966
20565
|
reqBodyType: "formData",
|
|
20967
20566
|
bodyType: "json",
|
|
20968
20567
|
});
|
|
20969
|
-
|
|
20970
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
20971
|
-
}
|
|
20972
|
-
else {
|
|
20973
|
-
return $tea.cast(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
20974
|
-
}
|
|
20568
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
20975
20569
|
}
|
|
20976
20570
|
/**
|
|
20977
20571
|
* 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.
|
|
@@ -21031,12 +20625,7 @@ class Client extends openapi_client_1.default {
|
|
|
21031
20625
|
reqBodyType: "formData",
|
|
21032
20626
|
bodyType: "json",
|
|
21033
20627
|
});
|
|
21034
|
-
|
|
21035
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
21036
|
-
}
|
|
21037
|
-
else {
|
|
21038
|
-
return $tea.cast(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
21039
|
-
}
|
|
20628
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
21040
20629
|
}
|
|
21041
20630
|
/**
|
|
21042
20631
|
* Puts or removes Elastic Compute Service (ECS) instances into or from the Protected state. After you put an ECS instance into the Protected state, the ECS instance will not be stopped or released when a scale-in event is triggered. In this case, you can manually delete the ECS instance in the Auto Scaling console or by calling the RemoveInstances operation.
|
|
@@ -21111,12 +20700,7 @@ class Client extends openapi_client_1.default {
|
|
|
21111
20700
|
reqBodyType: "formData",
|
|
21112
20701
|
bodyType: "json",
|
|
21113
20702
|
});
|
|
21114
|
-
|
|
21115
|
-
return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
21116
|
-
}
|
|
21117
|
-
else {
|
|
21118
|
-
return $tea.cast(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
21119
|
-
}
|
|
20703
|
+
return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
21120
20704
|
}
|
|
21121
20705
|
/**
|
|
21122
20706
|
* Starts an instance refresh task. If you want to apply a new scaling configuration in a scaling group or update the image specified in a scaling configuration, you can call the StartInstanceRefresh operation.
|
|
@@ -21176,12 +20760,7 @@ class Client extends openapi_client_1.default {
|
|
|
21176
20760
|
reqBodyType: "formData",
|
|
21177
20761
|
bodyType: "json",
|
|
21178
20762
|
});
|
|
21179
|
-
|
|
21180
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
21181
|
-
}
|
|
21182
|
-
else {
|
|
21183
|
-
return $tea.cast(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
21184
|
-
}
|
|
20763
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
21185
20764
|
}
|
|
21186
20765
|
/**
|
|
21187
20766
|
* Suspends an instance refresh task. If you are not sure that you want to roll back an ongoing instance refresh task whose configurations you think has an issue, you can call the SuspendInstanceRefresh operation to suspend the task.
|
|
@@ -21238,12 +20817,7 @@ class Client extends openapi_client_1.default {
|
|
|
21238
20817
|
reqBodyType: "formData",
|
|
21239
20818
|
bodyType: "json",
|
|
21240
20819
|
});
|
|
21241
|
-
|
|
21242
|
-
return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
21243
|
-
}
|
|
21244
|
-
else {
|
|
21245
|
-
return $tea.cast(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
|
|
21246
|
-
}
|
|
20820
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
21247
20821
|
}
|
|
21248
20822
|
/**
|
|
21249
20823
|
* 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.
|
|
@@ -21306,12 +20880,7 @@ class Client extends openapi_client_1.default {
|
|
|
21306
20880
|
reqBodyType: "formData",
|
|
21307
20881
|
bodyType: "json",
|
|
21308
20882
|
});
|
|
21309
|
-
|
|
21310
|
-
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
21311
|
-
}
|
|
21312
|
-
else {
|
|
21313
|
-
return $tea.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
21314
|
-
}
|
|
20883
|
+
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
21315
20884
|
}
|
|
21316
20885
|
/**
|
|
21317
20886
|
* Creates and adds 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.
|
|
@@ -21377,12 +20946,7 @@ class Client extends openapi_client_1.default {
|
|
|
21377
20946
|
reqBodyType: "formData",
|
|
21378
20947
|
bodyType: "json",
|
|
21379
20948
|
});
|
|
21380
|
-
|
|
21381
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
21382
|
-
}
|
|
21383
|
-
else {
|
|
21384
|
-
return $tea.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
|
|
21385
|
-
}
|
|
20949
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
21386
20950
|
}
|
|
21387
20951
|
/**
|
|
21388
20952
|
* 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.
|
|
@@ -21433,12 +20997,7 @@ class Client extends openapi_client_1.default {
|
|
|
21433
20997
|
reqBodyType: "formData",
|
|
21434
20998
|
bodyType: "json",
|
|
21435
20999
|
});
|
|
21436
|
-
|
|
21437
|
-
return $tea.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
21438
|
-
}
|
|
21439
|
-
else {
|
|
21440
|
-
return $tea.cast(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
21441
|
-
}
|
|
21000
|
+
return $tea.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
21442
21001
|
}
|
|
21443
21002
|
/**
|
|
21444
21003
|
* Checks whether the specified Alibaba Cloud account assumes the AliyunServiceRoleForAutoScaling service-linked role. An account can be used to operate Elastic Compute Service (ECS) instances and elastic container instances only after it assumes the service-linked role.
|
|
@@ -21486,12 +21045,7 @@ class Client extends openapi_client_1.default {
|
|
|
21486
21045
|
reqBodyType: "formData",
|
|
21487
21046
|
bodyType: "json",
|
|
21488
21047
|
});
|
|
21489
|
-
|
|
21490
|
-
return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
21491
|
-
}
|
|
21492
|
-
else {
|
|
21493
|
-
return $tea.cast(await this.execute(params, req, runtime), new VerifyUserResponse({}));
|
|
21494
|
-
}
|
|
21048
|
+
return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
21495
21049
|
}
|
|
21496
21050
|
/**
|
|
21497
21051
|
* 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.
|