ModifyFECluster

Updated at:

Scales the FE cluster of a specified ApsaraDB for SelectDB instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Product

string

No

The product ID. Default value: selectdb.

selectdb

RegionId

string

Yes

The region ID.

cn-beijing

DBInstanceId

string

Yes

The instance ID.

selectdb-cn-7213cjv****

FEClusterId

string

Yes

The FE cluster ID. Default value: {instance ID}-fe.

selectdb-cn-7213cjv****-fe

FEClassCode

string

No

The specifications of the FE cluster. Valid values:

  • selectdb_fe.xlarge16: 4 cores and 16 GB.

  • selectdb_fe.2xlarge16: 8 cores and 32 GB.

  • selectdb_fe.4xlarge16: 16 cores and 64 GB.

  • selectdb_fe.8xlarge16: 32 cores and 128 GB.

selectdb_fe.2xlarge16

FENodeCount

string

No

The number of nodes in the FE cluster. The value must be an odd number. Valid values for locally redundant instances: 1 to 11. Valid values for zone-redundant instances: 3 to 11.

5

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

0BF61F90-ACED-55DF-A6FE-56714B2BFCF6

DBInstanceId

string

The instance ID.

selectdb-cn-7213cjv****

Examples

Success response

JSON format

{
  "RequestId": "0BF61F90-ACED-55DF-A6FE-56714B2BFCF6",
  "DBInstanceId": "selectdb-cn-7213cjv****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ClusterNotSupport Current instance cluster does not support this operation. The operation is not supported in the current cluster state.
400 CreateOrderFailed Failed to create order. Failed to create order.
400 DocumentConvertFailed.ExceedFileSizeLimit The conversion has been failed, exceed file size limit. english description1
400 EngineVersionDoNotSupportMultiZone The specified engine version doesn't support multi zone. The specified version does not support the multi_az deploy scheme.
400 Forbidden User not authorized to operate on the specified resource, or this API does not support RAM. english description1
400 InvalidAttributeTypeValue.Malformed The value of specified parameter "AttributeType" is not valid. The property type value of the modified instance is invalid.
400 InvalidBackupCluster.Malformed The specified parameter "BackupCluster" is not valid. The specified BackupCluster parameter is invalid. The backup cluster name does not exist.
400 InvalidBackupPolicyMeta.Malformed The parameter BackupMeta for Backup Policy is not valid. Invalid parameter BackupMeta in backup policy
400 InvalidBackupPolicyRetention.NotAllowed The specified parameter "BackupSetRetentionPeriod" for BackupPolicy is not valid. BackupSetRetentionPeriod parameters in the backup plan are illegal.
400 InvalidBuyConfigCpuOrCacheSize The specified purchase configuration CPU or cache size is invalid. The specified purchase configuration CPU or cache size is invalid.
400 InvalidCacheSize.NotSupport The specified parameter "CacheSize" does not meet the requirements. The parameter "CacheSize" does not meet the requirements.
400 InvalidChargeType.Malformed The specified parameter "ChargeType" is not valid. The specified parameter "ChargeType" is not valid.
400 InvalidChargeType.NotSupport The specified parameter "ChargeType" does not meet the requirements. The current billing method does not support this operation.
400 InvalidClusterClass.Malformed The specified parameter "ClusterClass" is not valid. The ClusterClass parameter is invalid.
400 InvalidClusterId.Malformed The specified parameter "ClusterId" is not valid. The ClusterId parameter is invalid.
400 InvalidClusterName.Format Specified ClusterName is not valid. It can not be empty string. The entered cluster name parameter is invalid.
400 InvalidConfigKey.Malformed The specified parameter "ConfigKey" is not valid. The specified parameter Parameters is not a valid parameter.
400 InvalidConfigName The ConfigName is not valid. ConfigName is not a valid value.
400 InvalidConfigParameters.Malformed The specified parameter "Parameters" is not valid. The specified parameter Parameters is not a valid parameter.
400 InvalidConnectionString.Duplicate The specified connection string already exists. The specified connection string already exists
400 InvalidDBInstanceId.Malformed The specified parameter "DBInstanceId" is not valid. The parameter "DBInstanceId" is illegal.
400 InvalidDBInstanceId.NotFound DBInstanceId not found. The specified instance ID does not exist.
400 InvalidDBInstanceNetType.Malformed The specified parameter "DBInstanceNetType" is not valid. Illegal network type.
400 InvalidDBInstanceType.NotSupport The specified instance type does't support this operation. The current instance type does not support this operation
400 InvalidDBName The specified database name is not allowed. english description1
400 InvalidDBName.Duplicate Specified DB name already exists in the This instance. New Cluster Name
400 InvalidElasticRuleStartTime.Malformed The specified parameter "ElasticRuleStartTime" is not valid. The ElasticRuleStartTime parameter is invalid.
400 InvalidEndTime.Format Specified end time is not valid. The specified jie time is not a valid parameter.
400 InvalidExecutionPeriod.Malformed The specified parameter "ExecutionPeriod" is not valid. The ExecutionPeriod parameter is invalid.
400 InvalidFEClassCode.Blank The specified parameter "FEClassCode" is blank. The request parameter FEClassCode is empty.
400 InvalidFENodeCount The specified parameter "FENodeCount" is not valid. The FENodeCount parameter is invalid.
400 InvalidFENodeCount.Blank The specified parameter "FENodeCount" is blank. Request parameters
400 InvalidInstanceClass.ForMultiAZ The instance with 4-core BE cluster does not support upgrading to multi-zone redundancy. 4-CPU BE clusters do not support multi-zone same-city redundancy.
400 InvalidInstanceClass.MultiAZ The instance with 4-core BE cluster does not support multi-zone redundancy. 4-CPU BE clusters do not support multi-zone same-city redundancy.
400 InvalidInstanceType The operator is not permitted due to the instance type. The operation is prohibited because of the instance type.
400 InvalidMultiZone.NotThreeZones The number of zones must be three. The number of multi-availability zones must be three.
400 InvalidMultiZone.ShouldEmpty The "MultiZone" should be empty, please check "DeployScheme". You do not need to fill in the MultiZone. Please check the DeployScheme.
400 InvalidNodeCountClassCode.BothBlank The specified parameter "FENodeCount" and "FEClassCode" are both blank. Both the FENodeCount and FEClassCode parameters are empty.
400 InvalidNodeCountClassCode.BothChanged The specified parameter "FENodeCount" and "FEClassCode" are both changed. FENodeCount and FEClassCode change at the same time.
400 InvalidOperatorType.Malformed The specified operator type is not valid. Invalid operation.
400 InvalidPageNumber.Malformed The specified parameter "PageNumber" is not valid. The number of records per page parameter is illegal.
400 InvalidParameter Specified parameter is not valid. Specified parameter is not valid.
400 InvalidParameter.Malformed The specified parameter format is not valid. Parameter format error
400 InvalidParameter.QueryId Specified parameters is not valid. Specified parameters is not valid.
400 InvalidParameterCombination The end time must be greater than the start time. The end time must be greater than the start time.
400 InvalidParameters.Format Specified parameters is not valid. Incoming parameter is not a valid parameter
400 InvalidPayType.Malformed The specified parameter "chargeType" is not valid. Billing method parameter is illegal.
400 InvalidRegionId.Malformed The specified parameter "RegionId" is not valid. The RegionId parameter is invalid.
400 InvalidResourceGroup The specified ResourceGroupId is invalid. ResourceGroupId parameter is illegal.
400 InvalidRestoreCluster.Malformed The specified parameter "RestoreCluster" is not valid. The specified cluster name for the recovery task is invalid
400 InvalidRestoreInstanceVersion The restore task target instance version is not valid. The target instance version of the recovery task is invalid
400 InvalidRuleId.Malformed The specified parameter "RuleId" is not valid. The RuleId parameter is invalid.
400 InvalidSecurityIPList.Duplicate Specified security IP list is not valid: Duplicate IP address in the list. Illegal IP whitelist list: duplicate IP addresses exist in the list.
400 InvalidSecurityIPList.Format Specified security IP list format is not valid. The IP whitelist is illegal.
400 InvalidSecurityIPs.Malformed The specified parameter "SecurityIps" is not valid. The IP whitelist is illegal.
400 InvalidStartTime.Format Specified start time is not valid. The specified start time is not a valid parameter.
400 InvalidVpcId.Malformed The specified parameter "VpcId" is not valid. Invalid VpcId parameter
400 InvalidVSwitchId.Malformed The specified parameter "VSwitchId" is not valid. The parameter VSwitchId is invalid.
400 InvalidZoneId.Duplicated The zones cannot be repeated please select different zones. The selected Availability Zone cannot be duplicated
400 InvalidZoneId.Malformed The specified parameter "ZoneId" is not valid. The ZoneId parameter is invalid
400 InvalidZoneId.Undeployed The zone is undeployed. The zone is undeployed.
400 LockTimeout The request processing has failed due to lock timeout. Request execution failed due to lock acquisition timeout.
400 MinorVersionNotSupport The instance version does not support the current operation. The instance version does not support the current operation.
400 MissingParameter.RegionId The RegionId parameters that are required for processing this request are missing. Missing required parameter RegionId
400 MissingParameter.ResourceGroupId The ResourceGroupId parameters that are required for processing this request are missing. Missing ResourceGroupId parameter.
400 MissingParameter.ResourceId The ResourceId parameters that are required for processing this request are missing. Missing ResourceId parameter.
400 OperationDenied.OrderProcessing There are orders in process. There are orders in process.
400 Param.Invalid key: toStartTime's regexp not match. The parameter is invalid and the start time does not meet the required time format.
400 ResourceNotFound The specified resource is not found. The resource does not exist in your account.
400 SystemError A system error occurred while processing your request. The system is abnormal.
400 InvalidFENodeCount.ForMultiAZ The instance with FENodeCount that less than 3 does not support upgrading to multi-zone redundancy. The number of FE nodes of a redundant instance in the same city must be greater than or equal to 3.
400 EngineVersionDoNotSupportModifyFE The specified engine version doesn't support modify fe. The current instance version does not support
400 InvalidNodeCountClassCode.BothNotChanged The specified parameter "FENodeCount" and "FEClassCode" are both not changed. FE Single Node Specifications and Number of FE Nodes
403 AccountBalanceInsufficient The account balance less than 100, plesae charge the balance and retry. 100 the balance of Aliyun account is insufficient,
403 DBClusterNotSupported The requested operation can not be performed while the cluster is not sale. The requested operation cannot be performed while the cluster is not running.
403 DBInstanceStatusNotActive Current DB instance status should be active. The instance can be operated only when it is in the Running state.
403 IncorrectAccountType Current account type does not support this operation. The Root user is not allowed to be modified.
403 IncorrectDBInstanceLockMode Current DB instance lock mode does not support this operation. Current DB instance lock mode does not support this operation.
403 IncorrectDBInstanceState Current DB instance state does not support this operation. english description1
403 IncorrectEngineVersion Current engine version does not support operations. Current engine version does not support operations.
403 IncorrectMinorVersion Current engine minor version does not support operations. Current engine minor version does not support operations.
403 InstanceEngineType.NotSupport The instance engine and type does not support operations. english description1
403 InsufficientResourceCapacity The resource is out of usage. Not enough resources, please try again later.
403 InvalidDBInstanceState.NotSupport The specified instance state does't support this operation. The instance is in a state that does not support the current operation.
403 InvalidInstance This instance don't support the action. Instance does not support this operation.
403 MoneyLessThan100 The Account Monet less Than 100. english description1
403 NoPermission.ChangeResourceGroup You are not authorized to change resourcegroup. You do not have permission to modify the resource group.
403 NoPermission.ListTagResources The operator is not permission for this operate. You do not have permission to perform this operation.
403 NoPermission.TagResources The operator is not permission for this operate. You are not authorized to perform this operation.
403 NoPermission.UntagResources The operator is not permission for this operate. You do not have permission to perform this operation.
403 OperationDenied.AdjacentRulesClusterIsTheSame the operator is not permitted due to adjacent rules cluster class is the same. This operation is prohibited because the target computing resources of adjacent timesharing elasticity rules are the same.
403 OperationDenied.AdjacentRulesIntervalLessThanOneHour the operator is not permitted due to adjacent rules interval less than one hour. The operation is prohibited because the time interval between adjacent timesharing elasticity rules is less than 1 hour.
403 OperationDenied.DBInstancePayType The operation is not permitted due to the pay type of cluster. The billing method of the current instance does not support this operation.
403 OperationDenied.DBNameAndAccountPrivilegeCount The operation is not permitted due to count of database or account privilege. english description1
403 OperationDenied.EnableScalingRules the operator is not permitted due to scaling rule's count is less than 2. Time-based elastic scaling cannot be enabled if there are fewer than two time-based elastic policy rules.
403 OperationDenied.GetResourceLockFailed the operator is not permitted due to get resource lock failed. The request was denied because the resource lock failed to be obtained.
403 OperationDenied.PrepayDBInstanceContainsAtLeastOnePrepayCluster the operator is not permitted due to prepay dbinstance contains at least one prepay cluster. The package year and package month instance contains at least one package year and package month cluster.
403 OperationDenied.ScalingRuleIsEnabled the operator is not permitted due to scaling rule is enabled. When the time-sharing elastic policy is enabled, you cannot manually initiate cluster scaling.
403 OperationDenied.SpecificClassCodeNotSupported The uid is not in specific classcode whitelist. The selected specification is not open to the current account.
403 OperationDenied.VirtualClusterBound The operation is not permitted due to it has been bound to a virtual cluster. Operation is not allowed because it is bound to a virtual cluster.
403 SecurityIPList.Duplicate Specified same security IP already exists. IP whitelist already exists.
404 DBInstanceLocked The current instance lock mode does not support this operation. english description1
404 IncorrectVswitchId The specified parameter VSwitchId is not valid. english description1
404 InvalidAccountName.NotFound Specified account name does not exist. Error reported when the user does not exist
404 InvalidApi.NotFound Specified api is not found, please check your url and method.
404 InvalidClusterInstance.NotFound Specified cluster instance does not exist. SelectDB instance does not exist.
404 InvalidClusterName.NotFound The specified cluster name is not available. The specified cluster name is not available
404 InvalidDBClusterClass.NotFound The specified cluster class does not exist. The specified cluster class does not exist.
404 InvalidDBClusterId.NotFound The DBClusterId provided does not exist in our records. The cluster does not exist.
404 InvalidDBClusterState.NotSupport The specified cluster state does't support this operation. This operation is not supported in the cluster state.
404 InvalidDBClusterVpc.MismatchWithInstance The specified cluster vpc doesn't match with instance. The specified cluster vpc doesn't match with instance.
404 InvalidDBInstance.NotFound The specified instance is not found. english description1
404 InvalidDBInstanceClass.NotFound The specified instance classic does not exist. english description1
404 InvalidElasticRuleId.NotFound The ElasticRuleId provided does not exist in our records. Time-sharing elasticity rule does not exist.
404 InvalidFEClass.NotFound The specified fe class doesn't exist. The FE cluster specification does not exist.
404 InvalidFileName.NotFound The specified file name does not exist. The specified file name does not exist.
404 InvalidParam Invalid parameter, please check. The parameter is invalid. Check the parameter.
404 InvalidRegionId.NotFound The provided RegionId does not exist in our records. english description1
404 InvalidVPC.NotFound VPC or VSwitch is not valid. Invalid VPC or VSwitch
404 InvalidVPCId.NotFound Specified virtual vpc is not found. Specified VPC not found
404 InvalidVSwitch.NoIP VSwitch has zero available IP. VSwitch has zero available IP.
404 Param.NotFound Parameter not found, please check. Parameter not passed.
404 QueryPrice.Failed The inquiry failed. Contact Alibaba Cloud customer service representatives. english description1
408 InvalidOthers.Timeout Query timed out. Please try again or narrow down the query scope. Request timed out, please try again or narrow the time range
408 RequestTimeout Query timed out. Please try again or narrow down the query scope. Request timed out, please try again or narrow the time range

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.