summaryrefslogtreecommitdiff
path: root/data/en_us/selectdb
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/selectdb
downloadacs-metadata-full-1.0.0+20260212.tar.gz
acs-metadata-full-1.0.0+20260212.zip
Diffstat (limited to 'data/en_us/selectdb')
-rw-r--r--data/en_us/selectdb/2023-05-22/api-docs.php11646
1 files changed, 11646 insertions, 0 deletions
diff --git a/data/en_us/selectdb/2023-05-22/api-docs.php b/data/en_us/selectdb/2023-05-22/api-docs.php
new file mode 100644
index 0000000..1a3f5d9
--- /dev/null
+++ b/data/en_us/selectdb/2023-05-22/api-docs.php
@@ -0,0 +1,11646 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'selectdb',
+ 'version' => '2023-05-22',
+ ],
+ 'directories' => [
+ [
+ 'id' => 348225,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateDBInstance',
+ 'CreateServiceLinkedRoleForSelectDB',
+ 'CheckServiceLinkedRole',
+ 'CheckCreateDBInstance',
+ 'DescribeDBInstances',
+ 'DescribeDBInstanceAttribute',
+ 'ResetAccountPassword',
+ 'DescribeDBInstanceNetInfo',
+ 'DescribeSecurityIPList',
+ 'ModifySecurityIPList',
+ 'CheckIpExistsInSecurityIpList',
+ 'ModifyDBInstanceAttribute',
+ 'UpgradeDBInstanceEngineVersion',
+ 'AllocateInstancePublicConnection',
+ 'ReleaseInstancePublicConnection',
+ 'DeleteDBInstance',
+ ],
+ ],
+ [
+ 'id' => 348242,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteVirtualCluster',
+ 'ModifyVirtualCluster',
+ 'CreateVirtualCluster',
+ 'CreateDBClusterBinding',
+ 'DeleteDBClusterBinding',
+ 'CreateDBCluster',
+ 'GetCreateBEClusterInquiry',
+ 'GetModifyBEClusterInquiry',
+ 'ModifyDBCluster',
+ 'ModifyBEClusterAttribute',
+ 'StopBECluster',
+ 'StartBECluster',
+ 'RestartDBCluster',
+ 'DeleteDBCluster',
+ 'DescribeDBClusterConfig',
+ 'ModifyDBClusterConfig',
+ 'DescribeDBClusterConfigChangeLogs',
+ ],
+ ],
+ [
+ 'id' => 348260,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ChangeResourceGroup',
+ 'DescribeAllDBInstanceClass',
+ 'ModifyElasticRule',
+ 'DescribeElasticRules',
+ 'DescribeDBClusterStorageLimitation',
+ 'DeleteElasticRule',
+ 'EnDisableScalingRules',
+ 'CreateElasticRule',
+ 'TagResources',
+ 'DescribeRegions',
+ 'UntagResources',
+ ],
+ ],
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeZones',
+ 'DescribeVSwitches',
+ 'UpgradeDBInstanceDeployScheme',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateDBInstance' => [
+ 'summary' => 'Creates an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '185832',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb318HEK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源组ID',
+ 'description' => 'The resource group ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-aekzt2zaluvuvqa_fake',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'title' => '幂等参数',
+ 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AB',
+ ],
+ ],
+ [
+ 'name' => 'Engine',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine of the instance. Default value: **selectdb**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'SelectDB',
+ ],
+ ],
+ [
+ 'name' => 'EngineVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine version of the instance. Default value: **3.0**.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2.4',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **Postpaid**: pay-as-you-go'."\n"
+ .'* **Prepaid**: subscription'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'UsedTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subscription duration of the instance. Valid values:'."\n"
+ ."\n"
+ .'* If Period is set to Year, valid values of UsedTime are 1, 2, 3, 4, and 5.'."\n"
+ .'* If Period is set to Month, valid values of UsedTime are 1 to 12.'."\n"
+ ."\n"
+ .'> This parameter takes effect and is required only when **ChargeType** is set to **Prepaid**.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the subscription duration of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* **Year**: subscription on a yearly basis.'."\n"
+ .'* **Month**: subscription on a monthly basis.'."\n"
+ ."\n"
+ .'> This parameter takes effect and is required only when **ChargeType** is set to **Prepaid**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance type. You can call the [DescribeAllDBInstanceClass](~~2853363~~) operation to query instance types.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb.xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The zone ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou-e',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The reserved cache size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '200GB',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The virtual private cloud (VPC) ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vsw-bp1gzt31twhlo0sa5****',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance description.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'The instance is created for testing.',
+ ],
+ ],
+ [
+ 'name' => 'ConnectionString',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance endpoint.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-cn-7213c8y****-public.selectdbfe.pre.rds.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'SecurityIPList',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP addresses in the whitelist of the instance. Separate multiple IP addresses with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.1.1',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The instance tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the instance tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testKey',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testValue',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'DeployScheme',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The deployment method of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'single_az',
+ 'enum' => [
+ 'multi_az',
+ 'single_az',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'MultiZone',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The configurations of multi-zone deployment.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* This parameter takes effect and is required only when DeployScheme is set to multi_az.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The zones.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'description' => 'The zone ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-k',
+ ],
+ 'VSwitchIds' => [
+ 'description' => 'The vSwitch IDs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp10dbralpn4bzmgkkh8f',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 3,
+ 'minItems' => 0,
+ ],
+ ],
+ [
+ 'name' => 'AddVPCIPs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to add the virtual private cloud (VPC) CIDR block to the IP address whitelist. Valid values:'."\n"
+ ."\n"
+ .'* 1: yes.'."\n"
+ .'* 0: no.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'minimum' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMax',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '32',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMin',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '4',
+ ],
+ ],
+ [
+ 'name' => 'ConfigPatternType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '实例应用的配置模板',
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ 'Data' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DBInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The order ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '21137950671****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'COMMODITY.INVALID_COMPONENT',
+ 'errorMessage' => 'Order configuration parameters do not meet the verification conditions, please re-match the product.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidVSwitchId.Malformed',
+ 'errorMessage' => 'The specified parameter "VSwitchId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidMultiZone.NotThreeZones',
+ 'errorMessage' => 'The number of zones must be three.',
+ ],
+ [
+ 'errorCode' => 'InvalidZoneId.Duplicated',
+ 'errorMessage' => 'The zones cannot be repeated please select different zones.',
+ ],
+ [
+ 'errorCode' => 'EngineVersionDoNotSupportMultiZone',
+ 'errorMessage' => 'The specified engine version doesn\'t support multi zone.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.Malformed',
+ 'errorMessage' => 'The specified parameter "ChargeType" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidBuyConfigCpuOrCacheSize',
+ 'errorMessage' => 'The specified purchase configuration CPU or cache size is invalid.',
+ ],
+ [
+ 'errorCode' => 'InvalidZoneId.Malformed',
+ 'errorMessage' => 'The specified parameter "ZoneId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidVpcId.Malformed',
+ 'errorMessage' => 'The specified parameter "VpcId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'ORDER.INST_HAS_UNPAID_ORDER',
+ 'errorMessage' => 'Instance has unpaid order.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.OrderProcessing',
+ 'errorMessage' => 'There are orders in process.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'INSUFFICIENT_AVAILABLE_QUOTA',
+ 'errorMessage' => 'Your account available limit is less than 0, please recharge before trying to purchase.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.SpecificClassCodeNotSupported',
+ 'errorMessage' => 'The uid is not in specific classcode whitelist.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidVSwitch.NoIP',
+ 'errorMessage' => 'VSwitch has zero available IP.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterClass.NotFound',
+ 'errorMessage' => 'The specified cluster class does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidVPC.NotFound',
+ 'errorMessage' => 'VPC or VSwitch is not valid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"Data\\": {\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"OrderId\\": 0\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateDBInstance',
+ ],
+ 'CreateServiceLinkedRoleForSelectDB' => [
+ 'summary' => 'Creates a service-linked role for ApsaraDB for SelectDB.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F203FA74-3041-589F-BE66-E570793A0C91',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'SLR.NoPermission',
+ 'errorMessage' => 'No permission for creating AliyunServiceRoleForSelectdb.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F203FA74-3041-589F-BE66-E570793A0C91\\"\\n}","type":"json"}]',
+ 'title' => 'CreateServiceLinkedRoleForSelectDB',
+ ],
+ 'CheckServiceLinkedRole' => [
+ 'summary' => 'Queries the service-linked role of ApsaraDB for SelectDB.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1F455133-981E-5AD0-80EB-26EA1EF3C65F',
+ ],
+ 'HasServiceLinkedRole' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1F455133-981E-5AD0-80EB-26EA1EF3C65F\\",\\n \\"HasServiceLinkedRole\\": true\\n}","type":"json"}]',
+ 'title' => 'CheckServiceLinkedRole',
+ ],
+ 'CheckCreateDBInstance' => [
+ 'summary' => 'Performs a precheck before an ApsaraDB for SelectDB instance is created.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb318HEK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-4690g37929****',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AB',
+ ],
+ ],
+ [
+ 'name' => 'Engine',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SelectDB',
+ 'default' => 'SelectDB',
+ ],
+ ],
+ [
+ 'name' => 'EngineVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the database engine.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2.4',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'UsedTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subscription duration of the instance. Valid values:'."\n"
+ ."\n"
+ .'* If Period is set to Year, valid values of UsedTime are 1, 2, 3, 4, and 5.'."\n"
+ .'* If Period is set to Month, valid values of UsedTime are 1 to 12.'."\n"
+ ."\n"
+ .'> This parameter takes effect and is required only if ChargeType is set to Prepaid.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The specifications of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **selectdb.xlarge**: 4 CPU cores and 32 GB of memory.'."\n"
+ .'* **selectdb.2xlarge**: 8 CPU cores and 64 GB of memory.'."\n"
+ .'* **selectdb.4xlarge**: 16 CPU cores and 128 GB of memory.'."\n"
+ .'* **selectdb.8xlarge**: 32 CPU cores and 256 GB of memory.'."\n"
+ .'* **selectdb.16xlarge**: 64 CPU cores and 512 GB of memory.'."\n"
+ .'* **selectdb.24xlarge**: 96 CPU cores and 768 GB of memory.'."\n"
+ .'* **selectdb.32xlarge**: 128 CPU cores and 1,024 GB of memory.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'selectdb.2xlarge' => '',
+ 'selectdb.4xlarge' => '',
+ 'selectdb.24xlarge' => '',
+ 'selectdb.32xlarge' => '',
+ 'selectdb.16xlarge' => '',
+ 'selectdb.xlarge' => '',
+ 'selectdb.8xlarge' => '',
+ ],
+ 'example' => 'selectdb.xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou-i',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'VPC ID。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vsw-bp1gzt31twhlo0sa5****',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ConnectionString',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-cn-7213c8y****-public.selectdbfe.pre.rds.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'SecurityIPList',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '172.16.XX.XX/12,192.168.XX.XX/22',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ADF42B18-43FD-5100-83A9-BE81AB70C863',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.SpecificClassCodeNotSupported',
+ 'errorMessage' => 'The uid is not in specific classcode whitelist.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidVPC.NotFound',
+ 'errorMessage' => 'VPC or VSwitch is not valid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADF42B18-43FD-5100-83A9-BE81AB70C863\\"\\n}","type":"json"}]',
+ 'title' => 'CheckCreateDBInstance',
+ ],
+ 'DescribeDBInstances' => [
+ 'summary' => 'Queries the information about ApsaraDB for SelectDB instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189152',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb69DNVG',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource group ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-4690g37929****',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID. Separate multiple instance IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The state of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **CREATING**: The instance is being created.'."\n"
+ .'* **ACTIVATION**: The instance is running.'."\n"
+ .'* **RESOURCE_CHANGING**: The resource configuration of the instance is being changed.'."\n"
+ .'* **ORDER_PREPARING**: The order is being confirmed.'."\n"
+ .'* **READONLY_RESOURCE_CHANGING**: The resource configuration of the instance is being changed and the instance is write-locked.'."\n"
+ .'* **DELETING**: The instance is being deleted.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACTIVATION',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values:'."\n"
+ ."\n"
+ .'* **30** (default)'."\n"
+ .'* **50**'."\n"
+ .'* **100**'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The page number.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testKey',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testValue',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'minItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'BC854513-E85E-54F3-9842-B9CCD3308CDD',
+ ],
+ 'PageNumber' => [
+ 'description' => 'The number of entries per page. Valid values:'."\n"
+ ."\n"
+ .'* **30** (default)'."\n"
+ .'* **50**'."\n"
+ .'* **100**'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'PageSize' => [
+ 'description' => 'The page number.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TotalRecordCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'Items' => [
+ 'description' => 'The details about each instance returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'connectionString' => [
+ 'description' => 'The connection string of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DBInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Engine' => [
+ 'description' => 'The database engine of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb',
+ ],
+ 'EngineVersion' => [
+ 'description' => 'The database engine version of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '2.4',
+ ],
+ 'InstanceUsedType' => [
+ 'description' => 'The type of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'Instance',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-i',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **Postpaid**: pay-as-you-go.'."\n"
+ .'* **Prepaid**: subscription.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'Category' => [
+ 'description' => 'The edition of the instance. Default value: basic.'."\n",
+ 'type' => 'string',
+ 'example' => 'basic',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **CREATING**: The instance is being created.'."\n"
+ .'* **ACTIVATION**: The instance is running.'."\n"
+ .'* **RESOURCE_CHANGING**: The resource configuration of the instance is being changed.'."\n"
+ .'* **ORDER_PREPARING**: The order is being confirmed.'."\n"
+ .'* **READONLY_RESOURCE_CHANGING**: The resource configuration of the instance is being changed and the instance is write-locked.'."\n"
+ .'* **DELETING**: The instance is being deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACTIVATION',
+ ],
+ 'VpcId' => [
+ 'description' => 'The virtual private cloud (VPC) ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-bp1gzt31twhlo0sa5****',
+ ],
+ 'ResourceCpu' => [
+ 'description' => 'The number of CPU cores of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8',
+ ],
+ 'ResourceMemory' => [
+ 'description' => 'The memory capacity of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '64',
+ ],
+ 'ScaleMin' => [
+ 'description' => 'The minimum number of RDS capacity units (RCUs).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'ScaleMax' => [
+ 'description' => 'The maximum number of RCUs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'ScaleReplica' => [
+ 'description' => 'This parameter is not returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '',
+ ],
+ 'StorageSize' => [
+ 'description' => 'The cache size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'StorageType' => [
+ 'description' => 'The storage type of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cloud_essd',
+ ],
+ 'ObjectStoreSize' => [
+ 'description' => 'The storage capacity of the instance. Unit: GB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the cluster expires.'."\n"
+ ."\n"
+ .'> A specific value is returned only for subscription clusters whose billing method is **Prepaid**. For pay-as-you-go clusters whose billing method is **Postpaid**, no value is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-03-29T03:47:05Z',
+ ],
+ 'LockMode' => [
+ 'description' => 'The lock mode of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'LockReason' => [
+ 'description' => 'The reason why the instance is locked.'."\n",
+ 'type' => 'string',
+ 'example' => 'nolock',
+ ],
+ 'IsDeleted' => [
+ 'description' => 'Indicates whether the instance is deleted. Valid values:'."\n"
+ ."\n"
+ .'* **true**'."\n"
+ .'* **false**'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'MaintainStarttime' => [
+ 'description' => 'The start time of the instance maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'MaintainEndtime' => [
+ 'description' => 'The end time of the instance maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'GmtCreated' => [
+ 'description' => 'The time when the task was created. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-12T04:14Z'."\n",
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the task was last modified. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-12T19:05Z',
+ ],
+ 'ParentInstance' => [
+ 'description' => 'The time when the instance was created.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'MaintainStartTimeStr' => [
+ 'description' => 'The start timestamp of the maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'MaintainEndTimeStr' => [
+ 'description' => 'The end timestamp of the maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'TenantClusterId' => [
+ 'description' => 'The ID of the cluster that is monitored by Managed Service for Prometheus.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'TenantToken' => [
+ 'description' => 'The token that is used to access Managed Service for Prometheus.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'TenantUserId' => [
+ 'description' => 'The ID of the account that uses Managed Service for Prometheus.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The details about each tag returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testKey',
+ ],
+ 'TagValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testValue',
+ ],
+ ],
+ ],
+ ],
+ 'ClusterCount' => [
+ 'description' => 'The total number of clusters.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'DeployScheme' => [
+ 'type' => 'string',
+ ],
+ 'MultiZone' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'type' => 'string',
+ ],
+ 'VSwitchIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EngineMinorVersion' => [
+ 'type' => 'string',
+ ],
+ 'Serverless' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidPageNumber.Malformed',
+ 'errorMessage' => 'The specified parameter "PageNumber" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC854513-E85E-54F3-9842-B9CCD3308CDD\\",\\n \\"PageNumber\\": 30,\\n \\"PageSize\\": 1,\\n \\"TotalRecordCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"connectionString\\": \\"暂不返回\\",\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"Description\\": \\"新建实例测试\\",\\n \\"Engine\\": \\"selectdb\\",\\n \\"EngineVersion\\": \\"2.4\\",\\n \\"InstanceUsedType\\": \\"Instance\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"Category\\": \\"basic\\",\\n \\"Status\\": \\"ACTIVATION\\",\\n \\"VpcId\\": \\"vpc-bp175iuvg8nxqraf2****\\",\\n \\"VswitchId\\": \\"vsw-bp1gzt31twhlo0sa5****\\",\\n \\"ResourceCpu\\": 8,\\n \\"ResourceMemory\\": 64,\\n \\"ScaleMin\\": 0,\\n \\"ScaleMax\\": 0,\\n \\"ScaleReplica\\": 0,\\n \\"StorageSize\\": 100,\\n \\"StorageType\\": \\"cloud_essd\\",\\n \\"ObjectStoreSize\\": 200,\\n \\"ExpireTime\\": \\"2024-03-29T03:47:05Z\\",\\n \\"LockMode\\": 0,\\n \\"LockReason\\": \\"nolock\\",\\n \\"IsDeleted\\": false,\\n \\"MaintainStarttime\\": \\"保留参数,暂不返回\\",\\n \\"MaintainEndtime\\": \\"保留参数,暂不返回\\",\\n \\"GmtCreated\\": \\"2023-08-12T04:14Z\\\\n\\",\\n \\"GmtModified\\": \\"2023-08-12T19:05Z\\",\\n \\"ParentInstance\\": \\"保留参数,暂不返回\\",\\n \\"ResourceGroupId\\": \\"保留参数,暂不返回\\",\\n \\"MaintainStartTimeStr\\": \\"保留参数,暂不返回\\",\\n \\"MaintainEndTimeStr\\": \\"保留参数,暂不返回\\",\\n \\"TenantClusterId\\": \\"保留参数,暂不返回\\\\n\\",\\n \\"TenantToken\\": \\"保留参数,暂不返回\\\\n\\",\\n \\"TenantUserId\\": \\"保留参数,暂不返回\\\\n\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"testKey\\",\\n \\"TagValue\\": \\"testValue\\"\\n }\\n ],\\n \\"ClusterCount\\": 1,\\n \\"DeployScheme\\": \\"single_az\\",\\n \\"MultiZone\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-k\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1pla4vl8bs9uw9c7l2w\\"\\n ]\\n }\\n ],\\n \\"EngineMinorVersion\\": \\"4.0.4\\",\\n \\"Serverless\\": false\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDBInstances',
+ ],
+ 'DescribeDBInstanceAttribute' => [
+ 'summary' => 'Queries the details about an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189179',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **CREATING**: The instance is being created.'."\n"
+ .'* **ACTIVATION**: The instance is running.'."\n"
+ .'* **RESOURCE_CHANGING**: The resource configuration of the instance is being changed.'."\n"
+ .'* **ORDER_PREPARING**: The order is being confirmed.'."\n"
+ .'* **READONLY_RESOURCE_CHANGING**: The resource configuration of the instance is being changed and the instance is write-locked.'."\n"
+ .'* **DELETING**: The instance is being deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACTIVATION',
+ 'title' => '实例的状态,取值说明:'."\n"
+ ."\n"
+ .'- **CREATING**:创建中。'."\n"
+ ."\n"
+ .'- **ACTIVE**:运行中。'."\n"
+ ."\n"
+ .'- **RESOURCE_CHANGING**:变配中。'."\n"
+ ."\n"
+ .'- **ORDER_PREPARING**:订单确认中。'."\n"
+ ."\n"
+ .'- **READONLY_RESOURCE_CHANGING**:资源变配中(实例写入锁定)。'."\n"
+ ."\n"
+ .'- **DELETING**:删除中。',
+ ],
+ 'SubDomain' => [
+ 'description' => 'The subdomain zone ID.',
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h-aliyun',
+ 'title' => '可用区。',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the instance was last modified, such as when you restarted the instance or applied for a public endpoint for the instance. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-17T09:58Z',
+ 'title' => '实例修改时间(例如重启,申请公网等操作)。格式为yyyy-MM-ddTHH:mmZ(UTC时间)。',
+ ],
+ 'LockMode' => [
+ 'description' => 'The lock mode of the instance. Set the value to **lock**, which specifies that the instance is locked when it automatically expires or has an overdue payment.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'lock',
+ 'title' => '实例锁定模式,取值为**lock**,实例自动过期或欠费。',
+ ],
+ 'LockReason' => [
+ 'description' => 'The reason why the instance is locked.'."\n",
+ 'type' => 'string',
+ 'example' => 'nolock',
+ 'title' => '实例锁定原因。',
+ ],
+ 'ResourceCpu' => [
+ 'description' => 'The number of CPU cores of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8',
+ 'title' => '资源CPU数量。',
+ ],
+ 'StorageSize' => [
+ 'description' => 'The cache size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '400',
+ 'title' => '存储空间大小。',
+ ],
+ 'ObjectStoreSize' => [
+ 'description' => 'The storage capacity of the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ 'title' => '存储空间。',
+ ],
+ 'MaintainStarttime' => [
+ 'description' => 'The start time of the instance maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '1970-01-01T02:00Z',
+ 'title' => '实例可维护时间段的开始时间。',
+ ],
+ 'MaintainEndtime' => [
+ 'description' => 'The end time of the instance maintenance window.'."\n",
+ 'type' => 'string',
+ 'example' => '1970-01-01T05:00Z',
+ 'title' => '实例可维护时间段的结束时间。',
+ ],
+ 'DBClusterList' => [
+ 'description' => 'The information about each cluster returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceName' => [
+ 'description' => 'The instance name.'."\n",
+ 'type' => 'string',
+ 'example' => 'test instance',
+ 'title' => '实例名称。',
+ ],
+ 'DbClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-h033cjs****-be',
+ 'title' => '集群ID。',
+ ],
+ 'DbClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'test01',
+ 'title' => '集群名称。',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* **CREATING**: The cluster is being created.'."\n"
+ .'* **ACTIVATION**: The cluster is running.'."\n"
+ .'* **RESOURCE_CHANGING**: The resource configuration of the cluster is being changed.'."\n"
+ .'* **ORDER_PREPARING**: The order is being confirmed.'."\n"
+ .'* **READONLY_RESOURCE_CHANGING**: The resource configuration of the cluster is being changed and the cluster is write-locked.'."\n"
+ .'* **DELETING**: The cluster is being deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACTIVATION',
+ 'title' => '集群的状态,取值说明:'."\n"
+ .'- **CREATING**:创建中。'."\n"
+ ."\n"
+ .'- **ACTIVATION**:运行中。'."\n"
+ ."\n"
+ .'- **RESOURCE_CHANGING**:变配中。'."\n"
+ ."\n"
+ .'- **ORDER_PREPARING**:订单确认中。'."\n"
+ ."\n"
+ .'- **READONLY_RESOURCE_CHANGING**:资源变配中(实例写入锁定)。'."\n"
+ ."\n"
+ .'- **DELETING**:删除中。',
+ ],
+ 'CreatedTime' => [
+ 'description' => 'The time when the cluster was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-14T09:24:13Z',
+ 'title' => '集群的创建时间。',
+ ],
+ 'DbClusterClass' => [
+ 'description' => 'The specifications of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* **selectdb.xlarge**: 4 CPU cores and 32 GB of memory.'."\n"
+ .'* **selectdb.2xlarge**: 8 CPU cores and 64 GB of memory.'."\n"
+ .'* **selectdb.4xlarge**: 16 CPU cores and 128 GB of memory.'."\n"
+ .'* **selectdb.8xlarge**: 32 CPU cores and 256 GB of memory.'."\n"
+ .'* **selectdb.16xlarge**: 64 CPU cores and 512 GB of memory.'."\n"
+ .'* **selectdb.24xlarge**: 96 CPU cores and 768 GB of memory.'."\n"
+ .'* **selectdb.32xlarge**: 128 CPU cores and 1,024 GB of memory.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb.2xlarge',
+ 'title' => '集群规格,取值说明:'."\n"
+ .'- **selectdb.xlarge**:4核16GB。'."\n"
+ .'- **selectdb.2xlarge**: 8核32GB。'."\n"
+ .'- **selectdb.4xlarge**:16核64GB。'."\n"
+ .'- **selectdb.8xlarge**:32核128GB。'."\n"
+ .'- **selectdb.16xlarge**:64核256GB。'."\n"
+ .'- **selectdb.24xlarge**:96核384GB。'."\n"
+ .'- **selectdb.32xlarge**:128核512GB。',
+ ],
+ 'CpuCores' => [
+ 'description' => 'The number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8',
+ 'title' => 'CPU核数。',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '64',
+ 'title' => '内存大小。',
+ ],
+ 'CacheStorageType' => [
+ 'description' => 'The cache type.'."\n",
+ 'type' => 'string',
+ 'example' => 'cloud_essd',
+ 'title' => '缓存空间类型。',
+ ],
+ 'PerformanceLevel' => [
+ 'description' => 'The performance level.'."\n",
+ 'type' => 'string',
+ 'example' => 'PL1',
+ 'title' => '性能级别。',
+ ],
+ 'CacheStorageSizeGB' => [
+ 'description' => 'The cache size. Unit: GB.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ 'title' => '缓存空间,单位:GB。',
+ ],
+ 'StartTime' => [
+ 'description' => 'The time when the cluster started.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-14T09:24:13Z',
+ 'title' => '集群启动时间。',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* **Postpaid**: pay-as-you-go.'."\n"
+ .'* **Prepaid**: subscription.'."\n",
+ 'type' => 'string',
+ 'example' => 'Prepaid',
+ 'title' => '集群的付费类型。取值:'."\n"
+ ."\n"
+ .'- **Postpaid**:后付费(按量付费)'."\n"
+ ."\n"
+ .'- **Prepaid**:预付费(包年包月)',
+ ],
+ 'ModifiedTime' => [
+ 'description' => 'The modified time.',
+ 'type' => 'string',
+ 'example' => '2024-07-02T16:35:44+08:00',
+ 'title' => '修改时间。',
+ ],
+ 'ScalingRulesEnable' => [
+ 'title' => '是否开启分时弹性策略。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ZoneId' => [
+ 'title' => '可用区ID。',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ ],
+ 'VSwitchId' => [
+ 'title' => '交换机ID。',
+ 'type' => 'string',
+ 'example' => 'vsw-t4n8x7jcc8rknon85tqoa',
+ ],
+ 'SubDomain' => [
+ 'title' => '子域。',
+ 'type' => 'string',
+ 'example' => '预留参数,暂不返回。',
+ ],
+ 'ClusterBinding' => [
+ 'title' => '绑定的目标集群。',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****-be',
+ ],
+ 'ClusterNodeType' => [
+ 'type' => 'string',
+ ],
+ 'ClusterNodeCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ScaleMax' => [
+ 'title' => '实例RCU(RDS Capacity Unit)的自动扩缩范围最大值。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '4',
+ ],
+ 'ScaleMin' => [
+ 'title' => '实例RCU(RDS Capacity Unit)自动扩缩范围的最小值。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.5',
+ ],
+ ],
+ 'title' => '集群列表。',
+ ],
+ 'title' => '集群列表。',
+ ],
+ 'Engine' => [
+ 'description' => 'The database engine of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb',
+ 'title' => '数据库类型。',
+ ],
+ 'EngineVersion' => [
+ 'description' => 'The database engine version of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '2.4',
+ 'title' => '数据库版本。',
+ ],
+ 'EngineMinorVersion' => [
+ 'description' => 'The minor kernel version number of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '3.0.1',
+ 'title' => '实例的内核小版本号。',
+ ],
+ 'DBInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ 'title' => '实例ID。',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ 'title' => '实例备注信息。',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the instance was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-08-14T03:00:42Z',
+ 'title' => '创建时间。',
+ ],
+ 'CanUpgradeVersions' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ 'title' => '列表。',
+ ],
+ 'title' => '可升级的版本信息列表。',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **Postpaid**: pay-as-you-go.'."\n"
+ .'* **Prepaid**: subscription.'."\n",
+ 'type' => 'string',
+ 'example' => 'Prepaid',
+ 'title' => '实例的付费类型。取值:'."\n"
+ ."\n"
+ .'- **Postpaid**:后付费(按量付费)'."\n"
+ ."\n"
+ .'- **Prepaid**:预付费(包年包月)',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the instance expires.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-09-17T00:00Z',
+ 'title' => '实例到期时间。',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group to which the instance belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-aekzbck4asz3dsa',
+ 'title' => '实例所属的资源组ID。',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags that are added to the instances. Each tag is a key-value pair that consists of two parts: TagKey and TagValue. Format: `{"key1":"value1"}`.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'testKey',
+ 'title' => '标签键。',
+ ],
+ 'TagValue' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'testValue',
+ 'title' => '标签值。',
+ ],
+ ],
+ 'title' => '实例标签列表。',
+ ],
+ 'title' => '实例标签列表。',
+ ],
+ 'RegionId' => [
+ 'description' => 'The Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ 'title' => '地域ID。',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The Zone ID.',
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h',
+ 'title' => '实例可用区ID',
+ ],
+ 'VpcId' => [
+ 'description' => 'The VPC ID.',
+ 'type' => 'string',
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ 'title' => '实例VPC ID。',
+ ],
+ 'VSwitchId' => [
+ 'title' => '交换机ID。',
+ 'type' => 'string',
+ 'example' => 'vsw-bp18iztwqrs8qj2nc6nyu',
+ ],
+ 'DeployScheme' => [
+ 'title' => '实例部署模式',
+ 'type' => 'string',
+ 'example' => 'multi_az',
+ ],
+ 'MultiZone' => [
+ 'title' => '多可用区列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '多可用区列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'title' => '可用区ID。',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ ],
+ 'VSwitchIds' => [
+ 'title' => '交换机ID。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '交换机ID。',
+ 'type' => 'string',
+ 'example' => 'vsw-bp10dbralpn4bzmgkkh8f',
+ ],
+ ],
+ 'Cidr' => [
+ 'title' => '前缀列表条目的CIDR地址块信息。',
+ 'type' => 'string',
+ 'example' => '113.88.14.211/32',
+ ],
+ 'AvailableIpCount' => [
+ 'title' => '可用区下可用IP。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4096',
+ ],
+ ],
+ ],
+ ],
+ 'Serverless' => [
+ 'title' => '当前实例是否开启了Serverless功能。'."\n"
+ ."\n"
+ .'- 返回true表示开启了Serverless功能。'."\n"
+ .'- 返回false表示没有开启Serverless功能。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'SecGroupConnValid' => [
+ 'title' => '当前实例所在VPC是否启用端口直连功能。'."\n"
+ ."\n"
+ .'- 返回true表示开启了端口直连功能。'."\n"
+ .'- 返回false表示没有开启端口直连功能。',
+ 'type' => 'string',
+ 'example' => 'false',
+ ],
+ 'VirtualClusterList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DbClusterId' => [
+ 'type' => 'string',
+ ],
+ 'DbClusterName' => [
+ 'type' => 'string',
+ ],
+ 'Status' => [
+ 'type' => 'string',
+ ],
+ 'CreatedTime' => [
+ 'type' => 'string',
+ ],
+ 'ActiveClusterId' => [
+ 'type' => 'string',
+ ],
+ 'ActiveClusterName' => [
+ 'type' => 'string',
+ ],
+ 'StandbyClusterId' => [
+ 'type' => 'string',
+ ],
+ 'StandbyClusterName' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ConfigPatternType' => [
+ 'title' => '实例已应用的配置模板',
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\",\\n \\"Status\\": \\"ACTIVE\\",\\n \\"SubDomain\\": \\"cn-beijing-h-aliyun\\",\\n \\"GmtModified\\": \\"2023-08-17T09:58Z\\",\\n \\"LockMode\\": 0,\\n \\"LockReason\\": \\"nolock\\",\\n \\"ResourceCpu\\": 8,\\n \\"StorageSize\\": 400,\\n \\"ObjectStoreSize\\": 0,\\n \\"MaintainStarttime\\": \\"预留参数,暂不返回\\",\\n \\"MaintainEndtime\\": \\"预留参数,暂不返回\\\\n\\",\\n \\"DBClusterList\\": [\\n {\\n \\"DbInstanceName\\": \\"实例测试\\",\\n \\"DbClusterId\\": \\"selectdb-cn-h033cjs****-be\\",\\n \\"DbClusterName\\": \\"test01\\",\\n \\"Status\\": \\"ACTIVATION\\",\\n \\"CreatedTime\\": \\"2023-08-14T09:24:13Z\\",\\n \\"DbClusterClass\\": \\"selectdb.2xlarge\\",\\n \\"CpuCores\\": 8,\\n \\"Memory\\": 64,\\n \\"CacheStorageType\\": \\"cloud_essd\\",\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"CacheStorageSizeGB\\": \\"200\\",\\n \\"StartTime\\": \\"2023-08-14T09:24:13Z\\",\\n \\"ChargeType\\": \\"Prepaid\\",\\n \\"ModifiedTime\\": \\"2024-07-02T16:35:44+08:00\\",\\n \\"ScalingRulesEnable\\": false,\\n \\"ZoneId\\": \\"cn-hangzhou-k\\",\\n \\"VSwitchId\\": \\"vsw-t4n8x7jcc8rknon85tqoa\\",\\n \\"SubDomain\\": \\"预留参数,暂不返回。\\",\\n \\"ClusterBinding\\": \\"selectdb-cn-7213cjv****-be\\",\\n \\"ClusterNodeType\\": \\"base\\",\\n \\"ClusterNodeCount\\": 1,\\n \\"ScaleMax\\": 4,\\n \\"ScaleMin\\": 0.5\\n }\\n ],\\n \\"Engine\\": \\"selectdb\\",\\n \\"EngineVersion\\": \\"2.4\\",\\n \\"EngineMinorVersion\\": \\"3.0.1\\",\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"Description\\": \\"test\\",\\n \\"CreateTime\\": \\"2023-08-14T03:00:42Z\\",\\n \\"CanUpgradeVersions\\": [\\n \\"test\\"\\n ],\\n \\"ChargeType\\": \\"Prepaid\\",\\n \\"ExpireTime\\": \\"2023-09-17T00:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-aekzbck4asz3dsa\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"testKey\\",\\n \\"TagValue\\": \\"testValue\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"VpcId\\": \\"vpc-bp175iuvg8nxqraf2****\\",\\n \\"VSwitchId\\": \\"vsw-bp18iztwqrs8qj2nc6nyu\\",\\n \\"DeployScheme\\": \\"multi_az\\",\\n \\"MultiZone\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-k\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp10dbralpn4bzmgkkh8f\\"\\n ],\\n \\"Cidr\\": \\"113.88.14.211/32\\",\\n \\"AvailableIpCount\\": 4096\\n }\\n ],\\n \\"Serverless\\": false,\\n \\"SecGroupConnValid\\": \\"false\\",\\n \\"VirtualClusterList\\": [\\n {\\n \\"DbClusterId\\": \\"selectdb-vcg-33cjs****-be\\",\\n \\"DbClusterName\\": \\"vgcdemo\\",\\n \\"Status\\": \\"UPDATING\\",\\n \\"CreatedTime\\": \\"2025-05-31T21:01:09Z\\",\\n \\"ActiveClusterId\\": \\"selectdb-xx78***-be\\",\\n \\"ActiveClusterName\\": \\"test1\\",\\n \\"StandbyClusterId\\": \\"selectdb-x6u7***-be\\\\n\\",\\n \\"StandbyClusterName\\": \\"test2\\"\\n }\\n ],\\n \\"ConfigPatternType\\": \\"log\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeDBInstanceAttribute',
+ ],
+ 'ResetAccountPassword' => [
+ 'summary' => 'Resets the password of an account for an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189793',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb22B46K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'AccountName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database account of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'admin',
+ ],
+ ],
+ [
+ 'name' => 'AccountPassword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The password of the database account. Requirements:'."\n"
+ ."\n"
+ .'* The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.'."\n"
+ .'* The following special characters can be used: ! @ # $ % ^ & \\* ( ) \\_ + - ='."\n"
+ .'* The password must be 8 to 32 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a1b2c3d4@',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '58E21E11-90FF-50F8-A615-8DEB193676E0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'IncorrectAccountType',
+ 'errorMessage' => 'Current account type does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidAccountName.NotFound',
+ 'errorMessage' => 'Specified account name does not exist.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58E21E11-90FF-50F8-A615-8DEB193676E0\\"\\n}","type":"json"}]',
+ 'title' => 'ResetAccountPassword',
+ ],
+ 'DescribeDBInstanceNetInfo' => [
+ 'summary' => 'Queries the network information about an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '189188',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'ADF42B18-43FD-5100-83A9-BE81AB70C863',
+ ],
+ 'DBInstanceNetInfos' => [
+ 'description' => 'The network information about the instance.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NetType' => [
+ 'description' => 'The network type of the instance. Valid values:'."\n"
+ ."\n"
+ .'* **VPC**: indicates a virtual private cloud (VPC)-connected instance.'."\n"
+ .'* **PUBLIC**: indicates an Internet-connected instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'VPC',
+ ],
+ 'VpcInstanceId' => [
+ 'description' => 'The ID of the VPC-connected instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-h033cnd****-fe-20230816101006',
+ ],
+ 'VpcId' => [
+ 'description' => 'The VPC ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-wz90scxq6ods388ft****',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-uf6mlqti065rer6m0****',
+ ],
+ 'UserVisible' => [
+ 'description' => 'Indicates whether the network information is visible to users. Valid values:'."\n"
+ ."\n"
+ .'* **true**'."\n"
+ .'* **false**'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ConnectionString' => [
+ 'description' => 'The connection string of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-h033cnd****-fe.selectdbfe.pre.rds.aliyuncs.com',
+ ],
+ 'Ip' => [
+ 'description' => 'The IP address of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '172.16.XX.XX',
+ ],
+ 'PortList' => [
+ 'description' => 'The ports.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Protocol' => [
+ 'description' => 'The protocol of the port. Valid values:'."\n"
+ ."\n"
+ .'* **HttpPort**: HTTP port.'."\n"
+ .'* **MySQLPort**: MySQL port.'."\n",
+ 'type' => 'string',
+ 'example' => '9030',
+ ],
+ 'Port' => [
+ 'description' => 'The port that is used to connect to the instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'MySQLPort',
+ ],
+ ],
+ ],
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-****-be',
+ ],
+ ],
+ ],
+ ],
+ 'DBClustersNetInfos' => [
+ 'description' => 'The network information about the backend (BE) clusters.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NetType' => [
+ 'description' => 'The network type of the BE cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'VPC/PUBLIC',
+ ],
+ 'VpcInstanceId' => [
+ 'description' => 'The VPC ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-****-fe-20230816101006',
+ ],
+ 'VpcId' => [
+ 'description' => 'VPC ID'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-****',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-****',
+ ],
+ 'UserVisible' => [
+ 'description' => 'Indicates whether the network information is visible to users.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true/false',
+ ],
+ 'ConnectionString' => [
+ 'description' => 'The connection string of the BE cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-****-fe.selectdbfe.pre.rds.aliyuncs.com',
+ ],
+ 'Ip' => [
+ 'description' => 'The IP address of the BE cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '8.131.***.***',
+ ],
+ 'PortList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Protocol' => [
+ 'description' => 'The protocol of the port.'."\n",
+ 'type' => 'string',
+ 'example' => '9030/8080',
+ ],
+ 'Port' => [
+ 'description' => 'The port that is used to connect to the BE cluster.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'MySQLPort/HttpPort',
+ ],
+ ],
+ ],
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-****-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADF42B18-43FD-5100-83A9-BE81AB70C863\\",\\n \\"DBInstanceNetInfos\\": [\\n {\\n \\"NetType\\": \\"VPC\\",\\n \\"VpcInstanceId\\": \\"selectdb-cn-h033cnd****-fe-20230816101006\\",\\n \\"VpcId\\": \\"vpc-wz90scxq6ods388ft****\\",\\n \\"VswitchId\\": \\"vsw-uf6mlqti065rer6m0****\\",\\n \\"UserVisible\\": true,\\n \\"ConnectionString\\": \\"selectdb-cn-h033cnd****-fe.selectdbfe.pre.rds.aliyuncs.com\\",\\n \\"Ip\\": \\"172.16.XX.XX\\",\\n \\"PortList\\": [\\n {\\n \\"Protocol\\": \\"9030\\",\\n \\"Port\\": 0\\n }\\n ],\\n \\"ClusterId\\": \\"selectdb-cn-****-be\\"\\n }\\n ],\\n \\"DBClustersNetInfos\\": [\\n {\\n \\"NetType\\": \\"VPC/PUBLIC\\",\\n \\"VpcInstanceId\\": \\"selectdb-cn-****-fe-20230816101006\\",\\n \\"VpcId\\": \\"vpc-****\\",\\n \\"VswitchId\\": \\"vsw-****\\",\\n \\"UserVisible\\": true,\\n \\"ConnectionString\\": \\"selectdb-cn-****-fe.selectdbfe.pre.rds.aliyuncs.com\\",\\n \\"Ip\\": \\"8.131.***.***\\",\\n \\"PortList\\": [\\n {\\n \\"Protocol\\": \\"MySQLPort/HttpPort\\",\\n \\"Port\\": 0\\n }\\n ],\\n \\"ClusterId\\": \\"selectdb-cn-****-be\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeDBInstanceNetInfo',
+ ],
+ 'DescribeSecurityIPList' => [
+ 'summary' => 'Queries the IP addresses in the whitelists of an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189644',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5CBE044D-4594-525D-AC65-E988553D853E',
+ ],
+ 'DBInstanceName' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'GroupItems' => [
+ 'description' => 'The details about each IP address whitelist returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => [
+ 'description' => 'The name of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => 'group1',
+ ],
+ 'AecurityIPType' => [
+ 'description' => 'The IP address type. Valid values:'."\n"
+ ."\n"
+ .'* ipv4'."\n"
+ .'* ipv6 (not supported)'."\n",
+ 'type' => 'string',
+ 'example' => 'ipv4',
+ ],
+ 'GroupTag' => [
+ 'description' => 'The tag of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'SecurityIPList' => [
+ 'description' => 'The IP addresses in the whitelist. Multiple IP addresses are separated by commas (,).'."\n",
+ 'type' => 'string',
+ 'example' => '127.0.XX.XX',
+ ],
+ 'WhitelistNetType' => [
+ 'description' => 'The network type of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => 'mix',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CBE044D-4594-525D-AC65-E988553D853E\\",\\n \\"DBInstanceName\\": \\"selectdb-cn-7213cjv****\\",\\n \\"GroupItems\\": [\\n {\\n \\"GroupName\\": \\"group1\\",\\n \\"AecurityIPType\\": \\"ipv4\\",\\n \\"GroupTag\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SecurityIPList\\": \\"127.0.XX.XX\\",\\n \\"WhitelistNetType\\": \\"mix\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeSecurityIPList',
+ ],
+ 'ModifySecurityIPList' => [
+ 'summary' => 'Modifies the IP addresses in a whitelist of an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189652',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the whitelist. Default value: **Default**.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'SecurityIPList',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP addresses in the whitelist of the instance. Separate multiple IP addresses with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '127.0.XX.XX,127.2.XX.XX',
+ ],
+ ],
+ [
+ 'name' => 'ModifyMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The mode in which you want to modify the whitelist. Valid values:'."\n"
+ ."\n"
+ .'* **0**: overwrites the IP addresses in the whitelist.'."\n"
+ .'* **1**: adds IP addresses to the whitelist.'."\n"
+ .'* **2**: removes IP addresses from the whitelist.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0',
+ 'enum' => [
+ '0',
+ '1',
+ '2',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '195F64C2-8F11-532B-A436-FC08A221D756',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => 'group1',
+ ],
+ 'SecurityIPType' => [
+ 'description' => 'The IP address type.'."\n",
+ 'type' => 'string',
+ 'example' => 'ipv4',
+ ],
+ 'GroupTag' => [
+ 'description' => 'The tag of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => 'grouptag',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '479095561',
+ ],
+ 'SecurityIPList' => [
+ 'description' => 'The IP addresses in the whitelist of the instance. Multiple IP addresses are separated by commas (,).'."\n",
+ 'type' => 'string',
+ 'example' => '127.0.XX.XX,127.2.XX.XX',
+ ],
+ 'WhitelistNetType' => [
+ 'description' => 'The network type of the whitelist.'."\n",
+ 'type' => 'string',
+ 'example' => 'mix',
+ ],
+ 'DBInstanceName' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidSecurityIPList.Duplicate',
+ 'errorMessage' => 'Specified security IP list is not valid: Duplicate IP address in the list.',
+ ],
+ [
+ 'errorCode' => 'InvalidSecurityIPList.Format',
+ 'errorMessage' => 'Specified security IP list format is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidSecurityIPs.Malformed',
+ 'errorMessage' => 'The specified parameter "SecurityIps" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'SecurityIPList.Duplicate',
+ 'errorMessage' => 'Specified same security IP already exists.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"195F64C2-8F11-532B-A436-FC08A221D756\\",\\n \\"GroupName\\": \\"group1\\",\\n \\"SecurityIPType\\": \\"ipv4\\",\\n \\"GroupTag\\": \\"grouptag\\",\\n \\"TaskId\\": 479095561,\\n \\"SecurityIPList\\": \\"127.0.XX.XX,127.2.XX.XX\\",\\n \\"WhitelistNetType\\": \\"mix\\",\\n \\"DBInstanceName\\": \\"实例测试\\"\\n}","type":"json"}]',
+ 'title' => 'ModifySecurityIPList',
+ ],
+ 'CheckIpExistsInSecurityIpList' => [
+ 'summary' => '判断指定 IP 是否已经存在于网络白名单组',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '221358',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-2bl4dj****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '192.168.0.239',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IpExists' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidSecurityIPs.Malformed',
+ 'errorMessage' => 'The specified parameter "SecurityIps" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"Data\\": {\\n \\"IpExists\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'ModifyDBInstanceAttribute' => [
+ 'summary' => 'Modifies the maintenance window or description of an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189266',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceAttributeType',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => 'The instance parameter to be modified. Valid values:'."\n"
+ ."\n"
+ .'* **MaintainTime**: Modify the maintenance window of the instance in the hh:mm-hh:mm format.'."\n"
+ .'* **DBInstanceDescription**: Modify the description of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DBInstanceDescription',
+ 'enum' => [
+ 'MaintainTime',
+ 'DBInstanceDescription',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Value',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new value of the instance parameter to be modified. Examples:'."\n"
+ ."\n"
+ .'* If InstanceAttributeType is set to MaintainTime, you can set Value to 00:00-06:00.'."\n"
+ .'* If InstanceAttributeType is set to DBInstanceDescription, you can set Value to testdb.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testdb01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '2DB29DEE-52E4-57EE-BF68-2C95C20E6658',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidAttributeTypeValue.Malformed',
+ 'errorMessage' => 'The value of specified parameter "AttributeType" is not valid.',
+ ],
+ [
+ 'errorCode' => 'LockTimeout',
+ 'errorMessage' => 'The request processing has failed due to lock timeout.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2DB29DEE-52E4-57EE-BF68-2C95C20E6658\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyDBInstanceAttribute',
+ ],
+ 'UpgradeDBInstanceEngineVersion' => [
+ 'summary' => 'Updates the database engine version of an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189245',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbMK32OZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'EngineVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine version of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2.4',
+ ],
+ ],
+ [
+ 'name' => 'SwitchTimeMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The update mode. If you do not specify this parameter, the system immediately updates the database engine version. If you set this parameter to 1, the system updates the database engine version during the maintenance window.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ParallelOperation',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\"\\n}","type":"json"}]',
+ 'title' => 'UpgradeDBInstanceEngineVersion',
+ ],
+ 'AllocateInstancePublicConnection' => [
+ 'summary' => 'Applies for a public endpoint for an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189186',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbIVFRFW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'NetType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The network type of the endpoint to be applied for. Set the value to Public.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Public',
+ ],
+ ],
+ [
+ 'name' => 'ConnectionStringPrefix',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The prefix of the endpoint. Set the parameter to the prefix of the value of **ConnectionString**.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-h033cn****-pub-i3',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5ED62C81-9948-5612-81E1-EA3853752306',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '498115273',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceNetType.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceNetType" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidConnectionString.Duplicate',
+ 'errorMessage' => 'The specified connection string already exists.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5ED62C81-9948-5612-81E1-EA3853752306\\",\\n \\"InstanceName\\": \\"新建实例测试\\",\\n \\"TaskId\\": 498115273\\n}","type":"json"}]',
+ 'title' => 'AllocateInstancePublicConnection',
+ ],
+ 'ReleaseInstancePublicConnection' => [
+ 'summary' => 'Releases the public endpoint of an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189187',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb0UAOLL',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConnectionString',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The connection string of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8y****-public.selectdbfe.pre.rds.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => 'ReleaseInstancePublicConnection',
+ ],
+ 'DeleteDBInstance' => [
+ 'summary' => 'Deletes an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '185833',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7H9T89',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '实例 ID。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BD0D0B17-C145-5B91-BFC2-6791927EE973',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.DBInstancePayType',
+ 'errorMessage' => 'The operation is not permitted due to the pay type of cluster.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD0D0B17-C145-5B91-BFC2-6791927EE973\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteDBInstance',
+ ],
+ 'DeleteVirtualCluster' => [
+ 'summary' => '删除虚拟集群',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-vcg-72vz***-be',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ 'DbClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li0****-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\\\n\\",\\n \\"DbClusterId\\": \\"selectdb-cn-wny3li0****-be\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ModifyVirtualCluster' => [
+ 'summary' => '修改虚拟集群',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-vcg-b****-be',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ActiveClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-o2yg***-be',
+ ],
+ ],
+ [
+ 'name' => 'StandbyClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-pu6y****-be',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'DbClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-vcg-b****-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"DbClusterId\\": \\"selectdb-vcg-b****-be\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateVirtualCluster' => [
+ 'summary' => '创建虚拟集群',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vcg_demo',
+ ],
+ ],
+ [
+ 'name' => 'ActiveClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****'."\n"
+ .'-be',
+ ],
+ ],
+ [
+ 'name' => 'StandbyClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-26a3cjv****'."\n"
+ .'-be',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '5ED62C81-9948-5612-81E1-EA3853752306',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'DbClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv2ez-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.Format',
+ 'errorMessage' => 'Specified ClusterName is not valid. It can not be empty string.',
+ ],
+ [
+ 'errorCode' => 'MinorVersionNotSupport',
+ 'errorMessage' => 'The instance version does not support the current operation.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.VirtualClusterBound',
+ 'errorMessage' => 'The operation is not permitted due to it has been bound to a virtual cluster.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5ED62C81-9948-5612-81E1-EA3853752306\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"DbClusterId\\": \\"selectdb-cn-7213cjv2ez-be\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateDBClusterBinding' => [
+ 'summary' => 'Creates a binding relationship for clusters. If the zone-redundant storage (ZRS) deployment method is used, you can create a binding relationship between two clusters.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv2ez',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv2ez-be',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterIdBak',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F'."\n",
+ ],
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceName' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv2ez',
+ ],
+ 'DbInstanceId' => [
+ 'description' => 'The numeric ID.'."\n",
+ 'type' => 'string',
+ 'example' => '6585',
+ ],
+ 'DbClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv2ez-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\\\n\\",\\n \\"Data\\": {\\n \\"DbInstanceName\\": \\"selectdb-cn-7213cjv2ez\\",\\n \\"DbInstanceId\\": \\"6585\\",\\n \\"DbClusterId\\": \\"selectdb-cn-7213cjv2ez-be\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateDBClusterBinding',
+ 'description' => 'This operation is supported only for instances that use the zone-redundant storage (ZRS) feature and meet the following requirements:'."\n"
+ ."\n"
+ .'* The instance clusters reside in different zones.'."\n"
+ .'* The billing method of the instance clusters is consistent.'."\n",
+ ],
+ 'DeleteDBClusterBinding' => [
+ 'summary' => 'Deletes the binding relationship between two clusters for mutual backup.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv2ez',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of Cluster 1.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv2ez-be'."\n",
+ ],
+ ],
+ [
+ 'name' => 'DBClusterIdBak',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of Cluster 2.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request'."\n",
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteDBClusterBinding',
+ ],
+ 'CreateDBCluster' => [
+ 'summary' => 'Creates a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189724',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbF7Q0Y1',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源一级ID',
+ 'description' => '代表资源一级ID的资源属性字段',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'Engine',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'SelectDB',
+ ],
+ ],
+ [
+ 'name' => 'EngineVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2.4',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Prepaid',
+ ],
+ ],
+ [
+ 'name' => 'UsedTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou-i',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'VPC ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vsw-bp1gzt31twhlo0sa5****',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testdb',
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'minimum' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMax',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '32',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMin',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '4',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DBInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'OrderId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '219543646290345',
+ ],
+ 'ClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-1ls3sg0po0****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ [
+ 'errorCode' => 'InvalidPayType.Malformed',
+ 'errorMessage' => 'The specified parameter "chargeType" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.OrderProcessing',
+ 'errorMessage' => 'There are orders in process.',
+ ],
+ [
+ 'errorCode' => 'ORDER.INST_HAS_UNPAID_ORDER',
+ 'errorMessage' => 'Instance has unpaid order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'INSUFFICIENT_AVAILABLE_QUOTA',
+ 'errorMessage' => 'Your account available limit is less than 0, please recharge before trying to purchase.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.SpecificClassCodeNotSupported',
+ 'errorMessage' => 'The uid is not in specific classcode whitelist.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\",\\n \\"Data\\": {\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"OrderId\\": 219543646290345,\\n \\"ClusterId\\": \\"selectdb-cn-1ls3sg0po0****\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateDBCluster',
+ 'description' => '> : For an instance that uses the pay-as-you-go billing method, you can create only pay-as-you-go clusters. For an instance that uses the subscription billing method, you can create pay-as-you-go or subscription clusters.'."\n",
+ ],
+ 'GetCreateBEClusterInquiry' => [
+ 'summary' => 'Queries the pricing for creating a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '200392',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CommodityCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The commodity code.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* selectdb_pre_public_intl: subscription commodity on the international site (alibabacloud.com)'."\n"
+ .'* selectdb_go_public_cn: pay-as-you-go commodity on the China site (aliyun.com)'."\n"
+ .'* selectdb_go_public_intl: pay-as-you-go commodity on the international site (alibabacloud.com)'."\n"
+ .'* selectdb_pre_public_cn: subscription commodity on the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'selectdb_pre_public_intl' => '',
+ 'selectdb_go_public_cn' => '',
+ 'selectdb_go_public_intl' => '',
+ 'selectdb_pre_public_cn' => '',
+ ],
+ 'example' => 'selectdb_go_public_cn',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PREPAY: subscription'."\n"
+ .'* POSTPAY: pay-as-you-go'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'PREPAY' => '',
+ 'POSTPAY' => '',
+ ],
+ 'example' => 'POSTPAY',
+ ],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing cycle.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month'."\n"
+ .'* Year'."\n"
+ .'* Minute'."\n"
+ .'* Hour'."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ 'Minute' => '',
+ 'Hour' => '',
+ 'Day' => '',
+ ],
+ 'example' => 'Hour',
+ ],
+ ],
+ [
+ 'name' => 'Quantity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of clusters to be created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PreCacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the reserved cache.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'PreComputeSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of reserved CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the elastic cache.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'ComputeSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of elastic CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'PromotionOptionNo',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '优惠券编号。',
+ 'type' => 'string',
+ 'example' => '2374923467',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F'."\n",
+ ],
+ 'Data' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => [
+ 'description' => 'The currency.'."\n",
+ 'type' => 'string',
+ 'example' => 'CNY',
+ 'title' => '货币。',
+ ],
+ 'TradeAmount' => [
+ 'description' => 'The amount of money.'."\n",
+ 'type' => 'string',
+ 'example' => '1.76',
+ 'title' => '金额。',
+ ],
+ 'PricingRules' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'OptionalPromotions' => [
+ 'title' => '优惠券信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '优惠券编号',
+ 'type' => 'object',
+ 'properties' => [
+ 'OptionCode' => [
+ 'title' => '促销活动规则描述。',
+ 'type' => 'string',
+ 'example' => '7afs9d',
+ ],
+ 'PromotionDesc' => [
+ 'title' => '优惠券描述。',
+ 'type' => 'string',
+ 'example' => '通用优惠券可抵扣100',
+ ],
+ 'PromotionName' => [
+ 'title' => '优惠券名称。',
+ 'type' => 'string',
+ 'example' => '通用优惠券',
+ ],
+ 'CanPromFee' => [
+ 'title' => '可优惠价格。',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'PromotionOptionNo' => [
+ 'title' => '优惠券编号。',
+ 'type' => 'string',
+ 'example' => '775735400028',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'title' => '返回数据。',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\\\n\\",\\n \\"Data\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"TradeAmount\\": \\"1.76\\",\\n \\"PricingRules\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"OptionalPromotions\\": [\\n {\\n \\"OptionCode\\": \\"7afs9d\\",\\n \\"PromotionDesc\\": \\"通用优惠券可抵扣100\\",\\n \\"PromotionName\\": \\"通用优惠券\\",\\n \\"CanPromFee\\": \\"100\\",\\n \\"PromotionOptionNo\\": \\"775735400028\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'GetCreateBEClusterInquiry',
+ ],
+ 'GetModifyBEClusterInquiry' => [
+ 'summary' => 'Queries the pricing for changing the specifications of a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201173',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-xxx-be',
+ ],
+ ],
+ [
+ 'name' => 'CommodityCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The commodity code.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* selectdb_pre_public_intl: subscription commodity on the international site (alibabacloud.com)'."\n"
+ .'* selectdb_go_public_cn: pay-as-you-go commodity on the China site (aliyun.com)'."\n"
+ .'* selectdb_go_public_intl: pay-as-you-go commodity on the international site (alibabacloud.com)'."\n"
+ .'* selectdb_pre_public_cn: subscription commodity on the China site (aliyun.com)'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'selectdb_pre_public_intl' => '',
+ 'selectdb_go_public_cn' => '',
+ 'selectdb_go_public_intl' => '',
+ 'selectdb_pre_public_cn' => '',
+ ],
+ 'example' => 'selectdb_go_public_cn',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PREPAY: subscription'."\n"
+ .'* POSTPAY: pay-as-you-go'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'PREPAY' => '',
+ 'POSTPAY' => '',
+ ],
+ 'example' => 'POSTPAY',
+ ],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing cycle.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month'."\n"
+ .'* Year'."\n"
+ .'* Minute'."\n"
+ .'* Hour'."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ 'Minute' => '',
+ 'Hour' => '',
+ 'Day' => '',
+ ],
+ 'example' => 'Hour',
+ ],
+ ],
+ [
+ 'name' => 'Quantity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of clusters whose specifications are to be changed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PreCacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the reserved cache.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'PreComputeSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of reserved CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the elastic cache.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'ComputeSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of elastic CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-xxx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'ModifyClusterChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to change the billing method of the cluster.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PromotionOptionNo',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '优惠券编号。',
+ 'type' => 'string',
+ 'example' => '123412345',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F'."\n",
+ ],
+ 'Data' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => [
+ 'description' => 'The currency.'."\n",
+ 'type' => 'string',
+ 'example' => 'CNY',
+ 'title' => '货币。',
+ ],
+ 'TradeAmount' => [
+ 'description' => 'The amount of money.'."\n",
+ 'type' => 'string',
+ 'example' => '1.76',
+ 'title' => '金额。',
+ ],
+ 'RefundAmount' => [
+ 'description' => 'The estimated refund amount when the subscription cluster of a subscription instance is changed to a pay-as-you-go cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '-100',
+ 'title' => '包月实例下包月集群转按量集群时的预计退款金额。',
+ ],
+ 'PricingRules' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'OptionalPromotions' => [
+ 'title' => '优惠券编号',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '优惠券信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'OptionCode' => [
+ 'title' => '促销活动规则描述。',
+ 'type' => 'string',
+ 'example' => '789asdf',
+ ],
+ 'PromotionDesc' => [
+ 'title' => '优惠券描述。',
+ 'type' => 'string',
+ 'example' => '通用优惠券可抵扣100',
+ ],
+ 'PromotionName' => [
+ 'title' => '优惠券名称。',
+ 'type' => 'string',
+ 'example' => '通用优惠券',
+ ],
+ 'CanPromFee' => [
+ 'title' => '可优惠金额。'."\n"
+ ."\n"
+ .'> 中国站不涉及该参数。',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'PromotionOptionNo' => [
+ 'title' => '优惠券编号。',
+ 'type' => 'string',
+ 'example' => '732211480132',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'title' => '返回数据。',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\\\n\\",\\n \\"Data\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"TradeAmount\\": \\"1.76\\",\\n \\"RefundAmount\\": \\"-100\\",\\n \\"PricingRules\\": {\\n \\"key\\": \\"{\\\\\\"compute_size\\\\\\":{\\\\\\"priceUnit\\\\\\":\\\\\\"元/(CU*小时)\\\\\\",\\\\\\"payFee\\\\\\":\\\\\\"0.0\\\\\\"},\\\\\\"cache_size\\\\\\":{\\\\\\"priceUnit\\\\\\":\\\\\\"元/(GB*小时)\\\\\\",\\\\\\"payFee\\\\\\":\\\\\\"0.0\\\\\\"},\\\\\\"storage_size\\\\\\":{\\\\\\"priceUnit\\\\\\":\\\\\\"元/(GB*小时)\\\\\\",\\\\\\"payFee\\\\\\":\\\\\\"0.0\\\\\\"}\\"\\n },\\n \\"OptionalPromotions\\": [\\n {\\n \\"OptionCode\\": \\"789asdf\\",\\n \\"PromotionDesc\\": \\"通用优惠券可抵扣100\\",\\n \\"PromotionName\\": \\"通用优惠券\\",\\n \\"CanPromFee\\": \\"100\\",\\n \\"PromotionOptionNo\\": \\"732211480132\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'GetModifyBEClusterInquiry',
+ ],
+ 'ModifyDBCluster' => [
+ 'summary' => 'Scales a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '190081',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '实例 ID。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ [
+ 'name' => 'Engine',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The database engine of the instance. Set the value to selectdb.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'selectdb',
+ ],
+ ],
+ [
+ 'name' => 'CacheSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the reserved cache.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ClusterNodeCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'minimum' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMax',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '32',
+ ],
+ ],
+ [
+ 'name' => 'ScaleMin',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ 'default' => '4',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0BF61F90-ACED-55DF-A6FE-56714B2BFCF6',
+ ],
+ 'DBInstanceId' => [
+ 'title' => '资源一级ID',
+ 'description' => '代表资源一级ID的资源属性字段',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DBInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'DBClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'OrderId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '219396937240838',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidCacheSize.NotSupport',
+ 'errorMessage' => 'The specified parameter "CacheSize" does not meet the requirements.',
+ ],
+ [
+ 'errorCode' => 'InvalidUpdowngradeConfig.NoChange',
+ 'errorMessage' => 'The upgrade or downgrade configuration is not changed, please re-select.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.OrderProcessing',
+ 'errorMessage' => 'There are orders in process.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'PAY.INSUFFICIENT_BALANCE',
+ 'errorMessage' => 'Insufficient account available balance.',
+ ],
+ [
+ 'errorCode' => 'ORDER.INST_HAS_UNPAID_ORDER',
+ 'errorMessage' => 'Instance has unpaid order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.ScalingRuleIsEnabled',
+ 'errorMessage' => 'the operator is not permitted due to scaling rule is enabled.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'INSUFFICIENT_AVAILABLE_QUOTA',
+ 'errorMessage' => 'Your account available limit is less than 0, please recharge before trying to purchase.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.SpecificClassCodeNotSupported',
+ 'errorMessage' => 'The uid is not in specific classcode whitelist.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterState.NotSupport',
+ 'errorMessage' => 'The specified cluster state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0BF61F90-ACED-55DF-A6FE-56714B2BFCF6\\",\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"Data\\": {\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"DBClusterId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"OrderId\\": 219396937240838\\n }\\n}","type":"json"}]',
+ 'title' => 'ModifyDBCluster',
+ ],
+ 'ModifyBEClusterAttribute' => [
+ 'summary' => 'Modifies the name of a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189397',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be',
+ ],
+ ],
+ [
+ 'name' => 'InstanceAttributeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The attribute type of the instance. Set this parameter to DBInstanceDescription.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* MaintainTime'."\n"
+ .'* DBInstanceDescription'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'DBInstanceDescription' => 'DBInstanceDescription',
+ ],
+ 'example' => 'DBInstanceDescription',
+ 'enum' => [
+ 'MaintainTime',
+ 'DBInstanceDescription',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Value',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new name of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testdb',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '58E21E11-90FF-50F8-A615-8DEB193676E0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.Format',
+ 'errorMessage' => 'Specified ClusterName is not valid. It can not be empty string.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58E21E11-90FF-50F8-A615-8DEB193676E0\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyBEClusterAttribute',
+ ],
+ 'StopBECluster' => [
+ 'summary' => 'Stops a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189470',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbIVKE5B',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BC854513-E85E-54F3-9842-B9CCD3308CDD',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC854513-E85E-54F3-9842-B9CCD3308CDD\\"\\n}","type":"json"}]',
+ 'title' => 'StopBECluster',
+ ],
+ 'StartBECluster' => [
+ 'summary' => 'Starts a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189577',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbIVKE5B',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8yvv09-be',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F203FA74-3041-589F-BE66-E570793A0C91',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F203FA74-3041-589F-BE66-E570793A0C91\\"\\n}","type":"json"}]',
+ 'title' => 'StartBECluster',
+ ],
+ 'RestartDBCluster' => [
+ 'summary' => 'Restarts a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '191294',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbIVKE5B',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源组id',
+ 'description' => 'The resource group ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-4690g37929****',
+ 'pattern' => '',
+ 'default' => '',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源一级ID',
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '地域',
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ 'pattern' => '',
+ 'default' => '',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8yvv09-be',
+ ],
+ ],
+ [
+ 'name' => 'ParallelOperation',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to perform parallel operations on the cluster node.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'BD0D0B17-C145-5B91-BFC2-6791927EE973',
+ ],
+ 'Data' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DBInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'DBClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213c8y****-be',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD0D0B17-C145-5B91-BFC2-6791927EE973\\",\\n \\"Data\\": {\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"DBClusterId\\": \\"selectdb-cn-7213c8y****-be\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'RestartDBCluster',
+ ],
+ 'DeleteDBCluster' => [
+ 'summary' => 'Deletes a cluster from an instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189842',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb59T2BL',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源组ID',
+ 'description' => '代表资源组的资源属性字段',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-4690g37929****',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源一级ID',
+ 'description' => '代表资源一级ID的资源属性字段',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F203FA74-3041-589F-BE66-E570793A0C91',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DBInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'OrderId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '220088764060782',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.OrderProcessing',
+ 'errorMessage' => 'There are orders in process.',
+ ],
+ [
+ 'errorCode' => 'ORDER.INST_HAS_UNPAID_ORDER',
+ 'errorMessage' => 'Instance has unpaid order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.VirtualClusterBound',
+ 'errorMessage' => 'The operation is not permitted due to it has been bound to a virtual cluster.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBClusterState.NotSupport',
+ 'errorMessage' => 'The specified cluster state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterVpc.MismatchWithInstance',
+ 'errorMessage' => 'The specified cluster vpc doesn\'t match with instance.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterInstance.NotFound',
+ 'errorMessage' => 'Specified cluster instance does not exist.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F203FA74-3041-589F-BE66-E570793A0C91\\",\\n \\"Data\\": {\\n \\"DBInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"OrderId\\": \\"220088764060782\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'DeleteDBCluster',
+ ],
+ 'DescribeDBClusterConfig' => [
+ 'summary' => 'Queries the configuration information about a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213180',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration file to be modified.'."\n"
+ ."\n"
+ .'* For a compute cluster, set the value to be.conf.'."\n"
+ .'* For a frontend (FE) cluster, set the value to fe.conf.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'fe.conf' => 'fe.conf',
+ 'be.conf' => 'be.conf',
+ ],
+ 'example' => 'be.conf',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8yvv09-be',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResponse<DescribeDBClusterConfigMaotaiResponse>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceName' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02',
+ ],
+ 'DbInstanceId' => [
+ 'description' => 'The numeric ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => '6585',
+ ],
+ 'DbClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02-be',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '107841167',
+ ],
+ 'Params' => [
+ 'description' => 'The details about each parameter returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'doris_scanner_thread_pool_thread_num',
+ ],
+ 'Optional' => [
+ 'description' => 'The value range of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '[0-20000]',
+ ],
+ 'Comment' => [
+ 'description' => 'The comments on the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The current value of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'ParamCategory' => [
+ 'description' => 'The category of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DefaultValue' => [
+ 'description' => 'The default value of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '15',
+ ],
+ 'IsDynamic' => [
+ 'description' => 'Indicates whether the parameter immediately takes effect without requiring a restart.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'true',
+ ],
+ 'IsUserModifiable' => [
+ 'description' => 'Indicates whether the parameter is modifiable.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DynamicCode' => [
+ 'description' => 'The dynamic code. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'DynamicMessage' => [
+ 'description' => 'The dynamic message. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'An error occurred while processing your request.',
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => 'The details about the access denial. This parameter is returned only if Resource Access Management (RAM) authentication failed.'."\n",
+ 'type' => 'string',
+ 'example' => 'failed',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'ADF42B18-43FD-5100-83A9-BE81AB70C863',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DbInstanceName\\": \\"selectdb-cn-wny3li0****\\",\\n \\"DbInstanceId\\": \\"6585\\",\\n \\"DbClusterId\\": \\"selectdb-cn-wny3li0****-be\\",\\n \\"TaskId\\": 107841167,\\n \\"Params\\": [\\n {\\n \\"Name\\": \\"doris_scanner_thread_pool_thread_num\\",\\n \\"Optional\\": \\"[0-20000]\\",\\n \\"Comment\\": \\"存储引擎并发扫描硬盘的线程数。采用线程池统一管理。\\",\\n \\"Value\\": \\"10\\",\\n \\"ParamCategory\\": \\"查询\\",\\n \\"DefaultValue\\": \\"15\\",\\n \\"IsDynamic\\": 0,\\n \\"IsUserModifiable\\": 0\\n }\\n ]\\n },\\n \\"DynamicCode\\": \\"0\\",\\n \\"DynamicMessage\\": \\"An error occurred while processing your request.\\",\\n \\"AccessDeniedDetail\\": \\"failed\\",\\n \\"RequestId\\": \\"ADF42B18-43FD-5100-83A9-BE81AB70C863\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeDBClusterConfig',
+ ],
+ 'ModifyDBClusterConfig' => [
+ 'summary' => 'Modifies the configurations of a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213179',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '[{\\"name\\":\\"param1\\",\\"value\\":\\"1234577777\\"},{\\"name\\":\\"param2\\",\\"value\\":\\"${yyyyMMdd}\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'ConfigKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'be.conf',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8yvv09-be',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxd8a5h60y',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'SwitchTimeMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ParallelOperation',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to perform parallel operations on the cluster node.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResponse<ModifyDBClusterConfigMaotaiResponse>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02',
+ ],
+ 'DbInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6585',
+ ],
+ 'DbClusterId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02-be',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '107878719',
+ ],
+ ],
+ ],
+ 'DynamicCode' => [
+ 'description' => 'The dynamic code. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'DynamicMessage' => [
+ 'description' => 'The dynamic message. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'An error occurred while processing your request.',
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'failed',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BC854513-E85E-54F3-9842-B9CCD3308CDD',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidConfigName',
+ 'errorMessage' => 'The ConfigName is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameters.Format',
+ 'errorMessage' => 'Specified parameters is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidConfigKey.Malformed',
+ 'errorMessage' => 'The specified parameter "ConfigKey" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidConfigParameters.Malformed',
+ 'errorMessage' => 'The specified parameter "Parameters" is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DbInstanceName\\": \\"selectdb-cn-7213c8*****\\",\\n \\"DbInstanceId\\": \\"6585\\",\\n \\"DbClusterId\\": \\"selectdb-cn-7213c8*****\\",\\n \\"TaskId\\": 107878719\\n },\\n \\"DynamicCode\\": \\"0\\",\\n \\"DynamicMessage\\": \\"An error occurred while processing your request.\\",\\n \\"AccessDeniedDetail\\": \\"failed\\",\\n \\"RequestId\\": \\"BC854513-E85E-54F3-9842-B9CCD3308CDD\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyDBClusterConfig',
+ ],
+ 'DescribeDBClusterConfigChangeLogs' => [
+ 'summary' => 'Queries the configuration change logs of a cluster in an ApsaraDB for SelectDB instance.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213178',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration file that you want to modify. For a compute cluster, set the value to be.conf. For a frontend (FE) cluster, set the value to fe.conf.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'be.conf',
+ ],
+ ],
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8yvv09-be',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-jia3ma3b003',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The beginning of the time range to query. Format: yyyy-MM-dd HH:mm:ss.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2023-04-25T09:48:23Z',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end of the time range to query. Format: yyyy-MM-dd HH:mm:ss.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2023-05-08T15:59:59Z',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResponse<DescribeDBClusterConfigChangeLogsMaotaiResponse>',
+ 'description' => 'PlainResponse'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The information returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceName' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02',
+ ],
+ 'DbInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6585',
+ ],
+ 'DbClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-wny3li00g02-be',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '107841167',
+ ],
+ 'ParamChangeLogs' => [
+ 'description' => 'The parameter change logs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The parameter change log.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => 'The ID of the change log.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '617975',
+ ],
+ 'Name' => [
+ 'description' => 'The parameter name.'."\n",
+ 'type' => 'string',
+ 'example' => 'cumulative_compaction_rounds_for_each_base_compaction_round',
+ ],
+ 'OldValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'NewValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12',
+ ],
+ 'IsApplied' => [
+ 'description' => 'Indicates whether the modification has taken effect.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'GmtCreated' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-10-11T08:53:32Z',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-03-08T10:08Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DynamicCode' => [
+ 'description' => 'The dynamic code. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'DynamicMessage' => [
+ 'description' => 'The dynamic message. This parameter is not returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'An error occurred while processing your request.',
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'failed',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidEndTime.Format',
+ 'errorMessage' => 'Specified end time is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidStartTime.Format',
+ 'errorMessage' => 'Specified start time is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameterCombination',
+ 'errorMessage' => 'The end time must be greater than the start time.',
+ ],
+ [
+ 'errorCode' => 'InvalidConfigKey.Malformed',
+ 'errorMessage' => 'The specified parameter "ConfigKey" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DbInstanceName\\": \\"selectdb-cn-7213c8****\\",\\n \\"DbInstanceId\\": \\"6585\\",\\n \\"DbClusterId\\": \\"selectdb-cn-7213c8****-be\\",\\n \\"TaskId\\": 107841167,\\n \\"ParamChangeLogs\\": [\\n {\\n \\"Id\\": 617975,\\n \\"Name\\": \\"cumulative_compaction_rounds_for_each_base_compaction_round\\",\\n \\"OldValue\\": \\"10\\",\\n \\"NewValue\\": \\"12\\",\\n \\"IsApplied\\": false,\\n \\"GmtCreated\\": \\"2022-10-11T08:53:32Z\\",\\n \\"GmtModified\\": \\"2024-03-08T10:08Z\\"\\n }\\n ]\\n },\\n \\"DynamicCode\\": \\"0\\",\\n \\"DynamicMessage\\": \\"An error occurred while processing your request.\\",\\n \\"AccessDeniedDetail\\": \\"failed\\",\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeDBClusterConfigChangeLogs',
+ ],
+ 'ChangeResourceGroup' => [
+ 'summary' => '资源转组',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '214635',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb7TFVYR',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DBInstance',
+ 'default' => 'Instance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '地域Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-shenzhen',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '目标资源组',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_resource_group',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FCEEA97F-85CA-5A9F-932F-B4BAEA170896',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'MissingParameter.ResourceGroupId',
+ 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.RegionId',
+ 'errorMessage' => 'The RegionId parameters that are required for processing this request are missing.',
+ ],
+ [
+ 'errorCode' => 'InvalidResourceGroup',
+ 'errorMessage' => 'The specified ResourceGroupId is invalid.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceId',
+ 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing.',
+ ],
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.ChangeResourceGroup',
+ 'errorMessage' => 'You are not authorized to change resourcegroup.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FCEEA97F-85CA-5A9F-932F-B4BAEA170896\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAllDBInstanceClass' => [
+ 'summary' => 'Queries the information about all instance specifications.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '211772',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb8OHQ00',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned data.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F'."\n",
+ ],
+ 'ClassCodeList' => [
+ 'description' => 'The instance specifications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The instance specifications.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ClassCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb.xlarge',
+ ],
+ 'CpuCores' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4',
+ ],
+ 'MemoryInGB' => [
+ 'description' => 'The memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '32',
+ ],
+ 'DefaultStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'MinStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'MaxStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2000',
+ ],
+ 'StepStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\\\n\\",\\n \\"ClassCodeList\\": [\\n {\\n \\"ClassCode\\": \\"selectdb.xlarge\\",\\n \\"CpuCores\\": 4,\\n \\"MemoryInGB\\": 16,\\n \\"DefaultStorageInGB\\": 200,\\n \\"MinStorageInGB\\": 100,\\n \\"MaxStorageInGB\\": 2000,\\n \\"StepStorageInGB\\": 100\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeAllDBInstanceClass',
+ ],
+ 'ModifyElasticRule' => [
+ 'summary' => 'Modifies a scheduled scaling rule.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '248788',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cloud service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'selectdb',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-nwy3jv1oa02-be',
+ ],
+ ],
+ [
+ 'name' => 'RuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '5467',
+ ],
+ ],
+ [
+ 'name' => 'ElasticRuleStartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The time when you want to execute the scheduled scaling rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '00:00',
+ ],
+ ],
+ [
+ 'name' => 'ExecutionPeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The execution cycle.'."\n"
+ ."\n"
+ .'Valid value:'."\n"
+ ."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Day' => 'Day',
+ ],
+ 'example' => 'Day',
+ ],
+ ],
+ [
+ 'name' => 'ClusterClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule for computing resources of the required cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5ED62C81-9948-5612-81E1-EA3853752306',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-zpr3if5wq03-be',
+ ],
+ 'RuleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '29252',
+ ],
+ 'ExecutionPeriod' => [
+ 'description' => 'The execution cycle.'."\n"
+ ."\n"
+ .'Valid value:'."\n"
+ ."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Day' => 'Day',
+ ],
+ 'example' => 'Day',
+ ],
+ 'ElasticRuleStartTime' => [
+ 'description' => 'The time when the scheduled scaling rule is executed.'."\n",
+ 'type' => 'string',
+ 'example' => '00:00',
+ ],
+ 'ClusterClass' => [
+ 'description' => 'The rule for computing resources of the required cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.Malformed',
+ 'errorMessage' => 'The specified parameter "RegionId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRuleId.Malformed',
+ 'errorMessage' => 'The specified parameter "RuleId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.GetResourceLockFailed',
+ 'errorMessage' => 'the operator is not permitted due to get resource lock failed.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesClusterIsTheSame',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules cluster class is the same.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesIntervalLessThanOneHour',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules interval less than one hour.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidElasticRuleId.NotFound',
+ 'errorMessage' => 'The ElasticRuleId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterId.NotFound',
+ 'errorMessage' => 'The DBClusterId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5ED62C81-9948-5612-81E1-EA3853752306\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"ClusterId\\": \\"selectdb-cn-zpr3if5wq03-be\\",\\n \\"RuleId\\": 29252,\\n \\"ExecutionPeriod\\": \\"Day\\",\\n \\"ElasticRuleStartTime\\": \\"00:00\\",\\n \\"ClusterClass\\": \\"selectdb.2xlarge\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'ModifyElasticRule',
+ ],
+ 'DescribeElasticRules' => [
+ 'summary' => 'Queries scheduled scaling rules.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '248790',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cloud service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'selectdb',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-nwy3jv1oa02-be',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-nwy3jv1oa02-be'."\n",
+ ],
+ 'Rules' => [
+ 'description' => 'The details of the rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5467',
+ ],
+ 'ExecutionPeriod' => [
+ 'description' => 'The execution cycle.'."\n"
+ ."\n"
+ .'Valid value:'."\n"
+ ."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Day' => 'Day',
+ ],
+ 'example' => 'Day',
+ ],
+ 'ElasticRuleStartTime' => [
+ 'description' => 'The time when you want to execute the scheduled scaling rule.'."\n",
+ 'type' => 'string',
+ 'example' => '00:00',
+ ],
+ 'ClusterClass' => [
+ 'description' => 'The rule for computing resources of the required cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.Malformed',
+ 'errorMessage' => 'The specified parameter "RegionId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterId.NotFound',
+ 'errorMessage' => 'The DBClusterId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\\\n\\",\\n \\"ClusterId\\": \\"selectdb-cn-nwy3jv1oa02-be\\\\n\\",\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 5467,\\n \\"ExecutionPeriod\\": \\"Day\\",\\n \\"ElasticRuleStartTime\\": \\"00:00\\",\\n \\"ClusterClass\\": \\"selectdb.2xlarge\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribeElasticRules',
+ ],
+ 'DescribeDBClusterStorageLimitation' => [
+ 'summary' => '获取集群的各规格缓存限制',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222354',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbMUDYZN',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DBClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213c8****-be',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-28t3qs****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResponse<DescribeAllDBInstanceClassMaotaiResponse>',
+ 'description' => 'PlainResponse<DescribeAllDBInstanceClassMaotaiResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClassCodeList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClassCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectdb.xlarge',
+ ],
+ 'CpuCores' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'MemoryInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '16',
+ ],
+ 'DefaultStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'MinStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'MaxStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '16',
+ ],
+ 'StepStorageInGB' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DynamicCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'DynamicMessage' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'An error occurred while processing your request.',
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'failed',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ClassCodeList\\": [\\n {\\n \\"ClassCode\\": \\"selectdb.xlarge\\",\\n \\"CpuCores\\": 4,\\n \\"MemoryInGB\\": 16,\\n \\"DefaultStorageInGB\\": 8,\\n \\"MinStorageInGB\\": 2,\\n \\"MaxStorageInGB\\": 16,\\n \\"StepStorageInGB\\": 1\\n }\\n ]\\n },\\n \\"DynamicCode\\": \\"0\\",\\n \\"DynamicMessage\\": \\"An error occurred while processing your request.\\",\\n \\"AccessDeniedDetail\\": \\"failed\\",\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteElasticRule' => [
+ 'summary' => 'Deletes a scheduled scaling rule.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '248785',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cloud service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'selectdb',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hanghzou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxx302i5-be',
+ ],
+ ],
+ [
+ 'name' => 'RuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '100458',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the deletion is successful.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.Malformed',
+ 'errorMessage' => 'The specified parameter "RegionId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRuleId.Malformed',
+ 'errorMessage' => 'The specified parameter "RuleId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.GetResourceLockFailed',
+ 'errorMessage' => 'the operator is not permitted due to get resource lock failed.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesClusterIsTheSame',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules cluster class is the same.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesIntervalLessThanOneHour',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules interval less than one hour.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidElasticRuleId.NotFound',
+ 'errorMessage' => 'The ElasticRuleId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterId.NotFound',
+ 'errorMessage' => 'The DBClusterId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => 'DeleteElasticRule',
+ ],
+ 'EnDisableScalingRules' => [
+ 'summary' => 'Uses the scheduled scaling policy.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '248793',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cloud service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb',
+ 'default' => 'selectdb',
+ ],
+ ],
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-nwy3jv1oa02-be',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRulesEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the scheduled scaling policy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-pe33jc1nd01-be',
+ ],
+ 'ScalingRulesEnable' => [
+ 'description' => 'Indicates whether the scheduled scaling policy is enabled.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.Malformed',
+ 'errorMessage' => 'The specified parameter "RegionId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.EnableScalingRules',
+ 'errorMessage' => 'the operator is not permitted due to scaling rule\'s count is less than 2.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.GetResourceLockFailed',
+ 'errorMessage' => 'the operator is not permitted due to get resource lock failed.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBClusterId.NotFound',
+ 'errorMessage' => 'The DBClusterId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\",\\n \\"ClusterId\\": \\"selectdb-cn-pe33jc1nd01-be\\",\\n \\"ScalingRulesEnable\\": true\\n }\\n}","type":"json"}]',
+ 'title' => 'EnDisableScalingRules',
+ ],
+ 'CreateElasticRule' => [
+ 'summary' => 'Creates a scheduled scaling rule.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '248767',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdbVAZKUZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DbInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-xxxb9f2w-be'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ElasticRuleStartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The time when you want to execute the scheduled scaling rule.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '00:00',
+ ],
+ ],
+ [
+ 'name' => 'ExecutionPeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The execution cycle.'."\n"
+ ."\n"
+ .'Valid value:'."\n"
+ ."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'Day' => 'Day',
+ ],
+ 'example' => 'Day',
+ ],
+ ],
+ [
+ 'name' => 'ClusterClass',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule for computing resources of the required cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DbInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb-xxxb9f2w-be',
+ ],
+ 'RuleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5465',
+ ],
+ 'ExecutionPeriod' => [
+ 'description' => 'The execution cycle.'."\n"
+ ."\n"
+ .'Valid value:'."\n"
+ ."\n"
+ .'* Day'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Day' => 'Day',
+ ],
+ 'example' => 'Day',
+ ],
+ 'ElasticRuleStartTime' => [
+ 'description' => 'The time when the scheduled scaling rule is executed.'."\n",
+ 'type' => 'string',
+ 'example' => '00:00',
+ ],
+ 'ClusterClass' => [
+ 'description' => 'The rule for computing resources of the required cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'selectdb.2xlarge',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidDBInstanceId.Malformed',
+ 'errorMessage' => 'The specified parameter "DBInstanceId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterId.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.Malformed',
+ 'errorMessage' => 'The specified parameter "RegionId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidElasticRuleStartTime.Malformed',
+ 'errorMessage' => 'The specified parameter "ElasticRuleStartTime" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidExecutionPeriod.Malformed',
+ 'errorMessage' => 'The specified parameter "ExecutionPeriod" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterClass.Malformed',
+ 'errorMessage' => 'The specified parameter "ClusterClass" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceType',
+ 'errorMessage' => 'The operator is not permitted due to the instance type.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'OperationDenied.GetResourceLockFailed',
+ 'errorMessage' => 'the operator is not permitted due to get resource lock failed.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesClusterIsTheSame',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules cluster class is the same.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.AdjacentRulesIntervalLessThanOneHour',
+ 'errorMessage' => 'the operator is not permitted due to adjacent rules interval less than one hour.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidDBClusterId.NotFound',
+ 'errorMessage' => 'The DBClusterId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\",\\n \\"Data\\": {\\n \\"DbInstanceId\\": \\"selectdb-cn-7213cjv****\\\\n\\",\\n \\"ClusterId\\": \\"selectdb-xxxb9f2w-be\\",\\n \\"RuleId\\": 5465,\\n \\"ExecutionPeriod\\": \\"Day\\",\\n \\"ElasticRuleStartTime\\": \\"00:00\\",\\n \\"ClusterClass\\": \\"selectdb.2xlarge\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateElasticRule',
+ ],
+ 'TagResources' => [
+ 'summary' => '资源打用户标签',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '218998',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DBInstance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ 'required' => true,
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '地域Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_key',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_value',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 21,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.TagResources',
+ 'errorMessage' => 'The operator is not permission for this operate.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRegions' => [
+ 'summary' => 'Queries available regions and zones.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The zone ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing-h',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'F8900A96-67F7-5274-A41B-7722E1ECF8C9'."\n",
+ ],
+ 'RegionModelList' => [
+ 'description' => 'An array of regions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the region.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'Zones' => [
+ 'description' => 'An array of zones.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the zone.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'description' => 'Indicates whether the virtual private cloud (VPC) is available.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h',
+ ],
+ 'VpcEnabled' => [
+ 'description' => 'Indicates whether the VPC is enabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Name' => [
+ 'description' => 'The zone name.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'description' => 'The zone description.'."\n",
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'Disabled' => [
+ 'description' => 'Indicates whether the VPC is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'SubDomain' => [
+ 'description' => 'The subdomain.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h-aliyun',
+ ],
+ 'Label' => [
+ 'description' => 'The label.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8900A96-67F7-5274-A41B-7722E1ECF8C9\\\\n\\",\\n \\"RegionModelList\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Zones\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"VpcEnabled\\": true,\\n \\"Name\\": \\"北京H\\",\\n \\"Description\\": \\"北京H可用区\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Disabled\\": false,\\n \\"SubDomain\\": \\"cn-beijing-h-aliyun\\",\\n \\"Label\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeRegions',
+ ],
+ 'UntagResources' => [
+ 'summary' => '资源去除用户标签',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '219008',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb72PXTX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DBInstance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'selectdb-cn-7213cjv****'."\n",
+ ],
+ 'required' => false,
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '地域Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_key',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '06758CAB-1204-5852-A471-29C87D5C1D0F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.UntagResources',
+ 'errorMessage' => 'The operator is not permission for this operate.',
+ ],
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06758CAB-1204-5852-A471-29C87D5C1D0F\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeZones' => [
+ 'summary' => 'DescribeZones',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb69DNVG',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '40831b4f-d91d-4796-9589-ad306ec528d5',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => 'ADF42B18-43FD-5100-83A9-BE81AB70C863',
+ ],
+ 'Items' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'ZoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-beijing-i',
+ ],
+ ],
+ ],
+ ],
+ 'MaxResults' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '40831b4f-d91d-4796-9589-ad306ec528d5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.Format',
+ 'errorMessage' => 'Specified ClusterName is not valid. It can not be empty string.',
+ ],
+ [
+ 'errorCode' => 'MinorVersionNotSupport',
+ 'errorMessage' => 'The instance version does not support the current operation.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.VirtualClusterBound',
+ 'errorMessage' => 'The operation is not permitted due to it has been bound to a virtual cluster.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADF42B18-43FD-5100-83A9-BE81AB70C863\\",\\n \\"Items\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-beijing-i\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"40831b4f-d91d-4796-9589-ad306ec528d5\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeVSwitches' => [
+ 'summary' => 'DescribeVSwitches',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb69DNVG',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp175iuvg8nxqraf2****',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou-i',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '4ea98363565e4951e0b5e8707e68181f',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '4773E4EC-025D-509F-AEA9-D53123FDFB0F',
+ ],
+ 'TotalRecordCount' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '15',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'Items' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-i',
+ ],
+ 'VSwitchId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-bp1usf8eabhvibkkfde96',
+ ],
+ 'VSwitchName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'subnet',
+ ],
+ ],
+ ],
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '459a0909c0315bfbe0b5e8707e68181f',
+ ],
+ 'MaxResults' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'SystemError',
+ 'errorMessage' => 'A system error occurred while processing your request.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidChargeType.NotSupport',
+ 'errorMessage' => 'The specified parameter "ChargeType" does not meet the requirements.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName.Duplicate',
+ 'errorMessage' => 'Specified DB name already exists in the This instance.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.Format',
+ 'errorMessage' => 'Specified ClusterName is not valid. It can not be empty string.',
+ ],
+ [
+ 'errorCode' => 'MinorVersionNotSupport',
+ 'errorMessage' => 'The instance version does not support the current operation.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.VirtualClusterBound',
+ 'errorMessage' => 'The operation is not permitted due to it has been bound to a virtual cluster.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'InvalidParam',
+ 'errorMessage' => 'Invalid parameter, please check.',
+ ],
+ [
+ 'errorCode' => 'InvalidClusterName.NotFound',
+ 'errorMessage' => 'The specified cluster name is not available.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4773E4EC-025D-509F-AEA9-D53123FDFB0F\\",\\n \\"TotalRecordCount\\": \\"15\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"Items\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchId\\": \\"vsw-bp1usf8eabhvibkkfde96\\",\\n \\"VSwitchName\\": \\"subnet\\"\\n }\\n ],\\n \\"NextToken\\": \\"459a0909c0315bfbe0b5e8707e68181f\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]',
+ ],
+ 'UpgradeDBInstanceDeployScheme' => [
+ 'summary' => 'UpgradeDBInstanceDeployScheme',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220014',
+ 'abilityTreeNodes' => [
+ 'FEATUREselectdb318HEK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'DBInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'selectdb-cn-7213cjv****',
+ ],
+ ],
+ [
+ 'name' => 'MultiZone',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing-k',
+ ],
+ 'VSwitchIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vsw-bp10dbralpn4bzmgkkh8f',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ADF42B18-43FD-5100-83A9-BE81AB70C863',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DocumentConvertFailed.ExceedFileSizeLimit',
+ 'errorMessage' => 'The conversion has been failed, exceed file size limit.',
+ ],
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBName',
+ 'errorMessage' => 'The specified database name is not allowed.',
+ ],
+ [
+ 'errorCode' => 'CreateOrderFailed',
+ 'errorMessage' => 'Failed to create order.',
+ ],
+ [
+ 'errorCode' => 'InvalidZoneId.Duplicated',
+ 'errorMessage' => 'The zones cannot be repeated please select different zones.',
+ ],
+ [
+ 'errorCode' => 'InvalidZoneId.Malformed',
+ 'errorMessage' => 'The specified parameter "ZoneId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidVSwitchId.Malformed',
+ 'errorMessage' => 'The specified parameter "VSwitchId" is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidMultiZone.NotThreeZones',
+ 'errorMessage' => 'The number of zones must be three.',
+ ],
+ [
+ 'errorCode' => 'MinorVersionNotSupport',
+ 'errorMessage' => 'The instance version does not support the current operation.',
+ ],
+ [
+ 'errorCode' => 'ClusterNotSupport',
+ 'errorMessage' => 'Current instance cluster does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidZoneId.Undeployed',
+ 'errorMessage' => 'The zone is undeployed.',
+ ],
+ [
+ 'errorCode' => 'InvalidOperatorType.Malformed',
+ 'errorMessage' => 'The specified operator type is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DBClusterNotSupported',
+ 'errorMessage' => 'The requested operation can not be performed while the cluster is not sale.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceState',
+ 'errorMessage' => 'Current DB instance state does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'InstanceEngineType.NotSupport',
+ 'errorMessage' => 'The instance engine and type does not support operations.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceState.NotSupport',
+ 'errorMessage' => 'The specified instance state does\'t support this operation.',
+ ],
+ [
+ 'errorCode' => 'MoneyLessThan100',
+ 'errorMessage' => 'The Account Monet less Than 100.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.DBNameAndAccountPrivilegeCount',
+ 'errorMessage' => 'The operation is not permitted due to count of database or account privilege.',
+ ],
+ [
+ 'errorCode' => 'InsufficientResourceCapacity',
+ 'errorMessage' => 'The resource is out of usage.',
+ ],
+ [
+ 'errorCode' => 'IncorrectDBInstanceLockMode',
+ 'errorMessage' => 'Current DB instance lock mode does not support this operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'DBInstanceLocked',
+ 'errorMessage' => 'The current instance lock mode does not support this operation.',
+ ],
+ [
+ 'errorCode' => 'IncorrectVswitchId',
+ 'errorMessage' => 'The specified parameter VSwitchId is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidApi.NotFound',
+ 'errorMessage' => 'Specified api is not found, please check your url and method.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstance.NotFound',
+ 'errorMessage' => 'The specified instance is not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceClass.NotFound',
+ 'errorMessage' => 'The specified instance classic does not exist.',
+ ],
+ [
+ 'errorCode' => 'InvalidRegionId.NotFound',
+ 'errorMessage' => 'The provided RegionId does not exist in our records.',
+ ],
+ [
+ 'errorCode' => 'QueryPrice.Failed',
+ 'errorMessage' => 'The inquiry failed. Contact Alibaba Cloud customer service representatives.',
+ ],
+ [
+ 'errorCode' => 'InvalidDBInstanceId.NotFound',
+ 'errorMessage' => 'The DBInstanceId provided does not exist in our records.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADF42B18-43FD-5100-83A9-BE81AB70C863\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-7',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-guangzhou',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-heyuan',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wulanchabu',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'selectdb.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'selectdb.cn-chengdu.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'selectdb.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'selectdb.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'selectdb.cn-huhehaote.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'selectdb.ap-southeast-5.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-6',
+ 'endpoint' => 'selectdb.ap-southeast-6.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'selectdb.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'selectdb.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'selectdb.eu-west-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'selectdb.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'selectdb.us-east-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'selectdb.us-west-1.aliyuncs.com',
+ ],
+ ],
+];