@alicloud/ess20220222 1.8.6 → 1.8.7
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 +18 -0
- package/dist/client.js +126 -577
- package/dist/client.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +132 -574
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"));
|
|
@@ -10446,12 +10445,36 @@ class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations extends
|
|
|
10446
10445
|
}
|
|
10447
10446
|
}
|
|
10448
10447
|
exports.DescribeEciScalingConfigurationsResponseBodyScalingConfigurations = DescribeEciScalingConfigurationsResponseBodyScalingConfigurations;
|
|
10448
|
+
class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth extends $tea.Model {
|
|
10449
|
+
static names() {
|
|
10450
|
+
return {
|
|
10451
|
+
adequacyScore: 'AdequacyScore',
|
|
10452
|
+
healthScore: 'HealthScore',
|
|
10453
|
+
hotScore: 'HotScore',
|
|
10454
|
+
supplyScore: 'SupplyScore',
|
|
10455
|
+
};
|
|
10456
|
+
}
|
|
10457
|
+
static types() {
|
|
10458
|
+
return {
|
|
10459
|
+
adequacyScore: 'number',
|
|
10460
|
+
healthScore: 'number',
|
|
10461
|
+
hotScore: 'number',
|
|
10462
|
+
supplyScore: 'number',
|
|
10463
|
+
};
|
|
10464
|
+
}
|
|
10465
|
+
constructor(map) {
|
|
10466
|
+
super(map);
|
|
10467
|
+
}
|
|
10468
|
+
}
|
|
10469
|
+
exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth = DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth;
|
|
10449
10470
|
class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
10450
10471
|
static names() {
|
|
10451
10472
|
return {
|
|
10452
10473
|
code: 'Code',
|
|
10453
10474
|
instanceType: 'InstanceType',
|
|
10475
|
+
inventoryHealth: 'InventoryHealth',
|
|
10454
10476
|
msg: 'Msg',
|
|
10477
|
+
status: 'Status',
|
|
10455
10478
|
strength: 'Strength',
|
|
10456
10479
|
vSwitchIds: 'VSwitchIds',
|
|
10457
10480
|
zoneId: 'ZoneId',
|
|
@@ -10461,7 +10484,9 @@ class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools exte
|
|
|
10461
10484
|
return {
|
|
10462
10485
|
code: 'string',
|
|
10463
10486
|
instanceType: 'string',
|
|
10487
|
+
inventoryHealth: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePoolsInventoryHealth,
|
|
10464
10488
|
msg: 'string',
|
|
10489
|
+
status: 'string',
|
|
10465
10490
|
strength: 'number',
|
|
10466
10491
|
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
10467
10492
|
zoneId: 'string',
|
|
@@ -10475,6 +10500,7 @@ exports.DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools =
|
|
|
10475
10500
|
class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
10476
10501
|
static names() {
|
|
10477
10502
|
return {
|
|
10503
|
+
elasticStrength: 'ElasticStrength',
|
|
10478
10504
|
resourcePools: 'ResourcePools',
|
|
10479
10505
|
scalingGroupId: 'ScalingGroupId',
|
|
10480
10506
|
totalStrength: 'TotalStrength',
|
|
@@ -10482,6 +10508,7 @@ class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Mode
|
|
|
10482
10508
|
}
|
|
10483
10509
|
static types() {
|
|
10484
10510
|
return {
|
|
10511
|
+
elasticStrength: 'string',
|
|
10485
10512
|
resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools },
|
|
10486
10513
|
scalingGroupId: 'string',
|
|
10487
10514
|
totalStrength: 'number',
|
|
@@ -13805,9 +13832,6 @@ exports.TagResourcesRequestTags = TagResourcesRequestTags;
|
|
|
13805
13832
|
class Client extends openapi_client_1.default {
|
|
13806
13833
|
constructor(config) {
|
|
13807
13834
|
super(config);
|
|
13808
|
-
this._productId = "Ess";
|
|
13809
|
-
let gatewayClient = new gateway_pop_1.default();
|
|
13810
|
-
this._spi = gatewayClient;
|
|
13811
13835
|
this._endpointRule = "regional";
|
|
13812
13836
|
this._endpointMap = {
|
|
13813
13837
|
'cn-qingdao': "ess.aliyuncs.com",
|
|
@@ -13911,12 +13935,7 @@ class Client extends openapi_client_1.default {
|
|
|
13911
13935
|
reqBodyType: "formData",
|
|
13912
13936
|
bodyType: "json",
|
|
13913
13937
|
});
|
|
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
|
-
}
|
|
13938
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
|
|
13920
13939
|
}
|
|
13921
13940
|
/**
|
|
13922
13941
|
* 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 +14019,7 @@ class Client extends openapi_client_1.default {
|
|
|
14000
14019
|
reqBodyType: "formData",
|
|
14001
14020
|
bodyType: "json",
|
|
14002
14021
|
});
|
|
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
|
-
}
|
|
14022
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
|
|
14009
14023
|
}
|
|
14010
14024
|
/**
|
|
14011
14025
|
* 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 +14115,7 @@ class Client extends openapi_client_1.default {
|
|
|
14101
14115
|
reqBodyType: "formData",
|
|
14102
14116
|
bodyType: "json",
|
|
14103
14117
|
});
|
|
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
|
-
}
|
|
14118
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
|
|
14110
14119
|
}
|
|
14111
14120
|
/**
|
|
14112
14121
|
* 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 +14192,7 @@ class Client extends openapi_client_1.default {
|
|
|
14183
14192
|
reqBodyType: "formData",
|
|
14184
14193
|
bodyType: "json",
|
|
14185
14194
|
});
|
|
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
|
-
}
|
|
14195
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
|
|
14192
14196
|
}
|
|
14193
14197
|
/**
|
|
14194
14198
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
@@ -14282,12 +14286,7 @@ class Client extends openapi_client_1.default {
|
|
|
14282
14286
|
reqBodyType: "formData",
|
|
14283
14287
|
bodyType: "json",
|
|
14284
14288
|
});
|
|
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
|
-
}
|
|
14289
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
14291
14290
|
}
|
|
14292
14291
|
/**
|
|
14293
14292
|
* 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 +14371,7 @@ class Client extends openapi_client_1.default {
|
|
|
14372
14371
|
reqBodyType: "formData",
|
|
14373
14372
|
bodyType: "json",
|
|
14374
14373
|
});
|
|
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
|
-
}
|
|
14374
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
|
|
14381
14375
|
}
|
|
14382
14376
|
/**
|
|
14383
14377
|
* 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 +14437,7 @@ class Client extends openapi_client_1.default {
|
|
|
14443
14437
|
reqBodyType: "formData",
|
|
14444
14438
|
bodyType: "json",
|
|
14445
14439
|
});
|
|
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
|
-
}
|
|
14440
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
|
|
14452
14441
|
}
|
|
14453
14442
|
/**
|
|
14454
14443
|
* 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 +14511,7 @@ class Client extends openapi_client_1.default {
|
|
|
14522
14511
|
reqBodyType: "formData",
|
|
14523
14512
|
bodyType: "json",
|
|
14524
14513
|
});
|
|
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
|
-
}
|
|
14514
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
|
|
14531
14515
|
}
|
|
14532
14516
|
/**
|
|
14533
14517
|
* 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 +14582,7 @@ class Client extends openapi_client_1.default {
|
|
|
14598
14582
|
reqBodyType: "formData",
|
|
14599
14583
|
bodyType: "json",
|
|
14600
14584
|
});
|
|
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
|
-
}
|
|
14585
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
|
|
14607
14586
|
}
|
|
14608
14587
|
/**
|
|
14609
14588
|
* 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 +14643,7 @@ class Client extends openapi_client_1.default {
|
|
|
14664
14643
|
reqBodyType: "formData",
|
|
14665
14644
|
bodyType: "json",
|
|
14666
14645
|
});
|
|
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
|
-
}
|
|
14646
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
14673
14647
|
}
|
|
14674
14648
|
/**
|
|
14675
14649
|
* 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 +14710,7 @@ class Client extends openapi_client_1.default {
|
|
|
14736
14710
|
reqBodyType: "formData",
|
|
14737
14711
|
bodyType: "json",
|
|
14738
14712
|
});
|
|
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
|
-
}
|
|
14713
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
|
|
14745
14714
|
}
|
|
14746
14715
|
/**
|
|
14747
14716
|
* 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 +14813,7 @@ class Client extends openapi_client_1.default {
|
|
|
14844
14813
|
reqBodyType: "formData",
|
|
14845
14814
|
bodyType: "json",
|
|
14846
14815
|
});
|
|
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
|
-
}
|
|
14816
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
|
|
14853
14817
|
}
|
|
14854
14818
|
/**
|
|
14855
14819
|
* 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 +14856,7 @@ class Client extends openapi_client_1.default {
|
|
|
14892
14856
|
reqBodyType: "formData",
|
|
14893
14857
|
bodyType: "json",
|
|
14894
14858
|
});
|
|
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
|
-
}
|
|
14859
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
|
|
14901
14860
|
}
|
|
14902
14861
|
/**
|
|
14903
14862
|
* Creates a diagnostic report.
|
|
@@ -15087,12 +15046,7 @@ class Client extends openapi_client_1.default {
|
|
|
15087
15046
|
reqBodyType: "formData",
|
|
15088
15047
|
bodyType: "json",
|
|
15089
15048
|
});
|
|
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
|
-
}
|
|
15049
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
|
|
15096
15050
|
}
|
|
15097
15051
|
/**
|
|
15098
15052
|
* 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 +15122,7 @@ class Client extends openapi_client_1.default {
|
|
|
15168
15122
|
reqBodyType: "formData",
|
|
15169
15123
|
bodyType: "json",
|
|
15170
15124
|
});
|
|
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
|
-
}
|
|
15125
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
|
|
15177
15126
|
}
|
|
15178
15127
|
/**
|
|
15179
15128
|
* 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 +15190,7 @@ class Client extends openapi_client_1.default {
|
|
|
15241
15190
|
reqBodyType: "formData",
|
|
15242
15191
|
bodyType: "json",
|
|
15243
15192
|
});
|
|
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
|
-
}
|
|
15193
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
|
|
15250
15194
|
}
|
|
15251
15195
|
/**
|
|
15252
15196
|
* 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 +15425,7 @@ class Client extends openapi_client_1.default {
|
|
|
15481
15425
|
reqBodyType: "formData",
|
|
15482
15426
|
bodyType: "json",
|
|
15483
15427
|
});
|
|
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
|
-
}
|
|
15428
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
|
|
15490
15429
|
}
|
|
15491
15430
|
/**
|
|
15492
15431
|
* 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 +15635,7 @@ class Client extends openapi_client_1.default {
|
|
|
15696
15635
|
reqBodyType: "formData",
|
|
15697
15636
|
bodyType: "json",
|
|
15698
15637
|
});
|
|
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
|
-
}
|
|
15638
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
|
|
15705
15639
|
}
|
|
15706
15640
|
/**
|
|
15707
15641
|
* 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 +15790,7 @@ class Client extends openapi_client_1.default {
|
|
|
15856
15790
|
reqBodyType: "formData",
|
|
15857
15791
|
bodyType: "json",
|
|
15858
15792
|
});
|
|
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
|
-
}
|
|
15793
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
|
|
15865
15794
|
}
|
|
15866
15795
|
/**
|
|
15867
15796
|
* 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 +15902,7 @@ class Client extends openapi_client_1.default {
|
|
|
15973
15902
|
reqBodyType: "formData",
|
|
15974
15903
|
bodyType: "json",
|
|
15975
15904
|
});
|
|
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
|
-
}
|
|
15905
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
|
|
15982
15906
|
}
|
|
15983
15907
|
/**
|
|
15984
15908
|
* 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 +15964,7 @@ class Client extends openapi_client_1.default {
|
|
|
16040
15964
|
reqBodyType: "formData",
|
|
16041
15965
|
bodyType: "json",
|
|
16042
15966
|
});
|
|
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
|
-
}
|
|
15967
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
|
|
16049
15968
|
}
|
|
16050
15969
|
/**
|
|
16051
15970
|
* Deactivates a scaling configuration.
|
|
@@ -16096,12 +16015,7 @@ class Client extends openapi_client_1.default {
|
|
|
16096
16015
|
reqBodyType: "formData",
|
|
16097
16016
|
bodyType: "json",
|
|
16098
16017
|
});
|
|
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
|
-
}
|
|
16018
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
16105
16019
|
}
|
|
16106
16020
|
/**
|
|
16107
16021
|
* 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 +16071,7 @@ class Client extends openapi_client_1.default {
|
|
|
16157
16071
|
reqBodyType: "formData",
|
|
16158
16072
|
bodyType: "json",
|
|
16159
16073
|
});
|
|
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
|
-
}
|
|
16074
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
16166
16075
|
}
|
|
16167
16076
|
/**
|
|
16168
16077
|
* 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 +16138,7 @@ class Client extends openapi_client_1.default {
|
|
|
16229
16138
|
reqBodyType: "formData",
|
|
16230
16139
|
bodyType: "json",
|
|
16231
16140
|
});
|
|
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
|
-
}
|
|
16141
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
|
|
16238
16142
|
}
|
|
16239
16143
|
/**
|
|
16240
16144
|
* 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 +16194,7 @@ class Client extends openapi_client_1.default {
|
|
|
16290
16194
|
reqBodyType: "formData",
|
|
16291
16195
|
bodyType: "json",
|
|
16292
16196
|
});
|
|
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
|
-
}
|
|
16197
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
16299
16198
|
}
|
|
16300
16199
|
/**
|
|
16301
16200
|
* 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 +16247,7 @@ class Client extends openapi_client_1.default {
|
|
|
16348
16247
|
reqBodyType: "formData",
|
|
16349
16248
|
bodyType: "json",
|
|
16350
16249
|
});
|
|
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
|
-
}
|
|
16250
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
|
|
16357
16251
|
}
|
|
16358
16252
|
/**
|
|
16359
16253
|
* Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
|
|
@@ -16424,12 +16318,7 @@ class Client extends openapi_client_1.default {
|
|
|
16424
16318
|
reqBodyType: "formData",
|
|
16425
16319
|
bodyType: "json",
|
|
16426
16320
|
});
|
|
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
|
-
}
|
|
16321
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
16433
16322
|
}
|
|
16434
16323
|
/**
|
|
16435
16324
|
* 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 +16381,7 @@ class Client extends openapi_client_1.default {
|
|
|
16492
16381
|
reqBodyType: "formData",
|
|
16493
16382
|
bodyType: "json",
|
|
16494
16383
|
});
|
|
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
|
-
}
|
|
16384
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
|
|
16501
16385
|
}
|
|
16502
16386
|
/**
|
|
16503
16387
|
* Deletes a scaling rule.
|
|
@@ -16548,12 +16432,7 @@ class Client extends openapi_client_1.default {
|
|
|
16548
16432
|
reqBodyType: "formData",
|
|
16549
16433
|
bodyType: "json",
|
|
16550
16434
|
});
|
|
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
|
-
}
|
|
16435
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
16557
16436
|
}
|
|
16558
16437
|
/**
|
|
16559
16438
|
* 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 +16501,7 @@ class Client extends openapi_client_1.default {
|
|
|
16622
16501
|
reqBodyType: "formData",
|
|
16623
16502
|
bodyType: "json",
|
|
16624
16503
|
});
|
|
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
|
-
}
|
|
16504
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
|
|
16631
16505
|
}
|
|
16632
16506
|
/**
|
|
16633
16507
|
* 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 +16549,7 @@ class Client extends openapi_client_1.default {
|
|
|
16675
16549
|
reqBodyType: "formData",
|
|
16676
16550
|
bodyType: "json",
|
|
16677
16551
|
});
|
|
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
|
-
}
|
|
16552
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
|
|
16684
16553
|
}
|
|
16685
16554
|
/**
|
|
16686
16555
|
* 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 +16585,7 @@ class Client extends openapi_client_1.default {
|
|
|
16716
16585
|
reqBodyType: "formData",
|
|
16717
16586
|
bodyType: "json",
|
|
16718
16587
|
});
|
|
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
|
-
}
|
|
16588
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
|
|
16725
16589
|
}
|
|
16726
16590
|
/**
|
|
16727
16591
|
* Queries the diagnostic reports.
|
|
@@ -16769,12 +16633,7 @@ class Client extends openapi_client_1.default {
|
|
|
16769
16633
|
reqBodyType: "formData",
|
|
16770
16634
|
bodyType: "json",
|
|
16771
16635
|
});
|
|
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
|
-
}
|
|
16636
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
|
|
16778
16637
|
}
|
|
16779
16638
|
/**
|
|
16780
16639
|
* 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 +16699,7 @@ class Client extends openapi_client_1.default {
|
|
|
16840
16699
|
reqBodyType: "formData",
|
|
16841
16700
|
bodyType: "json",
|
|
16842
16701
|
});
|
|
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
|
-
}
|
|
16702
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
|
|
16849
16703
|
}
|
|
16850
16704
|
/**
|
|
16851
16705
|
* 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 +16735,7 @@ class Client extends openapi_client_1.default {
|
|
|
16881
16735
|
reqBodyType: "formData",
|
|
16882
16736
|
bodyType: "json",
|
|
16883
16737
|
});
|
|
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
|
-
}
|
|
16738
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
16890
16739
|
}
|
|
16891
16740
|
/**
|
|
16892
16741
|
* 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 +16798,7 @@ class Client extends openapi_client_1.default {
|
|
|
16949
16798
|
reqBodyType: "formData",
|
|
16950
16799
|
bodyType: "json",
|
|
16951
16800
|
});
|
|
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
|
-
}
|
|
16801
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
|
|
16958
16802
|
}
|
|
16959
16803
|
/**
|
|
16960
16804
|
* 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 +16862,7 @@ class Client extends openapi_client_1.default {
|
|
|
17018
16862
|
reqBodyType: "formData",
|
|
17019
16863
|
bodyType: "json",
|
|
17020
16864
|
});
|
|
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
|
-
}
|
|
16865
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
|
|
17027
16866
|
}
|
|
17028
16867
|
/**
|
|
17029
16868
|
* 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 +16938,7 @@ class Client extends openapi_client_1.default {
|
|
|
17099
16938
|
reqBodyType: "formData",
|
|
17100
16939
|
bodyType: "json",
|
|
17101
16940
|
});
|
|
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
|
-
}
|
|
16941
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
|
|
17108
16942
|
}
|
|
17109
16943
|
/**
|
|
17110
16944
|
* 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 +16986,7 @@ class Client extends openapi_client_1.default {
|
|
|
17152
16986
|
reqBodyType: "formData",
|
|
17153
16987
|
bodyType: "json",
|
|
17154
16988
|
});
|
|
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
|
-
}
|
|
16989
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
|
|
17161
16990
|
}
|
|
17162
16991
|
/**
|
|
17163
16992
|
* 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 +17034,7 @@ class Client extends openapi_client_1.default {
|
|
|
17205
17034
|
reqBodyType: "formData",
|
|
17206
17035
|
bodyType: "json",
|
|
17207
17036
|
});
|
|
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
|
-
}
|
|
17037
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
|
|
17214
17038
|
}
|
|
17215
17039
|
/**
|
|
17216
17040
|
* 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 +17076,7 @@ class Client extends openapi_client_1.default {
|
|
|
17252
17076
|
reqBodyType: "formData",
|
|
17253
17077
|
bodyType: "json",
|
|
17254
17078
|
});
|
|
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
|
-
}
|
|
17079
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
|
|
17261
17080
|
}
|
|
17262
17081
|
/**
|
|
17263
17082
|
* 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 +17112,7 @@ class Client extends openapi_client_1.default {
|
|
|
17293
17112
|
reqBodyType: "formData",
|
|
17294
17113
|
bodyType: "json",
|
|
17295
17114
|
});
|
|
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
|
-
}
|
|
17115
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
|
|
17302
17116
|
}
|
|
17303
17117
|
/**
|
|
17304
17118
|
* 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 +17160,7 @@ class Client extends openapi_client_1.default {
|
|
|
17346
17160
|
reqBodyType: "formData",
|
|
17347
17161
|
bodyType: "json",
|
|
17348
17162
|
});
|
|
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
|
-
}
|
|
17163
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17355
17164
|
}
|
|
17356
17165
|
/**
|
|
17357
17166
|
* 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 +17234,7 @@ class Client extends openapi_client_1.default {
|
|
|
17425
17234
|
reqBodyType: "formData",
|
|
17426
17235
|
bodyType: "json",
|
|
17427
17236
|
});
|
|
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
|
-
}
|
|
17237
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
|
|
17434
17238
|
}
|
|
17435
17239
|
/**
|
|
17436
17240
|
* 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 +17287,7 @@ class Client extends openapi_client_1.default {
|
|
|
17483
17287
|
reqBodyType: "formData",
|
|
17484
17288
|
bodyType: "json",
|
|
17485
17289
|
});
|
|
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
|
-
}
|
|
17290
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
|
|
17492
17291
|
}
|
|
17493
17292
|
/**
|
|
17494
17293
|
* 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 +17353,7 @@ class Client extends openapi_client_1.default {
|
|
|
17554
17353
|
reqBodyType: "formData",
|
|
17555
17354
|
bodyType: "json",
|
|
17556
17355
|
});
|
|
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
|
-
}
|
|
17356
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
|
|
17563
17357
|
}
|
|
17564
17358
|
/**
|
|
17565
17359
|
* Queries scaling configurations.
|
|
@@ -17607,12 +17401,7 @@ class Client extends openapi_client_1.default {
|
|
|
17607
17401
|
reqBodyType: "formData",
|
|
17608
17402
|
bodyType: "json",
|
|
17609
17403
|
});
|
|
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
|
-
}
|
|
17404
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
|
|
17616
17405
|
}
|
|
17617
17406
|
/**
|
|
17618
17407
|
* 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 +17437,7 @@ class Client extends openapi_client_1.default {
|
|
|
17648
17437
|
reqBodyType: "formData",
|
|
17649
17438
|
bodyType: "json",
|
|
17650
17439
|
});
|
|
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
|
-
}
|
|
17440
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
|
|
17657
17441
|
}
|
|
17658
17442
|
/**
|
|
17659
17443
|
* Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
|
|
@@ -17728,12 +17512,7 @@ class Client extends openapi_client_1.default {
|
|
|
17728
17512
|
reqBodyType: "formData",
|
|
17729
17513
|
bodyType: "json",
|
|
17730
17514
|
});
|
|
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
|
-
}
|
|
17515
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
|
|
17737
17516
|
}
|
|
17738
17517
|
/**
|
|
17739
17518
|
* Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
|
|
@@ -17817,12 +17596,7 @@ class Client extends openapi_client_1.default {
|
|
|
17817
17596
|
reqBodyType: "formData",
|
|
17818
17597
|
bodyType: "json",
|
|
17819
17598
|
});
|
|
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
|
-
}
|
|
17599
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
|
|
17826
17600
|
}
|
|
17827
17601
|
/**
|
|
17828
17602
|
* 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 +17674,7 @@ class Client extends openapi_client_1.default {
|
|
|
17900
17674
|
reqBodyType: "formData",
|
|
17901
17675
|
bodyType: "json",
|
|
17902
17676
|
});
|
|
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
|
-
}
|
|
17677
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
|
|
17909
17678
|
}
|
|
17910
17679
|
/**
|
|
17911
17680
|
* 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 +17761,7 @@ class Client extends openapi_client_1.default {
|
|
|
17992
17761
|
reqBodyType: "formData",
|
|
17993
17762
|
bodyType: "json",
|
|
17994
17763
|
});
|
|
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
|
-
}
|
|
17764
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
|
|
18001
17765
|
}
|
|
18002
17766
|
/**
|
|
18003
17767
|
* 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 +17821,7 @@ class Client extends openapi_client_1.default {
|
|
|
18057
17821
|
reqBodyType: "formData",
|
|
18058
17822
|
bodyType: "json",
|
|
18059
17823
|
});
|
|
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
|
-
}
|
|
17824
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
|
|
18066
17825
|
}
|
|
18067
17826
|
/**
|
|
18068
17827
|
* 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 +17881,7 @@ class Client extends openapi_client_1.default {
|
|
|
18122
17881
|
reqBodyType: "formData",
|
|
18123
17882
|
bodyType: "json",
|
|
18124
17883
|
});
|
|
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
|
-
}
|
|
17884
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
|
|
18131
17885
|
}
|
|
18132
17886
|
/**
|
|
18133
17887
|
* 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 +17962,7 @@ class Client extends openapi_client_1.default {
|
|
|
18208
17962
|
reqBodyType: "formData",
|
|
18209
17963
|
bodyType: "json",
|
|
18210
17964
|
});
|
|
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
|
-
}
|
|
17965
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
|
|
18217
17966
|
}
|
|
18218
17967
|
/**
|
|
18219
17968
|
* 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 +18034,7 @@ class Client extends openapi_client_1.default {
|
|
|
18285
18034
|
reqBodyType: "formData",
|
|
18286
18035
|
bodyType: "json",
|
|
18287
18036
|
});
|
|
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
|
-
}
|
|
18037
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
|
|
18294
18038
|
}
|
|
18295
18039
|
/**
|
|
18296
18040
|
* 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 +18091,7 @@ class Client extends openapi_client_1.default {
|
|
|
18347
18091
|
reqBodyType: "formData",
|
|
18348
18092
|
bodyType: "json",
|
|
18349
18093
|
});
|
|
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
|
-
}
|
|
18094
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
|
|
18356
18095
|
}
|
|
18357
18096
|
/**
|
|
18358
18097
|
* 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 +18156,7 @@ class Client extends openapi_client_1.default {
|
|
|
18417
18156
|
reqBodyType: "formData",
|
|
18418
18157
|
bodyType: "json",
|
|
18419
18158
|
});
|
|
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
|
-
}
|
|
18159
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
|
|
18426
18160
|
}
|
|
18427
18161
|
/**
|
|
18428
18162
|
* 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 +18215,7 @@ class Client extends openapi_client_1.default {
|
|
|
18481
18215
|
reqBodyType: "formData",
|
|
18482
18216
|
bodyType: "json",
|
|
18483
18217
|
});
|
|
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
|
-
}
|
|
18218
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
18490
18219
|
}
|
|
18491
18220
|
/**
|
|
18492
18221
|
* 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 +18274,7 @@ class Client extends openapi_client_1.default {
|
|
|
18545
18274
|
reqBodyType: "formData",
|
|
18546
18275
|
bodyType: "json",
|
|
18547
18276
|
});
|
|
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
|
-
}
|
|
18277
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
|
|
18554
18278
|
}
|
|
18555
18279
|
/**
|
|
18556
18280
|
* 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 +18327,7 @@ class Client extends openapi_client_1.default {
|
|
|
18603
18327
|
reqBodyType: "formData",
|
|
18604
18328
|
bodyType: "json",
|
|
18605
18329
|
});
|
|
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
|
-
}
|
|
18330
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
18612
18331
|
}
|
|
18613
18332
|
/**
|
|
18614
18333
|
* 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 +18407,7 @@ class Client extends openapi_client_1.default {
|
|
|
18688
18407
|
reqBodyType: "formData",
|
|
18689
18408
|
bodyType: "json",
|
|
18690
18409
|
});
|
|
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
|
-
}
|
|
18410
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
|
|
18697
18411
|
}
|
|
18698
18412
|
/**
|
|
18699
18413
|
* 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 +18476,7 @@ class Client extends openapi_client_1.default {
|
|
|
18762
18476
|
reqBodyType: "formData",
|
|
18763
18477
|
bodyType: "json",
|
|
18764
18478
|
});
|
|
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
|
-
}
|
|
18479
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
|
|
18771
18480
|
}
|
|
18772
18481
|
/**
|
|
18773
18482
|
* Puts an Elastic Compute Service (ECS) instance into the Standby state.
|
|
@@ -18847,12 +18556,7 @@ class Client extends openapi_client_1.default {
|
|
|
18847
18556
|
reqBodyType: "formData",
|
|
18848
18557
|
bodyType: "json",
|
|
18849
18558
|
});
|
|
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
|
-
}
|
|
18559
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
|
|
18856
18560
|
}
|
|
18857
18561
|
/**
|
|
18858
18562
|
* 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 +18630,7 @@ class Client extends openapi_client_1.default {
|
|
|
18926
18630
|
reqBodyType: "formData",
|
|
18927
18631
|
bodyType: "json",
|
|
18928
18632
|
});
|
|
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
|
-
}
|
|
18633
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
|
|
18935
18634
|
}
|
|
18936
18635
|
/**
|
|
18937
18636
|
* 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 +18691,7 @@ class Client extends openapi_client_1.default {
|
|
|
18992
18691
|
reqBodyType: "formData",
|
|
18993
18692
|
bodyType: "json",
|
|
18994
18693
|
});
|
|
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
|
-
}
|
|
18694
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
19001
18695
|
}
|
|
19002
18696
|
/**
|
|
19003
18697
|
* 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 +18752,7 @@ class Client extends openapi_client_1.default {
|
|
|
19058
18752
|
reqBodyType: "formData",
|
|
19059
18753
|
bodyType: "json",
|
|
19060
18754
|
});
|
|
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
|
-
}
|
|
18755
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
19067
18756
|
}
|
|
19068
18757
|
/**
|
|
19069
18758
|
* 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 +18813,7 @@ class Client extends openapi_client_1.default {
|
|
|
19124
18813
|
reqBodyType: "formData",
|
|
19125
18814
|
bodyType: "json",
|
|
19126
18815
|
});
|
|
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
|
-
}
|
|
18816
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
19133
18817
|
}
|
|
19134
18818
|
/**
|
|
19135
18819
|
* 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 +18913,7 @@ class Client extends openapi_client_1.default {
|
|
|
19229
18913
|
reqBodyType: "formData",
|
|
19230
18914
|
bodyType: "json",
|
|
19231
18915
|
});
|
|
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
|
-
}
|
|
18916
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
|
|
19238
18917
|
}
|
|
19239
18918
|
/**
|
|
19240
18919
|
* Modifies an event-triggered task.
|
|
@@ -19292,12 +18971,7 @@ class Client extends openapi_client_1.default {
|
|
|
19292
18971
|
reqBodyType: "formData",
|
|
19293
18972
|
bodyType: "json",
|
|
19294
18973
|
});
|
|
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
|
-
}
|
|
18974
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
|
|
19301
18975
|
}
|
|
19302
18976
|
/**
|
|
19303
18977
|
* Sets the status of scaling activities that prompt text message or email notifications.
|
|
@@ -19490,12 +19164,7 @@ class Client extends openapi_client_1.default {
|
|
|
19490
19164
|
reqBodyType: "formData",
|
|
19491
19165
|
bodyType: "json",
|
|
19492
19166
|
});
|
|
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
|
-
}
|
|
19167
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
|
|
19499
19168
|
}
|
|
19500
19169
|
/**
|
|
19501
19170
|
* 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 +19222,7 @@ class Client extends openapi_client_1.default {
|
|
|
19553
19222
|
reqBodyType: "formData",
|
|
19554
19223
|
bodyType: "json",
|
|
19555
19224
|
});
|
|
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
|
-
}
|
|
19225
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
19562
19226
|
}
|
|
19563
19227
|
/**
|
|
19564
19228
|
* 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 +19302,7 @@ class Client extends openapi_client_1.default {
|
|
|
19638
19302
|
reqBodyType: "formData",
|
|
19639
19303
|
bodyType: "json",
|
|
19640
19304
|
});
|
|
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
|
-
}
|
|
19305
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
|
|
19647
19306
|
}
|
|
19648
19307
|
/**
|
|
19649
19308
|
* 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 +19364,7 @@ class Client extends openapi_client_1.default {
|
|
|
19705
19364
|
reqBodyType: "formData",
|
|
19706
19365
|
bodyType: "json",
|
|
19707
19366
|
});
|
|
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
|
-
}
|
|
19367
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
|
|
19714
19368
|
}
|
|
19715
19369
|
/**
|
|
19716
19370
|
* 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 +19585,7 @@ class Client extends openapi_client_1.default {
|
|
|
19931
19585
|
reqBodyType: "formData",
|
|
19932
19586
|
bodyType: "json",
|
|
19933
19587
|
});
|
|
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
|
-
}
|
|
19588
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
|
|
19940
19589
|
}
|
|
19941
19590
|
/**
|
|
19942
19591
|
* Modifies a scaling configuration.
|
|
@@ -20095,12 +19744,7 @@ class Client extends openapi_client_1.default {
|
|
|
20095
19744
|
reqBodyType: "formData",
|
|
20096
19745
|
bodyType: "json",
|
|
20097
19746
|
});
|
|
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
|
-
}
|
|
19747
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
|
|
20104
19748
|
}
|
|
20105
19749
|
/**
|
|
20106
19750
|
* 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 +19873,7 @@ class Client extends openapi_client_1.default {
|
|
|
20229
19873
|
reqBodyType: "formData",
|
|
20230
19874
|
bodyType: "json",
|
|
20231
19875
|
});
|
|
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
|
-
}
|
|
19876
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
|
|
20238
19877
|
}
|
|
20239
19878
|
/**
|
|
20240
19879
|
* 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 +19972,7 @@ class Client extends openapi_client_1.default {
|
|
|
20333
19972
|
reqBodyType: "formData",
|
|
20334
19973
|
bodyType: "json",
|
|
20335
19974
|
});
|
|
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
|
-
}
|
|
19975
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
|
|
20342
19976
|
}
|
|
20343
19977
|
/**
|
|
20344
19978
|
* 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 +20041,7 @@ class Client extends openapi_client_1.default {
|
|
|
20407
20041
|
reqBodyType: "formData",
|
|
20408
20042
|
bodyType: "json",
|
|
20409
20043
|
});
|
|
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
|
-
}
|
|
20044
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
|
|
20416
20045
|
}
|
|
20417
20046
|
/**
|
|
20418
20047
|
* 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 +20111,7 @@ class Client extends openapi_client_1.default {
|
|
|
20482
20111
|
reqBodyType: "formData",
|
|
20483
20112
|
bodyType: "json",
|
|
20484
20113
|
});
|
|
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
|
-
}
|
|
20114
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
|
|
20491
20115
|
}
|
|
20492
20116
|
/**
|
|
20493
20117
|
* 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 +20197,7 @@ class Client extends openapi_client_1.default {
|
|
|
20573
20197
|
reqBodyType: "formData",
|
|
20574
20198
|
bodyType: "json",
|
|
20575
20199
|
});
|
|
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
|
-
}
|
|
20200
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
|
|
20582
20201
|
}
|
|
20583
20202
|
/**
|
|
20584
20203
|
* 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 +20258,7 @@ class Client extends openapi_client_1.default {
|
|
|
20639
20258
|
reqBodyType: "formData",
|
|
20640
20259
|
bodyType: "json",
|
|
20641
20260
|
});
|
|
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
|
-
}
|
|
20261
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
|
|
20648
20262
|
}
|
|
20649
20263
|
/**
|
|
20650
20264
|
* Resumes an instance refresh task.
|
|
@@ -20698,12 +20312,7 @@ class Client extends openapi_client_1.default {
|
|
|
20698
20312
|
reqBodyType: "formData",
|
|
20699
20313
|
bodyType: "json",
|
|
20700
20314
|
});
|
|
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
|
-
}
|
|
20315
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
|
|
20707
20316
|
}
|
|
20708
20317
|
/**
|
|
20709
20318
|
* 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 +20363,7 @@ class Client extends openapi_client_1.default {
|
|
|
20754
20363
|
reqBodyType: "formData",
|
|
20755
20364
|
bodyType: "json",
|
|
20756
20365
|
});
|
|
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
|
-
}
|
|
20366
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
|
|
20763
20367
|
}
|
|
20764
20368
|
/**
|
|
20765
20369
|
* 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 +20449,7 @@ class Client extends openapi_client_1.default {
|
|
|
20845
20449
|
reqBodyType: "formData",
|
|
20846
20450
|
bodyType: "json",
|
|
20847
20451
|
});
|
|
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
|
-
}
|
|
20452
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
|
|
20854
20453
|
}
|
|
20855
20454
|
/**
|
|
20856
20455
|
* 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 +20509,7 @@ class Client extends openapi_client_1.default {
|
|
|
20910
20509
|
reqBodyType: "formData",
|
|
20911
20510
|
bodyType: "json",
|
|
20912
20511
|
});
|
|
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
|
-
}
|
|
20512
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
|
|
20919
20513
|
}
|
|
20920
20514
|
/**
|
|
20921
20515
|
* 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 +20560,7 @@ class Client extends openapi_client_1.default {
|
|
|
20966
20560
|
reqBodyType: "formData",
|
|
20967
20561
|
bodyType: "json",
|
|
20968
20562
|
});
|
|
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
|
-
}
|
|
20563
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
|
|
20975
20564
|
}
|
|
20976
20565
|
/**
|
|
20977
20566
|
* 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 +20620,7 @@ class Client extends openapi_client_1.default {
|
|
|
21031
20620
|
reqBodyType: "formData",
|
|
21032
20621
|
bodyType: "json",
|
|
21033
20622
|
});
|
|
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
|
-
}
|
|
20623
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
21040
20624
|
}
|
|
21041
20625
|
/**
|
|
21042
20626
|
* 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 +20695,7 @@ class Client extends openapi_client_1.default {
|
|
|
21111
20695
|
reqBodyType: "formData",
|
|
21112
20696
|
bodyType: "json",
|
|
21113
20697
|
});
|
|
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
|
-
}
|
|
20698
|
+
return $tea.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
|
|
21120
20699
|
}
|
|
21121
20700
|
/**
|
|
21122
20701
|
* 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 +20755,7 @@ class Client extends openapi_client_1.default {
|
|
|
21176
20755
|
reqBodyType: "formData",
|
|
21177
20756
|
bodyType: "json",
|
|
21178
20757
|
});
|
|
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
|
-
}
|
|
20758
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
|
|
21185
20759
|
}
|
|
21186
20760
|
/**
|
|
21187
20761
|
* 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 +20812,7 @@ class Client extends openapi_client_1.default {
|
|
|
21238
20812
|
reqBodyType: "formData",
|
|
21239
20813
|
bodyType: "json",
|
|
21240
20814
|
});
|
|
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
|
-
}
|
|
20815
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
21247
20816
|
}
|
|
21248
20817
|
/**
|
|
21249
20818
|
* 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 +20875,7 @@ class Client extends openapi_client_1.default {
|
|
|
21306
20875
|
reqBodyType: "formData",
|
|
21307
20876
|
bodyType: "json",
|
|
21308
20877
|
});
|
|
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
|
-
}
|
|
20878
|
+
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
21315
20879
|
}
|
|
21316
20880
|
/**
|
|
21317
20881
|
* 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 +20941,7 @@ class Client extends openapi_client_1.default {
|
|
|
21377
20941
|
reqBodyType: "formData",
|
|
21378
20942
|
bodyType: "json",
|
|
21379
20943
|
});
|
|
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
|
-
}
|
|
20944
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
21386
20945
|
}
|
|
21387
20946
|
/**
|
|
21388
20947
|
* 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 +20992,7 @@ class Client extends openapi_client_1.default {
|
|
|
21433
20992
|
reqBodyType: "formData",
|
|
21434
20993
|
bodyType: "json",
|
|
21435
20994
|
});
|
|
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
|
-
}
|
|
20995
|
+
return $tea.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
|
|
21442
20996
|
}
|
|
21443
20997
|
/**
|
|
21444
20998
|
* 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 +21040,7 @@ class Client extends openapi_client_1.default {
|
|
|
21486
21040
|
reqBodyType: "formData",
|
|
21487
21041
|
bodyType: "json",
|
|
21488
21042
|
});
|
|
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
|
-
}
|
|
21043
|
+
return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
21495
21044
|
}
|
|
21496
21045
|
/**
|
|
21497
21046
|
* 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.
|