'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Drds', 'version' => '2017-10-16', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'CreateDrdsAccount', 'CreateDrdsDB', 'CreateDrdsInstance', 'CreateReadOnlyAccount', 'DeleteDrdsDB', 'DeleteFailedDrdsDB', 'DescribeDrdsDB', 'DescribeDrdsDBIpWhiteList', 'DescribeDrdsDBs', 'DescribeDrdsInstance', 'DescribeDrdsInstanceDbMonitor', 'DescribeDrdsInstanceMonitor', 'DescribeDrdsInstances', 'DescribeRdsList', 'DescribeReadOnlyAccount', 'DescribeRegions', 'DescribeShardDBs', 'EnableInstance', 'ModifyDrdsDBPasswd', 'ModifyDrdsInstanceDescription', 'ModifyDrdsIpWhiteList', 'ModifyFullTableScan', 'ModifyRdsReadWeight', 'ModifyReadOnlyAccountPassword', 'QueryInstanceInfoByConn', 'RemoveDrdsInstance', 'RemoveReadOnlyAccount', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateDrdsAccount' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76425', 'abilityTreeNodes' => [ 'FEATUREdrds0ML0VG', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'drdsusrzimk2****', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'testdb', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'testaccount', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'Test!123', 'required' => false, 'type' => 'string', 'default' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'Success' => [ 'description' => '', 'example' => 'true', 'type' => 'boolean', ], 'RequestId' => [ 'description' => '', 'example' => '890BB376-5746-4145-A088-4E610EF3WERT', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'InvalidAccountName.Duplicate', 'errorMessage' => 'Account already exists', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"890BB376-5746-4145-A088-4E610EF3WERT\\"\\n}","errorExample":""},{"type":"xml","example":"890BB376-5746-4145-A088-4E610EF3WERT\\ntrue","errorExample":""}]', 'extraInfo' => ' ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'title' => 'CreateDrdsAccount', ], 'CreateDrdsDB' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'drdssen12****', ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'test123', ], ], [ 'name' => 'Encode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'utf8', 'enum' => [ 'utf8', 'gbk', 'latin1', 'utf8mb4', ], ], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '*********', ], ], [ 'name' => 'RdsInstances', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '[“rdsId1”, “rdsId2”]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '8734773E-7B21-4A22-9106-CBD245F8TG57', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'RDS instance and drds instance must belong to owner', ], [ 'errorCode' => 'QuotaExceeded.DrdsDB', 'errorMessage' => 'The quota of create DrdsDB exceeds.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified parameter Dbname is not valid.', ], [ 'errorCode' => 'InvalidEncode.ValueNotSupported', 'errorMessage' => 'The specified parameter encode is not valid.', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidRds.MalFormed', 'errorMessage' => 'The rds is invalide', ], [ 'errorCode' => 'InvalidDbprefixOrPassword.MalFormed', 'errorMessage' => 'The dbprefix or password is invalid', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'OperationDenied.RdsDbNameExists', 'errorMessage' => 'The operation is not permitted due to Rds DbName exist.', ], [ 'errorCode' => 'InvalidDbprefixDuplicated', 'errorMessage' => 'db name in this drds instance duplicate', ], [ 'errorCode' => 'OperationDenied.RdsAccoutExists', 'errorMessage' => 'The operation is not permitted due to Rds accout exist.', ], [ 'errorCode' => 'InvalidParameter.DbprefixCannotEndWithUnderline', 'errorMessage' => 'DB prefix can not end up with underline.', ], [ 'errorCode' => 'InvalidRds.RegionNotMatch', 'errorMessage' => 'The rds region does not match Drds region', ], [ 'errorCode' => 'InvalidDbNumber.DBNumberExceed', 'errorMessage' => 'The db number in this drds has exceed, please create drds db in another drds instance', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please create db later', ], [ 'errorCode' => 'InvalidDBName.AlreadExist', 'errorMessage' => 'This drds db name alread exist in this instance', ], [ 'errorCode' => 'InvalidRds.RdsNotFound', 'errorMessage' => 'rds not found under this account', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"8734773E-7B21-4A22-9106-CBD245F8TG57\\"\\n}","errorExample":""},{"type":"xml","example":"8734773E-7B21-4A22-9106-CBD245F8TG57\\ntrue","errorExample":""}]', 'title' => 'CreateDrdsDB', ], 'CreateDrdsInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76427', 'abilityTreeNodes' => [ 'FEATUREdrdsO50E25', ], ], 'parameters' => [ [ 'name' => 'Description', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'This is a test instance', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'cn-hangzhou', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'cn-hangzhou-e', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'PRIVATE', 'required' => true, 'type' => 'string', 'enum' => [ 'PRIVATE', 'PUBLIC', '1', '0', ], ], ], [ 'name' => 'Quantity', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => '1', 'format' => 'int32', 'required' => true, 'type' => 'integer', ], ], [ 'name' => 'InstanceSeries', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'drds.sn2.4c16g ', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'Specification', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'drds.sn2.4c8g.8C16G', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => [ 'description' => '', 'docRequired' => true, 'example' => 'drdsPre', 'required' => true, 'type' => 'string', 'enum' => [ 'drdsPost', 'drdsPre', ], ], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'vpc-en23cxsel1', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'VswitchId', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'vsw-ewk32dsk', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'IsHa', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'false', 'required' => false, 'type' => 'boolean', ], ], [ 'name' => 'PricingCycle', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'month', 'required' => false, 'type' => 'string', 'enum' => [ 'year', 'month', ], ], ], [ 'name' => 'Duration', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '5', 'format' => 'int32', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'IsAutoRenew', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'true', 'required' => false, 'type' => 'boolean', 'default' => 'false', ], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'DEWCEWQA', 'required' => false, 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'Success' => [ 'description' => '', 'example' => 'true', 'type' => 'boolean', ], 'RequestId' => [ 'description' => '', 'example' => 'FF13E47D-4E38-4A5A-BA68-32A554RTY67H', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'OrderId' => [ 'description' => '', 'example' => '2334632414', 'format' => 'int64', 'type' => 'integer', ], 'DrdsInstanceIdList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DrdsInstanceId' => [ 'type' => 'array', 'items' => [ 'description' => '', 'example' => 'drdsjwe23ds23,drdsjwe23ds24', 'type' => 'string', ], ], ], ], ], 'type' => 'object', ], ], 'type' => 'object', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ParameterError', 'errorMessage' => 'Parameter error', ], [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'OperationDenied', 'errorMessage' => 'drds service is not enable for you', ], [ 'errorCode' => 'QuotaExceeded.DRDSInstance', 'errorMessage' => 'The quota of create instance exceeds.', ], [ 'errorCode' => 'InvalidRegionId.NotFound', 'errorMessage' => 'The RegionId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDescription.MalFormed', 'errorMessage' => 'The specified parameter description is not valid.', ], [ 'errorCode' => 'CommunicateWithManager.Error', 'errorMessage' => 'Internal Error. Communicate with drds manager error', ], [ 'errorCode' => 'InvalidVSwitchId', 'errorMessage' => 'Invalid vswitchId', ], [ 'errorCode' => 'InvalidVpcId', 'errorMessage' => 'Invalid vpcId, or the region of vpc does not match', ], [ 'errorCode' => 'InvalidZoneId.Mismatch', 'errorMessage' => 'zone is illegal in this order', ], [ 'errorCode' => 'LowInventory.ServerError', 'errorMessage' => 'low inventory error', ], [ 'errorCode' => 'publicInstanceAlreadExist.Error', 'errorMessage' => 'a public Drds instance is exist', ], [ 'errorCode' => 'CreateDRDSInstanceId.Error', 'errorMessage' => 'create Drds instance id error', ], [ 'errorCode' => 'ResourceInsufficient', 'errorMessage' => 'resource is Insufficient', ], [ 'errorCode' => 'AnotherOrderExist.Error', 'errorMessage' => 'there is another order', ], [ 'errorCode' => 'InstanceExceedLimit.Error', 'errorMessage' => 'instance number has exceeded', ], [ 'errorCode' => 'InvalidParameter.Quantity', 'errorMessage' => 'Invalid parameter of quantity', ], [ 'errorCode' => 'InvalidParameter.RegionId', 'errorMessage' => 'Invalid parameter of region id', ], [ 'errorCode' => 'InvalidParameter.ZoneId', 'errorMessage' => 'Invalid parameter of zone id', ], [ 'errorCode' => 'InvalidParameter.PayType', 'errorMessage' => 'Invalid parameter of pay type', ], [ 'errorCode' => 'InvalidParameter.Spection', 'errorMessage' => 'Invalid parameter of specification', ], [ 'errorCode' => 'InvalidParameter.Series', 'errorMessage' => 'Invalid parameter of series', ], [ 'errorCode' => 'InvalidParameter.duration_pricingCycle', 'errorMessage' => 'when payType=drdsPre, duration and pricingCycle is required', ], [ 'errorCode' => 'InvalidParameter.year.duration', 'errorMessage' => 'when pricingCycle=year, duration must between 1 to 3', ], [ 'errorCode' => 'InvalidParameter.month.duration', 'errorMessage' => 'when pricingCycle=month, duration must between 1 to 9', ], [ 'errorCode' => 'InvalidDRDSInstanceType.Error', 'errorMessage' => 'Invalid parameter of Type, public is not supported', ], [ 'errorCode' => 'QueryVSwitchFailed.InvalidVpcIdOrServerError', 'errorMessage' => 'Query VSwitch failed, please check vpcId', ], [ 'errorCode' => 'RegionNotSupportVPC.Error', 'errorMessage' => 'This region does not support vpc instance', ], [ 'errorCode' => 'UserAccountVerify.Failed', 'errorMessage' => 'User account verify failed. Please verify first', ], [ 'errorCode' => 'Invalid vswitchId', 'errorMessage' => 'Invalid vpcId, or the region of vpc does not match', ], [ 'errorCode' => 'Duplicate.client.token', 'errorMessage' => 'The request may have been successful, refused to submit duplicate', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"FF13E47D-4E38-4A5A-BA68-32A554RTY67H\\",\\n \\"Data\\": {\\n \\"OrderId\\": 2334632414,\\n \\"DrdsInstanceIdList\\": {\\n \\"DrdsInstanceId\\": [\\n \\"drdsjwe23ds23,drdsjwe23ds24\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"FF13E47D-4E38-4A5A-BA68-32A554RTY67H\\n\\n 2334632414\\n \\n drdsjwe23ds23,drdsjwe23ds24\\n \\n\\ntrue","errorExample":""}]', 'extraInfo' => ' ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'title' => 'CreateDrdsInstance', ], 'CreateReadOnlyAccount' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76428', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'password', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'properties' => [ 'DrdsInstanceId' => [ 'type' => 'string', ], 'DbName' => [ 'type' => 'string', ], 'AccountName' => [ 'type' => 'string', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDbUserName.NotFound', 'errorMessage' => 'The Username of db is not valid.', ], [ 'errorCode' => 'UpdateDbUserPasswordFailed', 'errorMessage' => 'update password failed', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please try again later', ], [ 'errorCode' => 'CreateReadOnlyAccount.Failed', 'errorMessage' => 'Create read only account failed, please try again later.', ], [ 'errorCode' => 'InvalidInstanceStatus.NotRunning', 'errorMessage' => 'The Instance is not in running status', ], [ 'errorCode' => 'InvalidDbStatus.NotRunning', 'errorMessage' => 'The drds database is not in running status', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DeleteDrdsDB' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76429', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DbIsCreating', 'errorMessage' => 'The specified db is in creating status', ], [ 'errorCode' => 'InvalidDbname.DeleteStatusOrFailed', 'errorMessage' => 'The specified db is in deleting status or failed status', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'ExistedNotCompleteAsynTask.ExistedAsynTask', 'errorMessage' => 'There exist an unfinished asynchronous task', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please create db later', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DeleteFailedDrdsDB' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76430', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DbIsCreating', 'errorMessage' => 'The specified db is in creating status', ], [ 'errorCode' => 'InvalidDbname.DeleteStatusOrFailed', 'errorMessage' => 'The specified db is in deleting status or failed status', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified parameter dbname is not valid.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsDB' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76432', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'properties' => [ 'Msg' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'integer', 'format' => 'int32', ], 'DbName' => [ 'type' => 'string', ], 'Mode' => [ 'type' => 'string', ], 'CreateTime' => [ 'type' => 'string', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsDBIpWhiteList' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'properties' => [ 'IpWhiteList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Ip' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'InvalidInstanceStatus.NotRunning', 'errorMessage' => 'The Instance is not in running status', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsDBs' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Db' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Msg' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'integer', 'format' => 'int32', ], 'DbName' => [ 'type' => 'string', ], 'Mode' => [ 'type' => 'string', ], 'CreateTime' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76436', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'drdshbga33pe****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B4F76641-BA45-4320-BE7C-9C62CFDAC9B2', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'VpcCloudInstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'oogbx6c2atj****', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => '0', ], 'Type' => [ 'description' => '', 'type' => 'string', 'example' => '0', ], 'Specification' => [ 'description' => '', 'type' => 'string', 'example' => 'drds.sn1.4c8g.8C16G', ], 'Description' => [ 'description' => '', 'type' => 'string', 'example' => '111111', ], 'Version' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'CreateTime' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1568620311000', ], 'ZoneId' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou-e', ], 'DrdsInstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'drdshbga33pe****', ], 'NetworkType' => [ 'description' => '', 'type' => 'string', 'example' => 'VPC', ], 'RegionId' => [ 'description' => '', 'type' => 'string', 'example' => 'China (Hangzhou)', ], 'Vips' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Vip' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VpcId' => [ 'description' => '', 'type' => 'string', 'example' => 'vpc-en23cx****', ], 'Type' => [ 'description' => '', 'type' => 'string', 'example' => 'VPC', ], 'VswitchId' => [ 'description' => '', 'type' => 'string', 'example' => 'vsw-ewk3****', ], 'Port' => [ 'description' => '', 'type' => 'string', 'example' => '3306', ], 'IP' => [ 'description' => '', 'type' => 'string', 'example' => '1.2.XX.XX', ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"B4F76641-BA45-4320-BE7C-9C62CFDAC9B2\\",\\n \\"Data\\": {\\n \\"VpcCloudInstanceId\\": \\"oogbx6c2atj****\\",\\n \\"Status\\": \\"0\\",\\n \\"Type\\": \\"0\\",\\n \\"Specification\\": \\"drds.sn1.4c8g.8C16G\\",\\n \\"Description\\": \\"111111\\",\\n \\"Version\\": 0,\\n \\"CreateTime\\": 1568620311000,\\n \\"ZoneId\\": \\"cn-hangzhou-e\\",\\n \\"DrdsInstanceId\\": \\"drdshbga33pe****\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"RegionId\\": \\"China (Hangzhou)\\",\\n \\"Vips\\": {\\n \\"Vip\\": [\\n {\\n \\"VpcId\\": \\"vpc-en23cx****\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VswitchId\\": \\"vsw-ewk3****\\",\\n \\"Port\\": \\"3306\\",\\n \\"IP\\": \\"1.2.XX.XX\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"B4F76641-BA45-4320-BE7C-9C62CFDAC9B2\\n\\n 0\\n 0\\n 111111\\n cn-hangzhou-e\\n drdshbga33pe****\\n 0\\n VPC\\n 1568620311000\\n oogbx6c2atj****\\n drds.sn1.4c8g.8C16G\\n China (Hangzhou)\\n \\n \\n VPC\\n vpc-en23cx****\\n 3306\\n 1.2.XX.XX\\n vsw-ewk3****\\n \\n \\n\\ntrue","errorExample":""}]', 'title' => 'DescribeDrdsInstance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDrdsInstanceDbMonitor' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76437', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'PartialPerformanceData' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => [ 'type' => 'string', ], 'Unit' => [ 'type' => 'string', ], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'PerformanceValue' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Date' => [ 'type' => 'integer', 'format' => 'int64', ], 'Value' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'Invalid parameter of key', ], [ 'errorCode' => 'InvalidParameter.time', 'errorMessage' => 'The startTime and endTime must in one week', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId or DbName provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The DrdsInstanceId or DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsInstanceMonitor' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76438', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'PeriodMultiple', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'PartialPerformanceData' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => [ 'type' => 'string', ], 'Unit' => [ 'type' => 'string', ], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'PerformanceValue' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Date' => [ 'type' => 'integer', 'format' => 'int64', ], 'Value' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'Invalid parameter of key', ], [ 'errorCode' => 'InvalidParameter.time', 'errorMessage' => 'The startTime and endTime must in one week', ], [ 'errorCode' => 'InvalidParameter.periodMultiple', 'errorMessage' => 'The periodMultiple is too larger than the time between startTime and endTime', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeDrdsInstances' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76440', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'PRIVATE', 'PUBLIC', '1', '0', ], ], ], [ 'name' => 'Tags', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Instance' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'string', ], 'CreateTime' => [ 'type' => 'integer', 'format' => 'int64', ], 'MasterInstId' => [ 'type' => 'string', ], 'NetworkType' => [ 'type' => 'string', ], 'RegionId' => [ 'type' => 'string', ], 'VpcCloudInstanceId' => [ 'type' => 'string', ], 'Description' => [ 'type' => 'string', ], 'Version' => [ 'type' => 'integer', 'format' => 'int64', ], 'DrdsInstanceId' => [ 'type' => 'string', ], 'ZoneId' => [ 'type' => 'string', ], 'InstRole' => [ 'type' => 'string', ], 'Vips' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Vip' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VpcId' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], 'VswitchId' => [ 'type' => 'string', ], 'Port' => [ 'type' => 'string', ], 'IP' => [ 'type' => 'string', ], ], ], ], ], ], 'SlaveInstId' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'instId' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidRegionId.NotFound', 'errorMessage' => 'The RegionId provided does not exist in our records.', ], [ 'errorCode' => 'TagService.%s', 'errorMessage' => 'TagService return errorMsg: %s', ], [ 'errorCode' => 'InvalidParameter.tagKey', 'errorMessage' => 'Check the parameter tagKey %s', ], [ 'errorCode' => 'InvalidParameter.tagValue', 'errorMessage' => 'Check the parameter tagValue %s', ], [ 'errorCode' => 'InvalidParameter.tags.exceed', 'errorMessage' => 'Tags num exceed 50', ], [ 'errorCode' => 'InvalidParameter.tags.json.error', 'errorMessage' => 'The parameter tags is not a JsonArray', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeRdsList' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76441', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'RdsInstance' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ConnectUrl' => [ 'type' => 'string', ], 'ReadWeight' => [ 'type' => 'integer', 'format' => 'int32', ], 'DbType' => [ 'type' => 'string', ], 'InstanceName' => [ 'type' => 'string', ], 'InstanceStatus' => [ 'type' => 'string', ], 'InstanceId' => [ 'type' => 'integer', 'format' => 'int32', ], 'Port' => [ 'type' => 'integer', 'format' => 'int32', ], 'ReadOnlyChildren' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Child' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ConnectUrl' => [ 'type' => 'string', ], 'ReadWeight' => [ 'type' => 'integer', 'format' => 'int32', ], 'DbType' => [ 'type' => 'string', ], 'InstanceName' => [ 'type' => 'string', ], 'InstanceStatus' => [ 'type' => 'string', ], 'InstanceId' => [ 'type' => 'string', ], 'port' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'DescribeReadOnlyAccount' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76442', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'drdsusrzimk2****', ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testdb', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '890BB376-5746-4145-A088-4E610EF312QA', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DrdsInstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'drdsusrzimk2****', ], 'DbName' => [ 'description' => '', 'type' => 'string', 'example' => 'testdb', ], 'AccountName' => [ 'description' => '', 'type' => 'string', 'example' => 'testaccount', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDbUserName.NotFound', 'errorMessage' => 'The Username of db is not valid.', ], [ 'errorCode' => 'UpdateDbUserPasswordFailed', 'errorMessage' => 'update password failed', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'InvalidInstanceStatus.NotRunning', 'errorMessage' => 'The Instance is not in running status', ], [ 'errorCode' => 'InvalidDbStatus.NotRunning', 'errorMessage' => 'The drds database is not in running status', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"890BB376-5746-4145-A088-4E610EF312QA\\",\\n \\"Data\\": {\\n \\"DrdsInstanceId\\": \\"drdsusrzimk2****\\",\\n \\"DbName\\": \\"testdb\\",\\n \\"AccountName\\": \\"testaccount\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n 890BB376-5746-4145-A088-4E610EF312QA\\n \\n drdsusrzimk2****\\n testdb\\n testaccount\\n \\n","errorExample":""}]', 'title' => 'DescribeReadOnlyAccount', ], 'DescribeRegions' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76443', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'DrdsRegions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DrdsRegion' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ZoneId' => [ 'type' => 'string', ], 'RegionName' => [ 'type' => 'string', ], 'ZoneName' => [ 'type' => 'string', ], 'RegionId' => [ 'type' => 'string', ], 'InstanceSeriesList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InstanceSeries' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SeriesName' => [ 'type' => 'string', ], 'SeriesId' => [ 'type' => 'string', ], 'SpecList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Spec' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SpecId' => [ 'type' => 'string', ], 'SpecName' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'responseDemo' => null, ], 'DescribeShardDBs' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76445', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DbIntancePair' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SubDbName' => [ 'type' => 'string', ], 'GroupName' => [ 'type' => 'string', ], 'InstanceName' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'EnableInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'docRequired' => true, ], ], [ 'name' => 'RestoreTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SourceDbInstId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'DbInstanceClass', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SwitchId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'EngineVersion', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'type' => 'string', ], 'Result' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => null, ], 'ModifyDrdsDBPasswd' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76446', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'NewPasswd', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDbUserName.NotFound', 'errorMessage' => 'The Username of db is not valid.', ], [ 'errorCode' => 'UpdateDbUserPasswordFailed', 'errorMessage' => 'update password failed', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please create db later', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'ModifyDrdsInstanceDescription' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76447', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'drdshbga33pe****', ], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'This is a test instance.', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B4F76641-BA45-4320-BE7C-9C62CFDAR56T', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'InvalidDescription.MalFormed', 'errorMessage' => 'The specified parameter description is not valid.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidParameters.DescriptionTooLong', 'errorMessage' => 'The drds description is too long', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"B4F76641-BA45-4320-BE7C-9C62CFDAR56T\\"\\n}","errorExample":""},{"type":"xml","example":"B4F76641-BA45-4320-BE7C-9C62CFDAR56T\\ntrue","errorExample":""}]', 'title' => 'ModifyDrdsInstanceDescription', ], 'ModifyDrdsIpWhiteList' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76448', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'IpWhiteList', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Mode', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, 'default' => 'true', ], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'GroupAttribute', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'NumberIpWhiteList.Error', 'errorMessage' => 'The number of ip in the whilte list must be less than 300', ], [ 'errorCode' => 'ModifyIpwhiteListError.VPCInstance', 'errorMessage' => 'The Ip whitelist of VPC instance is not changeable.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'MaxIpGroupExceed', 'errorMessage' => 'The number of ip group exceed.', ], [ 'errorCode' => 'MaxIpNumberExceed', 'errorMessage' => 'The number of ip exceed.', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'ModifyFullTableScan' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76449', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TableNames', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'FullTableScan', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidParameter.PartitionTableNotFound', 'errorMessage' => 'The specified table name does not match.', ], [ 'errorCode' => 'InvalidAction.ConflictWithAnotherAction', 'errorMessage' => 'The specified action conflict with another.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'OperationFailed.ModifyFullTableScan', 'errorMessage' => 'Modify full table scan failed, please try again later', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'ModifyRdsReadWeight' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'InstanceNames', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Weights', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'ServiceUnable', 'errorMessage' => 'The service is not available now, please try again later', ], [ 'errorCode' => 'InvalidParameter.Mismatch', 'errorMessage' => 'The specified parameter does not match.', ], [ 'errorCode' => 'InvalidDbname.MalFormed', 'errorMessage' => 'The specified db name does not match.', ], [ 'errorCode' => 'InvalidAction.ConflictWithAnotherAction', 'errorMessage' => 'The specified action conflict with another.', ], [ 'errorCode' => 'InvalidParameter.InvalidMainInstance', 'errorMessage' => 'The specified main rds instance is invalid.', ], [ 'errorCode' => 'InvalidParameter.IllegalWeightParameter', 'errorMessage' => 'The specified parameter weight is invalid', ], [ 'errorCode' => 'InvalidParameter.InvalidRdsReadInstance_NotFound', 'errorMessage' => 'The specified read rds instance not found.', ], [ 'errorCode' => 'InvalidStatus.RdsReadInstance', 'errorMessage' => 'The specified rds read instance is in wrong status.', ], [ 'errorCode' => 'InvalidMainInstance.WeightNotFound', 'errorMessage' => 'The specified main instance does not have weight configuration.', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please create db later', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'ModifyReadOnlyAccountPassword' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76451', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'OriginPassword', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'NewPasswd', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDbUserName.NotFound', 'errorMessage' => 'The Username of db is not valid.', ], [ 'errorCode' => 'UpdateDbUserPasswordFailed', 'errorMessage' => 'update password failed', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'InvalidAccountOrPassword.MalFormed', 'errorMessage' => 'Invalid account name or password.', ], [ 'errorCode' => 'UpdateDbUserPassword.Failed', 'errorMessage' => 'Update password failed, Please try again later', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please try again later', ], [ 'errorCode' => 'InvalidReadOnlyAccount.NotFound', 'errorMessage' => 'read only account not found.', ], [ 'errorCode' => 'InvalidInstanceStatus.NotRunning', 'errorMessage' => 'The Instance is not in running status', ], [ 'errorCode' => 'InvalidDbStatus.NotRunning', 'errorMessage' => 'The drds database is not in running status', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'QueryInstanceInfoByConn' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76452', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'Host', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Port', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, ], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'object', 'properties' => [ 'Type' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'string', ], 'Specification' => [ 'type' => 'string', ], 'CreateTime' => [ 'type' => 'integer', 'format' => 'int64', ], 'SpecTypeId' => [ 'type' => 'string', ], 'NetworkType' => [ 'type' => 'string', ], 'RegionId' => [ 'type' => 'string', ], 'SpecTypeName' => [ 'type' => 'string', ], 'VpcCloudInstanceId' => [ 'type' => 'string', ], 'Description' => [ 'type' => 'string', ], 'Version' => [ 'type' => 'integer', 'format' => 'int64', ], 'DrdsInstanceId' => [ 'type' => 'string', ], 'ZoneId' => [ 'type' => 'string', ], 'Vips' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Vip' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VpcId' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], 'VswitchId' => [ 'type' => 'string', ], 'Port' => [ 'type' => 'string', ], 'IP' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'RemoveDrdsInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'RemoveDrdsDBFirst', 'errorMessage' => 'There are Drds DB exist in this instance. Please delete drds db first', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceStatus', 'errorMessage' => 'The drds instance is not in running status, please try again later', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], 'RemoveReadOnlyAccount' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '76454', 'abilityTreeNodes' => [ 'FEATUREdrds25BO3L', ], ], 'parameters' => [ [ 'name' => 'DrdsInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DbName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Success' => [ 'type' => 'boolean', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ActionUnauthorized', 'errorMessage' => 'The specified action is not available for you', ], [ 'errorCode' => 'DrdsVersionIsOld', 'errorMessage' => 'This drds instance version too old.not allow create drds db', ], [ 'errorCode' => 'InvalidPassword.MalFormed', 'errorMessage' => 'The specified parameter password is not valid.', ], [ 'errorCode' => 'InvalidDbUserName.NotFound', 'errorMessage' => 'The Username of db is not valid.', ], [ 'errorCode' => 'UpdateDbUserPasswordFailed', 'errorMessage' => 'update password failed', ], [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records', ], [ 'errorCode' => 'OperationDenied.DrdsInstanceUpgrading', 'errorMessage' => 'The drds instance is upgrading, please try again later', ], [ 'errorCode' => 'OperationFailed.RemoveDbUserFailed', 'errorMessage' => 'Remove readonly account failed, please try again later', ], [ 'errorCode' => 'InvalidReadOnlyAccount.NotFound', 'errorMessage' => 'read only account not found.', ], [ 'errorCode' => 'InvalidInstanceStatus.NotRunning', 'errorMessage' => 'The Instance is not in running status', ], [ 'errorCode' => 'InvalidDbStatus.NotRunning', 'errorMessage' => 'The drds database is not in running status', ], ], 404 => [ [ 'errorCode' => 'InvalidDRDSInstanceId.NotFound', 'errorMessage' => 'The DrdsInstanceId provided does not exist in our records.', ], [ 'errorCode' => 'InvalidDbName.NotFound', 'errorMessage' => 'The Drds DbName provided does not exist in our records.', ], ], 500 => [ [ 'errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => null, ], ], 'endpoints' => [ [ 'regionId' => 'ap-northeast-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-2-pop', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-south-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-2', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-3', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-gov-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-edge-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-fujian', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao-nebula', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-inner', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-inner', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-wuhan', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-yushanfang', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'drds.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'eu-west-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'eu-west-1-oxs', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'me-east-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'rus-west-1-pop', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'us-west-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'drds.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'drds.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'drds.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'drds.cn-hongkong.aliyuncs.com', ], [ 'regionId' => 'cn-huhehaote', 'endpoint' => 'drds.cn-huhehaote.aliyuncs.com', ], [ 'regionId' => 'cn-north-2-gov-1', 'endpoint' => 'drds.cn-north-2-gov-1.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao', 'endpoint' => 'drds.cn-qingdao.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'drds.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'drds.cn-shanghai-finance-1.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'drds.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'drds.cn-shenzhen-finance-1.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'drds.cn-zhangjiakou.aliyuncs.com', ], [ 'regionId' => 'us-east-1', 'endpoint' => 'drds.us-east-1.aliyuncs.com', ], ], ];