diff options
Diffstat (limited to 'data/en_us/dbs')
| -rw-r--r-- | data/en_us/dbs/2019-03-06/api-docs.php | 9648 | ||||
| -rw-r--r-- | data/en_us/dbs/2021-01-01/api-docs.php | 5364 |
2 files changed, 3665 insertions, 11347 deletions
diff --git a/data/en_us/dbs/2019-03-06/api-docs.php b/data/en_us/dbs/2019-03-06/api-docs.php index 4d02b2c..50dfd56 100644 --- a/data/en_us/dbs/2019-03-06/api-docs.php +++ b/data/en_us/dbs/2019-03-06/api-docs.php @@ -1,86 +1,39 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dbs', - 'version' => '2019-03-06', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dbs', 'version' => '2019-03-06'], 'directories' => [ [ - 'children' => [ - 'CreateBackupPlan', - 'CreateAndStartBackupPlan', - 'StartBackupPlan', - 'StopBackupPlan', - 'ModifyBackupObjects', - 'ModifyBackupSourceEndpoint', - 'ModifyBackupPlanName', - 'DescribeBackupPlanList', - 'DescribeBackupPlanBilling', - 'ConfigureBackupPlan', - 'ReleaseBackupPlan', - ], + 'children' => ['CreateBackupPlan', 'CreateAndStartBackupPlan', 'StartBackupPlan', 'EnableBackupLog', 'StopBackupPlan', 'DisableBackupLog', 'ModifyBackupObjects', 'ModifyBackupSourceEndpoint', 'ModifyStorageStrategy', 'ModifyBackupPlanName', 'ModifyBackupStrategy', 'DescribeBackupPlanList', 'DescribeRestoreRangeInfo', 'DescribeBackupPlanBilling', 'ConfigureBackupPlan', 'RenewBackupPlan', 'UpgradeBackupPlan', 'ReleaseBackupPlan'], 'type' => 'directory', - 'title' => 'Backup schedules', + 'title' => 'Backup plan', ], [ - 'children' => [ - 'DescribeIncrementBackupList', - 'DescribeFullBackupList', - ], + 'children' => ['DescribeIncrementBackupList', 'DescribeFullBackupList'], 'type' => 'directory', - 'title' => 'Backup tasks', + 'title' => 'Backup task', ], [ - 'children' => [ - 'CreateRestoreTask', - 'StartRestoreTask', - 'DescribeRestoreTaskList', - ], + 'children' => ['CreateRestoreTask', 'StartRestoreTask', 'DescribeRestoreTaskList'], 'type' => 'directory', - 'title' => 'Restoration tasks', + 'title' => 'Restore task', ], [ - 'children' => [ - 'DescribeBackupGatewayList', - ], + 'children' => ['DescribeBackupGatewayList'], 'type' => 'directory', - 'title' => 'Backup gateways', + 'title' => 'Backup gateway', ], [ - 'children' => [ - 'CreateFullBackupSetDownload', - 'DescribeBackupSetDownloadTaskList', - ], + 'children' => ['CreateFullBackupSetDownload', 'CreateIncrementBackupSetDownload', 'ModifyBackupSetDownloadRules', 'DescribeBackupSetDownloadTaskList'], 'type' => 'directory', 'title' => 'Backup set download', ], [ - 'children' => [ - 'DescribeJobErrorCode', - 'DescribePreCheckProgressList', - 'DescribeRegions', - 'InitializeDbsServiceLinkedRole', - ], + 'children' => ['CreateGetDBListFromAgentTask', 'DescribeNodeCidrList', 'DescribeJobErrorCode', 'DescribePreCheckProgressList', 'DescribeDLAService', 'GetDBListFromAgent', 'InitializeDbsServiceLinkedRole'], 'type' => 'directory', 'title' => 'Service management', ], [ - 'children' => [ - 'CreateGetDBListFromAgentTask', - 'CreateIncrementBackupSetDownload', - 'DescribeDLAService', - 'DescribeNodeCidrList', - 'DescribeRestoreRangeInfo', - 'DisableBackupLog', - 'EnableBackupLog', - 'GetDBListFromAgent', - 'ModifyBackupSetDownloadRules', - 'ModifyBackupStrategy', - 'ModifyStorageStrategy', - 'RenewBackupPlan', - 'UpgradeBackupPlan', - ], + 'children' => ['DescribeRegions'], 'title' => 'Others', 'type' => 'directory', ], @@ -90,15 +43,8 @@ ], 'apis' => [ 'ConfigureBackupPlan' => [ - 'summary' => 'Configures a DBS backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -109,467 +55,271 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi0*******', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. You can call [DescribeBackupPlanList](~~2869825~~) to query the backup plan ID.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi0*******', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database source. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **ECS**'."\n" - ."\n" - .'- **Express**: A database connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- **Agent**: A database connected over a backup gateway.'."\n" - ."\n" - .'- **DDS**: ApsaraDB for MongoDB.'."\n" - ."\n" - .'- **Other**: A database connected over an IP address and port.', - 'type' => 'string', - 'required' => true, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The location of the database. You can call [DescribeBackupPlanList](~~2869825~~) to query this value. Valid values:'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **ECS**'."\n" + ."\n" + .'- **Express**: A database connected through a leased line, VPN Gateway, or Smart Gateway.'."\n" + ."\n" + .'- **Agent**: A database connected through a backup gateway.'."\n" + ."\n" + .'- **DDS**: Cloud MongoDB.'."\n" + ."\n" + .'- **Other**: A database directly connected through IP:Port.', 'type' => 'string', 'required' => true, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'SourceEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region of the database. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to RDS, ECS, DDS, Express, or Agent.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region of the database. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when **SourceEndpointInstanceType** is RDS, ECS, DDS, Express, or Agent.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceID', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database instance. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **RDS**, **ECS**, **DDS**, or **Express**.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-uf6wjk5*********', - 'title' => '', - ], + 'schema' => ['description' => 'The database instance ID. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when **SourceEndpoint**.**InstanceType** is **RDS**, **ECS**, **DDS**, or **Express**.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6wjk5*********', 'title' => ''], ], [ 'name' => 'SourceEndpointIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The database endpoint. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to **express**, **agent**, or **other**.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-uf6wjk5*******.mysql.rds.aliyuncs.com', - 'title' => '', - ], + 'schema' => ['description' => 'The database endpoint. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when **SourceEndpointInstanceType** is **express**, **agent**, or **other**.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6wjk5*******.mysql.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'SourceEndpointPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The database port. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **express**, **agent**, **other**, or **ECS**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - 'title' => '', - ], + 'schema' => ['description' => 'The database port. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when **SourceEndpoint**.**InstanceType** is **express**, **agent**, **other**, or **ECS**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ 'name' => 'SourceEndpointDatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the database. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if the database type is **PostgreSQL** or **MongoDB**.', - 'type' => 'string', - 'required' => false, - 'example' => 'testRDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database name. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when the database type is **PostgreSQL** or **MongoDB**.', 'type' => 'string', 'required' => false, 'example' => 'testRDS', 'title' => ''], ], [ 'name' => 'SourceEndpointUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database account.'."\n" - ."\n" - .'> This parameter is optional if the database type is Redis, or if **SourceEndpointInstanceType** is **agent** and the database type is **SQL Server**. Otherwise, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'testRDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database account.'."\n" + ."\n" + .'> This parameter is optional when the database type is **Redis**, or when the database location is **agent** and the database type is **SQL Server**. It is required in other scenarios.', 'type' => 'string', 'required' => false, 'example' => 'testRDS', 'title' => ''], ], [ 'name' => 'SourceEndpointPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The password for the database account.'."\n" - ."\n" - .'> This parameter is optional if the database type is Redis, or if **SourceEndpointInstanceType** is **agent** and the database type is **SQL Server**. Otherwise, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'testPassword', - 'title' => '', - ], + 'schema' => ['description' => 'The password.'."\n" + ."\n" + .'> This parameter is optional when the database type is **Redis**, or when the database location is **agent** and the database type is **SQL Server**. It is required in other scenarios.', 'type' => 'string', 'required' => false, 'example' => 'testPassword', 'title' => ''], ], [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to **agent**.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23313123312', - 'title' => '', - ], + 'schema' => ['description' => 'The backup gateway ID. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.'."\n" + ."\n" + .'> This parameter is required when **SourceEndpointInstanceType** is **agent**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23313123312', 'title' => ''], ], [ 'name' => 'OSSBucketName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the Object Storage Service (OSS) bucket.'."\n" - ."\n" - .'> The system automatically generates a new name by default.', - 'type' => 'string', - 'required' => false, - 'example' => 'TestOssBucket', - 'title' => '', - ], + 'schema' => ['description' => 'The OSS bucket name.'."\n" + ."\n" + .'> The system automatically generates a new name by default.', 'type' => 'string', 'required' => false, 'example' => 'TestOssBucket', 'title' => ''], ], [ 'name' => 'BackupObjects', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup objects. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '[ { "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{ "TableName":"待备份库名不需要备份表的表名" }] } ]', - 'title' => '', - ], + 'schema' => ['description' => 'The backup objects. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.', 'type' => 'string', 'required' => false, 'example' => '[ { "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{ "TableName":"待备份库名不需要备份表的表名" }] } ]', 'title' => ''], ], [ 'name' => 'BackupPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The full backup cycle. Valid values:'."\n" - ."\n" - .'- **Monday**'."\n" - ."\n" - .'- **Tuesday**'."\n" - ."\n" - .'- **Wednesday**'."\n" - ."\n" - .'- **Thursday**'."\n" - ."\n" - .'- **Friday**'."\n" - ."\n" - .'- **Saturday**'."\n" - ."\n" - .'- **Sunday**', - 'type' => 'string', - 'required' => false, - 'example' => 'Monday', - 'title' => '', - ], + 'schema' => ['description' => 'The full backup period. Valid values:'."\n" + ."\n" + .'- **Monday**: Monday'."\n" + ."\n" + .'- **Tuesday**: Tuesday'."\n" + ."\n" + .'- **Wednesday**: Wednesday'."\n" + ."\n" + .'- **Thursday**: Thursday'."\n" + ."\n" + .'- **Friday**: Friday'."\n" + ."\n" + .'- **Saturday**: Saturday'."\n" + ."\n" + .'- **Sunday**: Sunday', 'type' => 'string', 'required' => false, 'example' => 'Monday', 'title' => ''], ], [ 'name' => 'BackupStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time for the full backup. The time is in the *HH:mm*Z format (UTC). Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '14:22', - 'title' => '', - ], + 'schema' => ['description' => 'The full backup start time in *HH:mm*Z (UTC) format. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.', 'type' => 'string', 'required' => false, 'example' => '14:22', 'title' => ''], ], [ 'name' => 'EnableBackupLog', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable incremental log backup. Valid values:'."\n" - ."\n" - .'- **true**: Enable.'."\n" - ."\n" - .'- **false**: Disable.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Enable incremental log backup. Valid values:'."\n" + ."\n" + .'- **true**: Enable'."\n" + ."\n" + .'- **false**: Disable', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'BackupLogIntervalSeconds', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for incremental backups, in seconds (s).'."\n" - ."\n" - .'> This parameter is valid only for physical backups.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - 'title' => '', - ], + 'schema' => ['description' => 'The incremental interval in seconds (s).'."\n" + ."\n" + .'> Only physical backup is supported.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'BackupRetentionPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The retention period for backup data, in days. Valid values: 0 to 1825. Default value: 730.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '730', - 'title' => '', - ], + 'schema' => ['description' => 'The retention period for backup data. Valid values: 0 to 1825. Default value: 730 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '730', 'title' => ''], ], [ 'name' => 'DuplicationInfrequentAccessPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days after which a backup is converted to Infrequent Access (IA) storage. Default value: 180.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '180', - 'title' => '', - ], + 'schema' => ['description' => 'The period after which data is converted to Infrequent Access storage. Default value: 180 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '180', 'title' => ''], ], [ 'name' => 'DuplicationArchivePeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days after which a backup is converted to archive storage. Default value: 365.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - 'title' => '', - ], + 'schema' => ['description' => 'The period after which data is converted to archive cold storage. Default value: 365 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365', 'title' => ''], ], [ 'name' => 'BackupPlanName', 'in' => 'query', - 'schema' => [ - 'description' => 'The custom name of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi0*******', - 'title' => '', - ], + 'schema' => ['description' => 'The custom backup plan name. You can call [DescribeBackupPlanList](~~2869825~~) to query this value.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi0*******', 'title' => ''], ], [ 'name' => 'SourceEndpointOracleSID', 'in' => 'query', - 'schema' => [ - 'description' => 'The Oracle system ID (SID).'."\n" - ."\n" - .'> This parameter is required if the database type is Oracle.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The Oracle SID name.'."\n" + ."\n" + .'> This parameter is required when the database type is Oracle.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'BackupStorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'The built-in storage type:'."\n" - ."\n" - .'- Empty (default): Backup data is stored in your OSS bucket.'."\n" - ."\n" - .'- system: Backup data is stored in the built-in OSS bucket of DBS.', - 'type' => 'string', - 'required' => false, - 'example' => '无', - 'title' => '', - ], + 'schema' => ['description' => 'The built-in storage type:'."\n" + ."\n" + .'- Empty (default): Backup data is stored on your OSS.'."\n" + ."\n" + .'- system: Backup data is stored on the built-in OSS of DBS.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], [ 'name' => 'BackupSpeedLimit', 'in' => 'query', - 'schema' => [ - 'description' => 'The disk I/O limit, in KB/s.'."\n" - ."\n" - .'> This parameter is valid only for physical backups of MySQL databases.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '262144', - 'title' => '', - ], + 'schema' => ['description' => 'The disk I/O limit in KB/s.'."\n" + ."\n" + .'> This parameter is valid only for MySQL physical backup.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '262144', 'title' => ''], ], [ 'name' => 'BackupRateLimit', 'in' => 'query', - 'schema' => [ - 'description' => 'The network bandwidth throttling limit, in KB/s. The maximum value is 10 GB.'."\n" - ."\n" - .'> This parameter is valid only for physical backups of MySQL databases.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '262144', - 'title' => '', - ], + 'schema' => ['description' => 'The network bandwidth throttling in KB/s. The maximum value is 10 GB.'."\n" + ."\n" + .'> This parameter is valid only for MySQL physical backup.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '262144', 'title' => ''], ], [ 'name' => 'BackupStrategyType', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup strategy. Valid values:'."\n" - ."\n" - .'- **simple**: Periodic backup. Use this value with BackupPeriod and BackupStartTime.'."\n" - ."\n" - .'- **manual**: Manual backup.'."\n" - ."\n" - .'> Default value: **simple**.', - 'type' => 'string', - 'required' => false, - 'example' => 'simple', - 'title' => '', - ], + 'schema' => ['description' => 'The full backup period. Valid values:'."\n" + ."\n" + .'- **simple**: Periodic backup. Use this value with BackupPeriod and BackupStartTime.'."\n" + ."\n" + .'- **manual**: Manual backup.'."\n" + ."\n" + .'> Default value: **simple**.', 'type' => 'string', 'required' => false, 'example' => 'simple', 'title' => ''], ], [ 'name' => 'CrossAliyunId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account for cross-account backup. Call the [DescribeRestoreTaskList](~~2869838~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '2xxx7778xxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The UID for cross-Alibaba Cloud account backup. You can call [DescribeRestoreTaskList](~~2869838~~) to query this value.', 'type' => 'string', 'required' => false, 'example' => '2xxx7778xxxxxxxxxx', 'title' => ''], ], [ 'name' => 'CrossRoleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the Resource Access Management (RAM) role for cross-account backup. Call the [DescribeRestoreTaskList](~~2869838~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The RAM role name for cross-Alibaba Cloud account backup. You can call [DescribeRestoreTaskList](~~2869838~~) to query this value.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'AutoStartBackup', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic backup.'."\n" - ."\n" - .'- **true**: Enable.'."\n" - ."\n" - .'- **false**: Disable.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Enable automatic backup. Valid values:'."\n" + ."\n" + .'- **true**: Enable'."\n" + ."\n" + .'- **false**: Disable', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. This prevents duplicate requests. The client generates this value, which must be unique among different requests. The value can be up to 64 ASCII characters and cannot contain non-ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. The client generates this value, which must be unique among different requests. The token can be up to 64 ASCII characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzecovzti****', - 'title' => '', - ], + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzecovzti****', 'title' => ''], + ], + [ + 'name' => 'EnableSourceEndpointSsl', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'true', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'BackupStorageEncryptMethod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'encrypted', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'SslCaPem', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'SourceEndpointOracleHome', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '/home/test', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'EnableMysqlPhysicalBackupBinlog', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'true', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The details are as follows.', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'F1FB49D4-B504-47F1-9F43-D7EAB33F****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbstooi01ex****', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F1FB49D4-B504-47F1-9F43-D7EAB33F****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The backup plan ID.', 'type' => 'string', 'example' => 'dbstooi01ex****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -578,38 +328,22 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ConfigureBackupPlan', + 'summary' => 'Configures a Database Backup (DBS) backup plan.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-28T07:13:06.000Z', - 'description' => 'Request parameters changed', - ], - [ - 'createdAt' => '2022-07-12T03:54:11.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-28T07:13:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-12T03:54:11.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ConfigureBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigureBackupPlan'], ], ], 'ramActions' => [ @@ -620,12 +354,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -634,14 +363,8 @@ ], 'CreateAndStartBackupPlan' => [ 'summary' => 'Creates, configures, and starts a backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -652,595 +375,338 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbstooi0*******', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => false, 'example' => 'dbstooi0*******', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where DBS is available. To view the available regions, call the [DescribeRegions](~~2869853~~) operation.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region where DBS is available. To view the available regions, call the [DescribeRegions](~~2869853~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The specification of the backup plan. Valid values:'."\n" - ."\n" - .'- **micro**'."\n" - ."\n" - .'- **small**'."\n" - ."\n" - .'- **medium**'."\n" - ."\n" - .'- **large**'."\n" - ."\n" - .'- **xlarge**'."\n" - ."\n" - .'> Higher specifications provide better backup and recovery performance. For more information, see [Specifications](~~84372~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'micro', - 'title' => '', - ], + 'schema' => ['description' => 'The specification of the backup plan. Valid values:'."\n" + ."\n" + .'- **micro**'."\n" + ."\n" + .'- **small**'."\n" + ."\n" + .'- **medium**'."\n" + ."\n" + .'- **large**'."\n" + ."\n" + .'- **xlarge**'."\n" + ."\n" + .'> Higher specifications provide better backup and recovery performance. For more information, see [Specifications](~~84372~~).', 'type' => 'string', 'required' => true, 'example' => 'micro', 'title' => ''], ], [ 'name' => 'DatabaseType', 'in' => 'query', - 'schema' => [ - 'description' => 'The database type. Valid values:'."\n" - ."\n" - .'- **MySQL**'."\n" - ."\n" - .'- **MSSQL**'."\n" - ."\n" - .'- **Oracle**'."\n" - ."\n" - .'- **MariaDB**'."\n" - ."\n" - .'- **PostgreSQL**'."\n" - ."\n" - .'- **DRDS**'."\n" - ."\n" - .'- **MongoDB**'."\n" - ."\n" - .'- **Redis**', - 'type' => 'string', - 'required' => true, - 'example' => 'MySQL', - 'title' => '', - ], + 'schema' => ['description' => 'The database type. Valid values:'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **MSSQL**'."\n" + ."\n" + .'- **Oracle**'."\n" + ."\n" + .'- **MariaDB**'."\n" + ."\n" + .'- **PostgreSQL**'."\n" + ."\n" + .'- **DRDS**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Redis**', 'type' => 'string', 'required' => true, 'example' => 'MySQL', 'title' => ''], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **logical**: logical backup'."\n" - ."\n" - .'- **physical**: physical backup', - 'type' => 'string', - 'required' => true, - 'example' => 'logical', - 'title' => '', - ], + 'schema' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **logical**: logical backup'."\n" + ."\n" + .'- **physical**: physical backup', 'type' => 'string', 'required' => true, 'example' => 'logical', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'The billing cycle of the subscription instance. Valid values:'."\n" - ."\n" - .'- **Year**'."\n" - ."\n" - .'- **Month**', - 'type' => 'string', - 'required' => false, - 'example' => 'Year', - 'title' => '', - ], + 'schema' => ['description' => 'The billing cycle of the subscription instance. Valid values:'."\n" + ."\n" + .'- **Year**'."\n" + ."\n" + .'- **Month**', 'type' => 'string', 'required' => false, 'example' => 'Year', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Valid values:'."\n" - ."\n" - .'- If **Period** is set to **Year**, the value of **UsedTime** can be 1 to 5.'."\n" - ."\n" - .'- If **Period** is set to **Month**, the value of **UsedTime** can be 1 to 11.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The subscription duration. Valid values:'."\n" + ."\n" + .'- If **Period** is set to **Year**, the value of **UsedTime** can be 1 to 5.'."\n" + ."\n" + .'- If **Period** is set to **Month**, the value of **UsedTime** can be 1 to 11.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', - 'schema' => [ - 'description' => 'The payment method. Valid value:'."\n" - ."\n" - .'**prepay**: subscription', - 'type' => 'string', - 'required' => false, - 'example' => 'postpay', - 'title' => '', - ], + 'schema' => ['description' => 'The payment method. Valid value:'."\n" + ."\n" + .'**prepay**: subscription', 'type' => 'string', 'required' => false, 'example' => 'prepay', 'title' => ''], ], [ 'name' => 'DatabaseRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the database is located.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region where the database is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'StorageRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage region.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The storage region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The database instance type. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **PolarDB**'."\n" - ."\n" - .'- **DDS**: Alibaba Cloud MongoDB'."\n" - ."\n" - .'- **Kvstore**: Alibaba Cloud Redis'."\n" - ."\n" - .'- **Other**: A database connected over an IP address and port.'."\n" - ."\n" - .'- **dg**: A self-managed database without a public IP address or port, connected through Database Gateway (DG).', - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database instance type. Valid values:'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **PolarDB**'."\n" + ."\n" + .'- **DDS**: Alibaba Cloud MongoDB'."\n" + ."\n" + .'- **Kvstore**: Alibaba Cloud Redis'."\n" + ."\n" + .'- **Other**: A database connected over an IP address and port.'."\n" + ."\n" + .'- **dg**: A self-managed database without a public IP address or port, connected through Database Gateway (DG).', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'StorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is not yet available.', - 'type' => 'string', - 'required' => false, - 'example' => '无', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is not yet available.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], [ 'name' => 'FromApp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the request. The default value is OpenApi. You do not need to set this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'OpenApi', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the request. The default value is OpenApi. You do not need to set this parameter.', 'type' => 'string', 'required' => false, 'example' => 'OpenApi', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The location of the database. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **ECS**'."\n" - ."\n" - .'- **Express**: A database connected through a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- **Agent**: A database connected through a backup gateway.'."\n" - ."\n" - .'- **DDS**: Alibaba Cloud MongoDB'."\n" - ."\n" - .'- **Other**: A database connected directly over an IP address and port.'."\n" - ."\n" - .'- **dg**: A self-managed database without a public IP address or port, connected through Database Gateway (DG).', - 'type' => 'string', - 'required' => true, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The location of the database. Valid values:'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **ECS**'."\n" + ."\n" + .'- **Express**: A database connected through a leased line, VPN Gateway, or Smart Access Gateway.'."\n" + ."\n" + .'- **Agent**: A database connected through a backup gateway.'."\n" + ."\n" + .'- **DDS**: Alibaba Cloud MongoDB'."\n" + ."\n" + .'- **Other**: A database connected directly over an IP address and port.'."\n" + ."\n" + .'- **dg**: A self-managed database without a public IP address or port, connected through Database Gateway (DG).', 'type' => 'string', 'required' => true, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'SourceEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the database is located.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **RDS**, **ECS**, **DDS**, **Express**, or **Agent**.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region where the database is located.'."\n" + ."\n" + .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **RDS**, **ECS**, **DDS**, **Express**, or **Agent**.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceID', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database instance.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **RDS**, **ECS**, **DDS**, or **Express**.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-uf6wjk5xxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the database instance.'."\n" + ."\n" + .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **RDS**, **ECS**, **DDS**, or **Express**.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6wjk5xxxxxxxxxx', 'title' => ''], ], [ 'name' => 'SourceEndpointIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The database endpoint.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **express**, **agent**, or **other**.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-uf6wjk5xxxxxxx.mysql.rds.aliyuncs.com', - 'title' => '', - ], + 'schema' => ['description' => 'The database endpoint.'."\n" + ."\n" + .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **express**, **agent**, or **other**.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6wjk5xxxxxxx.mysql.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'SourceEndpointPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The database port.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **express**, **agent**, **other**, or **ECS**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - 'title' => '', - ], + 'schema' => ['description' => 'The database port.'."\n" + ."\n" + .'> This parameter is required if **SourceEndpoint**.**InstanceType** is set to **express**, **agent**, **other**, or **ECS**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ 'name' => 'SourceEndpointDatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n" - ."\n" - .'> This parameter is required if the database type is **PostgreSQL** or **MongoDB**.', - 'type' => 'string', - 'required' => false, - 'example' => 'testRDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database name.'."\n" + ."\n" + .'> This parameter is required if the database type is **PostgreSQL** or **MongoDB**.', 'type' => 'string', 'required' => false, 'example' => 'testRDS', 'title' => ''], ], [ 'name' => 'SourceEndpointUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database account.'."\n" - ."\n" - .'> This parameter is optional if the database type is **Redis**, or if the database location is **agent** and the database type is **MSSQL**. In all other cases, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'testRDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database account.'."\n" + ."\n" + .'> This parameter is optional if the database type is **Redis**, or if the database location is **agent** and the database type is **MSSQL**. In all other cases, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'testRDS', 'title' => ''], ], [ 'name' => 'SourceEndpointPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The password for the database account.'."\n" - ."\n" - .'> This parameter is optional if the database type is **Redis**, or if the database location is **agent** and the database type is **MSSQL**. In all other cases, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'testPassword', - 'title' => '', - ], + 'schema' => ['description' => 'The password for the database account.'."\n" + ."\n" + .'> This parameter is optional if the database type is **Redis**, or if the database location is **agent** and the database type is **MSSQL**. In all other cases, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'testPassword', 'title' => ''], ], [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway.'."\n" - ."\n" - .'> - This parameter is required if **SourceEndpoint**.**InstanceType** is set to **agent**.'."\n" - .'>'."\n" - .'> - For more information about how to create a backup gateway, see [Add a backup gateway](~~93250~~).'."\n" - .'>'."\n" - .'> - You can call the [DescribeBackupGatewayList](~~2869840~~) operation to view the list of existing backup gateways.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23313123312', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup gateway.'."\n" + ."\n" + .'> - This parameter is required if **SourceEndpoint**.**InstanceType** is set to **agent**.'."\n" + .'>'."\n" + .'> - For more information about how to create a backup gateway, see [Add a backup gateway](~~93250~~).'."\n" + .'>'."\n" + .'> - You can call the [DescribeBackupGatewayList](~~2869840~~) operation to view the list of existing backup gateways.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23313123312', 'title' => ''], ], [ 'name' => 'OSSBucketName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the Object Storage Service (OSS) bucket.'."\n" - .'Default: The system automatically generates a new name.', - 'type' => 'string', - 'required' => false, - 'example' => 'TestOssBucket', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the Object Storage Service (OSS) bucket.'."\n" + .'Default: The system automatically generates a new name.', 'type' => 'string', 'required' => false, 'example' => 'TestOssBucket', 'title' => ''], ], [ 'name' => 'BackupObjects', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup objects.', - 'type' => 'string', - 'required' => false, - 'example' => '[ { "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{ "TableName":"待备份库名不需要备份表的表名" }] } ]', - 'title' => '', - ], + 'schema' => ['description' => 'The backup objects.', 'type' => 'string', 'required' => false, 'example' => '[ { "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{ "TableName":"待备份库名不需要备份表的表名" }] } ]', 'title' => ''], ], [ 'name' => 'BackupPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The full backup cycle. Valid values:'."\n" - ."\n" - .'- **Monday**'."\n" - ."\n" - .'- **Tuesday**'."\n" - ."\n" - .'- **Wednesday**'."\n" - ."\n" - .'- **Thursday**'."\n" - ."\n" - .'- **Friday**'."\n" - ."\n" - .'- **Saturday**'."\n" - ."\n" - .'- **Sunday**'."\n" - ."\n" - .'> You can select multiple values. Separate them with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'Monday', - 'title' => '', - ], + 'schema' => ['description' => 'The full backup cycle. Valid values:'."\n" + ."\n" + .'- **Monday**'."\n" + ."\n" + .'- **Tuesday**'."\n" + ."\n" + .'- **Wednesday**'."\n" + ."\n" + .'- **Thursday**'."\n" + ."\n" + .'- **Friday**'."\n" + ."\n" + .'- **Saturday**'."\n" + ."\n" + .'- **Sunday**'."\n" + ."\n" + .'> You can select multiple values. Separate them with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'Monday', 'title' => ''], ], [ 'name' => 'BackupStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time for the full backup. The time is in the *HH:mm* format and is in UTC.', - 'type' => 'string', - 'required' => false, - 'example' => '14:22', - 'title' => '', - ], + 'schema' => ['description' => 'The start time for the full backup. The time is in the *HH:mm* format and is in UTC.', 'type' => 'string', 'required' => false, 'example' => '14:22', 'title' => ''], ], [ 'name' => 'EnableBackupLog', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable incremental log backup. Valid values:'."\n" - ."\n" - .'- **true**'."\n" - ."\n" - .'- **false**', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to enable incremental log backup. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'BackupLogIntervalSeconds', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for incremental backups, in seconds.'."\n" - ."\n" - .'> This parameter is required only for **physical backups**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - 'title' => '', - ], + 'schema' => ['description' => 'The interval for incremental backups, in seconds.'."\n" + ."\n" + .'> This parameter is required only for **physical backups**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'BackupRetentionPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The retention period for backup data, in days. Valid values: 0 to 1825. Default value: 730.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '730', - 'title' => '', - ], + 'schema' => ['description' => 'The retention period for backup data, in days. Valid values: 0 to 1825. Default value: 730.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '730', 'title' => ''], ], [ 'name' => 'DuplicationInfrequentAccessPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The time after which backup data is converted to Infrequent Access (IA) storage, in days. Default value: 180.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '180', - 'title' => '', - ], + 'schema' => ['description' => 'The time after which backup data is converted to Infrequent Access (IA) storage, in days. Default value: 180.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '180', 'title' => ''], ], [ 'name' => 'DuplicationArchivePeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The time after which backup data is converted to archive storage, in days. Default value: 365.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - 'title' => '', - ], + 'schema' => ['description' => 'The time after which backup data is converted to archive storage, in days. Default value: 365.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365', 'title' => ''], ], [ 'name' => 'BackupPlanName', 'in' => 'query', - 'schema' => [ - 'description' => 'The custom name of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi0*******', - 'title' => '', - ], + 'schema' => ['description' => 'The custom name of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi0*******', 'title' => ''], ], [ 'name' => 'SourceEndpointOracleSID', 'in' => 'query', - 'schema' => [ - 'description' => 'The Oracle system ID (SID). This parameter is required if the database type is Oracle.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The Oracle system ID (SID). This parameter is required if the database type is Oracle.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'BackupStorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'The built-in storage type:'."\n" - ."\n" - .'- Empty (default): Backup data is stored in your OSS bucket.'."\n" - ."\n" - .'- system: Backup data is stored in the built-in OSS bucket of DBS.', - 'type' => 'string', - 'required' => false, - 'example' => '无', - 'title' => '', - ], + 'schema' => ['description' => 'The built-in storage type:'."\n" + ."\n" + .'- Empty (default): Backup data is stored in your OSS bucket.'."\n" + ."\n" + .'- system: Backup data is stored in the built-in OSS bucket of DBS.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], [ 'name' => 'BackupSpeedLimit', 'in' => 'query', - 'schema' => [ - 'description' => 'The disk I/O limit, in KB/s.'."\n" - ."\n" - .'> This parameter is valid only for MySQL physical backups.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '262144', - 'title' => '', - ], + 'schema' => ['description' => 'The disk I/O limit, in KB/s.'."\n" + ."\n" + .'> This parameter is valid only for MySQL physical backups.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '262144', 'title' => ''], ], [ 'name' => 'BackupRateLimit', 'in' => 'query', - 'schema' => [ - 'description' => 'The network bandwidth throttling limit, in KB/s. The maximum allowed value is 10 GB.'."\n" - ."\n" - .'> This parameter is valid only for MySQL physical backups.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '262144', - 'title' => '', - ], + 'schema' => ['description' => 'The network bandwidth throttling limit, in KB/s. The maximum allowed value is 10 GB.'."\n" + ."\n" + .'> This parameter is valid only for MySQL physical backups.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '262144', 'title' => ''], ], [ 'name' => 'BackupStrategyType', 'in' => 'query', - 'schema' => [ - 'description' => 'The full backup strategy. Valid values:'."\n" - ."\n" - .'- **simple**: periodic backup. Use this value with BackupPeriod and BackupStartTime.'."\n" - ."\n" - .'- **manual**: manual backup.'."\n" - ."\n" - .'> The default value is **simple**.', - 'type' => 'string', - 'required' => false, - 'example' => 'simple', - 'title' => '', - ], + 'schema' => ['description' => 'The full backup strategy. Valid values:'."\n" + ."\n" + .'- **simple**: periodic backup. Use this value with BackupPeriod and BackupStartTime.'."\n" + ."\n" + .'- **manual**: manual backup.'."\n" + ."\n" + .'> The default value is **simple**.', 'type' => 'string', 'required' => false, 'example' => 'simple', 'title' => ''], ], [ 'name' => 'CrossAliyunId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account for cross-account backup.', - 'type' => 'string', - 'required' => false, - 'example' => '1648821913******', - 'title' => '', - ], + 'schema' => ['description' => 'The UID of the Alibaba Cloud account for cross-account backup.', 'type' => 'string', 'required' => false, 'example' => '1648821913******', 'title' => ''], ], [ 'name' => 'CrossRoleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the RAM role for cross-account backup.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the RAM role for cross-account backup.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. This prevents duplicate requests.', - 'type' => 'string', - 'required' => false, - 'example' => 'ASDASDASDSADASFCZXVZ', - 'title' => '', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. This prevents duplicate requests.', 'type' => 'string', 'required' => false, 'example' => 'ASDASDASDSADASFCZXVZ', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzecovzti****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzecovzti****', 'title' => ''], ], ], 'responses' => [ @@ -1249,59 +715,18 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'CreateBackupSet' => [ - 'description' => 'Indicates whether the backup set is enabled. The return value is one of the following:'."\n" - ."\n" - .'- **true**: Enabled'."\n" - ."\n" - .'- **false**: Disabled', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbs1hvb0wwwe****', - 'title' => '', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.', - 'type' => 'string', - 'example' => '2056157***', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'CreateBackupSet' => ['description' => 'Indicates whether the backup set is enabled. The return value is one of the following:'."\n" + ."\n" + .'- **true**: Enabled'."\n" + ."\n" + .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbs1hvb0wwwe****', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order.', 'type' => 'string', 'example' => '2056157***', 'title' => ''], ], 'title' => '', 'example' => '', @@ -1310,36 +735,22 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"CreateBackupSet\\": true,\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"BackupPlanId\\": \\"dbs1hvb0wwwe****\\",\\n \\"OrderId\\": \\"2056157***\\"\\n}","type":"json"}]', 'title' => 'CreateAndStartBackupPlan', 'description' => 'Before you call this operation, ensure that you understand the [billing methods and pricing](~~70005~~) of Database Backup (DBS).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-28T06:48:28.000Z', - 'description' => 'Request parameters changed', - ], - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-28T06:48:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateAndStartBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAndStartBackupPlan'], ], ], 'ramActions' => [ @@ -1350,28 +761,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"CreateBackupSet\\": true,\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"BackupPlanId\\": \\"dbs1hvb0wwwe****\\",\\n \\"OrderId\\": \\"2056157***\\"\\n}","type":"json"}]', ], 'CreateBackupPlan' => [ 'summary' => 'Creates a Database Backup Service (DBS) backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1382,221 +781,134 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the DBS instance. This parameter is required. Call the [DescribeRegions](~~2869853~~) operation to view the regions that DBS supports.'."\n" - ."\n" - .'> For more information, see [Endpoints](~~2869810~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region ID of the DBS instance. This parameter is required. Call the [DescribeRegions](~~2869853~~) operation to view the regions that DBS supports.'."\n" + ."\n" + .'> For more information, see [Endpoints](~~2869810~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance class. Valid values:'."\n" - ."\n" - .'- **micro**: Entry'."\n" - ."\n" - .'- **small**: Basic'."\n" - ."\n" - .'- **medium**: Standard'."\n" - ."\n" - .'- **large**: Enhanced'."\n" - ."\n" - .'- **xlarge**: Enhanced (no traffic limit)'."\n" - ."\n" - .'> The higher the instance class, the better the performance of backup and recovery. For more information, see [Specifications](~~84372~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'micro', - 'title' => '', - ], + 'schema' => ['description' => 'The instance class. Valid values:'."\n" + ."\n" + .'- **micro**: Entry'."\n" + ."\n" + .'- **small**: Basic'."\n" + ."\n" + .'- **medium**: Standard'."\n" + ."\n" + .'- **large**: Enhanced'."\n" + ."\n" + .'- **xlarge**: Enhanced (no traffic limit)'."\n" + ."\n" + .'> The higher the instance class, the better the performance of backup and recovery. For more information, see [Specifications](~~84372~~).', 'type' => 'string', 'required' => true, 'example' => 'micro', 'title' => ''], ], [ 'name' => 'DatabaseType', 'in' => 'query', - 'schema' => [ - 'description' => 'The database type. Valid values:'."\n" - ."\n" - .'- **MySQL**'."\n" - ."\n" - .'- **MSSQL**'."\n" - ."\n" - .'- **Oracle**'."\n" - ."\n" - .'- **MariaDB**'."\n" - ."\n" - .'- **PostgreSQL**'."\n" - ."\n" - .'- **DRDS**'."\n" - ."\n" - .'- **MongoDB**'."\n" - ."\n" - .'- **Redis**', - 'type' => 'string', - 'required' => true, - 'example' => 'MySQL', - 'title' => '', - ], + 'schema' => ['description' => 'The database type. Valid values:'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **MSSQL**'."\n" + ."\n" + .'- **Oracle**'."\n" + ."\n" + .'- **MariaDB**'."\n" + ."\n" + .'- **PostgreSQL**'."\n" + ."\n" + .'- **DRDS**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Redis**', 'type' => 'string', 'required' => true, 'example' => 'MySQL', 'title' => ''], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **logical**: logical backup'."\n" - ."\n" - .'- **physical**: physical backup', - 'type' => 'string', - 'required' => true, - 'example' => 'logical', - 'title' => '', - ], + 'schema' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **logical**: logical backup'."\n" + ."\n" + .'- **physical**: physical backup', 'type' => 'string', 'required' => true, 'example' => 'logical', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'The billing cycle of the subscription instance. Valid values:'."\n" - ."\n" - .'- **Year**'."\n" - ."\n" - .'- **Month**', - 'type' => 'string', - 'required' => false, - 'example' => 'Month', - 'title' => '', - ], + 'schema' => ['description' => 'The billing cycle of the subscription instance. Valid values:'."\n" + ."\n" + .'- **Year**'."\n" + ."\n" + .'- **Month**', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration. Valid values:'."\n" - ."\n" - .'- If you set the **Period** parameter to **Year**, the value of **UsedTime** can be 1 to 5.'."\n" - ."\n" - .'- If you set the **Period** parameter to **Month**, the value of **UsedTime** can be 1 to 11.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The subscription duration. Valid values:'."\n" + ."\n" + .'- If you set the **Period** parameter to **Year**, the value of **UsedTime** can be 1 to 5.'."\n" + ."\n" + .'- If you set the **Period** parameter to **Month**, the value of **UsedTime** can be 1 to 11.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', - 'schema' => [ - 'description' => 'The payment method. Valid value:'."\n" - ."\n" - .'**prepay**: subscription', - 'type' => 'string', - 'required' => false, - 'example' => 'prepay', - 'title' => '', - ], + 'schema' => ['description' => 'The payment method. Valid value:'."\n" + ."\n" + .'**prepay**: subscription', 'type' => 'string', 'required' => false, 'example' => 'prepay', 'title' => ''], ], [ 'name' => 'DatabaseRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region of the database.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region of the database.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'StorageRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The storage region.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The storage region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The database instance type. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **PolarDB**'."\n" - ."\n" - .'- **DDS**: Alibaba Cloud MongoDB'."\n" - ."\n" - .'- **Kvstore**: Alibaba Cloud Redis'."\n" - ."\n" - .'- **Other**: A database that is connected over the Internet.'."\n" - ."\n" - .'- **dg**: A self-managed database without a public IP address and port that is connected through Database Gateway (DG).', - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The database instance type. Valid values:'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **PolarDB**'."\n" + ."\n" + .'- **DDS**: Alibaba Cloud MongoDB'."\n" + ."\n" + .'- **Kvstore**: Alibaba Cloud Redis'."\n" + ."\n" + .'- **Other**: A database that is connected over the Internet.'."\n" + ."\n" + .'- **dg**: A self-managed database without a public IP address and port that is connected through Database Gateway (DG).', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'StorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is not used.', - 'type' => 'string', - 'required' => false, - 'example' => '无', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is not used.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''], ], [ 'name' => 'FromApp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the request. The default value is OpenAPI. You do not need to set this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'OpenAPI', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the request. The default value is OpenAPI. You do not need to set this parameter.', 'type' => 'string', 'required' => false, 'example' => 'OpenAPI', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'KJSAHKJFHKJSHFKASHFKJADFHKDXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'KJSAHKJFHKJSHFKASHFKJADFHKDXXXX', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzecovzti****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzecovzti****', 'title' => ''], ], ], 'responses' => [ @@ -1605,53 +917,17 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '7BCF6D62-885F-5A4A-91A1-679760E7****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The backup plan ID.', - 'type' => 'string', - 'example' => 'dbsrhahrsu2****', - 'title' => '', - ], - 'OrderId' => [ - 'description' => 'The order ID.', - 'type' => 'string', - 'example' => '21437345592****', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7BCF6D62-885F-5A4A-91A1-679760E7****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'BackupPlanId' => ['description' => 'The backup plan ID.', 'type' => 'string', 'example' => 'dbsrhahrsu2****', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '21437345592****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -1660,33 +936,18 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'CreateBackupPlan', 'description' => 'To perform this operation in the console, see [Purchase a backup plan](~~65909~~).', 'changeSet' => [ - [ - 'createdAt' => '2022-07-28T06:48:28.000Z', - 'description' => 'Request parameters changed', - ], - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-28T06:48:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBackupPlan'], ], ], 'ramActions' => [ @@ -1697,12 +958,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -1711,14 +967,8 @@ ], 'CreateFullBackupSetDownload' => [ 'summary' => 'This operation creates a task to download a full backup set.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1729,53 +979,33 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the full backup set.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbs1hvXXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the full backup set.', 'type' => 'string', 'required' => true, 'example' => 'dbs1hvXXXXX', 'title' => ''], ], [ 'name' => 'BackupSetDataFormat', 'in' => 'query', - 'schema' => [ - 'description' => 'The format of the downloaded full backup set. Valid values:'."\n" - ."\n" - .'- **Native**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **CSV**'."\n" - ."\n" - .'- **JSON**'."\n" - ."\n" - .'> The default value is CSV.', - 'type' => 'string', - 'required' => false, - 'example' => 'SQL', - 'title' => '', - ], + 'schema' => ['description' => 'The format of the downloaded full backup set. Valid values:'."\n" + ."\n" + .'- **Native**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **CSV**'."\n" + ."\n" + .'- **JSON**'."\n" + ."\n" + .'> The default value is CSV.', 'type' => 'string', 'required' => false, 'example' => 'SQL', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. This prevents the same request from being sent multiple times.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. This prevents the same request from being sent multiple times.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -1783,43 +1013,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupSetDownloadTaskId' => [ - 'description' => 'The ID of the backup set download task.', - 'type' => 'string', - 'example' => 'dbstooi01exxxxx', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupSetDownloadTaskId' => ['description' => 'The ID of the backup set download task.', 'type' => 'string', 'example' => 'dbstooi01exxxxx', 'title' => ''], ], 'description' => '', 'title' => '', @@ -1829,11 +1028,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'CreateFullBackupSetDownload', @@ -1841,19 +1036,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateFullBackupSetDownload', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFullBackupSetDownload'], ], ], 'ramActions' => [ @@ -1864,12 +1051,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -1878,14 +1060,8 @@ ], 'CreateGetDBListFromAgentTask' => [ 'summary' => 'Creates a task to obtain a database list by using a backup gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1896,96 +1072,56 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway. You can call the [DescribeBackupPlanList](~~2869825~~) operation to query the ID.'."\n" - ."\n" - .'> This parameter is required.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '160813', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup gateway. You can call the [DescribeBackupPlanList](~~2869825~~) operation to query the ID.'."\n" + ."\n" + .'> This parameter is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '160813', 'title' => ''], ], [ 'name' => 'DatabaseType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database. Valid values:'."\n" - ."\n" - .'- **MySQL**'."\n" - ."\n" - .'- **MSSQL**'."\n" - ."\n" - .'- **Oracle**'."\n" - ."\n" - .'- **MariaDB**'."\n" - ."\n" - .'- **PostgreSQL**'."\n" - ."\n" - .'- **DRDS**'."\n" - ."\n" - .'- **MongoDB**'."\n" - ."\n" - .'- **Redis**', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the database. Valid values:'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **MSSQL**'."\n" + ."\n" + .'- **Oracle**'."\n" + ."\n" + .'- **MariaDB**'."\n" + ."\n" + .'- **PostgreSQL**'."\n" + ."\n" + .'- **DRDS**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Redis**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ 'name' => 'SourceEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the backup gateway resides.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region in which the backup gateway resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SourceEndpointIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The URL that is used to access the database.', - 'type' => 'string', - 'required' => false, - 'example' => '123.0.XX.XX', - 'title' => '', - ], + 'schema' => ['description' => 'The URL that is used to access the database.', 'type' => 'string', 'required' => false, 'example' => '123.0.XX.XX', 'title' => ''], ], [ 'name' => 'SourceEndpointPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - 'title' => '', - ], + 'schema' => ['description' => 'The port that is used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - '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 it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['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 it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -1993,44 +1129,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameter', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'This backupPlan can\'t support this action', - 'title' => '', - ], - 'TaskId' => [ - 'description' => 'The ID of the asynchronous task.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123456', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'This backupPlan can\'t support this action', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the asynchronous task.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''], ], 'description' => '', 'title' => '', @@ -2040,11 +1144,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'CreateGetDBListFromAgentTask', @@ -2053,19 +1153,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateGetDBListFromAgentTask', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGetDBListFromAgentTask'], ], ], 'ramActions' => [ @@ -2076,12 +1168,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -2090,14 +1177,8 @@ ], 'CreateIncrementBackupSetDownload' => [ 'summary' => 'Creates and starts an incremental backup set download task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2108,64 +1189,38 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the incremental backup task. To obtain the task ID, you can call the [DescribeIncrementBackupList](~~2869833~~) operation and view the value of the **BackupSetJobId** parameter in the response.', - 'type' => 'string', - 'required' => true, - 'example' => 't4yh0g0g****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the incremental backup task. To obtain the task ID, you can call the [DescribeIncrementBackupList](~~2869833~~) operation and view the value of the **BackupSetJobId** parameter in the response.', 'type' => 'string', 'required' => true, 'example' => 't4yh0g0g****', 'title' => ''], ], [ 'name' => 'BackupSetName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the incremental backup set. To obtain the backup set ID, you can call the [DescribeIncrementBackupList](~~2869833~~) operation and view the value of the **BackupSetId** parameter in the response.', - 'type' => 'string', - 'required' => true, - 'example' => 'mysql-bin.000054', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the incremental backup set. To obtain the backup set ID, you can call the [DescribeIncrementBackupList](~~2869833~~) operation and view the value of the **BackupSetId** parameter in the response.', 'type' => 'string', 'required' => true, 'example' => 'mysql-bin.000054', 'title' => ''], ], [ 'name' => 'BackupSetDataFormat', 'in' => 'query', - 'schema' => [ - 'description' => 'The format in which the incremental backup set is downloaded. Valid values:'."\n" - ."\n" - .'- **Native**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **CSV**'."\n" - ."\n" - .'- **JSON**'."\n" - ."\n" - .'> Default value: Native.', - 'type' => 'string', - 'required' => false, - 'example' => 'Native', - 'title' => '', - ], + 'schema' => ['description' => 'The format in which the incremental backup set is downloaded. Valid values:'."\n" + ."\n" + .'- **Native**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **CSV**'."\n" + ."\n" + .'- **JSON**'."\n" + ."\n" + .'> Default value: Native.', 'type' => 'string', 'required' => false, 'example' => 'Native', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz********', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz********', 'title' => ''], ], ], 'responses' => [ @@ -2173,43 +1228,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupSetDownloadTaskId' => [ - 'description' => 'The ID of the backup set download task.', - 'type' => 'string', - 'example' => '1jydacm******', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupSetDownloadTaskId' => ['description' => 'The ID of the backup set download task.', 'type' => 'string', 'example' => '1jydacm******', 'title' => ''], ], 'description' => '', 'title' => '', @@ -2219,11 +1243,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'CreateIncrementBackupSetDownload', @@ -2231,19 +1251,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateIncrementBackupSetDownload', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncrementBackupSetDownload'], ], ], 'ramActions' => [ @@ -2254,12 +1266,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -2267,15 +1274,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupSetDownloadTaskId\\": \\"1jydacm******\\"\\n}","type":"json"}]', ], 'CreateRestoreTask' => [ - 'summary' => 'Creates a Database Backup Service (DBS) restore job.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'This operation creates a DBS restore task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2286,330 +1287,232 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbs1hvb0ww****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbs1hvb0ww****', 'title' => ''], ], [ 'name' => 'DestinationEndpointInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The location of the database. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **ECS**'."\n" - ."\n" - .'- **Express**: a database connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- **Agent**: a database connected using a backup gateway.'."\n" - ."\n" - .'- **DDS**: an ApsaraDB for MongoDB instance.'."\n" - ."\n" - .'- **Other**: a database connected over the Internet.'."\n" - ."\n" - .'- **dg**: a self-managed database without a public IP address or port that is connected through Database Gateway (DG).', - 'type' => 'string', - 'required' => true, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the destination endpoint. Valid values:'."\n" + ."\n" + .'- **RDS**: an ApsaraDB RDS instance.'."\n" + ."\n" + .'- **ECS**: a self-managed database hosted on an ECS instance.'."\n" + ."\n" + .'- **Express**: a database connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" + ."\n" + .'- **Agent**: a database connected via a backup gateway.'."\n" + ."\n" + .'- **DDS**: an ApsaraDB for MongoDB (DDS) instance.'."\n" + ."\n" + .'- **Other**: a database connected over the internet by using a public IP address and port.'."\n" + ."\n" + .'- **dg**: a self-managed database without a public endpoint, connected via Database Gateway.', 'type' => 'string', 'required' => true, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'DestinationEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region of the database instance.'."\n" - ."\n" - .'> This parameter is required when **DestinationEndpointInstanceType** is set to RDS, ECS, DDS, Express, or Agent.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region ID of the destination database instance.'."\n" + ."\n" + .'> This parameter is required when **DestinationEndpointInstanceType** is set to `RDS`, `ECS`, `DDS`, `Express`, or `Agent`.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DestinationEndpointInstanceID', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database instance.'."\n" - ."\n" - .'> This parameter is required when **DestinationEndpointInstanceType** is set to RDS, ECS, DDS, or Express.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp1p8c29*****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the destination database instance.'."\n" + ."\n" + .'> This parameter is required when **DestinationEndpointInstanceType** is set to `RDS`, `ECS`, `DDS`, or `Express`.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp1p8c29*****', 'title' => ''], ], [ 'name' => 'DestinationEndpointIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The database endpoint.'."\n" - ."\n" - .'> This parameter is required when **DestinationEndpointInstanceType** is set to express, agent, or other.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp*****9jv8pxero.mysql.rds.aliyuncs.com', - 'title' => '', - ], + 'schema' => ['description' => 'The endpoint of the destination database.'."\n" + ."\n" + .'> This parameter is required when **DestinationEndpointInstanceType** is set to `Express`, `Agent`, or `Other`.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp*****9jv8pxero.mysql.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'DestinationEndpointPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The database port.'."\n" - ."\n" - .'> This parameter is required when **DestinationEndpointInstanceType** is set to express, agent, other, or ECS.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - 'title' => '', - ], + 'schema' => ['description' => 'The port that is used to connect to the destination database.'."\n" + ."\n" + .'> This parameter is required when **DestinationEndpointInstanceType** is set to `Express`, `Agent`, `Other`, or `ECS`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ 'name' => 'DestinationEndpointDatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n" - ."\n" - .'> This parameter is required if the database is a PostgreSQL or MongoDB database.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the destination database.'."\n" + ."\n" + .'> This parameter is required if the database engine is PostgreSQL or MongoDB.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DestinationEndpointUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database account.'."\n" - ."\n" - .'> This parameter is optional for Redis databases, and for MSSQL databases when DestinationEndpointInstanceType is set to agent. For all other scenarios, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The username for the destination database account.'."\n" + ."\n" + .'> This parameter is optional if the database engine is Redis, or if `DestinationEndpointInstanceType` is set to `Agent` and the database engine is MSSQL. In other scenarios, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DestinationEndpointPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The password.'."\n" - ."\n" - .'> This parameter is optional for Redis databases, and for MSSQL databases when DestinationEndpointInstanceType is set to agent. For all other scenarios, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'Test', - 'title' => '', - ], + 'schema' => ['description' => 'The password for the destination database account.'."\n" + ."\n" + .'> This parameter is optional if the database engine is Redis, or if `DestinationEndpointInstanceType` is set to `Agent` and the database engine is MSSQL. In other scenarios, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'Test', 'title' => ''], ], [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway.'."\n" - ."\n" - .'> This parameter is required when **DestinationEndpointInstanceType** is set to agent.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '4312****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup gateway.'."\n" + ."\n" + .'> This parameter is required when **DestinationEndpointInstanceType** is set to `Agent`.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4312****', 'title' => ''], ], [ 'name' => 'RestoreObjects', 'in' => 'query', - 'schema' => [ - 'description' => 'The objects to restore.'."\n" - ."\n" - .'- For more information, see the definition of the RestoreObjects parameter below. This parameter is optional when **DestinationEndpointInstanceType** is set to agent. For all other scenarios, this parameter is required.'."\n" - ."\n" - .'- Template: `[{ "DBName": "source_database_name", "NewDBName": "destination_database_name" }]`'."\n" - ."\n" - .'> This API operation only supports database-level restore. To restore specific tables, use the console. For more information, see [Restore a database](~~85543~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL表级别恢复示例如下:'."\n" - .'[{\\"DBName\\":\\"dbname\\", \\"NewDBName\\":\\"dbname1\\"}]', - 'title' => '', - ], + 'schema' => ['description' => 'The objects to restore.'."\n" + ."\n" + .'- This parameter is optional if `DestinationEndpointInstanceType` is set to `Agent`. In other scenarios, this parameter is required.'."\n" + ."\n" + .'- The value must be a JSON string in the following format: `[{ "DBName": "source_database_name", "NewDBName": "destination_database_name" }]`'."\n" + ."\n" + .'> You can use this API operation to restore data only at the database level. To restore data at the table level, log on to the console. For more information, see [Restore databases](~~85543~~).', 'type' => 'string', 'required' => false, 'example' => 'MySQL表级别恢复示例如下:'."\n" + .'[{\\"DBName\\":\\"dbname\\", \\"NewDBName\\":\\"dbname1\\"}]', 'title' => ''], ], [ 'name' => 'RestoreTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The restore time. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1554560477000', - 'title' => '', - ], + 'schema' => ['description' => 'The point-in-time for the restore, specified as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1554560477000', 'title' => ''], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the full backup set used for the restore. This parameter is mutually exclusive with RestoreTime.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbs1hvb0w*****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the full backup set to use for the restore. The `BackupSetId` and `RestoreTime` parameters are mutually exclusive.', 'type' => 'string', 'required' => false, 'example' => 'dbs1hvb0w*****', 'title' => ''], ], [ 'name' => 'RestoreTaskName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the restore job.', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the restore job.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DestinationEndpointOracleSID', 'in' => 'query', - 'schema' => [ - 'description' => 'The Oracle system ID (SID).'."\n" - ."\n" - .'> This parameter is required if the database is an Oracle database.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The SID of the Oracle database.'."\n" + ."\n" + .'> This parameter is required if the database engine is Oracle.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RestoreDir', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is required when **DestinationEndpointInstanceType** is set to agent and the backup schedule is for a MySQL database.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The restore directory. This parameter is required if **DestinationEndpointInstanceType** is set to `Agent` and the database type is MySQL.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RestoreHome', 'in' => 'query', - 'schema' => [ - 'description' => 'The database program folder.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The installation directory of the database.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DuplicateConflict', 'in' => 'query', - 'schema' => [ - 'description' => 'The policy for handling conflicts with objects that have the same name. Currently, only the following value is supported:'."\n" - ."\n" - .'**renamenew**: Renames the object if a conflict occurs.', - 'type' => 'string', - 'required' => false, - 'example' => 'renamenew', - 'title' => '', - ], + 'schema' => ['description' => 'The policy for resolving same-name object conflicts. Valid value:'."\n" + ."\n" + .'**renamenew**: Renames the restored object if its name conflicts with an existing object.', 'type' => 'string', 'required' => false, 'example' => 'renamenew', 'title' => ''], ], [ 'name' => 'CrossAliyunId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account for cross-account backup.', - 'type' => 'string', - 'required' => false, - 'example' => '2749528728********', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that owns the source database. This parameter is required for cross-account restores.', 'type' => 'string', 'required' => false, 'example' => '2749528728********', 'title' => ''], ], [ 'name' => 'CrossRoleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the RAM role for cross-account backup.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the RAM role used for the cross-account restore.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token to ensure the idempotence of the request. This prevents duplicate submissions.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOC********', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token to ensure request idempotence. This token must be unique across requests.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOC********', 'title' => ''], + ], + [ + 'name' => 'RestoreDestinationMode', + 'in' => 'query', + 'schema' => ['description' => 'The type of the restore destination. Valid values:'."\n" + ."\n" + .'- **EXIST\\_INSTANCE**: Restores data to an existing instance.'."\n" + ."\n" + .'- **NEW\\_INSTANCE**: Restores data to a new instance.', 'type' => 'string', 'example' => 'EXIST_INSTANCE', 'title' => '', 'required' => false], + ], + [ + 'name' => 'EnableDestinationEndpointSsl', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable SSL encryption to connect to the destination database.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'SslCaPem', + 'in' => 'query', + 'schema' => ['description' => 'The SSL certificate used to connect to the destination database.> This parameter is required when `EnableDestinationEndpointSsl` is set to `true`.', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the new instance to create for the restore.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'example' => 'rds', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region where the new instance will be created.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceVpc', + 'in' => 'query', + 'schema' => ['description' => 'The VPC ID of the new instance.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'example' => 'vpc-xx', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceClass', + 'in' => 'query', + 'schema' => ['description' => 'The instance type of the new instance.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'example' => 'mysql.x4.large.2', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceStorageSize', + 'in' => 'query', + 'schema' => ['description' => 'The storage space of the new instance. Unit: GB.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'example' => '500', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DestDatabaseInstanceVSwitch', + 'in' => 'query', + 'schema' => ['description' => 'The vSwitch ID of the new instance.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'required' => false, 'example' => 'vsw-xx', 'title' => ''], + ], + [ + 'name' => 'DestDatabaseInstanceDatabaseVersion', + 'in' => 'query', + 'schema' => ['description' => 'The database engine version of the new instance.> This parameter is required when `RestoreDestinationMode` is set to `NEW_INSTANCE`.', 'type' => 'string', 'required' => false, 'example' => '8.0', 'title' => ''], + ], + [ + 'name' => 'AutoOpenDatabase', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to automatically start the Oracle instance after restoring a physical backup. Valid values: `true` and `false`.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AutoShutdownDatabase', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to automatically stop the Oracle instance before restoring a physical backup. Valid values: `true` and `false`.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'RestoreTaskId' => [ - 'description' => 'The ID of the restore job.', - 'type' => 'string', - 'example' => 's102h*****', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code returned for the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'RestoreTaskId' => ['description' => 'The ID of the restore task.', 'type' => 'string', 'example' => 's102h*****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2618,39 +1521,23 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"RestoreTaskId\\": \\"s102h*****\\"\\n}","type":"json"}]', 'title' => 'CreateRestoreTask', - 'description' => '### Related documents'."\n" + 'description' => '### Related operations'."\n" ."\n" - .'- [Restore a database](~~85543~~)'."\n" + .'- [Recover databases](~~85543~~)'."\n" ."\n" - .'- [Tutorials for database restore configuration](~~197144~~)', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + .'- [Tutorials on configuring recovery for various database types](~~197144~~)', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRestoreTask', - ], + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRestoreTask'], ], ], 'ramActions' => [ @@ -2661,28 +1548,17 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"RestoreTaskId\\": \\"s102h*****\\"\\n}","type":"json"}]', + 'extraInfo' => ' ', ], 'DescribeBackupGatewayList' => [ 'summary' => 'Queries a list of backup gateways in Database Backup Service (DBS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2693,95 +1569,61 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region of the DBS instance. Valid values:'."\n" - ."\n" - .'- **cn-hangzhou**: China (Hangzhou)'."\n" - ."\n" - .'- **cn-shanghai**: China (Shanghai)'."\n" - ."\n" - .'- **cn-qingdao**: China (Qingdao)'."\n" - ."\n" - .'- **cn-beijing**: China (Beijing)'."\n" - ."\n" - .'- **cn-shenzhen**: China (Shenzhen)'."\n" - ."\n" - .'- **cn-hongkong**: China (Hong Kong)'."\n" - ."\n" - .'- **ap-southeast-1**: Singapore'."\n" - ."\n" - .'- **cn-hangzhou-finance**: Hangzhou Finance Cloud'."\n" - ."\n" - .'- **cn-shanghai-finance**: Shanghai Finance Cloud'."\n" - ."\n" - .'- **cn-shenzhen-finance**: Shenzhen Finance Cloud', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region of the DBS instance. Valid values:'."\n" + ."\n" + .'- **cn-hangzhou**: China (Hangzhou)'."\n" + ."\n" + .'- **cn-shanghai**: China (Shanghai)'."\n" + ."\n" + .'- **cn-qingdao**: China (Qingdao)'."\n" + ."\n" + .'- **cn-beijing**: China (Beijing)'."\n" + ."\n" + .'- **cn-shenzhen**: China (Shenzhen)'."\n" + ."\n" + .'- **cn-hongkong**: China (Hong Kong)'."\n" + ."\n" + .'- **ap-southeast-1**: Singapore'."\n" + ."\n" + .'- **cn-hangzhou-finance**: Hangzhou Finance Cloud'."\n" + ."\n" + .'- **cn-shanghai-finance**: Shanghai Finance Cloud'."\n" + ."\n" + .'- **cn-shenzhen-finance**: Shenzhen Finance Cloud', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique identifier of the backup gateway. You can query multiple gateways by separating the identifiers with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => '7213527653217', - 'title' => '', - ], + 'schema' => ['description' => 'The unique identifier of the backup gateway. You can query multiple gateways by separating the identifiers with commas (,).', 'type' => 'string', 'required' => false, 'example' => '7213527653217', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records on each page. Valid values:'."\n" - ."\n" - .'- **30**'."\n" - ."\n" - .'- **50**'."\n" - ."\n" - .'- **100**'."\n" - ."\n" - .'> The default value is 30.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of records on each page. Valid values:'."\n" + ."\n" + .'- **30**'."\n" + ."\n" + .'- **50**'."\n" + ."\n" + .'- **100**'."\n" + ."\n" + .'> The default value is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be greater than or equal to 0 and cannot exceed the maximum value of an integer. The default value is 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. The value must be greater than or equal to 0 and cannot exceed the maximum value of an integer. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. This prevents duplicate requests.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. This prevents duplicate requests.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -2789,65 +1631,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '46361705-8531-492F-807E-A97E482DD4A1', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of backup gateways.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of records on each page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '46361705-8531-492F-807E-A97E482DD4A1', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of backup gateways.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'PageSize' => ['description' => 'The number of records on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, @@ -2858,76 +1650,24 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'DisplayName' => [ - 'description' => 'The display name of the backup gateway.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'BackupGatewayCreateTime' => [ - 'description' => 'The time when the backup gateway was created. This is a UNIX timestamp in milliseconds. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'BackupGatewayId' => [ - 'description' => 'The ID of the backup gateway.', - 'type' => 'string', - 'example' => '2321313123', - 'title' => '', - ], - 'Region' => [ - 'description' => 'The region.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'Identifier' => [ - 'description' => 'The unique identifier of the backup gateway.', - 'type' => 'string', - 'example' => 'sgdsajhdgu', - 'title' => '', - ], - 'SourceEndpointInternetIP' => [ - 'description' => 'The public IP address of the host where the backup gateway is installed.', - 'type' => 'string', - 'example' => 'XX.XX.XX.XX', - 'title' => '', - ], - 'BackupGatewayStatus' => [ - 'description' => 'The status of the backup gateway. Valid values:'."\n" - ."\n" - .'- ONLINE: The gateway is online.'."\n" - ."\n" - .'- OFFLINE: The gateway is offline.'."\n" - ."\n" - .'- STOPPED: The gateway is stopped.'."\n" - ."\n" - .'- UPGRADING: The gateway is being upgraded.', - 'type' => 'string', - 'example' => 'ONLINE', - 'title' => '', - ], - 'SourceEndpointIntranetIP' => [ - 'description' => 'The internal IP address of the host where the backup gateway is installed.', - 'type' => 'string', - 'example' => 'XX.XX.XX.XX', - 'title' => '', - ], - 'LastHeartbeatTime' => [ - 'description' => 'The time of the last heartbeat. This is a UNIX timestamp in milliseconds. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'SourceEndpointHostname' => [ - 'description' => 'The hostname of the host where the backup gateway is installed.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], + 'DisplayName' => ['description' => 'The display name of the backup gateway.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'BackupGatewayCreateTime' => ['description' => 'The time when the backup gateway was created. This is a UNIX timestamp in milliseconds. Example: 1554560477000.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'BackupGatewayId' => ['description' => 'The ID of the backup gateway.', 'type' => 'string', 'example' => '2321313123', 'title' => ''], + 'Region' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Identifier' => ['description' => 'The unique identifier of the backup gateway.', 'type' => 'string', 'example' => 'sgdsajhdgu', 'title' => ''], + 'SourceEndpointInternetIP' => ['description' => 'The public IP address of the host where the backup gateway is installed.', 'type' => 'string', 'example' => 'XX.XX.XX.XX', 'title' => ''], + 'BackupGatewayStatus' => ['description' => 'The status of the backup gateway. Valid values:'."\n" + ."\n" + .'- ONLINE: The gateway is online.'."\n" + ."\n" + .'- OFFLINE: The gateway is offline.'."\n" + ."\n" + .'- STOPPED: The gateway is stopped.'."\n" + ."\n" + .'- UPGRADING: The gateway is being upgraded.', 'type' => 'string', 'example' => 'ONLINE', 'title' => ''], + 'SourceEndpointIntranetIP' => ['description' => 'The internal IP address of the host where the backup gateway is installed.', 'type' => 'string', 'example' => 'XX.XX.XX.XX', 'title' => ''], + 'LastHeartbeatTime' => ['description' => 'The time of the last heartbeat. This is a UNIX timestamp in milliseconds. Example: 1554560477000.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'SourceEndpointHostname' => ['description' => 'The hostname of the host where the backup gateway is installed.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], 'description' => '', 'title' => '', @@ -2950,11 +1690,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeBackupGatewayList', @@ -2962,19 +1698,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeBackupGatewayList', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupGatewayList'], ], ], 'ramActions' => [ @@ -2985,12 +1713,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -2998,14 +1721,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"46361705-8531-492F-807E-A97E482DD4A1\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 0,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"BackupGateway\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"BackupGatewayCreateTime\\": 1554560477000,\\n \\"BackupGatewayId\\": \\"2321313123\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Identifier\\": \\"sgdsajhdgu\\",\\n \\"SourceEndpointInternetIP\\": \\"XX.XX.XX.XX\\",\\n \\"BackupGatewayStatus\\": \\"ONLINE\\",\\n \\"SourceEndpointIntranetIP\\": \\"XX.XX.XX.XX\\",\\n \\"LastHeartbeatTime\\": 1554560477000,\\n \\"SourceEndpointHostname\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeBackupPlanBilling' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3016,43 +1733,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01ex****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01ex****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token to ensure the idempotence of the request. The client generates this value. It must be unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. The client generates this value. It must be unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', 'title' => ''], ], [ 'name' => 'ShowStorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to display the storage class.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to display the storage class.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -3060,145 +1757,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DD7BC7F5-4E3A-5DF3-BFF9-831503C4D9E3', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameter', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'This backupPlan can\'t support this action', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD7BC7F5-4E3A-5DF3-BFF9-831503C4D9E3', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'This backupPlan can\'t support this action', 'title' => ''], 'Item' => [ 'description' => 'The billing information of the backup plan.', 'type' => 'object', 'properties' => [ - 'BuyCreateTimestamp' => [ - 'description' => 'The timestamp that indicates when the instance was purchased.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1658372830000', - 'title' => '', - ], - 'FullStorageSize' => [ - 'description' => 'The storage space used by full backup data. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '151', - 'title' => '', - ], - 'BuyExpiredTimestamp' => [ - 'description' => 'The timestamp that indicates when the instance expires.'."\n" - ."\n" - .'> This parameter is returned only when BuyChargeType is set to PREPAY.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661097600000', - 'title' => '', - ], - 'BuySpec' => [ - 'description' => 'The instance type.', - 'type' => 'string', - 'example' => 'micro', - 'title' => '', - ], - 'QuotaEndTimestamp' => [ - 'description' => 'The timestamp that indicates the end of the billing cycle for the free backup traffic.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659283200000', - 'title' => '', - ], - 'IsExpired' => [ - 'description' => 'Indicates whether the instance has expired.'."\n" - ."\n" - .'> This parameter is returned only when BuyChargeType is set to PREPAY.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'QuotaStartTimestamp' => [ - 'description' => 'The timestamp that indicates the start of the billing cycle for the free backup traffic.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1656604800000', - 'title' => '', - ], - 'TotalFreeBytes' => [ - 'description' => 'The total free backup traffic in the current month. Unit: bytes.'."\n" - ."\n" - .'> This parameter is returned only when BuyChargeType is set to PREPAY and IsFreeBytesUnlimited is false.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '858993459200', - 'title' => '', - ], - 'PaiedBytes' => [ - 'description' => 'The total paid backup traffic in the current month. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '', - ], - 'UsedFullBytes' => [ - 'description' => 'The paid traffic for full backups in the current month. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '', - ], - 'IsFreeBytesUnlimited' => [ - 'description' => 'Indicates whether the instance provides unlimited free backup traffic.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ContStorageSize' => [ - 'description' => 'The storage space used by incremental backup data. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10437039', - 'title' => '', - ], - 'BuyChargeType' => [ - 'description' => 'The billing method of the instance. Valid values:'."\n" - ."\n" - .'- **PREPAY**: subscription'."\n" - ."\n" - .'- **POSTPAY**: pay-as-you-go', - 'type' => 'string', - 'example' => 'PREPAY', - 'title' => '', - ], - 'UsedIncrementBytes' => [ - 'description' => 'The paid traffic for incremental backups in the current month. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9406734', - 'title' => '', - ], + 'BuyCreateTimestamp' => ['description' => 'The timestamp that indicates when the instance was purchased.', 'type' => 'integer', 'format' => 'int64', 'example' => '1658372830000', 'title' => ''], + 'FullStorageSize' => ['description' => 'The storage space used by full backup data. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '151', 'title' => ''], + 'BuyExpiredTimestamp' => ['description' => 'The timestamp that indicates when the instance expires.'."\n" + ."\n" + .'> This parameter is returned only when BuyChargeType is set to PREPAY.', 'type' => 'integer', 'format' => 'int64', 'example' => '1661097600000', 'title' => ''], + 'BuySpec' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'micro', 'title' => ''], + 'QuotaEndTimestamp' => ['description' => 'The timestamp that indicates the end of the billing cycle for the free backup traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659283200000', 'title' => ''], + 'IsExpired' => ['description' => 'Indicates whether the instance has expired.'."\n" + ."\n" + .'> This parameter is returned only when BuyChargeType is set to PREPAY.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'QuotaStartTimestamp' => ['description' => 'The timestamp that indicates the start of the billing cycle for the free backup traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '1656604800000', 'title' => ''], + 'TotalFreeBytes' => ['description' => 'The total free backup traffic in the current month. Unit: bytes.'."\n" + ."\n" + .'> This parameter is returned only when BuyChargeType is set to PREPAY and IsFreeBytesUnlimited is false.', 'type' => 'integer', 'format' => 'int64', 'example' => '858993459200', 'title' => ''], + 'PaiedBytes' => ['description' => 'The total paid backup traffic in the current month. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'UsedFullBytes' => ['description' => 'The paid traffic for full backups in the current month. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'IsFreeBytesUnlimited' => ['description' => 'Indicates whether the instance provides unlimited free backup traffic.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ContStorageSize' => ['description' => 'The storage space used by incremental backup data. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '10437039', 'title' => ''], + 'BuyChargeType' => ['description' => 'The billing method of the instance. Valid values:'."\n" + ."\n" + .'- **PREPAY**: subscription'."\n" + ."\n" + .'- **POSTPAY**: pay-as-you-go', 'type' => 'string', 'example' => 'PREPAY', 'title' => ''], + 'UsedIncrementBytes' => ['description' => 'The paid traffic for incremental backups in the current month. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '9406734', 'title' => ''], ], 'title' => '', 'example' => '', @@ -3212,11 +1803,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeBackupPlanBilling', @@ -3225,27 +1812,13 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-08-18T07:56:56.000Z', - 'description' => 'Response parameters changed', - ], - [ - 'createdAt' => '2022-07-28T06:48:28.000Z', - 'description' => 'Response parameters changed', - ], - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-08-18T07:56:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-28T06:48:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeBackupPlanBilling', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupPlanBilling'], ], ], 'ramActions' => [ @@ -3256,12 +1829,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -3269,15 +1837,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 400,\\n \\"RequestId\\": \\"DD7BC7F5-4E3A-5DF3-BFF9-831503C4D9E3\\",\\n \\"ErrCode\\": \\"InvalidParameter\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"This backupPlan can\'t support this action\\",\\n \\"Item\\": {\\n \\"BuyCreateTimestamp\\": 1658372830000,\\n \\"FullStorageSize\\": 151,\\n \\"BuyExpiredTimestamp\\": 1661097600000,\\n \\"BuySpec\\": \\"micro\\",\\n \\"QuotaEndTimestamp\\": 1659283200000,\\n \\"IsExpired\\": true,\\n \\"QuotaStartTimestamp\\": 1656604800000,\\n \\"TotalFreeBytes\\": 858993459200,\\n \\"PaiedBytes\\": 0,\\n \\"UsedFullBytes\\": 0,\\n \\"IsFreeBytesUnlimited\\": true,\\n \\"ContStorageSize\\": 10437039,\\n \\"BuyChargeType\\": \\"PREPAY\\",\\n \\"UsedIncrementBytes\\": 9406734\\n }\\n}","type":"json"}]', ], 'DescribeBackupPlanList' => [ - 'summary' => 'Queries the details of one or more DBS backup plans.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries a DBS backup plan.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3288,506 +1850,246 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. To query multiple backup plans, separate the IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'dbstooi01exXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. You can specify multiple backup plan IDs, separated by commas.', 'type' => 'string', 'required' => false, 'example' => 'dbstooi01exXXXX', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the DBS instance. To view the supported regions, call the [DescribeRegions](~~2869853~~) operation.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the region where the backup plan is located. You can call the [DescribeRegions](~~2869853~~) operation to query the list of supported regions.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n" - ."\n" - .'> Default value: **30**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n" + ."\n" + .'> The default value is **30**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number to return. The value must be an integer that is greater than or equal to 0. Default value: 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number to return. The value must be an integer that is greater than or equal to 0. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'BackupPlanName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the backup plan.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the backup plan.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'BackupPlanStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the backup plan. Valid values:'."\n" - ."\n" - .'- **wait**: The backup plan is not configured.'."\n" - ."\n" - .'- **init**: The backup plan failed to be started because the precheck failed.'."\n" - ."\n" - .'- **running**: The backup plan is running.'."\n" - ."\n" - .'- **stop**: The backup plan failed.'."\n" - ."\n" - .'- **pause**: The backup plan is paused.'."\n" - ."\n" - .'- **locked**: The backup plan is locked.'."\n" - ."\n" - .'- **check\\_pass**: The precheck passed.', - 'type' => 'string', - 'required' => false, - 'example' => 'wait', - 'title' => '', - ], + 'schema' => ['description' => 'The status of the backup plan. Valid values:'."\n" + ."\n" + .'- **wait**: The backup plan is not configured.'."\n" + ."\n" + .'- **init**: The backup plan is not started because a precheck failed.'."\n" + ."\n" + .'- **running**: The backup plan is running.'."\n" + ."\n" + .'- **stop**: The backup plan has failed.'."\n" + ."\n" + .'- **pause**: The backup plan is paused.'."\n" + ."\n" + .'- **locked**: The backup plan is locked.'."\n" + ."\n" + .'- **check\\_pass**: The precheck is passed.', 'type' => 'string', 'required' => false, 'example' => 'wait', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ASDASDASDSADASFCZXVZ', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ASDASDASDSADASFCZXVZ', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzecovzti****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzecovzti****', 'title' => ''], + ], + [ + 'name' => 'ShowStorageStrategyInfo', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return information about the storage strategy. Default value: false.', 'type' => 'boolean', 'default' => 'true', 'title' => '', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ShowBackupStrategyInfo', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return information about the backup strategy. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'ShowRecoverTimeRange', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return the recovery time range. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'BackupMethod', + 'in' => 'query', + 'schema' => ['description' => 'The backup method.', 'type' => 'string', 'example' => 'logical', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The details of the returned parameters.', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameterValid', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of backup plans.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameterValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of backup plans.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'BackupPlanDetail' => [ - 'description' => 'The details of the backup plan.', + 'description' => 'A list of the backup plans.', 'type' => 'array', 'items' => [ - 'description' => 'The return value.', + 'description' => 'The details of a backup plan.', 'type' => 'object', 'properties' => [ - 'CrossRoleName' => [ - 'description' => 'The name of the Resource Access Management (RAM) role that is used for cross-account backup.', - 'type' => 'string', - 'example' => 'test123', - 'title' => '', - ], - 'SourceEndpointInstanceType' => [ - 'description' => 'The location of the database. Valid values:'."\n" - ."\n" - .'- **rds**'."\n" - ."\n" - .'- **ecs**'."\n" - ."\n" - .'- **express**: A database that is connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- **agent**: A database that is connected using a backup gateway.'."\n" - ."\n" - .'- **dds**: A MongoDB instance.'."\n" - ."\n" - .'- **other**: A database that is connected over the internet.', - 'type' => 'string', - 'example' => 'rds', - 'title' => '', - ], - 'BackupSetDownloadDir' => [ - 'description' => 'The directory on the server where the backup set is downloaded.', - 'type' => 'string', - 'example' => '*/test/test123', - 'title' => '', - ], - 'SourceEndpointIpPort' => [ - 'description' => 'The database endpoint.', - 'type' => 'string', - 'example' => '100.*.*.10:33204', - 'title' => '', - ], - 'CrossAliyunId' => [ - 'description' => 'The UID of the Alibaba Cloud account that is used for cross-account backup.', - 'type' => 'string', - 'example' => '2xxx7778xxxxxxxxxx', - 'title' => '', - ], - 'DuplicationArchivePeriod' => [ - 'description' => 'The number of days after which a backup set is converted to an archive backup. Unit: days.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '365', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbstooi01eXXXX', - 'title' => '', - ], - 'EndTimestampForRestore' => [ - 'description' => 'The end of the time range within which the database can be restored. This value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'BackupPlanStatus' => [ - 'description' => 'The status of the backup plan. Valid values:'."\n" - ."\n" - .'- **wait**: The backup plan is not configured.'."\n" - ."\n" - .'- **init**: The backup plan failed to be started because the precheck failed.'."\n" - ."\n" - .'- **running**: The backup plan is running.'."\n" - ."\n" - .'- **stop**: The backup plan failed.'."\n" - ."\n" - .'- **pause**: The backup plan is paused.'."\n" - ."\n" - .'- **locked**: The backup plan is locked.'."\n" - ."\n" - .'- **check\\_pass**: The precheck passed.', - 'type' => 'string', - 'example' => 'init', - 'title' => '', - ], - 'BackupSetDownloadFullDataFormat' => [ - 'description' => 'The format of the full data in the downloaded backup set:'."\n" - ."\n" - .'- **Native**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **CSV**'."\n" - ."\n" - .'- **JSON**', - 'type' => 'string', - 'example' => 'SQL', - 'title' => '', - ], - 'BackupRetentionPeriod' => [ - 'description' => 'The retention period of the backup data. Valid values: 0 to 1825. Unit: days.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '365', - 'title' => '', - ], - 'OSSBucketRegion' => [ - 'description' => 'The region of the OSS bucket.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'SourceEndpointOracleSID' => [ - 'description' => 'The Oracle system ID (SID).', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'BackupStorageType' => [ - 'description' => 'The built-in storage type. Valid values:'."\n" - ."\n" - .'- Empty (default): The backup data is stored in your OSS bucket.'."\n" - ."\n" - .'- system: The backup data is stored in the built-in OSS bucket of DBS.', - 'type' => 'string', - 'example' => 'system', - 'title' => '', - ], - 'BackupMethod' => [ - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **logical**: Logical backup'."\n" - ."\n" - .'- **physical**: Physical backup'."\n" - ."\n" - .'- **duplication**: Dump backup', - 'type' => 'string', - 'example' => 'logical', - 'title' => '', - ], - 'SourceEndpointRegion' => [ - 'description' => 'The region of the database.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'BackupPeriod' => [ - 'description' => 'The full backup cycle. Valid values:'."\n" - ."\n" - .'- **Monday**'."\n" - ."\n" - .'- **Tuesday**'."\n" - ."\n" - .'- **Wednesday**'."\n" - ."\n" - .'- **Thursday**'."\n" - ."\n" - .'- **Friday**'."\n" - ."\n" - .'- **Saturday**'."\n" - ."\n" - .'- **Sunday**', - 'type' => 'string', - 'example' => 'Monday', - 'title' => '', - ], - 'SourceEndpointDatabaseName' => [ - 'description' => 'The name of the database.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'BackupSetDownloadGatewayId' => [ - 'description' => 'The ID of the backup gateway that is used to download the backup set.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123123', - 'title' => '', - ], - 'BackupPlanCreateTime' => [ - 'description' => 'The timestamp that indicates when the backup plan was created.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582527713000', - 'title' => '', - ], - 'InstanceClass' => [ - 'description' => 'The instance specification. Valid values:'."\n" - ."\n" - .'- **micro**: Micro'."\n" - ."\n" - .'- **small**: Small'."\n" - ."\n" - .'- **medium**: Medium'."\n" - ."\n" - .'- **large**: Large'."\n" - ."\n" - .'- **xlarge**: X-Large (no traffic limit)', - 'type' => 'string', - 'example' => 'micro', - 'title' => '', - ], - 'BackupSetDownloadTargetType' => [ - 'description' => 'The destination type for downloading the backup set.'."\n" - ."\n" - .'> The only valid value is agent, which indicates that a backup gateway is installed.', - 'type' => 'string', - 'example' => 'agent', - 'title' => '', - ], - 'DuplicationInfrequentAccessPeriod' => [ - 'description' => 'The number of days after which a backup set is converted to Infrequent Access (IA) storage. Unit: days.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '180', - 'title' => '', - ], - 'BackupStartTime' => [ - 'description' => 'The start time of the full backup. The time is in the HH:mm format.', - 'type' => 'string', - 'example' => '14:22', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned for the precheck task.', - 'type' => 'string', - 'example' => ' can not connect to oracle instance orcl with user dbs', - 'title' => '', - ], - 'BackupObjects' => [ - 'description' => 'The backup objects.', - 'type' => 'string', - 'example' => '[ { \\"DBName\\":\\"待备份库名\\", \\"SchemaName\\":\\"待备份 Schema 名\\", \\"TableIncludes\\":[{ \\"TableName\\":\\"待备份表表名\\" }], \\"TableExcludes\\":[{ \\"TableName\\":\\"待备份库名不需要备份表的表名\\" }] } ]', - 'title' => '', - ], - 'BeginTimestampForRestore' => [ - 'description' => 'The beginning of the time range within which the database can be restored. This value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'SourceEndpointInstanceID' => [ - 'description' => 'The ID of the database instance.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'OpenBackupSetAutoDownload' => [ - 'description' => 'Indicates whether the feature of automatically downloading backup sets is enabled.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'BackupPlanName' => [ - 'description' => 'The name of the backup plan.', - 'type' => 'string', - 'example' => 'dbstooi01e****', - 'title' => '', - ], - 'OSSBucketName' => [ - 'description' => 'The name of the OSS bucket.', - 'type' => 'string', - 'example' => 'dbs-backup-1857XXXXX489', - 'title' => '', - ], - 'BackupGatewayId' => [ - 'description' => 'The ID of the backup gateway.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '827362187368736', - 'title' => '', - ], - 'SourceEndpointUserName' => [ - 'description' => 'The database account.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'BackupSetDownloadIncrementDataFormat' => [ - 'description' => 'The format of the full data downloaded from the backup set:'."\n" - ."\n" - .'- **Native**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **CSV**'."\n" - ."\n" - .'- **JSON**', - 'type' => 'string', - 'example' => 'SQL', - 'title' => '', - ], - 'EnableBackupLog' => [ - 'description' => 'Indicates whether incremental log backup is enabled. Valid values:'."\n" - ."\n" - .'- **true**: Enabled'."\n" - ."\n" - .'- **false**: Disabled', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.', - 'type' => 'string', - 'example' => 'rg-aekzecovzti****', - 'title' => '', - ], - 'DatabaseType' => [ - 'description' => 'The database type.', - 'type' => 'string', - 'example' => 'MySQL', - 'title' => '', - ], + 'CrossRoleName' => ['description' => 'The name of the RAM role for cross-account backups.', 'type' => 'string', 'example' => 'test123', 'title' => ''], + 'SourceEndpointInstanceType' => ['description' => 'The type of the source endpoint. Valid values:'."\n" + ."\n" + .'- **rds**'."\n" + ."\n" + .'- **ecs**'."\n" + ."\n" + .'- **express**: A database connected over an Express Connect circuit, a VPN Gateway, or a Smart Access Gateway instance.'."\n" + ."\n" + .'- **agent**: A database connected by a backup gateway.'."\n" + ."\n" + .'- **dds**: An ApsaraDB for MongoDB instance.'."\n" + ."\n" + .'- **other**: A database connected by an IP address and a port number.', 'type' => 'string', 'example' => 'rds', 'title' => ''], + 'BackupSetDownloadDir' => ['description' => 'The server directory for downloaded backup sets.', 'type' => 'string', 'example' => '*/test/test123', 'title' => ''], + 'SourceEndpointIpPort' => ['description' => 'The endpoint of the source database.', 'type' => 'string', 'example' => '100.*.*.10:33204', 'title' => ''], + 'CrossAliyunId' => ['description' => 'The user ID for cross-account backups.', 'type' => 'string', 'example' => '2xxx7778xxxxxxxxxx', 'title' => ''], + 'DuplicationArchivePeriod' => ['description' => 'The number of days after which a duplicate backup is converted to archive storage.', 'type' => 'integer', 'format' => 'int32', 'example' => '365', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbstooi01eXXXX', 'title' => ''], + 'EndTimestampForRestore' => ['description' => 'The end of the restorable time period. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'BackupPlanStatus' => ['description' => 'The status of the backup plan. Valid values:'."\n" + ."\n" + .'- **wait**: The plan is not configured.'."\n" + ."\n" + .'- **init**: The plan has not started because a precheck failed.'."\n" + ."\n" + .'- **running**: The plan is running.'."\n" + ."\n" + .'- **stop**: The plan failed.'."\n" + ."\n" + .'- **pause**: The plan is paused.'."\n" + ."\n" + .'- **locked**: The plan is locked.'."\n" + ."\n" + .'- **check\\_pass**: The precheck passed.', 'type' => 'string', 'example' => 'init', 'title' => ''], + 'BackupSetDownloadFullDataFormat' => ['description' => 'The data format for downloading full backup sets. Valid values:'."\n" + ."\n" + .'- **Native**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **CSV**'."\n" + ."\n" + .'- **JSON**', 'type' => 'string', 'example' => 'SQL', 'title' => ''], + 'BackupRetentionPeriod' => ['description' => 'The backup retention period, in days. Valid values: 0 to 1825.', 'type' => 'integer', 'format' => 'int32', 'example' => '365', 'title' => ''], + 'OSSBucketRegion' => ['description' => 'The region of the OSS bucket.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'SourceEndpointOracleSID' => ['description' => 'The Oracle system ID (SID).', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'BackupStorageType' => ['description' => 'The storage type of the backup data. Valid values:'."\n" + ."\n" + .'- Empty string (default): The backup data is stored in your OSS bucket.'."\n" + ."\n" + .'- system: The backup data is stored in the built-in OSS bucket of DBS.', 'type' => 'string', 'example' => 'system', 'title' => ''], + 'BackupMethod' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **logical**: Logical backup'."\n" + ."\n" + .'- **physical**: Physical backup'."\n" + ."\n" + .'- **duplication**: Duplicate backup', 'type' => 'string', 'example' => 'logical', 'title' => ''], + 'SourceEndpointRegion' => ['description' => 'The region of the source database.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'BackupPeriod' => ['description' => 'The day of the week for full backups. Valid values:'."\n" + ."\n" + .'- **Monday**'."\n" + ."\n" + .'- **Tuesday**'."\n" + ."\n" + .'- **Wednesday**'."\n" + ."\n" + .'- **Thursday**'."\n" + ."\n" + .'- **Friday**'."\n" + ."\n" + .'- **Saturday**'."\n" + ."\n" + .'- **Sunday**', 'type' => 'string', 'example' => 'Monday', 'title' => ''], + 'SourceEndpointDatabaseName' => ['description' => 'The name of the source database.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'BackupSetDownloadGatewayId' => ['description' => 'The ID of the backup gateway used to download the backup set.', 'type' => 'integer', 'format' => 'int64', 'example' => '123123', 'title' => ''], + 'BackupPlanCreateTime' => ['description' => 'The creation time of the backup plan. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582527713000', 'title' => ''], + 'InstanceClass' => ['description' => 'The instance class. Valid values:'."\n" + ."\n" + .'- **micro**: Entry-level'."\n" + ."\n" + .'- **small**: Low-spec'."\n" + ."\n" + .'- **medium**: Medium-spec'."\n" + ."\n" + .'- **large**: High-spec'."\n" + ."\n" + .'- **xlarge**: High-spec (no traffic limit)', 'type' => 'string', 'example' => 'micro', 'title' => ''], + 'BackupSetDownloadTargetType' => ['description' => 'The target type for backup set downloads.'."\n" + ."\n" + .'> The only valid value is agent, which indicates that a backup gateway is installed.', 'type' => 'string', 'example' => 'agent', 'title' => ''], + 'DuplicationInfrequentAccessPeriod' => ['description' => 'The number of days after which backup data is converted to Infrequent Access storage.', 'type' => 'integer', 'format' => 'int32', 'example' => '180', 'title' => ''], + 'BackupStartTime' => ['description' => 'The start time for full backups. The time is in the HH:mm format.', 'type' => 'string', 'example' => '14:22', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned by the precheck task.', 'type' => 'string', 'example' => ' can not connect to oracle instance orcl with user dbs', 'title' => ''], + 'BackupObjects' => ['description' => 'The backup objects, specified in a JSON string.', 'type' => 'string', 'example' => '[ { \\"DBName\\":\\"待备份库名\\", \\"SchemaName\\":\\"待备份 Schema 名\\", \\"TableIncludes\\":[{ \\"TableName\\":\\"待备份表表名\\" }], \\"TableExcludes\\":[{ \\"TableName\\":\\"待备份库名不需要备份表的表名\\" }] } ]', 'title' => ''], + 'BeginTimestampForRestore' => ['description' => 'The beginning of the restorable time period. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'SourceEndpointInstanceID' => ['description' => 'The ID of the source database instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OpenBackupSetAutoDownload' => ['description' => 'Indicates whether automatic download of backup sets is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'BackupPlanName' => ['description' => 'The name of the backup plan.', 'type' => 'string', 'example' => 'dbstooi01e****', 'title' => ''], + 'OSSBucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'dbs-backup-1857XXXXX489', 'title' => ''], + 'BackupGatewayId' => ['description' => 'The ID of the backup gateway.', 'type' => 'integer', 'format' => 'int64', 'example' => '827362187368736', 'title' => ''], + 'SourceEndpointUserName' => ['description' => 'The username of the source database account.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'BackupSetDownloadIncrementDataFormat' => ['description' => 'The data format for downloading incremental backup sets. Valid values:'."\n" + ."\n" + .'- **Native**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **CSV**'."\n" + ."\n" + .'- **JSON**', 'type' => 'string', 'example' => 'SQL', 'title' => ''], + 'EnableBackupLog' => ['description' => 'Indicates whether log backup is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled'."\n" + ."\n" + .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-aekzecovzti****', 'title' => ''], + 'DatabaseType' => ['description' => 'The type of the source database.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'BackupPlanRegion' => ['description' => 'The region of the backup plan.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'SourceEndpointHost' => ['description' => 'The source endpoint address.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'InstanceChargeType' => ['description' => 'The billing method of the backup plan instance.', 'type' => 'string', 'example' => 'PREPAY', 'title' => ''], + 'InstanceExpiredTimestamp' => ['description' => 'The expiration time of the backup plan instance. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1764051253000', 'title' => ''], + 'SourceEndpointEnableSsl' => ['description' => 'Indicates whether SSL encryption is enabled for the source database.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'StorageEncryptMethod' => ['description' => 'The encryption method for the backup storage.', 'type' => 'string', 'example' => 'encrypted', 'title' => ''], + 'SourceEndpointPort' => ['description' => 'The port number of the source database.', 'type' => 'string', 'example' => '3306', 'title' => ''], + 'IncrementBackupRetentionPeriod' => ['description' => 'The retention period for incremental backups, in days.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'IncrementDuplicationInfrequentAccessPeriod' => ['description' => 'The number of days after which incremental backups are converted to Infrequent Access storage.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'IncrementDuplicationArchivePeriod' => ['description' => 'The number of days after which incremental backups are converted to archive storage.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'LogBackupRetentionPeriod' => ['description' => 'The retention period for log backups, in days.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'LogDuplicationInfrequentAccessPeriod' => ['description' => 'The number of days after which log backups are converted to Infrequent Access storage.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'LogDuplicationArchivePeriod' => ['description' => 'The number of days after which log backups are converted to archive storage.', 'type' => 'string', 'example' => '365', 'title' => ''], + 'BackupGatewayIdentifier' => ['description' => 'The unique ID of the backup gateway.', 'type' => 'string', 'example' => 'TESTGATEWAY', 'title' => ''], + 'EnableMysqlPhysicalBackupBinLog' => ['description' => 'Indicates whether log backup is enabled for MySQL physical backups.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], 'title' => '', 'example' => '', @@ -3796,7 +2098,7 @@ 'example' => '', ], ], - 'description' => '', + 'description' => 'The response items.', 'title' => '', 'example' => '', ], @@ -3808,44 +2110,24 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"ErrCode\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 4,\\n \\"TotalElements\\": 100,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"BackupPlanDetail\\": [\\n {\\n \\"CrossRoleName\\": \\"test123\\",\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"BackupSetDownloadDir\\": \\"*/test/test123\\",\\n \\"SourceEndpointIpPort\\": \\"100.*.*.10:33204\\",\\n \\"CrossAliyunId\\": \\"2xxx7778xxxxxxxxxx\\",\\n \\"DuplicationArchivePeriod\\": 365,\\n \\"BackupPlanId\\": \\"dbstooi01eXXXX\\",\\n \\"EndTimestampForRestore\\": 1554560477000,\\n \\"BackupPlanStatus\\": \\"init\\",\\n \\"BackupSetDownloadFullDataFormat\\": \\"SQL\\",\\n \\"BackupRetentionPeriod\\": 365,\\n \\"OSSBucketRegion\\": \\"cn-hangzhou\\",\\n \\"SourceEndpointOracleSID\\": \\"test\\",\\n \\"BackupStorageType\\": \\"system\\",\\n \\"BackupMethod\\": \\"logical\\",\\n \\"SourceEndpointRegion\\": \\"cn-hangzhou\\",\\n \\"BackupPeriod\\": \\"Monday\\",\\n \\"SourceEndpointDatabaseName\\": \\"test\\",\\n \\"BackupSetDownloadGatewayId\\": 123123,\\n \\"BackupPlanCreateTime\\": 1582527713000,\\n \\"InstanceClass\\": \\"micro\\",\\n \\"BackupSetDownloadTargetType\\": \\"agent\\",\\n \\"DuplicationInfrequentAccessPeriod\\": 180,\\n \\"BackupStartTime\\": \\"14:22\\",\\n \\"ErrMessage\\": \\" can not connect to oracle instance orcl with user dbs\\",\\n \\"BackupObjects\\": \\"[ { \\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份库名\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SchemaName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份 Schema 名\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"TableIncludes\\\\\\\\\\\\\\":[{ \\\\\\\\\\\\\\"TableName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份表表名\\\\\\\\\\\\\\" }], \\\\\\\\\\\\\\"TableExcludes\\\\\\\\\\\\\\":[{ \\\\\\\\\\\\\\"TableName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份库名不需要备份表的表名\\\\\\\\\\\\\\" }] } ]\\",\\n \\"BeginTimestampForRestore\\": 1554560477000,\\n \\"SourceEndpointInstanceID\\": \\"test\\",\\n \\"OpenBackupSetAutoDownload\\": true,\\n \\"BackupPlanName\\": \\"dbstooi01e****\\",\\n \\"OSSBucketName\\": \\"dbs-backup-1857XXXXX489\\",\\n \\"BackupGatewayId\\": 827362187368736,\\n \\"SourceEndpointUserName\\": \\"test\\",\\n \\"BackupSetDownloadIncrementDataFormat\\": \\"SQL\\",\\n \\"EnableBackupLog\\": true,\\n \\"ResourceGroupId\\": \\"rg-aekzecovzti****\\",\\n \\"DatabaseType\\": \\"MySQL\\",\\n \\"BackupPlanRegion\\": \\"cn-beijing\\",\\n \\"SourceEndpointHost\\": \\"127.0.0.1\\",\\n \\"InstanceChargeType\\": \\"PREPAY\\",\\n \\"InstanceExpiredTimestamp\\": 1764051253000,\\n \\"SourceEndpointEnableSsl\\": \\"true\\",\\n \\"StorageEncryptMethod\\": \\"encrypted\\",\\n \\"SourceEndpointPort\\": \\"3306\\",\\n \\"IncrementBackupRetentionPeriod\\": \\"365\\",\\n \\"IncrementDuplicationInfrequentAccessPeriod\\": \\"365\\",\\n \\"IncrementDuplicationArchivePeriod\\": \\"365\\",\\n \\"LogBackupRetentionPeriod\\": \\"365\\",\\n \\"LogDuplicationInfrequentAccessPeriod\\": \\"365\\",\\n \\"LogDuplicationArchivePeriod\\": \\"365\\",\\n \\"BackupGatewayIdentifier\\": \\"TESTGATEWAY\\",\\n \\"EnableMysqlPhysicalBackupBinLog\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeBackupPlanList', - 'description' => 'You must activate Object Storage Service (OSS) before you can use this API. For more information, see [Object Storage Service](~~31817~~).', + 'description' => 'Ensure Object Storage Service (OSS) is enabled before you use this operation. For more information, see [Object Storage Service](~~31817~~).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2023-03-28T07:35:02.000Z', - 'description' => 'Response parameters changed', - ], - [ - 'createdAt' => '2022-08-12T03:51:12.000Z', - 'description' => 'Response parameters changed', - ], - [ - 'createdAt' => '2022-07-28T06:48:28.000Z', - 'description' => 'Request parameters changed, Response parameters changed', - ], - [ - 'createdAt' => '2022-07-12T03:54:06.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2023-03-28T07:35:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-08-12T03:51:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-28T06:48:28.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-07-12T03:54:06.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeBackupPlanList', - ], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupPlanList'], ], ], 'ramActions' => [ @@ -3856,28 +2138,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"ErrCode\\": \\"InvalidParameterValid\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 4,\\n \\"TotalElements\\": 100,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"BackupPlanDetail\\": [\\n {\\n \\"CrossRoleName\\": \\"test123\\",\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"BackupSetDownloadDir\\": \\"*/test/test123\\",\\n \\"SourceEndpointIpPort\\": \\"100.*.*.10:33204\\",\\n \\"CrossAliyunId\\": \\"2xxx7778xxxxxxxxxx\\",\\n \\"DuplicationArchivePeriod\\": 365,\\n \\"BackupPlanId\\": \\"dbstooi01eXXXX\\",\\n \\"EndTimestampForRestore\\": 1554560477000,\\n \\"BackupPlanStatus\\": \\"init\\",\\n \\"BackupSetDownloadFullDataFormat\\": \\"SQL\\",\\n \\"BackupRetentionPeriod\\": 365,\\n \\"OSSBucketRegion\\": \\"cn-hangzhou\\",\\n \\"SourceEndpointOracleSID\\": \\"test\\",\\n \\"BackupStorageType\\": \\"system\\",\\n \\"BackupMethod\\": \\"logical\\",\\n \\"SourceEndpointRegion\\": \\"cn-hangzhou\\",\\n \\"BackupPeriod\\": \\"Monday\\",\\n \\"SourceEndpointDatabaseName\\": \\"test\\",\\n \\"BackupSetDownloadGatewayId\\": 123123,\\n \\"BackupPlanCreateTime\\": 1582527713000,\\n \\"InstanceClass\\": \\"micro\\",\\n \\"BackupSetDownloadTargetType\\": \\"agent\\",\\n \\"DuplicationInfrequentAccessPeriod\\": 180,\\n \\"BackupStartTime\\": \\"14:22\\",\\n \\"ErrMessage\\": \\" can not connect to oracle instance orcl with user dbs\\",\\n \\"BackupObjects\\": \\"[ { \\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份库名\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"SchemaName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份 Schema 名\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"TableIncludes\\\\\\\\\\\\\\":[{ \\\\\\\\\\\\\\"TableName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份表表名\\\\\\\\\\\\\\" }], \\\\\\\\\\\\\\"TableExcludes\\\\\\\\\\\\\\":[{ \\\\\\\\\\\\\\"TableName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"待备份库名不需要备份表的表名\\\\\\\\\\\\\\" }] } ]\\",\\n \\"BeginTimestampForRestore\\": 1554560477000,\\n \\"SourceEndpointInstanceID\\": \\"test\\",\\n \\"OpenBackupSetAutoDownload\\": true,\\n \\"BackupPlanName\\": \\"dbstooi01e****\\",\\n \\"OSSBucketName\\": \\"dbs-backup-1857XXXXX489\\",\\n \\"BackupGatewayId\\": 827362187368736,\\n \\"SourceEndpointUserName\\": \\"test\\",\\n \\"BackupSetDownloadIncrementDataFormat\\": \\"SQL\\",\\n \\"EnableBackupLog\\": true,\\n \\"ResourceGroupId\\": \\"rg-aekzecovzti****\\",\\n \\"DatabaseType\\": \\"MySQL\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeBackupSetDownloadTaskList' => [ 'summary' => 'Queries the list of download tasks for backup sets in Database Backup Service (DBS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3888,75 +2158,41 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> You must specify either **BackupPlanId** or **BackupSetDownloadTaskId**.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbsqhnuhyw3****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" + ."\n" + .'> You must specify either **BackupPlanId** or **BackupSetDownloadTaskId**.', 'type' => 'string', 'required' => false, 'example' => 'dbsqhnuhyw3****', 'title' => ''], ], [ 'name' => 'BackupSetDownloadTaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set download task.'."\n" - ."\n" - .'- For a full backup, call the [CreateFullBackupSetDownload](~~2869842~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'- For an incremental backup, call the [CreateIncrementBackupSetDownload](~~2869843~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'urxgrxt7****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup set download task.'."\n" + ."\n" + .'- For a full backup, call the [CreateFullBackupSetDownload](~~2869842~~) operation to obtain the value of this parameter.'."\n" + ."\n" + .'- For an incremental backup, call the [CreateIncrementBackupSetDownload](~~2869843~~) operation to obtain the value of this parameter.', 'type' => 'string', 'required' => false, 'example' => 'urxgrxt7****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: 30, 50, and 100.'."\n" - ."\n" - .'> The default value is 30.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 30, 50, and 100.'."\n" + ."\n" + .'> The default value is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be a non-negative integer that does not exceed the maximum value of the integer type. The default value is 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. The value must be a non-negative integer that does not exceed the maximum value of the integer type. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request. This prevents duplicate requests.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzXXXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. This prevents duplicate requests.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzXXXXXX', 'title' => ''], ], ], 'responses' => [ @@ -3965,69 +2201,19 @@ 'description' => 'The details of the returned parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '6DC3D286-E0E6-5988-A558-2184984B****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of download records for backup sets.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6DC3D286-E0E6-5988-A558-2184984B****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of download records for backup sets.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, @@ -4039,164 +2225,65 @@ 'description' => 'The details of the backup set download task.', 'type' => 'object', 'properties' => [ - 'BackupSetDownloadStatus' => [ - 'description' => 'The status of the backup set download. Valid values:'."\n" - ."\n" - .'- **checking**: The task is being prechecked.'."\n" - ."\n" - .'- **init**: The precheck failed and the task is not started.'."\n" - ."\n" - .'- **check\\_pass**: The precheck is passed.'."\n" - ."\n" - .'- **pause**: The task is paused.'."\n" - ."\n" - .'- **schedule**: The task is waiting to be scheduled.'."\n" - ."\n" - .'- **running**: The task is running.'."\n" - ."\n" - .'- **stop**: The task failed.'."\n" - ."\n" - .'- **finish**: The task is complete.', - 'type' => 'string', - 'example' => 'finish', - 'title' => '', - ], - 'BackupSetDataSize' => [ - 'description' => 'The size of the backup set data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '237837', - 'title' => '', - ], - 'BackupSetDownloadTargetType' => [ - 'description' => 'The target type for the backup set download.'."\n" - ."\n" - .'> This parameter is displayed only for automatic downloads. The value \\`agent\\` indicates that a backup gateway is installed.', - 'type' => 'string', - 'example' => '无', - 'title' => '', - ], - 'BackupSetDownloadDir' => [ - 'description' => 'The directory on the server to which the backup set is downloaded.'."\n" - ."\n" - .'> This parameter has a value only for automatic downloads.', - 'type' => 'string', - 'example' => '无', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'java.lang.IndexOutOfBoundsException.', - 'title' => '', - ], - 'BackupSetDownloadCreateTime' => [ - 'description' => 'The UNIX timestamp that indicates when the task was created.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1642044001000', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'qhnuhyw3****', - 'title' => '', - ], - 'BackupSetDbType' => [ - 'description' => 'The database type.', - 'type' => 'string', - 'example' => 'MySQL', - 'title' => '', - ], - 'BackupSetDownloadInternetUrl' => [ - 'description' => 'The public network download URL for the backup set.'."\n" - ."\n" - .'> This parameter has a value only for manual downloads when the format conversion is complete.', - 'type' => 'string', - 'example' => '"//dbs-137XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou.example"', - 'title' => '', - ], - 'BackupSetId' => [ - 'description' => 'The ID of the source backup set.', - 'type' => 'string', - 'example' => '1h7za2yws****', - 'title' => '', - ], - 'BackupSetDownloadIntranetUrl' => [ - 'description' => 'The internal download URL for the backup set.'."\n" - ."\n" - .'> This parameter has a value only for manual downloads when the format conversion is complete.', - 'type' => 'string', - 'example' => '"//dbs-13XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou-internal.example"', - 'title' => '', - ], - 'BackupGatewayId' => [ - 'description' => 'The backup gateway for the backup set. This parameter has a value only for automatic downloads.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '无', - 'title' => '', - ], - 'BackupSetDownloadWay' => [ - 'description' => 'The download type. Valid values:'."\n" - ."\n" - .'- **manual**: Manual'."\n" - ."\n" - .'- **auto**: Automatic', - 'type' => 'string', - 'example' => 'manual', - 'title' => '', - ], - 'BackupSetDownloadFinishTime' => [ - 'description' => 'The UNIX timestamp that indicates when the task was completed.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1642044013000', - 'title' => '', - ], - 'BackupSetJobType' => [ - 'description' => 'The type of the source backup set task. Valid values:'."\n" - ."\n" - .'- **cbs\\_backup\\_sub\\_full**: Logical full backup task'."\n" - ."\n" - .'- **cbs\\_backup\\_sub\\_cont**: Logical incremental backup task', - 'type' => 'string', - 'example' => 'cbs_backup_sub_cont', - 'title' => '', - ], - 'BackupSetDownloadTaskId' => [ - 'description' => 'The ID of the backup set download task.', - 'type' => 'string', - 'example' => 'urxgrxt7****', - 'title' => '', - ], - 'BackupSetDownloadTaskName' => [ - 'description' => 'The name of the backup set download task.', - 'type' => 'string', - 'example' => '1h7za2yws****-ManualCont', - 'title' => '', - ], - 'BackupSetDataFormat' => [ - 'description' => 'The data format of the downloaded backup set. Valid values:'."\n" - ."\n" - .'- **Native**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **CSV**'."\n" - ."\n" - .'- **JSON**', - 'type' => 'string', - 'example' => 'Native', - 'title' => '', - ], - 'BackupSetCode' => [ - 'description' => 'The encoding of the source backup set.', - 'type' => 'string', - 'example' => 'mysql-bin.00XXXX', - 'title' => '', - ], + 'BackupSetDownloadStatus' => ['description' => 'The status of the backup set download. Valid values:'."\n" + ."\n" + .'- **checking**: The task is being prechecked.'."\n" + ."\n" + .'- **init**: The precheck failed and the task is not started.'."\n" + ."\n" + .'- **check\\_pass**: The precheck is passed.'."\n" + ."\n" + .'- **pause**: The task is paused.'."\n" + ."\n" + .'- **schedule**: The task is waiting to be scheduled.'."\n" + ."\n" + .'- **running**: The task is running.'."\n" + ."\n" + .'- **stop**: The task failed.'."\n" + ."\n" + .'- **finish**: The task is complete.', 'type' => 'string', 'example' => 'finish', 'title' => ''], + 'BackupSetDataSize' => ['description' => 'The size of the backup set data.', 'type' => 'integer', 'format' => 'int64', 'example' => '237837', 'title' => ''], + 'BackupSetDownloadTargetType' => ['description' => 'The target type for the backup set download.'."\n" + ."\n" + .'> This parameter is displayed only for automatic downloads. The value \\`agent\\` indicates that a backup gateway is installed.', 'type' => 'string', 'example' => '无', 'title' => ''], + 'BackupSetDownloadDir' => ['description' => 'The directory on the server to which the backup set is downloaded.'."\n" + ."\n" + .'> This parameter has a value only for automatic downloads.', 'type' => 'string', 'example' => '无', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'java.lang.IndexOutOfBoundsException.', 'title' => ''], + 'BackupSetDownloadCreateTime' => ['description' => 'The UNIX timestamp that indicates when the task was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1642044001000', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'qhnuhyw3****', 'title' => ''], + 'BackupSetDbType' => ['description' => 'The database type.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'BackupSetDownloadInternetUrl' => ['description' => 'The public network download URL for the backup set.'."\n" + ."\n" + .'> This parameter has a value only for manual downloads when the format conversion is complete.', 'type' => 'string', 'example' => '"//dbs-137XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou.example"', 'title' => ''], + 'BackupSetId' => ['description' => 'The ID of the source backup set.', 'type' => 'string', 'example' => '1h7za2yws****', 'title' => ''], + 'BackupSetDownloadIntranetUrl' => ['description' => 'The internal download URL for the backup set.'."\n" + ."\n" + .'> This parameter has a value only for manual downloads when the format conversion is complete.', 'type' => 'string', 'example' => '"//dbs-13XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou-internal.example"', 'title' => ''], + 'BackupGatewayId' => ['description' => 'The backup gateway for the backup set. This parameter has a value only for automatic downloads.', 'type' => 'integer', 'format' => 'int64', 'example' => '无', 'title' => ''], + 'BackupSetDownloadWay' => ['description' => 'The download type. Valid values:'."\n" + ."\n" + .'- **manual**: Manual'."\n" + ."\n" + .'- **auto**: Automatic', 'type' => 'string', 'example' => 'manual', 'title' => ''], + 'BackupSetDownloadFinishTime' => ['description' => 'The UNIX timestamp that indicates when the task was completed.', 'type' => 'integer', 'format' => 'int64', 'example' => '1642044013000', 'title' => ''], + 'BackupSetJobType' => ['description' => 'The type of the source backup set task. Valid values:'."\n" + ."\n" + .'- **cbs\\_backup\\_sub\\_full**: Logical full backup task'."\n" + ."\n" + .'- **cbs\\_backup\\_sub\\_cont**: Logical incremental backup task', 'type' => 'string', 'example' => 'cbs_backup_sub_cont', 'title' => ''], + 'BackupSetDownloadTaskId' => ['description' => 'The ID of the backup set download task.', 'type' => 'string', 'example' => 'urxgrxt7****', 'title' => ''], + 'BackupSetDownloadTaskName' => ['description' => 'The name of the backup set download task.', 'type' => 'string', 'example' => '1h7za2yws****-ManualCont', 'title' => ''], + 'BackupSetDataFormat' => ['description' => 'The data format of the downloaded backup set. Valid values:'."\n" + ."\n" + .'- **Native**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **CSV**'."\n" + ."\n" + .'- **JSON**', 'type' => 'string', 'example' => 'Native', 'title' => ''], + 'BackupSetCode' => ['description' => 'The encoding of the source backup set.', 'type' => 'string', 'example' => 'mysql-bin.00XXXX', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4217,28 +2304,16 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeBackupSetDownloadTaskList', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeBackupSetDownloadTaskList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupSetDownloadTaskList'], ], ], 'ramActions' => [ @@ -4249,12 +2324,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -4262,14 +2332,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 0,\\n \\"RequestId\\": \\"6DC3D286-E0E6-5988-A558-2184984B****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"BackupSetDownloadTaskDetail\\": [\\n {\\n \\"BackupSetDownloadStatus\\": \\"finish\\",\\n \\"BackupSetDataSize\\": 237837,\\n \\"BackupSetDownloadTargetType\\": \\"无\\",\\n \\"BackupSetDownloadDir\\": \\"无\\",\\n \\"ErrMessage\\": \\"java.lang.IndexOutOfBoundsException.\\",\\n \\"BackupSetDownloadCreateTime\\": 1642044001000,\\n \\"BackupPlanId\\": \\"qhnuhyw3****\\",\\n \\"BackupSetDbType\\": \\"MySQL\\",\\n \\"BackupSetDownloadInternetUrl\\": \\"\\\\\\"//dbs-137XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou.example\\\\\\"\\",\\n \\"BackupSetId\\": \\"1h7za2yws****\\",\\n \\"BackupSetDownloadIntranetUrl\\": \\"\\\\\\"//dbs-13XXXX-cn-hangzhou-1hr5cpbtmXXXX.oss-cn-hangzhou-internal.example\\\\\\"\\",\\n \\"BackupGatewayId\\": 0,\\n \\"BackupSetDownloadWay\\": \\"manual\\",\\n \\"BackupSetDownloadFinishTime\\": 1642044013000,\\n \\"BackupSetJobType\\": \\"cbs_backup_sub_cont\\",\\n \\"BackupSetDownloadTaskId\\": \\"urxgrxt7****\\",\\n \\"BackupSetDownloadTaskName\\": \\"1h7za2yws****-ManualCont\\",\\n \\"BackupSetDataFormat\\": \\"Native\\",\\n \\"BackupSetCode\\": \\"mysql-bin.00XXXX\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeDLAService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4280,32 +2344,18 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01exXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01exXXXX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'DBS', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'DBS', 'title' => ''], ], ], 'responses' => [ @@ -4313,69 +2363,28 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'State' => [ - 'description' => 'The status of the DLA service for the backup schedule. Valid values:'."\n" - ."\n" - .'- **Running**: DLA is running.'."\n" - ."\n" - .'- **Closing**: DLA is being disabled.'."\n" - ."\n" - .'- **Closed**: DLA is disabled.', - 'type' => 'string', - 'example' => 'Running', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'AutoAdd' => [ - 'description' => 'Specifies whether to enable the feature of automatically adding incremental data to a data lake. If this feature is enabled, DBS adds the backup sets that are newly generated to the data lake that is created for the backup schedule. Valid values:'."\n" - ."\n" - .'- **true**: enables the feature.'."\n" - ."\n" - .'- **false**: disables the feature.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'HaveJobFailed' => [ - 'description' => 'Indicates whether a failed DLA task exists in the return result. Valid values:'."\n" - ."\n" - .'- **true**: A failed DLA task exists.'."\n" - ."\n" - .'- **false**: No failed DLA task exists.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'State' => ['description' => 'The status of the DLA service for the backup schedule. Valid values:'."\n" + ."\n" + .'- **Running**: DLA is running.'."\n" + ."\n" + .'- **Closing**: DLA is being disabled.'."\n" + ."\n" + .'- **Closed**: DLA is disabled.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'AutoAdd' => ['description' => 'Specifies whether to enable the feature of automatically adding incremental data to a data lake. If this feature is enabled, DBS adds the backup sets that are newly generated to the data lake that is created for the backup schedule. Valid values:'."\n" + ."\n" + .'- **true**: enables the feature.'."\n" + ."\n" + .'- **false**: disables the feature.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'HaveJobFailed' => ['description' => 'Indicates whether a failed DLA task exists in the return result. Valid values:'."\n" + ."\n" + .'- **true**: A failed DLA task exists.'."\n" + ."\n" + .'- **false**: No failed DLA task exists.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', 'title' => '', @@ -4385,11 +2394,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeDLAService', @@ -4398,19 +2403,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeDLAService', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDLAService'], ], ], 'ramActions' => [ @@ -4421,12 +2418,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -4434,14 +2426,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"State\\": \\"Running\\",\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"AutoAdd\\": true,\\n \\"HaveJobFailed\\": false\\n}","type":"json"}]', ], 'DescribeFullBackupList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'This operation lists full backup jobs in Database Backup (DBS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4452,110 +2439,66 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbsr179qz******', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbsr179qz******', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values:'."\n" - ."\n" - .'- 30'."\n" - ."\n" - .'- 50'."\n" - ."\n" - .'- 100'."\n" - ."\n" - .'Default value: 30.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" + ."\n" + .'- 30'."\n" + ."\n" + .'- 50'."\n" + ."\n" + .'- 100'."\n" + ."\n" + .'Default value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number to return. The value must be a number that is greater than or equal to 0. The value cannot exceed the maximum value of an integer. Default value: 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number of the page to return. The value must be an integer that is greater than or equal to 0. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request. This prevents the system from processing duplicate requests.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A token that you can use to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], [ 'name' => 'ShowStorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to show the storage class.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to return the storage type of the backup set.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'required' => false, - 'example' => '1iukx5h******', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'required' => false, 'example' => '1iukx5h******', 'title' => ''], ], [ 'name' => 'StartTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup start time.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1676887100', - 'title' => '', - ], + 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1676887100', 'title' => ''], ], [ 'name' => 'EndTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. This is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1676887128', - 'title' => '', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1676887128', 'title' => ''], + ], + [ + 'name' => 'ShowProgress', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return real-time information about the backup progress.', 'type' => 'string', 'example' => 'true', 'default' => 'false', 'title' => '', 'required' => false], + ], + [ + 'name' => 'BackupSetStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the backup set. You can use this parameter to filter backup sets.', 'type' => 'string', 'example' => 'finish', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -4564,178 +2507,75 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number of the returned page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '636BC118-6080-4119-A6B5-C199CEC1037D', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of full backup jobs.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '636BC118-6080-4119-A6B5-C199CEC1037D', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of full backup sets.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'FullBackupFile' => [ 'itemNode' => true, - 'description' => 'The details of the full backup job.', + 'description' => 'The details of the full backup sets.', 'title' => '', 'type' => 'array', 'items' => [ - 'description' => 'The details of the full backup job.', + 'description' => 'The details of a full backup set.', 'type' => 'object', 'properties' => [ - 'FinishTime' => [ - 'description' => 'The UNIX timestamp that indicates when the task ended.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676887128000', - 'title' => '', - ], - 'BackupStatus' => [ - 'description' => 'The status of the backup job. Valid values:'."\n" - ."\n" - .'- schedule: The job is being initialized.'."\n" - ."\n" - .'- running: The job is running.'."\n" - ."\n" - .'- finish: The job is complete.'."\n" - ."\n" - .'- stop: The job failed.'."\n" - ."\n" - .'- pause: The job is paused.', - 'type' => 'string', - 'example' => 'finish', - 'title' => '', - ], - 'SourceEndpointIpPort' => [ - 'description' => 'The database endpoint.', - 'type' => 'string', - 'example' => '121.XXX.XXX.144:3306', - 'title' => '', - ], - 'CreateTime' => [ - 'description' => 'The UNIX timestamp that indicates when the task was created.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676886947000', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'NULL', - 'title' => '', - ], - 'BackupObjects' => [ - 'description' => 'The backup objects.', - 'type' => 'string', - 'example' => '[{\\"DBName\\":\\"test\\"}]', - 'title' => '', - ], - 'EndTime' => [ - 'description' => 'The UNIX timestamp that indicates when the backup ended.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676887128000', - 'title' => '', - ], - 'StartTime' => [ - 'description' => 'The UNIX timestamp that indicates when the backup started.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676887100000', - 'title' => '', - ], - 'BackupSetExpiredTime' => [ - 'description' => 'The UNIX timestamp that indicates when the backup set expires.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677491900000', - 'title' => '', - ], - 'StorageMethod' => [ - 'description' => 'The storage class. Valid values:'."\n" - ."\n" - .'- Standard: Standard'."\n" - ."\n" - .'- IA: Infrequent Access'."\n" - ."\n" - .'- Archive: Archive Storage'."\n" - ."\n" - .'- UNKNOWN: Unknown. This value is typically returned when the task is not complete.', - 'type' => 'string', - 'example' => 'Standard', - 'title' => '', - ], - 'BackupSetId' => [ - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'example' => '1iukx5h******', - 'title' => '', - ], - 'BackupSize' => [ - 'description' => 'The backup size in bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '580', - 'title' => '', - ], + 'FinishTime' => ['description' => 'The time when the backup task was complete. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1676887128000', 'title' => ''], + 'BackupStatus' => ['description' => 'The status of the backup task. Valid values:'."\n" + ."\n" + .'- **schedule**: The backup task is pending.'."\n" + ."\n" + .'- **running**: The backup task is in progress.'."\n" + ."\n" + .'- **finish**: The backup task is complete.'."\n" + ."\n" + .'- **stop**: The backup task failed.'."\n" + ."\n" + .'- **pause**: The backup task is paused.', 'type' => 'string', 'example' => 'finish', 'title' => ''], + 'SourceEndpointIpPort' => ['description' => 'The endpoint that is used to connect to the database.', 'type' => 'string', 'example' => '121.XXX.XXX.144:3306', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the backup task was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1676886947000', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message that is returned if the backup task fails.', 'type' => 'string', 'example' => 'NULL', 'title' => ''], + 'BackupObjects' => ['description' => 'The backup objects.', 'type' => 'string', 'example' => '[{\\"DBName\\":\\"test\\"}]', 'title' => ''], + 'EndTime' => ['description' => 'The time when the backup was complete. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1676887128000', 'title' => ''], + 'StartTime' => ['description' => 'The time when the backup started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1676887100000', 'title' => ''], + 'BackupSetExpiredTime' => ['description' => 'The time when the backup set expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1677491900000', 'title' => ''], + 'StorageMethod' => ['description' => 'The storage class of the backup set. Valid values:'."\n" + ."\n" + .'- **Standard**'."\n" + ."\n" + .'- **IA**: infrequent access'."\n" + ."\n" + .'- **Archive**'."\n" + ."\n" + .'- **UNKNOWN**: This value is returned if the storage class is not obtained.', 'type' => 'string', 'example' => 'Standard', 'title' => ''], + 'BackupSetId' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'example' => '1iukx5h******', 'title' => ''], + 'BackupSize' => ['description' => 'The size of the backup set in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '580', 'title' => ''], + 'SourceEndpointInstanceType' => ['description' => 'The instance type of the source database.', 'type' => 'string', 'example' => 'rds', 'title' => ''], + 'SourceEndpointInstanceId' => ['description' => 'The ID of the source instance.', 'type' => 'string', 'example' => 'rm-testxx', 'title' => ''], + 'SourceEndpointRegion' => ['description' => 'The region in which the source instance resides.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'SourceEndpointHost' => ['description' => 'The endpoint of the source database.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'StorageEncryptMethod' => ['description' => 'The encryption method of the backup storage.', 'type' => 'string', 'example' => 'encrypted', 'title' => ''], + 'CrossRoleName' => ['description' => 'The name of the RAM role that is created for cross-account backup.', 'type' => 'string', 'example' => 'ram-for-dbs', 'title' => ''], + 'CrossAliyunId' => ['description' => 'The ID of the Alibaba Cloud account that is used for cross-account backup.', 'type' => 'string', 'example' => '2xxx7778xxxxxxxxxx', 'title' => ''], + 'SourceEndpointEnableSsl' => ['description' => 'Indicates whether the SSL encryption is enabled for the source database.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'LogicalStructureBackupProgress' => ['description' => 'The progress of the logical schema backup.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'LogicalFullBackupProgress' => ['description' => 'The progress of the logical full backup.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'BackupGatewayIdentifier' => ['description' => 'The ID of the backup gateway.', 'type' => 'string', 'example' => 'TESTGATEWAY', 'title' => ''], + 'SourceEndpointUserName' => ['description' => 'The username of the source database.', 'type' => 'string', 'example' => 'dbs_backup', 'title' => ''], + 'SourceEndpointPort' => ['description' => 'The port number of the source database.', 'type' => 'string', 'example' => '3306', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4743,7 +2583,7 @@ 'example' => '', ], ], - 'description' => '', + 'description' => 'The details of the full backup sets.', 'title' => '', 'example' => '', ], @@ -4755,32 +2595,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"636BC118-6080-4119-A6B5-C199CEC1037D\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 10,\\n \\"Items\\": {\\n \\"FullBackupFile\\": [\\n {\\n \\"FinishTime\\": 1676887128000,\\n \\"BackupStatus\\": \\"finish\\",\\n \\"SourceEndpointIpPort\\": \\"121.XXX.XXX.144:3306\\",\\n \\"CreateTime\\": 1676886947000,\\n \\"ErrMessage\\": \\"NULL\\",\\n \\"BackupObjects\\": \\"[{\\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"}]\\",\\n \\"EndTime\\": 1676887128000,\\n \\"StartTime\\": 1676887100000,\\n \\"BackupSetExpiredTime\\": 1677491900000,\\n \\"StorageMethod\\": \\"Standard\\",\\n \\"BackupSetId\\": \\"1iukx5h******\\",\\n \\"BackupSize\\": 580,\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"SourceEndpointInstanceId\\": \\"rm-testxx\\",\\n \\"SourceEndpointRegion\\": \\"cn-beijing\\",\\n \\"SourceEndpointHost\\": \\"127.0.0.1\\",\\n \\"StorageEncryptMethod\\": \\"encrypted\\",\\n \\"CrossRoleName\\": \\"ram-for-dbs\\",\\n \\"CrossAliyunId\\": \\"2xxx7778xxxxxxxxxx\\",\\n \\"SourceEndpointEnableSsl\\": \\"true\\",\\n \\"LogicalStructureBackupProgress\\": 100,\\n \\"LogicalFullBackupProgress\\": 100,\\n \\"BackupGatewayIdentifier\\": \\"TESTGATEWAY\\",\\n \\"SourceEndpointUserName\\": \\"dbs_backup\\",\\n \\"SourceEndpointPort\\": \\"3306\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeFullBackupList', - 'summary' => 'Queries the list of full backup jobs in Database Backup Service (DBS).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeFullBackupList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFullBackupList'], ], ], 'ramActions' => [ @@ -4791,28 +2619,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"636BC118-6080-4119-A6B5-C199CEC1037D\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 10,\\n \\"Items\\": {\\n \\"FullBackupFile\\": [\\n {\\n \\"FinishTime\\": 1676887128000,\\n \\"BackupStatus\\": \\"finish\\",\\n \\"SourceEndpointIpPort\\": \\"121.XXX.XXX.144:3306\\",\\n \\"CreateTime\\": 1676886947000,\\n \\"ErrMessage\\": \\"NULL\\",\\n \\"BackupObjects\\": \\"[{\\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\"}]\\",\\n \\"EndTime\\": 1676887128000,\\n \\"StartTime\\": 1676887100000,\\n \\"BackupSetExpiredTime\\": 1677491900000,\\n \\"StorageMethod\\": \\"Standard\\",\\n \\"BackupSetId\\": \\"1iukx5h******\\",\\n \\"BackupSize\\": 580\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeIncrementBackupList' => [ - 'summary' => 'Queries the list of Database Backup Service (DBS) incremental backup jobs.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'This operation queries the list of incremental backup tasks for DBS.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4823,99 +2639,51 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. To obtain this parameter, call the [DescribeBackupPlanList](~~2869825~~) operation.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbsqdss5tmh****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'dbsqdss5tmh****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of records on each page. Valid values: 30, 50, and 100.'."\n" - ."\n" - .'> The default value is 30.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries per page. Valid values: 30, 50, and 100.'."\n" + ."\n" + .'> Default value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be greater than or equal to 0 and cannot exceed the maximum value of an integer. The default value is 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. The value starts from 0, and the default is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. This prevents the submission of duplicate requests.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], [ 'name' => 'ShowStorageType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to display the storage class. Valid values:'."\n" - ."\n" - .'- true'."\n" - ."\n" - .'- false'."\n" - ."\n" - .'> Default value: true.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to return the storage class. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false'."\n" + ."\n" + .'> Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'StartTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The UNIX timestamp that represents the start of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570701361528', - 'title' => '', - ], + 'schema' => ['description' => 'The start timestamp of the backup query time range, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570701361528', 'title' => ''], ], [ 'name' => 'EndTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The UNIX timestamp that represents the end of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570701361600', - 'title' => '', - ], + 'schema' => ['description' => 'The end timestamp of the backup query time range, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570701361600', 'title' => ''], ], ], 'responses' => [ @@ -4923,154 +2691,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A5D52069-E8AA-5056-8C5C-654C3610****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of incremental backup jobs.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of records on each page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A5D52069-E8AA-5056-8C5C-654C3610****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of incremental backups.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'IncrementBackupFile' => [ - 'description' => 'The details of the incremental backup jobs.', + 'description' => 'An array of objects. Each object contains details about an incremental backup.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the incremental backup job.', + 'description' => 'The details of the incremental backup.', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The UNIX timestamp that represents the end of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1648434713000', - 'title' => '', - ], - 'BackupSetExpiredTime' => [ - 'description' => 'The UNIX timestamp that represents the expiration time of the backup set.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1711506719000', - 'title' => '', - ], - 'StartTime' => [ - 'description' => 'The UNIX timestamp that represents the start of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1648433764000', - 'title' => '', - ], - 'StorageMethod' => [ - 'description' => 'The storage class. Valid values:'."\n" - ."\n" - .'- **Standard**: Standard'."\n" - ."\n" - .'- **IA**: Infrequent Access (IA)'."\n" - ."\n" - .'- **Archive**: Archive Storage'."\n" - ."\n" - .'- **UNKNOWN**: Unknown. This is usually the status when the job is not complete.', - 'type' => 'string', - 'example' => 'Standard', - 'title' => '', - ], - 'BackupSetJobId' => [ - 'description' => 'The ID of the backup set job.', - 'type' => 'string', - 'example' => '1hv5g9wk4****', - 'title' => '', - ], - 'BackupSetId' => [ - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'example' => 'mysql-bin.00****', - 'title' => '', - ], - 'BackupStatus' => [ - 'description' => 'The status of the backup job. Valid values:'."\n" - ."\n" - .'- **INIT**: Not started'."\n" - ."\n" - .'- **FILLING**: Backing up'."\n" - ."\n" - .'- **COMPLETED**: Complete'."\n" - ."\n" - .'- **UNCOMPLETED**: Incomplete', - 'type' => 'string', - 'example' => 'FILLING', - 'title' => '', - ], - 'SourceEndpointIpPort' => [ - 'description' => 'The database endpoint.', - 'type' => 'string', - 'example' => '172.1XX.103.1:4XXX', - 'title' => '', - ], - 'BackupSize' => [ - 'description' => 'The backup size.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18535', - 'title' => '', - ], + 'EndTime' => ['description' => 'The end time of the backup, represented as a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1648434713000', 'title' => ''], + 'BackupSetExpiredTime' => ['description' => 'The expiration time of the backup set, represented as a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1711506719000', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the backup, represented as a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1648433764000', 'title' => ''], + 'StorageMethod' => ['description' => 'The storage class. Valid values:'."\n" + ."\n" + .'- **Standard**: Standard storage.'."\n" + ."\n" + .'- **IA**: Infrequent Access (IA)'."\n" + ."\n" + .'- **Archive**: Archive storage.'."\n" + ."\n" + .'- **UNKNOWN**: Unknown. This value is typically returned when the backup is not complete.', 'type' => 'string', 'example' => 'Standard', 'title' => ''], + 'BackupSetJobId' => ['description' => 'The ID of the backup set job.', 'type' => 'string', 'example' => '1hv5g9wk4****', 'title' => ''], + 'BackupSetId' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'example' => 'mysql-bin.00****', 'title' => ''], + 'BackupStatus' => ['description' => 'The backup status. Valid values:'."\n" + ."\n" + .'- **INIT**: Not started'."\n" + ."\n" + .'- **FILLING**: In progress'."\n" + ."\n" + .'- **COMPLETED**: Completed'."\n" + ."\n" + .'- **UNCOMPLETED**: Incomplete', 'type' => 'string', 'example' => 'FILLING', 'title' => ''], + 'SourceEndpointIpPort' => ['description' => 'The source database endpoint.', 'type' => 'string', 'example' => '172.1XX.103.1:4XXX', 'title' => ''], + 'BackupSize' => ['description' => 'The backup size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '18535', 'title' => ''], + 'SourceEndpointInstanceType' => ['description' => 'The type of the source database instance.', 'type' => 'string', 'example' => 'rds', 'title' => ''], + 'SourceEndpointInstanceId' => ['description' => 'The ID of the source database instance.', 'type' => 'string', 'example' => 'rm-testxx', 'title' => ''], + 'SourceEndpointRegion' => ['description' => 'The region of the source database instance.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'SourceEndpointHost' => ['description' => 'The hostname or IP address of the source database.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'SourceEndpointPort' => ['description' => 'The port number of the source database.', 'type' => 'string', 'example' => '3306', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5092,31 +2766,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 0,\\n \\"RequestId\\": \\"A5D52069-E8AA-5056-8C5C-654C3610****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"IncrementBackupFile\\": [\\n {\\n \\"EndTime\\": 1648434713000,\\n \\"BackupSetExpiredTime\\": 1711506719000,\\n \\"StartTime\\": 1648433764000,\\n \\"StorageMethod\\": \\"Standard\\",\\n \\"BackupSetJobId\\": \\"1hv5g9wk4****\\",\\n \\"BackupSetId\\": \\"mysql-bin.00****\\",\\n \\"BackupStatus\\": \\"FILLING\\",\\n \\"SourceEndpointIpPort\\": \\"172.1XX.103.1:4XXX\\",\\n \\"BackupSize\\": 18535,\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"SourceEndpointInstanceId\\": \\"rm-testxx\\",\\n \\"SourceEndpointRegion\\": \\"cn-beijing\\",\\n \\"SourceEndpointHost\\": \\"127.0.0.1\\",\\n \\"SourceEndpointPort\\": \\"3306\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeIncrementBackupList', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeIncrementBackupList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIncrementBackupList'], ], ], 'ramActions' => [ @@ -5127,28 +2790,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 0,\\n \\"RequestId\\": \\"A5D52069-E8AA-5056-8C5C-654C3610****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"IncrementBackupFile\\": [\\n {\\n \\"EndTime\\": 1648434713000,\\n \\"BackupSetExpiredTime\\": 1711506719000,\\n \\"StartTime\\": 1648433764000,\\n \\"StorageMethod\\": \\"Standard\\",\\n \\"BackupSetJobId\\": \\"1hv5g9wk4****\\",\\n \\"BackupSetId\\": \\"mysql-bin.00****\\",\\n \\"BackupStatus\\": \\"FILLING\\",\\n \\"SourceEndpointIpPort\\": \\"172.1XX.103.1:4XXX\\",\\n \\"BackupSize\\": 18535\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeJobErrorCode' => [ - 'summary' => 'Queries the error code of a Database Backup Service (DBS) job.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries error code information for a Database Backup (DBS) job.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5159,47 +2810,27 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the full backup or restore job.', - 'type' => 'string', - 'required' => true, - 'example' => 'r1iv62ud****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the full backup or restore job.', 'type' => 'string', 'required' => true, 'example' => 'r1iv62ud****', 'title' => ''], ], [ 'name' => 'Language', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the error message. Valid values:'."\n" - ."\n" - .'- **en**: English (Default)'."\n" - ."\n" - .'- **cn**: Chinese', - 'type' => 'string', - 'required' => false, - 'example' => 'en', - 'title' => '', - ], + 'schema' => ['description' => 'The language of the error message. Valid values:'."\n" + ."\n" + .'- **en**: English (Default)'."\n" + ."\n" + .'- **cn**: Chinese', 'type' => 'string', 'required' => false, 'example' => 'en', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCz****', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCz****', 'title' => ''], ], ], 'responses' => [ @@ -5207,77 +2838,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '1FC2F86D-AFF4-4ED9-BB25-ADDE196CB2B5', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1FC2F86D-AFF4-4ED9-BB25-ADDE196CB2B5', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], 'Item' => [ 'description' => 'The details of the error code.', 'type' => 'object', 'properties' => [ - 'JobState' => [ - 'description' => 'The state of the job.', - 'type' => 'string', - 'example' => 'init', - 'title' => '', - ], - 'ErrorMessage' => [ - 'description' => 'The standardized error message.', - 'type' => 'string', - 'example' => 'Describe preCheck progress failed.', - 'title' => '', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'failed', - 'title' => '', - ], - 'JobId' => [ - 'description' => 'The ID of the full backup or restore job.', - 'type' => 'string', - 'example' => 'r1iv62ud****', - 'title' => '', - ], - 'JobType' => [ - 'description' => 'The internal job type ID in DBS.', - 'type' => 'string', - 'example' => 'testId', - 'title' => '', - ], - 'Language' => [ - 'description' => 'The language of the error message.', - 'type' => 'string', - 'example' => 'en', - 'title' => '', - ], + 'JobState' => ['description' => 'The state of the job.', 'type' => 'string', 'example' => 'init', 'title' => ''], + 'ErrorMessage' => ['description' => 'The standardized error message.', 'type' => 'string', 'example' => 'Describe preCheck progress failed.', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'failed', 'title' => ''], + 'JobId' => ['description' => 'The ID of the full backup or restore job.', 'type' => 'string', 'example' => 'r1iv62ud****', 'title' => ''], + 'JobType' => ['description' => 'The internal job type ID in DBS.', 'type' => 'string', 'example' => 'testId', 'title' => ''], + 'Language' => ['description' => 'The language of the error message.', 'type' => 'string', 'example' => 'en', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5291,11 +2866,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeJobErrorCode', @@ -5303,19 +2874,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeJobErrorCode', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeJobErrorCode'], ], ], 'ramActions' => [ @@ -5326,12 +2889,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -5339,14 +2897,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"1FC2F86D-AFF4-4ED9-BB25-ADDE196CB2B5\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Item\\": {\\n \\"JobState\\": \\"init\\",\\n \\"ErrorMessage\\": \\"Describe preCheck progress failed.\\",\\n \\"ErrorCode\\": \\"failed\\",\\n \\"JobId\\": \\"r1iv62ud****\\",\\n \\"JobType\\": \\"testId\\",\\n \\"Language\\": \\"en\\"\\n }\\n}","type":"json"}]', ], 'DescribeNodeCidrList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5357,52 +2909,38 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which DBS is activated. Valid values:'."\n" - ."\n" - .'- **cn-hangzhou**: China (Hangzhou)'."\n" - ."\n" - .'- **cn-shanghai**: China (Shanghai)'."\n" - ."\n" - .'- **cn-qingdao**: China (Qingdao)'."\n" - ."\n" - .'- **cn-beijing**: China (Beijing)'."\n" - ."\n" - .'- **cn-shenzhen**: China (Shenzhen)'."\n" - ."\n" - .'- **cn-hongkong**: China (Hong Kong)'."\n" - ."\n" - .'- **ap-southeast-1**: Singapore (Singapore)'."\n" - ."\n" - .'- **cn-hangzhou-finance**: China East 1 Finance'."\n" - ."\n" - .'- **cn-shanghai-finance**: China East 2 Finance'."\n" - ."\n" - .'- **cn-shenzhen-finance**: China South 1 Finance', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region in which DBS is activated. Valid values:'."\n" + ."\n" + .'- **cn-hangzhou**: China (Hangzhou)'."\n" + ."\n" + .'- **cn-shanghai**: China (Shanghai)'."\n" + ."\n" + .'- **cn-qingdao**: China (Qingdao)'."\n" + ."\n" + .'- **cn-beijing**: China (Beijing)'."\n" + ."\n" + .'- **cn-shenzhen**: China (Shenzhen)'."\n" + ."\n" + .'- **cn-hongkong**: China (Hong Kong)'."\n" + ."\n" + .'- **ap-southeast-1**: Singapore (Singapore)'."\n" + ."\n" + .'- **cn-hangzhou-finance**: China East 1 Finance'."\n" + ."\n" + .'- **cn-shanghai-finance**: China East 2 Finance'."\n" + ."\n" + .'- **cn-shenzhen-finance**: China South 1 Finance', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -5410,37 +2948,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '5B352E69-E7B1-4EA7-BB8E-29FFE969C791', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5B352E69-E7B1-4EA7-BB8E-29FFE969C791', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], 'IntranetIPs' => [ 'type' => 'object', 'itemNode' => true, @@ -5448,12 +2960,7 @@ 'IntranetIP' => [ 'description' => 'The internal CIDR blocks.', 'type' => 'array', - 'items' => [ - 'description' => 'The internal CIDR blocks.', - 'type' => 'string', - 'example' => '"10.X.X.0/24"', - 'title' => '', - ], + 'items' => ['description' => 'The internal CIDR blocks.', 'type' => 'string', 'example' => '"10.X.X.0/24"', 'title' => ''], 'title' => '', 'example' => '', ], @@ -5469,12 +2976,7 @@ 'InternetIP' => [ 'description' => 'The public CIDR blocks.', 'type' => 'array', - 'items' => [ - 'description' => 'The public CIDR blocks.', - 'type' => 'string', - 'example' => '"10.X.X.0/24"', - 'title' => '', - ], + 'items' => ['description' => 'The public CIDR blocks.', 'type' => 'string', 'example' => '"10.X.X.0/24"', 'title' => ''], 'title' => '', 'example' => '', ], @@ -5492,11 +2994,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeNodeCidrList', @@ -5505,19 +3003,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeNodeCidrList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNodeCidrList'], ], ], 'ramActions' => [ @@ -5528,12 +3018,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -5542,14 +3027,8 @@ ], 'DescribePreCheckProgressList' => [ 'summary' => 'This operation queries the precheck progress for a backup plan or a restore job.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5560,45 +3039,25 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.'."\n" - ."\n" - .'> Specify either BackupPlanId or RestoreTaskId.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbsr1l3ro21****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.'."\n" + ."\n" + .'> Specify either BackupPlanId or RestoreTaskId.', 'type' => 'string', 'required' => false, 'example' => 'dbsr1l3ro21****', 'title' => ''], ], [ 'name' => 'RestoreTaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the restore job.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbasdsa****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'required' => false, 'example' => 'dbasdsa****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCziJZNwH****', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCziJZNwH****', 'title' => ''], ], ], 'responses' => [ @@ -5607,60 +3066,23 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The precheck status. Valid values:'."\n" - ."\n" - .'- **running**: The precheck is in progress.'."\n" - ."\n" - .'- **failed**: The precheck failed.'."\n" - ."\n" - .'- **finish**: The precheck is complete.', - 'type' => 'string', - 'example' => 'finish', - 'title' => '', - ], - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'C4A45FE1-A903-470D-B113-F12A4DF942AB', - 'title' => '', - ], - 'Progress' => [ - 'description' => 'The precheck progress. The value ranges from 0 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], + 'Status' => ['description' => 'The precheck status. Valid values:'."\n" + ."\n" + .'- **running**: The precheck is in progress.'."\n" + ."\n" + .'- **failed**: The precheck failed.'."\n" + ."\n" + .'- **finish**: The precheck is complete.', 'type' => 'string', 'example' => 'finish', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C4A45FE1-A903-470D-B113-F12A4DF942AB', 'title' => ''], + 'Progress' => ['description' => 'The precheck progress. The value ranges from 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, @@ -5672,68 +3094,26 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'FinishTime' => [ - 'description' => 'The time when the task was complete. This value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1704351396000', - 'title' => '', - ], - 'State' => [ - 'description' => 'The progress status. Valid values:'."\n" - ."\n" - .'- **init**: The task is being initialized.'."\n" - ."\n" - .'- **warning**: A warning is reported for the task.'."\n" - ."\n" - .'- **catched**: The task is abnormal.'."\n" - ."\n" - .'- **running**: The task is in progress.'."\n" - ."\n" - .'- **failed**: The task failed.'."\n" - ."\n" - .'- **finish**: The task is complete.', - 'type' => 'string', - 'example' => 'warning', - 'title' => '', - ], - 'BootTime' => [ - 'description' => 'The time when the task started. This value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1704351395000', - 'title' => '', - ], - 'JobId' => [ - 'description' => 'The progress ID.', - 'type' => 'string', - 'example' => 'qxwmxh2b****', - 'title' => '', - ], - 'Item' => [ - 'description' => 'The code for the precheck item.', - 'type' => 'string', - 'example' => 'CHECK_BINLOG_ON', - 'title' => '', - ], - 'ErrMsg' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'java.lang.RuntimeException: Could not find any schema ......', - 'title' => '', - ], - 'OrderNum' => [ - 'description' => 'The sequence number.', - 'type' => 'string', - 'example' => '30', - 'title' => '', - ], - 'Names' => [ - 'description' => 'The group to which the precheck item belongs.', - 'type' => 'string', - 'example' => 'CHECK_BINLOG_ON_DETAIL', - 'title' => '', - ], + 'FinishTime' => ['description' => 'The time when the task was complete. This value is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1704351396000', 'title' => ''], + 'State' => ['description' => 'The progress status. Valid values:'."\n" + ."\n" + .'- **init**: The task is being initialized.'."\n" + ."\n" + .'- **warning**: A warning is reported for the task.'."\n" + ."\n" + .'- **catched**: The task is abnormal.'."\n" + ."\n" + .'- **running**: The task is in progress.'."\n" + ."\n" + .'- **failed**: The task failed.'."\n" + ."\n" + .'- **finish**: The task is complete.', 'type' => 'string', 'example' => 'warning', 'title' => ''], + 'BootTime' => ['description' => 'The time when the task started. This value is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1704351395000', 'title' => ''], + 'JobId' => ['description' => 'The progress ID.', 'type' => 'string', 'example' => 'qxwmxh2b****', 'title' => ''], + 'Item' => ['description' => 'The code for the precheck item.', 'type' => 'string', 'example' => 'CHECK_BINLOG_ON', 'title' => ''], + 'ErrMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'java.lang.RuntimeException: Could not find any schema ......', 'title' => ''], + 'OrderNum' => ['description' => 'The sequence number.', 'type' => 'string', 'example' => '30', 'title' => ''], + 'Names' => ['description' => 'The group to which the precheck item belongs.', 'type' => 'string', 'example' => 'CHECK_BINLOG_ON_DETAIL', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5754,11 +3134,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribePreCheckProgressList', @@ -5766,19 +3142,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribePreCheckProgressList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePreCheckProgressList'], ], ], 'ramActions' => [ @@ -5789,12 +3157,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -5802,14 +3165,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"finish\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"C4A45FE1-A903-470D-B113-F12A4DF942AB\\",\\n \\"Progress\\": 100,\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Items\\": {\\n \\"PreCheckProgressDetail\\": [\\n {\\n \\"FinishTime\\": 1704351396000,\\n \\"State\\": \\"warning\\",\\n \\"BootTime\\": 1704351395000,\\n \\"JobId\\": \\"qxwmxh2b****\\",\\n \\"Item\\": \\"CHECK_BINLOG_ON\\",\\n \\"ErrMsg\\": \\"java.lang.RuntimeException: Could not find any schema ......\\",\\n \\"OrderNum\\": \\"30\\",\\n \\"Names\\": \\"CHECK_BINLOG_ON_DETAIL\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeRegions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5820,21 +3177,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client-generated token that is used to ensure the idempotence of the request. The token must be unique for each request. It can be up to 64 ASCII characters in length and cannot contain non-ASCII characters.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that is used to ensure the idempotence of the request. The token must be unique for each request. It can be up to 64 ASCII characters in length and cannot contain non-ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -5843,37 +3192,11 @@ 'description' => 'The returned parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameter', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'This backupPlan can\'t support this action', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'This backupPlan can\'t support this action', 'title' => ''], 'Regions' => [ 'type' => 'object', 'itemNode' => true, @@ -5881,12 +3204,7 @@ 'RegionCode' => [ 'description' => 'The list of supported regions.', 'type' => 'array', - 'items' => [ - 'description' => 'The supported regions.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'items' => ['description' => 'The supported regions.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'title' => '', 'example' => '', ], @@ -5903,11 +3221,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeRegions', @@ -5916,19 +3230,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:58.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:58.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeRegions', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ], ], 'ramActions' => [ @@ -5939,12 +3245,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -5952,15 +3253,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 400,\\n \\"RequestId\\": \\"EB4DFD5E-3618-498D-BE35-4DBEA0072122\\",\\n \\"ErrCode\\": \\"InvalidParameter\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"This backupPlan can\'t support this action\\",\\n \\"Regions\\": {\\n \\"RegionCode\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeRestoreRangeInfo' => [ - 'summary' => 'Queries the range of time to which you can restore data in a backup schedule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'This operation returns the time ranges available for restoring data from a backup plan.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5971,188 +3266,84 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain it.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbssl67c7mx****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call [DescribeBackupPlanList](~~2869825~~) to get this value.', 'type' => 'string', 'required' => true, 'example' => 'dbssl67c7mx****', 'title' => ''], ], [ 'name' => 'BeginTimestampForRestore', 'in' => 'query', - 'schema' => [ - 'description' => 'The earliest point in time to which you can restore data. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of the parameter for each backup schedule.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1646674092000', - 'title' => '', - ], + 'schema' => ['description' => 'The start timestamp of the restorable time range.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1646674092000', 'title' => ''], ], [ 'name' => 'EndTimestampForRestore', 'in' => 'query', - 'schema' => [ - 'description' => 'The latest point in time to which you can restore data. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of the parameter for each backup schedule.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1646846814000', - 'title' => '', - ], + 'schema' => ['description' => 'The end timestamp of the restorable time range.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1646846814000', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], [ 'name' => 'RecentlyRestore', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to query the most recent point in time to which you can restore data.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to enable recent restore.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.', + 'description' => 'The returned information.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'E2BD9DFC-6760-5F49-97C5-DA739E29****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- **true**: The request is successful.'."\n" - ."\n" - .'- **false**: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E2BD9DFC-6760-5F49-97C5-DA739E29****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Specifies whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBSRecoverRange' => [ - 'description' => 'The information about the time ranges to which you can restore data.', + 'description' => 'A list of restorable time ranges.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the time range to which you can restore data.', + 'description' => 'Details of a restorable time range.', 'type' => 'object', 'properties' => [ - 'EndTimestampForRestore' => [ - 'description' => 'The end of the time range to which you can restore data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1646760308000', - 'title' => '', - ], - 'SourceEndpointInstanceType' => [ - 'description' => 'The location of the database.', - 'type' => 'string', - 'example' => 'rds', - 'title' => '', - ], - 'RangeType' => [ - 'description' => 'The type of the time range to which you can restore data.'."\n" - ."\n" - .'- **point**: The time range contains discrete points in time at which full backups were performed.'."\n" - ."\n" - .'- **range**: The time range is a period of time for which continuous backup is performed. You can specify a random point in time in the time range to restore data.', - 'type' => 'string', - 'example' => 'point', - 'title' => '', - ], - 'BeginTimestampForRestore' => [ - 'description' => 'The beginning of the time range to which you can restore data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1646760282000', - 'title' => '', - ], - 'SourceEndpointInstanceID' => [ - 'description' => 'The ID of the database instance.', - 'type' => 'string', - 'example' => 'rm-bp106x9tk2c91****', - 'title' => '', - ], + 'EndTimestampForRestore' => ['description' => 'The end of the restorable time range. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1646760308000', 'title' => ''], + 'SourceEndpointInstanceType' => ['description' => 'The type of the source database. This parameter is deprecated. Use `BackupSourceInstanceType` instead.', 'type' => 'string', 'example' => 'rds', 'title' => ''], + 'RangeType' => ['description' => 'The type of the restorable time range. Valid values:'."\n" + ."\n" + .'- **point**: a discrete point in time that corresponds to a full backup.'."\n" + ."\n" + .'- **range**: a continuous time range. You can restore data to any point in time within this range.', 'type' => 'string', 'example' => 'point', 'title' => ''], + 'BeginTimestampForRestore' => ['description' => 'The beginning of the restorable time range. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1646760282000', 'title' => ''], + 'SourceEndpointInstanceID' => ['description' => 'The ID of the source database instance. This parameter is deprecated. Use `BackupSourceInstanceId` instead.', 'type' => 'string', 'example' => 'rm-bp106x9tk2c91****', 'title' => ''], 'FullBackupList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'FullBackupDetail' => [ - 'description' => 'If the value of the RangeType parameter is point, this parameter is returned. The value of this parameter describes information about all backup points in the time range.', + 'description' => 'The information about the full backup files at discrete time points. This parameter is returned only when `RangeType` is set to `point`.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the backup point.', + 'description' => 'The details of a full backup file.', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the full backup task. Example: 1646760308000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1646760308000', - 'title' => '', - ], - 'StartTime' => [ - 'description' => 'The start time of the full backup task. Example: 1646760282000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1646760282000', - 'title' => '', - ], - 'BackupSetId' => [ - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'example' => 'qecnsxkd****', - 'title' => '', - ], + 'EndTime' => ['description' => 'The time when the full backup ended. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1646760308000', 'title' => ''], + 'StartTime' => ['description' => 'The time when the full backup started. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1646760282000', 'title' => ''], + 'BackupSetId' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'example' => 'qecnsxkd****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -6165,6 +3356,10 @@ 'title' => '', 'example' => '', ], + 'BackupSourceInstanceType' => ['description' => 'The type of the backup source.', 'type' => 'string', 'example' => 'rds', 'title' => ''], + 'BackupSourceInstanceId' => ['description' => 'The ID of the backup source.', 'type' => 'string', 'example' => 'rm-testxx', 'title' => ''], + 'BackupSourceHost' => ['description' => 'The endpoint of the backup source.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'BackupSourcePort' => ['description' => 'The port number of the backup source.', 'type' => 'string', 'example' => '3306', 'title' => ''], ], 'title' => '', 'example' => '', @@ -6173,7 +3368,7 @@ 'example' => '', ], ], - 'description' => '', + 'description' => 'The detailed data.', 'title' => '', 'example' => '', ], @@ -6185,31 +3380,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"E2BD9DFC-6760-5F49-97C5-DA739E29****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Items\\": {\\n \\"DBSRecoverRange\\": [\\n {\\n \\"EndTimestampForRestore\\": 1646760308000,\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"RangeType\\": \\"point\\",\\n \\"BeginTimestampForRestore\\": 1646760282000,\\n \\"SourceEndpointInstanceID\\": \\"rm-bp106x9tk2c91****\\",\\n \\"FullBackupList\\": {\\n \\"FullBackupDetail\\": [\\n {\\n \\"EndTime\\": 1646760308000,\\n \\"StartTime\\": 1646760282000,\\n \\"BackupSetId\\": \\"qecnsxkd****\\"\\n }\\n ]\\n },\\n \\"BackupSourceInstanceType\\": \\"rds\\",\\n \\"BackupSourceInstanceId\\": \\"rm-testxx\\",\\n \\"BackupSourceHost\\": \\"127.0.0.1\\",\\n \\"BackupSourcePort\\": \\"3306\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeRestoreRangeInfo', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeRestoreRangeInfo', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRestoreRangeInfo'], ], ], 'ramActions' => [ @@ -6220,27 +3404,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"E2BD9DFC-6760-5F49-97C5-DA739E29****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Items\\": {\\n \\"DBSRecoverRange\\": [\\n {\\n \\"EndTimestampForRestore\\": 1646760308000,\\n \\"SourceEndpointInstanceType\\": \\"rds\\",\\n \\"RangeType\\": \\"point\\",\\n \\"BeginTimestampForRestore\\": 1646760282000,\\n \\"SourceEndpointInstanceID\\": \\"rm-bp106x9tk2c91****\\",\\n \\"FullBackupList\\": {\\n \\"FullBackupDetail\\": [\\n {\\n \\"EndTime\\": 1646760308000,\\n \\"StartTime\\": 1646760282000,\\n \\"BackupSetId\\": \\"qecnsxkd****\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeRestoreTaskList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries restore jobs in Database Backup Service (DBS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6251,354 +3424,138 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.'."\n" - ."\n" - .'> Specify either BackupPlanId or RestoreTaskId.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbs1hvb0wwwXXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.'."\n" + ."\n" + .'> You must specify either this parameter or `RestoreTaskId`.', 'type' => 'string', 'required' => false, 'example' => 'dbs1hvb0wwwXXXXX', 'title' => ''], ], [ 'name' => 'RestoreTaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the restore job. You can specify multiple IDs. Separate them with commas (,). You can call the [CreateRestoreTask](~~2869836~~) operation to obtain this parameter.'."\n" - ."\n" - .'> Specify either RestoreTaskId or BackupPlanId. If you specify both, an error is returned.', - 'type' => 'string', - 'required' => false, - 'example' => 's102h7rf5anq', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the restore task. You can specify multiple IDs, separated by commas. You can call the [CreateRestoreTask](~~2869836~~) operation to obtain the restore task ID.'."\n" + ."\n" + .'> You must specify either this parameter or `BackupPlanId`. Specifying both parameters returns an error.', 'type' => 'string', 'required' => false, 'example' => 's102h7rf5anq', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n" - ."\n" - .'> The default value is 30.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n" + ."\n" + .'> The default value is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNum', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be an integer that is greater than or equal to 0. The default value is 0.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. The value must be an integer that is greater than or equal to 0. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], [ 'name' => 'StartTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570701361528', - 'title' => '', - ], + 'schema' => ['description' => 'The beginning of the time range to query restore tasks. Specify the time in the UNIX timestamp format. The timestamp is a millisecond-level timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570701361528', 'title' => ''], ], [ 'name' => 'EndTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the backup.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570701361528', - 'title' => '', - ], + 'schema' => ['description' => 'The end of the time range to query restore tasks. Specify the time in the UNIX timestamp format. The timestamp is a millisecond-level timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570701361528', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The details of the returned parameters.', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'PageNum' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '9C397502-B4F2-4E22-AD97-C81F0049F3F3', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalElements' => [ - 'description' => 'The total number of restore jobs.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries on the current page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9C397502-B4F2-4E22-AD97-C81F0049F3F3', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of restore jobs.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'RestoreTaskDetail' => [ - 'description' => 'The details of the restore job.', + 'description' => 'The details of the restore jobs.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RestoreStatus' => [ - 'description' => 'The status of the restore job. Valid values:'."\n" - ."\n" - .'- init: The job is not started or the precheck failed.'."\n" - ."\n" - .'- running: The job is running.'."\n" - ."\n" - .'- stop: The job failed.'."\n" - ."\n" - .'- pause: The job is paused.'."\n" - ."\n" - .'- check\\_pass: The precheck is passed.', - 'type' => 'string', - 'example' => 'running', - 'title' => '', - ], - 'FullStruAfterRestoreProgress' => [ - 'description' => 'The progress of the post-restore full structure task.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'title' => '', - ], - 'CrossRoleName' => [ - 'description' => 'The name of the Resource Access Management (RAM) role used for cross-account backup.', - 'type' => 'string', - 'example' => 'test123', - 'title' => '', - ], - 'RestoreDir' => [ - 'description' => 'The restore path.', - 'type' => 'string', - 'example' => '100.X.X.10:33204', - 'title' => '', - ], - 'CrossAliyunId' => [ - 'description' => 'The UID of the Alibaba Cloud account used for cross-account backup.', - 'type' => 'string', - 'example' => '2xxx7778xxxxxxxxxx', - 'title' => '', - ], - 'RestoreObjects' => [ - 'description' => 'The objects to restore.', - 'type' => 'string', - 'example' => '[ { \\"DBName\\":\\"test\\" } ]', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbs1hvb0wXXXX', - 'title' => '', - ], - 'DestinationEndpointRegion' => [ - 'description' => 'The region of the database.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'RestoreTaskCreateTime' => [ - 'description' => 'The time when the restore job was created. This is a UNIX timestamp. Unit: milliseconds. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'DestinationEndpointUserName' => [ - 'description' => 'The database account.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'RestoreTaskFinishTime' => [ - 'description' => 'The time when the restore job was completed. This is a UNIX timestamp. Unit: milliseconds. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], - 'DestinationEndpointIpPort' => [ - 'description' => 'The database endpoint.', - 'type' => 'string', - 'example' => '100.X.X.10:33204', - 'title' => '', - ], - 'DestinationEndpointDatabaseName' => [ - 'description' => 'The database name.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'DestinationEndpointInstanceType' => [ - 'description' => 'The location of the database. Valid values:'."\n" - ."\n" - .'- RDS'."\n" - ."\n" - .'- ECS'."\n" - ."\n" - .'- Express: A database connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- agent: A database connected through a backup gateway.'."\n" - ."\n" - .'- dds: ApsaraDB for MongoDB.'."\n" - ."\n" - .'- other: A database connected over the internet.', - 'type' => 'string', - 'example' => 'RDS', - 'title' => '', - ], - 'DestinationEndpointOracleSID' => [ - 'description' => 'The Oracle system ID (SID).', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'FullStruforeRestoreProgress' => [ - 'description' => 'The progress of the pre-restore full structure task.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'NULL', - 'title' => '', - ], - 'RestoreTaskId' => [ - 'description' => 'The ID of the restore job.', - 'type' => 'string', - 'example' => 's1XXXXXX', - 'title' => '', - ], - 'FullDataRestoreProgress' => [ - 'description' => 'The progress of the full data restore.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'title' => '', - ], - 'ContinuousRestoreProgress' => [ - 'description' => 'The progress of the incremental log restore.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - 'title' => '', - ], - 'DestinationEndpointInstanceID' => [ - 'description' => 'The ID of the database instance.', - 'type' => 'string', - 'example' => 'rm-bp1p8c2947XXX', - 'title' => '', - ], - 'BackupSetId' => [ - 'description' => 'The ID of the full backup set used for the restore.', - 'type' => 'string', - 'example' => '1ibh2f5uXXX', - 'title' => '', - ], - 'BackupGatewayId' => [ - 'description' => 'The ID of the backup gateway.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '324234332', - 'title' => '', - ], - 'RestoreTaskName' => [ - 'description' => 'The name of the restore job.', - 'type' => 'string', - 'example' => 'test', - 'title' => '', - ], - 'RestoreTime' => [ - 'description' => 'The time to which the database is restored. This is a UNIX timestamp. Unit: milliseconds. Example: 1554560477000.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1554560477000', - 'title' => '', - ], + 'RestoreStatus' => ['description' => 'The status of the restore job. Valid values:'."\n" + ."\n" + .'- **init**: The restore job is initializing or the precheck has failed.'."\n" + ."\n" + .'- **running**: The restore job is running.'."\n" + ."\n" + .'- **stop**: The restore job has failed.'."\n" + ."\n" + .'- **pause**: The restore job is paused.'."\n" + ."\n" + .'- **check\\_pass**: The precheck was successful.', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'FullStruAfterRestoreProgress' => ['description' => 'The progress of the post-restore full schema restoration.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'CrossRoleName' => ['description' => 'The name of the RAM role used for cross-account backup.', 'type' => 'string', 'example' => 'test123', 'title' => ''], + 'RestoreDir' => ['description' => 'The restore path.', 'type' => 'string', 'example' => '/home/test', 'title' => ''], + 'CrossAliyunId' => ['description' => 'The UID of the Alibaba Cloud account used for cross-account backup.', 'type' => 'string', 'example' => '2xxx7778xxxxxxxxxx', 'title' => ''], + 'RestoreObjects' => ['description' => 'The restore objects.', 'type' => 'string', 'example' => '[ { \\"DBName\\":\\"test\\" } ]', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbsxxxx', 'title' => ''], + 'DestinationEndpointRegion' => ['description' => 'The region of the destination instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RestoreTaskCreateTime' => ['description' => 'The time when the restore job was created, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'DestinationEndpointUserName' => ['description' => 'The database account of the destination endpoint.', 'type' => 'string', 'example' => 'testUser', 'title' => ''], + 'RestoreTaskFinishTime' => ['description' => 'The time when the restore job was completed, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'DestinationEndpointIpPort' => ['description' => 'The connection address of the destination database instance.', 'type' => 'string', 'example' => '100.X.X.10:33204', 'title' => ''], + 'DestinationEndpointDatabaseName' => ['description' => 'The database name of the destination endpoint.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DestinationEndpointInstanceType' => ['description' => 'The type of destination instance. Valid values:'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **ECS**'."\n" + ."\n" + .'- **Express**: A database connected via Express Connect, VPN Gateway, or Smart Access Gateway.'."\n" + ."\n" + .'- **Agent**: A database connected via a backup gateway.'."\n" + ."\n" + .'- **DDS**: An ApsaraDB for MongoDB instance.'."\n" + ."\n" + .'- **Other**: A database connected over the internet via an IP address and port.'."\n" + ."\n" + .'- **dg**: A self-managed database without a public IP address, connected via Database Gateway (DG).', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'DestinationEndpointOracleSID' => ['description' => 'The Oracle SID.'."\n" + ."\n" + .'> This parameter is required for Oracle databases.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'FullStruforeRestoreProgress' => ['description' => 'The progress of the pre-restore full schema restoration.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'NULL', 'title' => ''], + 'RestoreTaskId' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'example' => '1iyixxxxxx', 'title' => ''], + 'FullDataRestoreProgress' => ['description' => 'The progress of the full data restoration.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ContinuousRestoreProgress' => ['description' => 'The progress of the incremental log restoration.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'DestinationEndpointInstanceID' => ['description' => 'The ID of the destination instance.', 'type' => 'string', 'example' => 'rm-bp1p8c2947XXX', 'title' => ''], + 'BackupSetId' => ['description' => 'The ID of the full backup set used for the restoration.', 'type' => 'string', 'example' => 'urjlfmxxxxx', 'title' => ''], + 'BackupGatewayId' => ['description' => 'The ID of the backup gateway.', 'type' => 'integer', 'format' => 'int64', 'example' => '324234332', 'title' => ''], + 'RestoreTaskName' => ['description' => 'The name of the restore job.', 'type' => 'string', 'example' => 'dbsr1g3xxxx_Restore_Task_1775009514575', 'title' => ''], + 'RestoreTime' => ['description' => 'The point in time to which the data is restored, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1554560477000', 'title' => ''], + 'DestinationEndpointHost' => ['description' => 'The IP address or domain name of the destination instance.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], + 'DestinationEndpointPort' => ['description' => 'The port number of the destination database.', 'type' => 'string', 'example' => '3306', 'title' => ''], + 'DestinationEndpointEnableSsl' => ['description' => 'Indicates whether the connection to the destination database is SSL-encrypted.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'BackupGatewayIdentifier' => ['description' => 'The unique ID of the backup gateway for the destination endpoint.', 'type' => 'string', 'example' => 'TESTGATEWAY', 'title' => ''], + 'BackupSourceOssRegion' => ['description' => 'The OSS region of the backup source.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'RestoreDestinationMode' => ['description' => 'The method used to restore data to the destination endpoint.', 'type' => 'string', 'example' => 'EXIST_INSTANCE', 'title' => ''], + 'PhysicalFullBackupRecoverProgress' => ['description' => 'The progress of the full physical restore. This parameter is applicable to physical backups of MySQL and SQL Server.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PhysicalFullAndIncrementBackupRecoverProgress' => ['description' => 'The progress of the full and incremental physical restore. This parameter is applicable to physical backups of MySQL.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PhysicalIncrementBackupRecoverProgress' => ['description' => 'The progress of the incremental physical restore. This parameter is applicable to physical backups of SQL Server.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PhysicalDatabaseOnlineProgress' => ['description' => 'The progress of bringing the database online after a physical restore. This parameter is applicable to physical backups of SQL Server.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PhysicalBackupRecoverProgress' => ['description' => 'The progress of the physical restoration. This parameter is applicable to physical backups of Oracle.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], 'description' => '', 'title' => '', @@ -6620,32 +3577,17 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"9C397502-B4F2-4E22-AD97-C81F0049F3F3\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"RestoreTaskDetail\\": [\\n {\\n \\"RestoreStatus\\": \\"running\\",\\n \\"FullStruAfterRestoreProgress\\": 100,\\n \\"CrossRoleName\\": \\"test123\\",\\n \\"RestoreDir\\": \\"/home/test\\",\\n \\"CrossAliyunId\\": \\"2xxx7778xxxxxxxxxx\\",\\n \\"RestoreObjects\\": \\"[ { \\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\" } ]\\",\\n \\"BackupPlanId\\": \\"dbsxxxx\\",\\n \\"DestinationEndpointRegion\\": \\"cn-hangzhou\\",\\n \\"RestoreTaskCreateTime\\": 1554560477000,\\n \\"DestinationEndpointUserName\\": \\"testUser\\",\\n \\"RestoreTaskFinishTime\\": 1554560477000,\\n \\"DestinationEndpointIpPort\\": \\"100.X.X.10:33204\\",\\n \\"DestinationEndpointDatabaseName\\": \\"test\\",\\n \\"DestinationEndpointInstanceType\\": \\"RDS\\",\\n \\"DestinationEndpointOracleSID\\": \\"test\\",\\n \\"FullStruforeRestoreProgress\\": 100,\\n \\"ErrMessage\\": \\"NULL\\",\\n \\"RestoreTaskId\\": \\"1iyixxxxxx\\",\\n \\"FullDataRestoreProgress\\": 100,\\n \\"ContinuousRestoreProgress\\": 100,\\n \\"DestinationEndpointInstanceID\\": \\"rm-bp1p8c2947XXX\\",\\n \\"BackupSetId\\": \\"urjlfmxxxxx\\",\\n \\"BackupGatewayId\\": 324234332,\\n \\"RestoreTaskName\\": \\"dbsr1g3xxxx_Restore_Task_1775009514575\\",\\n \\"RestoreTime\\": 1554560477000,\\n \\"DestinationEndpointHost\\": \\"127.0.0.1\\",\\n \\"DestinationEndpointPort\\": \\"3306\\",\\n \\"DestinationEndpointEnableSsl\\": \\"true\\",\\n \\"BackupGatewayIdentifier\\": \\"TESTGATEWAY\\",\\n \\"BackupSourceOssRegion\\": \\"cn-beijing\\",\\n \\"RestoreDestinationMode\\": \\"EXIST_INSTANCE\\",\\n \\"PhysicalFullBackupRecoverProgress\\": 100,\\n \\"PhysicalFullAndIncrementBackupRecoverProgress\\": 100,\\n \\"PhysicalIncrementBackupRecoverProgress\\": 100,\\n \\"PhysicalDatabaseOnlineProgress\\": 100,\\n \\"PhysicalBackupRecoverProgress\\": 100\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeRestoreTaskList', - 'summary' => 'Queries the list of Database Backup Service (DBS) restore jobs.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeRestoreTaskList', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRestoreTaskList'], ], ], 'ramActions' => [ @@ -6656,27 +3598,17 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"9C397502-B4F2-4E22-AD97-C81F0049F3F3\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 30,\\n \\"Items\\": {\\n \\"RestoreTaskDetail\\": [\\n {\\n \\"RestoreStatus\\": \\"running\\",\\n \\"FullStruAfterRestoreProgress\\": 100,\\n \\"CrossRoleName\\": \\"test123\\",\\n \\"RestoreDir\\": \\"100.X.X.10:33204\\",\\n \\"CrossAliyunId\\": \\"2xxx7778xxxxxxxxxx\\",\\n \\"RestoreObjects\\": \\"[ { \\\\\\\\\\\\\\"DBName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\" } ]\\",\\n \\"BackupPlanId\\": \\"dbs1hvb0wXXXX\\",\\n \\"DestinationEndpointRegion\\": \\"cn-hangzhou\\",\\n \\"RestoreTaskCreateTime\\": 1554560477000,\\n \\"DestinationEndpointUserName\\": \\"test\\",\\n \\"RestoreTaskFinishTime\\": 1554560477000,\\n \\"DestinationEndpointIpPort\\": \\"100.X.X.10:33204\\",\\n \\"DestinationEndpointDatabaseName\\": \\"test\\",\\n \\"DestinationEndpointInstanceType\\": \\"RDS\\",\\n \\"DestinationEndpointOracleSID\\": \\"test\\",\\n \\"FullStruforeRestoreProgress\\": 0,\\n \\"ErrMessage\\": \\"NULL\\",\\n \\"RestoreTaskId\\": \\"s1XXXXXX\\",\\n \\"FullDataRestoreProgress\\": 100,\\n \\"ContinuousRestoreProgress\\": 100,\\n \\"DestinationEndpointInstanceID\\": \\"rm-bp1p8c2947XXX\\",\\n \\"BackupSetId\\": \\"1ibh2f5uXXX\\",\\n \\"BackupGatewayId\\": 324234332,\\n \\"RestoreTaskName\\": \\"test\\",\\n \\"RestoreTime\\": 1554560477000\\n }\\n ]\\n }\\n}","type":"json"}]', + 'extraInfo' => ' ', ], 'DisableBackupLog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Disable incremental backup for a backup plan.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6687,32 +3619,23 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup schedule ID. You can call the [DescribeBackupPlanList](~~2869825~~) operation to query the ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. To get this ID, call the [DescribeBackupPlanList](~~2869825~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCziJZNwH****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCziJZNwH****', 'title' => ''], + ], + [ + 'name' => 'DisableMysqlPhysicalBackupBinlogOnly', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to disable only the log backup feature for a physical backup of a MySQL database.', 'type' => 'string', 'example' => 'false', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -6720,53 +3643,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'findValidDBSJob error', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The backup schedule ID.', - 'type' => 'string', - 'example' => 'dbstooi01****', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether a precheck is triggered. Valid values:'."\n" - ."\n" - .'- true: A precheck is triggered. You must call the [StartBackupPlan](~~2869816~~) operation to start the backup schedule.'."\n" - ."\n" - .'- false: No precheck is triggered.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation succeeded. Valid values:'."\n" + ."\n" + .'- true: The operation succeeded.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'findValidDBSJob error', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbstooi01****', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether this change triggers a precheck. Valid values:'."\n" + ."\n" + .'- true: A precheck is triggered. You must then call [StartBackupPlan](~~2869816~~) to start the backup plan.'."\n" + ."\n" + .'- false: No precheck is triggered.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', 'title' => '', @@ -6776,35 +3667,23 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"findValidDBSJob error\\",\\n \\"BackupPlanId\\": \\"dbstooi01****\\",\\n \\"NeedPrecheck\\": false\\n}","type":"json"}]', 'title' => 'DisableBackupLog', - 'summary' => 'Disables incremental backup for a backup schedule.', - 'description' => '### Impact'."\n" + 'description' => '## Impact'."\n" ."\n" - .'After you disable the incremental log backup feature, your backup schedule no longer performs incremental log backups.', + .'Calling this operation stops the specified backup plan from creating new incremental backups.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DisableBackupLog', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableBackupLog'], ], ], 'ramActions' => [ @@ -6815,28 +3694,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"findValidDBSJob error\\",\\n \\"BackupPlanId\\": \\"dbstooi01****\\",\\n \\"NeedPrecheck\\": false\\n}","type":"json"}]', ], 'EnableBackupLog' => [ - 'summary' => 'Enables incremental backup for a backup schedule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Enable incremental backup for a backup schedule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6847,32 +3714,23 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup schedule ID. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi******', - 'title' => '', - ], + 'schema' => ['description' => 'The backup plan ID. Call [DescribeBackupPlanList](~~2869825~~) to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi******', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbs', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotency of the request.', 'type' => 'string', 'required' => false, 'example' => 'dbs', 'title' => ''], + ], + [ + 'name' => 'EnableMysqlPhysicalBackupBinlog', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable log backup for MySQL physical backups. Set the value to `true` to enable this feature.', 'type' => 'string', 'example' => 'true', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -6880,57 +3738,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - ."\n" - .'- false: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'findValidDBSJob error', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The backup schedule ID.', - 'type' => 'string', - 'example' => 'dbstooi******', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether a precheck is triggered. Valid values:'."\n" - ."\n" - .'- true: A precheck is triggered. You must call the [StartBackupPlan](~~2869816~~) operation to start the backup schedule.'."\n" - ."\n" - .'- false: No precheck is triggered.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation succeeded. Valid values:'."\n" + ."\n" + .'- `true`: The operation succeeded.'."\n" + ."\n" + .'- `false`: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'findValidDBSJob error', 'title' => ''], + 'BackupPlanId' => ['description' => 'The backup plan ID.', 'type' => 'string', 'example' => 'dbstooi******', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether this change triggers a precheck. Valid values:'."\n" + ."\n" + .'- `true`: A precheck is triggered. You must call the [StartBackupPlan](~~2869816~~) operation to start the backup plan.'."\n" + ."\n" + .'- `false`: No precheck is triggered.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', @@ -6940,34 +3762,23 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"findValidDBSJob error\\",\\n \\"BackupPlanId\\": \\"dbstooi******\\",\\n \\"NeedPrecheck\\": true\\n}","type":"json"}]', 'title' => 'EnableBackupLog', 'description' => '## Impact'."\n" ."\n" - .'It is free to enable the incremental log backup feature. However, the backup traffic and storage capacity generated by the feature are billed in the same way as the full backup feature, and can be offset by the free quota of backup schedules or storage plans.', + .'Enabling log backup does not incur direct charges. However, log backups generate backup traffic and storage usage. These resources are billed at the same rate as full backups. You can use the free quota from your backup plan or storage plan to offset these charges.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'EnableBackupLog', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableBackupLog'], ], ], 'ramActions' => [ @@ -6978,27 +3789,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"findValidDBSJob error\\",\\n \\"BackupPlanId\\": \\"dbstooi******\\",\\n \\"NeedPrecheck\\": true\\n}","type":"json"}]', ], 'GetDBListFromAgent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7009,108 +3808,51 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '160***', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup gateway. You can call the [DescribeBackupGatewayList](~~2869840~~) operation to obtain this parameter.'."\n" + ."\n" + .'> This parameter is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '160***', 'title' => ''], ], [ 'name' => 'SourceEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the backup gateway resides.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The region ID of the backup gateway.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asynchronous task.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '123456', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the asynchronous task. You can call the [CreateGetDBListFromAgentTask](~~2869847~~) operation to obtain this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123456', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - '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 it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request to prevent repeated submissions. The value is generated by the client and must be unique among different requests. The value can be up to 64 ASCII characters in length and cannot contain non-ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameter', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'This backupPlan can\'t support this action', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EB4DFD5E-3618-498D-BE35-4DBEA0072122', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'This backupPlan can\'t support this action', 'title' => ''], 'DbList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'dbName' => [ - 'description' => 'The details of the databases.', + 'description' => 'The database list.', 'type' => 'array', - 'items' => [ - 'description' => 'The details of the databases.', - 'type' => 'string', - 'example' => 'TaskDB', - 'title' => '', - ], + 'items' => ['description' => 'The database list.', 'type' => 'string', 'example' => 'TaskDB', 'title' => ''], 'title' => '', 'example' => '', ], @@ -7127,33 +3869,21 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'title' => 'GetDBListFromAgent', - 'summary' => 'Queries the result of a task that is used to query a database list by using a backup gateway based on the ID of the task.', - 'description' => '您需要调用 [CreateGetDBListFromAgentTask](~~2869847~~) 接口创建一个异步任务获取 TaskId(异步任务 ID)。将 TaskId 传入 GetDBListFromAgent 接口后,即可获取物理备份库表数据。', + 'title' => 'Retrieve database list by using a backup gateway', + 'summary' => 'Retrieves database and table data from a physical backup by using a backup gateway.', + 'description' => 'Call the [CreateGetDBListFromAgentTask](~~2869847~~) operation to create an asynchronous task and obtain the TaskId. Then, pass the TaskId to the GetDBListFromAgent operation to retrieve the database and table data from the physical backup.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetDBListFromAgent', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDBListFromAgent'], ], ], 'ramActions' => [ @@ -7164,12 +3894,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7177,14 +3902,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 400,\\n \\"RequestId\\": \\"EB4DFD5E-3618-498D-BE35-4DBEA0072122\\",\\n \\"ErrCode\\": \\"InvalidParameter\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"This backupPlan can\'t support this action\\",\\n \\"DbList\\": {\\n \\"dbName\\": [\\n \\"TaskDB\\"\\n ]\\n }\\n}","type":"json"}]', ], 'InitializeDbsServiceLinkedRole' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7196,9 +3915,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [], 'responses' => [ @@ -7207,40 +3924,15 @@ 'description' => 'The following table describes the response parameters.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'An empty value.', - 'type' => 'string', - 'example' => 'null', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrorCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'EntityAlreadyExists.Role', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'EntityAlreadyExists.Role : The role already exists:AliyunServiceRoleForDBS\\r\\nRequestId : 73******-3B4D-501A-9505-FA8B9******', - 'title' => '', - ], + 'Data' => ['description' => 'An empty value.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'EntityAlreadyExists.Role', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'EntityAlreadyExists.Role : The role already exists:AliyunServiceRoleForDBS\\r\\nRequestId : 73******-3B4D-501A-9505-FA8B9******', 'title' => ''], ], 'title' => '', 'example' => '', @@ -7249,16 +3941,10 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'InitializeDbsServiceLinkedRole', 'summary' => 'Grants the service-linked role (AliyunServiceRoleForDBS) to Database Backup (DBS).', 'description' => 'DBS uses the service-linked role (AliyunServiceRoleForDBS) to obtain the required access permissions to connect to ApsaraDB databases, such as RDS, MongoDB, Redis, and PolarDB, or self-managed databases on ECS instances. For more information, see [Activate the Database Backup service](~~162603~~).', @@ -7266,10 +3952,7 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -7282,12 +3965,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7295,15 +3973,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"null\\",\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"EntityAlreadyExists.Role\\",\\n \\"ErrMessage\\": \\"EntityAlreadyExists.Role : The role already exists:AliyunServiceRoleForDBS\\\\\\\\r\\\\\\\\nRequestId : 73******-3B4D-501A-9505-FA8B9******\\"\\n}","type":"json"}]', ], 'ModifyBackupObjects' => [ - 'summary' => 'Modifies the objects included in a Database Backup Service (DBS) backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7315,77 +3986,57 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '105089', - 'abilityTreeNodes' => [ - 'FEATUREcbsUOJI4N', - ], + 'abilityTreeNodes' => ['FEATUREcbsUOJI4N'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbs1h****usfa', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbs1h****usfa', 'title' => ''], ], [ 'name' => 'BackupObjects', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup objects, specified as a JSON string. The structure is as follows:'."\n" - ."\n" - .'```'."\n" - .'['."\n" - .' {'."\n" - .' "DBName":"The name of the database to back up",'."\n" - .' "SchemaName":"The name of the schema to back up",'."\n" - .' "TableIncludes":[{'."\n" - .' "TableName":"The name of the table to back up"'."\n" - .' }],'."\n" - .' "TableExcludes":[{'."\n" - .' "TableName":"The name of a table in the database that you do not want to back up"'."\n" - .' }]'."\n" - .' }'."\n" - .']'."\n" - .'```'."\n" - ."\n" - .'- If you specify only `DBName` without configuring rules for sub-objects, all objects in the database are backed up.'."\n" - ."\n" - .'- If you specify `DBName` and configure rules for some objects, any objects without configured rules are not backed up by default. The following regular expressions are supported for defining object names:'."\n" - ."\n" - .' - A period (`.`) matches any single character except `'."\r\n" - .'`.'."\n" - ."\n" - .' - An asterisk (`*`) matches the preceding subexpression zero or more times. For example, `h*llo` matches `hllo` and `heeeello`.'."\n" - ."\n" - .' - A question mark (`?`) matches the preceding subexpression zero or one time. For example, `h.?llo` matches `hllo` and `hello`, but not `haello`.'."\n" - ."\n" - .' - A character set `[characters]` matches any single character within the brackets. For example, `h[aello]` matches `hallo` and `hello`.'."\n" - ."\n" - .' - A negated character set `[^characters]` matches any single character not within the brackets. For example, `h[^ae]llo` matches `hcllo` and `hdllo`, but not `hallo` or `hello`.'."\n" - ."\n" - .' - A character range `[character1-character2]` matches any character within the specified range, such as `[0-9]` or `[a-z]`.'."\n" - ."\n" - .'> `SchemaName` and `NewSchemaName` are used only for SQL Server. For other database engines, use `DBName` and `NewDBName` to specify database names.', - 'type' => 'string', - 'required' => true, - 'example' => '[ { "DBName":"17xxx92xxxx374", "SchemaName":"gy9xnj8xxxxxx", "TableIncludes":[{ "TableName":"test1" }], "TableExcludes":[{ "TableName":"test2" }] } ]', - 'title' => '', - ], + 'schema' => ['description' => 'The backup objects, specified as a JSON string. The structure is as follows:'."\n" + ."\n" + .'```'."\n" + .'['."\n" + .' {'."\n" + .' "DBName":"The name of the database to back up",'."\n" + .' "SchemaName":"The name of the schema to back up",'."\n" + .' "TableIncludes":[{'."\n" + .' "TableName":"The name of the table to back up"'."\n" + .' }],'."\n" + .' "TableExcludes":[{'."\n" + .' "TableName":"The name of a table in the database that you do not want to back up"'."\n" + .' }]'."\n" + .' }'."\n" + .']'."\n" + .'```'."\n" + ."\n" + .'- If you specify only `DBName` without configuring rules for sub-objects, all objects in the database are backed up.'."\n" + ."\n" + .'- If you specify `DBName` and configure rules for some objects, any objects without configured rules are not backed up by default. The following regular expressions are supported for defining object names:'."\n" + ."\n" + .' - A period (`.`) matches any single character except `'."\r\n" + .'`.'."\n" + ."\n" + .' - An asterisk (`*`) matches the preceding subexpression zero or more times. For example, `h*llo` matches `hllo` and `heeeello`.'."\n" + ."\n" + .' - A question mark (`?`) matches the preceding subexpression zero or one time. For example, `h.?llo` matches `hllo` and `hello`, but not `haello`.'."\n" + ."\n" + .' - A character set `[characters]` matches any single character within the brackets. For example, `h[aello]` matches `hallo` and `hello`.'."\n" + ."\n" + .' - A negated character set `[^characters]` matches any single character not within the brackets. For example, `h[^ae]llo` matches `hcllo` and `hdllo`, but not `hallo` or `hello`.'."\n" + ."\n" + .' - A character range `[character1-character2]` matches any character within the specified range, such as `[0-9]` or `[a-z]`.'."\n" + ."\n" + .'> `SchemaName` and `NewSchemaName` are used only for SQL Server. For other database engines, use `DBName` and `NewDBName` to specify database names.', 'type' => 'string', 'required' => true, 'example' => '[ { "DBName":"17xxx92xxxx374", "SchemaName":"gy9xnj8xxxxxx", "TableIncludes":[{ "TableName":"test1" }], "TableExcludes":[{ "TableName":"test2" }] } ]', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token to ensure the request is idempotent. This prevents the same request from being submitted multiple times.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token to ensure the request is idempotent. This prevents the same request from being submitted multiple times.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -7394,53 +4045,17 @@ 'description' => 'The returned parameters.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'InvalidParameter', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbs1h****usfa', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether the modification triggers a precheck. If this parameter is set to true, call the [StartBackupPlan](~~2869816~~) operation to start the backup plan.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbs1h****usfa', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether the modification triggers a precheck. If this parameter is set to true, call the [StartBackupPlan](~~2869816~~) operation to start the backup plan.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', @@ -7449,11 +4064,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'eventInfo' => [ @@ -7461,23 +4072,16 @@ 'eventNames' => [], ], 'title' => 'ModifyBackupObjects', + 'summary' => 'Modifies the objects included in a Database Backup Service (DBS) backup plan.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupObjects', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupObjects'], ], ], 'ramActions' => [ @@ -7488,12 +4092,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7501,14 +4100,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"InvalidParameter\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbs1h****usfa\\",\\n \\"NeedPrecheck\\": true\\n}","type":"json"}]', ], 'ModifyBackupPlanName' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7519,43 +4112,23 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi0XXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi0XXXX', 'title' => ''], ], [ 'name' => 'BackupPlanName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi0XXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi0XXXX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. This prevents the same request from being submitted multiple times.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. This prevents the same request from being submitted multiple times.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -7563,43 +4136,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbstooi0XXXX', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbstooi0XXXX', 'title' => ''], ], 'description' => '', 'title' => '', @@ -7609,11 +4151,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'ModifyBackupPlanName', @@ -7622,19 +4160,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupPlanName', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupPlanName'], ], ], 'ramActions' => [ @@ -7645,12 +4175,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -7658,14 +4183,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbstooi0XXXX\\"\\n}","type":"json"}]', ], 'ModifyBackupSetDownloadRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7676,142 +4195,72 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01xxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to query the backup plan ID.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01xxxx', 'title' => ''], ], [ 'name' => 'OpenAutoDownload', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the automatic download feature. Default value: false.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to enable automatic download. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway that is used to download the backup set.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '23312323', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup gateway used for downloading backup sets.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23312323', 'title' => ''], ], [ 'name' => 'FullDataFormat', 'in' => 'query', - 'schema' => [ - 'description' => 'The format in which the full backup set is downloaded. Valid values:'."\n" - ."\n" - .'- Native'."\n" - ."\n" - .'- SQL'."\n" - ."\n" - .'- CSV'."\n" - ."\n" - .'- JSON'."\n" - ."\n" - .'> Default value: CSV.', - 'type' => 'string', - 'required' => false, - 'example' => 'CSV', - 'title' => '', - ], + 'schema' => ['description' => 'The format of the full data in the backup set to download. Valid values:'."\n" + .'- Native'."\n" + .'- SQL'."\n" + .'- CSV'."\n" + .'- JSON'."\n" + ."\n" + .'> Default value: CSV.', 'type' => 'string', 'required' => false, 'example' => 'CSV', 'title' => ''], ], [ 'name' => 'IncrementDataFormat', 'in' => 'query', - 'schema' => [ - 'description' => 'The format in which the incremental backup set is downloaded. Valid values:'."\n" - ."\n" - .'- Native'."\n" - ."\n" - .'- SQL'."\n" - ."\n" - .'- CSV'."\n" - ."\n" - .'- JSON'."\n" - ."\n" - .'> Default value: Native.', - 'type' => 'string', - 'required' => false, - 'example' => 'Native', - 'title' => '', - ], + 'schema' => ['description' => 'The format of the incremental data in the backup set to download. Valid values:'."\n" + .'- Native'."\n" + .'- SQL'."\n" + .'- CSV'."\n" + .'- JSON'."\n" + ."\n" + .'> Default value: Native.', 'type' => 'string', 'required' => false, 'example' => 'Native', 'title' => ''], ], [ 'name' => 'BackupSetDownloadDir', 'in' => 'query', - 'schema' => [ - 'description' => 'The server directory to which the backup set is downloaded.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The server directory for downloading backup sets.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'BackupSetDownloadTargetType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination server to which the backup set is downloaded.'."\n" - ."\n" - .'> Set the value to agent, which indicates a server on which a backup gateway is installed.', - 'type' => 'string', - 'required' => false, - 'example' => 'agent', - 'title' => '', - ], + 'schema' => ['description' => 'The target type for downloading backup sets.'."\n" + .'> Default value: agent, which indicates that a backup gateway is installed. Currently, only this value is supported.', 'type' => 'string', 'required' => false, 'example' => 'agent', 'title' => ''], ], [ 'name' => 'BackupSetDownloadTargetTypeLocation', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination directory to which the backup set is downloaded. This parameter is required if the automatic download feature is enabled. Valid values:'."\n" - ."\n" - .'- local'."\n" - ."\n" - .'- nas'."\n" - ."\n" - .'- ftp'."\n" - ."\n" - .'- minio'."\n" - ."\n" - .'> Default value: local.', - 'type' => 'string', - 'required' => false, - 'example' => 'local', - 'title' => '', - ], + 'schema' => ['description' => 'The target directory type for downloading backup sets. This parameter is required if automatic download is enabled. Valid values:'."\n" + .'- local'."\n" + .'- nas'."\n" + .'- ftp'."\n" + .'- minio'."\n" + ."\n" + .'> Default value: local.', 'type' => 'string', 'required' => false, 'example' => 'local', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request and prevent repeated submissions.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -7819,43 +4268,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbstooi01exxxx', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbstooi01exxxx', 'title' => ''], ], 'description' => '', 'title' => '', @@ -7865,33 +4283,21 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'title' => 'ModifyBackupSetDownloadRules', - 'summary' => 'Enables, configures, or disables the automatic download feature.', - 'description' => '使用本接口前请先确认备份数据是否存储在 DBS 的内置 OSS 上,您可通过调用 [DescribeBackupPlanList](~~2869825~~) 接口查看 BackupStorageType 取值情况。', + 'title' => 'Set backup set download rules', + 'summary' => 'Enables, modifies, or disables the automatic download feature.', + 'description' => 'Before calling this operation, verify that the backup data is stored in the built-in OSS of DBS. Call the [DescribeBackupPlanList](~~2869825~~) operation to check the value of BackupStorageType.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:45.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:45.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupSetDownloadRules', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupSetDownloadRules'], ], ], 'ramActions' => [ @@ -7902,12 +4308,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -7915,14 +4316,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbstooi01exxxx\\"\\n}","type":"json"}]', ], 'ModifyBackupSourceEndpoint' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Modify a DBS backup source endpoint.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7933,207 +4329,128 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbs1h****usfa', - 'title' => '', - ], + 'schema' => ['description' => 'The backup plan ID. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.', 'type' => 'string', 'required' => true, 'example' => 'dbs1h****usfa', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The location of the database. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter. Valid values:'."\n" - ."\n" - .'- **RDS**'."\n" - ."\n" - .'- **ECS**'."\n" - ."\n" - .'- **Express**: A database connected over a leased line, VPN Gateway, or Smart Access Gateway.'."\n" - ."\n" - .'- **Agent**: A database connected through a backup gateway.'."\n" - ."\n" - .'- **DDS**: An ApsaraDB for MongoDB instance.'."\n" - ."\n" - .'- **Other**: A database connected using an IP address and a port number.', - 'type' => 'string', - 'required' => true, - 'example' => 'RDS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the source instance. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value. Valid values:'."\n" + ."\n" + .'- **RDS**: an RDS instance'."\n" + ."\n" + .'- **ECS**: a self-managed database on an ECS instance'."\n" + ."\n" + .'- **Express**: a database connected over a leased line, VPN Gateway, or Smart Access Gateway'."\n" + ."\n" + .'- **Agent**: a database connected over a backup gateway'."\n" + ."\n" + .'- **DDS**: an ApsaraDB for MongoDB instance'."\n" + ."\n" + .'- **Other**: a database connected over an IP address and port', 'type' => 'string', 'required' => true, 'example' => 'RDS', 'title' => ''], ], [ 'name' => 'SourceEndpointRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region of the database. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to RDS, ECS, DDS, Express, or Agent.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The database region. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'> This parameter is required if the **SourceEndpointInstanceType** parameter is set to `RDS`, `ECS`, `DDS`, `Express`, or `Agent`.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SourceEndpointInstanceID', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the database instance. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to RDS, ECS, DDS, or Express.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp1p8c29479jv****', - 'title' => '', - ], + 'schema' => ['description' => 'The database instance ID. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'> This parameter is required if the **SourceEndpointInstanceType** parameter is set to `RDS`, `ECS`, `DDS`, or `Express`.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp1p8c29479jv****', 'title' => ''], ], [ 'name' => 'SourceEndpointIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The database endpoint. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to Express, Agent, or Other.', - 'type' => 'string', - 'required' => false, - 'example' => '100.*.*.10:3306', - 'title' => '', - ], + 'schema' => ['description' => 'The IP address of the database. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'> This parameter is required if the **SourceEndpointInstanceType** parameter is set to `Express`, `Agent`, or `Other`.', 'type' => 'string', 'required' => false, 'example' => '100.*.*.10:3306', 'title' => ''], ], [ 'name' => 'SourceEndpointPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The database port. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to Express, Agent, Other, or ECS.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - 'title' => '', - ], + 'schema' => ['description' => 'The database port. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'> This parameter is required if the **SourceEndpointInstanceType** parameter is set to `Express`, `Agent`, `Other`, or `ECS`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ 'name' => 'SourceEndpointDatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database name.'."\n" - ."\n" - .'- This parameter is required if the database type is PostgreSQL or MongoDB.'."\n" - ."\n" - .'- This parameter is required if SourceEndpointInstanceType is set to Agent and the database type is MSSQL.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The database name.'."\n" + ."\n" + .'- This parameter is required for PostgreSQL and MongoDB databases.'."\n" + ."\n" + .'- This parameter is also required for Microsoft SQL Server databases when the **SourceEndpointInstanceType** parameter is set to \'Agent\'.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'SourceEndpointUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The database account. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'This parameter is optional if the database type is Redis, or if SourceEndpointInstanceType is set to Agent and the database type is MSSQL. In all other scenarios, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The username of the database account. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'This parameter is required for all database engines except for Redis and Microsoft SQL Server (when the **SourceEndpointInstanceType** parameter is set to \'Agent\').', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'SourceEndpointPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The password.'."\n" - ."\n" - .'This parameter is optional if the database type is Redis, or if SourceEndpointInstanceType is set to Agent and the database type is MSSQL. In all other scenarios, this parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The password for the database account.'."\n" + ."\n" + .'This parameter is required for all database engines except for Redis and Microsoft SQL Server (when the **SourceEndpointInstanceType** parameter is set to \'Agent\').', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'BackupGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup gateway. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.'."\n" - ."\n" - .'> This parameter is required if **SourceEndpointInstanceType** is set to Agent.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '21321323213', - 'title' => '', - ], + 'schema' => ['description' => 'The backup gateway ID. You can call the [DescribeBackupPlanList](~~2869825~~) operation to get this value.'."\n" + ."\n" + .'> This parameter is required if the **SourceEndpointInstanceType** parameter is set to `Agent`.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '21321323213', 'title' => ''], ], [ 'name' => 'BackupObjects', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup objects. This parameter is optional if SourceEndpointInstanceType is set to Agent. In all other scenarios, this parameter is required. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '[{ "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{"TableName":"待备份库名不需要备份表的表名" }] } ]', - 'title' => '', - ], + 'schema' => ['description' => 'Backup objects: This parameter is optional if the database is located on an agent, but required for all other scenarios. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', 'type' => 'string', 'required' => false, 'example' => '[{ "DBName":"待备份库名", "SchemaName":"待备份 Schema 名", "TableIncludes":[{ "TableName":"待备份表表名" }], "TableExcludes":[{"TableName":"待备份库名不需要备份表的表名" }] } ]', 'title' => ''], ], [ 'name' => 'SourceEndpointOracleSID', 'in' => 'query', - 'schema' => [ - 'description' => 'The Oracle system ID (SID). This parameter is required if the database type is Oracle.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The Oracle SID. This parameter is required for Oracle databases.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'CrossAliyunId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account that is used for cross-account backup. Call the [DescribeRestoreTaskList](~~2869838~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '2xxx7778xxxxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The UID for cross-account backup.', 'type' => 'string', 'required' => false, 'example' => '2xxx7778xxxxxxxxxx', 'title' => ''], ], [ 'name' => 'CrossRoleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the RAM role that is created for cross-account backup. Call the [DescribeRestoreTaskList](~~2869838~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The RAM role name for cross-account backup.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A string that is used to ensure the idempotence of the request. This prevents repeated request submissions.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token to ensure request idempotence.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], + ], + [ + 'name' => 'EnableSourceEndpointSsl', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to use an SSL connection to back up the source database.', 'type' => 'string', 'example' => 'true', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SslCaPem', + 'in' => 'query', + 'schema' => ['description' => 'The PEM certificate for the SSL connection.', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SourceEndpointOracleHome', + 'in' => 'query', + 'schema' => ['description' => 'The Oracle Home path.', 'type' => 'string', 'example' => '/home/test', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -8141,53 +4458,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22E****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbs1h****usfa', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether the modification triggers a precheck. If the value is true, you must call the StartBackupPlan operation to start the backup plan.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22E****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The backup plan ID.', 'type' => 'string', 'example' => 'dbs1h****usfa', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether the modification triggers a precheck. If this parameter is set to true, you must call the StartBackupPlan operation to start the backup plan.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', 'title' => '', @@ -8197,32 +4478,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22E****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbs1h****usfa\\",\\n \\"NeedPrecheck\\": false\\n}","type":"json"}]', 'title' => 'ModifyBackupSourceEndpoint', - 'summary' => 'Modifies the source endpoint of a database backup.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupSourceEndpoint', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupSourceEndpoint'], ], ], 'ramActions' => [ @@ -8233,28 +4502,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22E****\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbs1h****usfa\\",\\n \\"NeedPrecheck\\": false\\n}","type":"json"}]', ], 'ModifyBackupStrategy' => [ 'summary' => 'Modifies the backup time of a backup schedule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8265,99 +4522,60 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01XXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01XXXX', 'title' => ''], ], [ 'name' => 'BackupPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The day of each week when the full backup task runs. Valid values:'."\n" - ."\n" - .'- Monday'."\n" - ."\n" - .'- Tuesday'."\n" - ."\n" - .'- Wednesday'."\n" - ."\n" - .'- Thursday'."\n" - ."\n" - .'- Friday'."\n" - ."\n" - .'- Saturday'."\n" - ."\n" - .'- Sunday', - 'type' => 'string', - 'required' => true, - 'example' => 'Monday,Tuesday,Wednesday', - 'title' => '', - ], + 'schema' => ['description' => 'The day of each week when the full backup task runs. Valid values:'."\n" + ."\n" + .'- Monday'."\n" + ."\n" + .'- Tuesday'."\n" + ."\n" + .'- Wednesday'."\n" + ."\n" + .'- Thursday'."\n" + ."\n" + .'- Friday'."\n" + ."\n" + .'- Saturday'."\n" + ."\n" + .'- Sunday', 'type' => 'string', 'required' => true, 'example' => 'Monday,Tuesday,Wednesday', 'title' => ''], ], [ 'name' => 'BackupStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the full backup task. Specify the time in the HH:mm format.', - 'type' => 'string', - 'required' => false, - 'example' => '14:22', - 'title' => '', - ], + 'schema' => ['description' => 'The start time of the full backup task. Specify the time in the HH:mm format.', 'type' => 'string', 'required' => false, 'example' => '14:22', 'title' => ''], ], [ 'name' => 'BackupStrategyType', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup method that you want to use for full backups. Valid values:'."\n" - ."\n" - .'- **simple**: scheduled backup. If you specify this value for the BackupStrategyType parameter, you must also specify the BackupPeriod and BackupStartTime parameters.'."\n" - ."\n" - .'- **Manual**: manual backup.'."\n" - ."\n" - .'> Default value: **simple**.', - 'type' => 'string', - 'required' => false, - 'example' => 'simple', - 'title' => '', - ], + 'schema' => ['description' => 'The backup method that you want to use for full backups. Valid values:'."\n" + ."\n" + .'- **simple**: scheduled backup. If you specify this value for the BackupStrategyType parameter, you must also specify the BackupPeriod and BackupStartTime parameters.'."\n" + ."\n" + .'- **Manual**: manual backup.'."\n" + ."\n" + .'> Default value: **simple**.', 'type' => 'string', 'required' => false, 'example' => 'simple', 'title' => ''], ], [ 'name' => 'BackupLogIntervalSeconds', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval at which you want to perform incremental log backups. Unit: seconds.'."\n" - ."\n" - .'> This parameter takes effect only when physical backups are performed.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - 'title' => '', - ], + 'schema' => ['description' => 'The interval at which you want to perform incremental log backups. Unit: seconds.'."\n" + ."\n" + .'> This parameter takes effect only when physical backups are performed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -8365,49 +4583,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbstooi01XXXX', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether a precheck is triggered. If the value of this parameter is true, you must start the backup schedule by calling the StartBackupPlan operation.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'example' => 'dbstooi01XXXX', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether a precheck is triggered. If the value of this parameter is true, you must start the backup schedule by calling the StartBackupPlan operation.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', 'title' => '', @@ -8417,11 +4599,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'ModifyBackupStrategy', @@ -8429,19 +4607,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupStrategy', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupStrategy'], ], ], 'ramActions' => [ @@ -8452,12 +4622,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -8465,14 +4630,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbstooi01XXXX\\",\\n \\"NeedPrecheck\\": false\\n}","type":"json"}]', ], 'ModifyStorageStrategy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8483,133 +4642,97 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbsqdss5tmh****', - 'title' => '', - ], + 'schema' => ['description' => 'Backup plan ID. Obtain this parameter\'s value by calling the [DescribeBackupPlanList](~~2869825~~) API.', 'type' => 'string', 'required' => true, 'example' => 'dbsqdss5tmh****', 'title' => ''], ], [ 'name' => 'BackupRetentionPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days for which the backup data is retained. Valid values: 0 to 1825.'."\n" - ."\n" - .'> Default value: 730.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '730', - 'title' => '', - ], + 'schema' => ['description' => 'Backup data retention period, in days. Valid values: 0 to 1825.'."\n" + ."\n" + .'> Default value: 730 days.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '730', 'title' => ''], ], [ 'name' => 'DuplicationInfrequentAccessPeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days after which the storage class of the backup data is changed to Infrequent Access (IA). The value of this parameter must be smaller than the value of the DuplicationArchivePeriod parameter. For more information about the IA storage class, see [Storage class overview](~~51374~~).'."\n" - ."\n" - .'> Default value: 180.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '190', - 'title' => '', - ], + 'schema' => ['description' => 'Time to convert to Infrequent Access storage. This value must be less than the Archive Storage period (DuplicationArchivePeriod parameter). For more information about Infrequent Access storage, see [Storage Type Overview](~~51374~~).'."\n" + ."\n" + .'> Default value: 180 days.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '190', 'title' => ''], ], [ 'name' => 'DuplicationArchivePeriod', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of days after which the storage class of the backup data is changed to Archive. The value of this parameter must be smaller than the value of the BackupRetentionPeriod parameter. For more information about the Archive storage class, see [Storage class overview](~~51374~~).'."\n" - ."\n" - .'> Default value: 365.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '366', - 'title' => '', - ], + 'schema' => ['description' => 'Time to convert to Archive Storage. This value must be less than the backup data retention period (BackupRetentionPeriod parameter). For more information about Archive Storage, see [Storage Type Overview](~~51374~~).'."\n" + ."\n" + .'> Default value: 365 days.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '366', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbstest', - 'title' => '', - ], + 'schema' => ['description' => 'An arbitrary string used to ensure the idempotence of the request and prevent duplicate submissions.', 'type' => 'string', 'required' => false, 'example' => 'dbstest', 'title' => ''], + ], + [ + 'name' => 'IncrementBackupRetentionPeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'IncrementDuplicationInfrequentAccessPeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'IncrementDuplicationArchivePeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'LogBackupRetentionPeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'LogDuplicationInfrequentAccessPeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'LogDuplicationArchivePeriod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '365', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'BackupStorageEncryptMethod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'encrypted', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.', + 'description' => 'Return parameter details.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'E995F91F-6F89-503B-9F7D-502F58FD****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- **true**: The request is successful.'."\n" - ."\n" - .'- **false**: The request fails.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'findValidDBSJob error', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbsqdss5tmh****', - 'title' => '', - ], - 'NeedPrecheck' => [ - 'description' => 'Indicates whether a precheck is triggered. Valid values:'."\n" - ."\n" - .'- **true**: A precheck is triggered. You must manually call the [StartBackupPlan](~~2869818~~) operation to start the backup schedule.'."\n" - ."\n" - .'- **false**: No precheck is triggered.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'E995F91F-6F89-503B-9F7D-502F58FD****', 'title' => ''], + 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Return values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'findValidDBSJob error', 'title' => ''], + 'BackupPlanId' => ['description' => 'Backup plan ID.', 'type' => 'string', 'example' => 'dbsqdss5tmh****', 'title' => ''], + 'NeedPrecheck' => ['description' => 'Indicates whether this modification triggers a precheck. Return values:'."\n" + ."\n" + .'- **true**: A precheck is triggered. Manually call the [StartBackupPlan](~~2869818~~) API to start the backup plan.'."\n" + ."\n" + .'- **false**: No precheck is triggered.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'title' => '', 'example' => '', @@ -8618,32 +4741,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'ModifyStorageStrategy', - 'summary' => 'Modifies the lifecycle of data that is backed up based on a backup schedule.', + 'summary' => 'Modify the lifecycle of stored data in a backup plan.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyStorageStrategy', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStorageStrategy'], ], ], 'ramActions' => [ @@ -8654,12 +4765,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -8668,14 +4774,8 @@ ], 'ReleaseBackupPlan' => [ 'summary' => 'This operation releases a pay-as-you-go backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8686,32 +4786,18 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. You can call the [DescribeBackupPlanList](~~2869825~~) operation to query the ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01xxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan. You can call the [DescribeBackupPlanList](~~2869825~~) operation to query the ID.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01xxxx', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'An arbitrary string.', - 'type' => 'string', - 'required' => false, - 'example' => 'dbs', - 'title' => '', - ], + 'schema' => ['description' => 'An arbitrary string.', 'type' => 'string', 'required' => false, 'example' => 'dbs', 'title' => ''], ], ], 'responses' => [ @@ -8719,47 +4805,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - ."\n" - .'- false: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'findValidDBSJob error', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbstooi01xxxx', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'findValidDBSJob error', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbstooi01xxxx', 'title' => ''], ], 'description' => '', 'title' => '', @@ -8769,11 +4824,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'ReleaseBackupPlan', @@ -8784,19 +4835,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ReleaseBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseBackupPlan'], ], ], 'ramActions' => [ @@ -8807,12 +4850,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -8820,14 +4858,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"findValidDBSJob error\\",\\n \\"BackupPlanId\\": \\"dbstooi01xxxx\\"\\n}","type":"json"}]', ], 'RenewBackupPlan' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8839,63 +4871,36 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01exxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01exxx', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to use yearly subscription or monthly subscription for the instance. Valid values:'."\n" - ."\n" - .'- Year'."\n" - ."\n" - .'- Month', - 'type' => 'string', - 'required' => true, - 'example' => 'Month', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to use yearly subscription or monthly subscription for the instance. Valid values:'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'- Month', 'type' => 'string', 'required' => true, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The subscription duration of the instance. Valid values:'."\n" - ."\n" - .'- If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 9.'."\n" - ."\n" - .'- If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 11.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The subscription duration of the instance. Valid values:'."\n" + ."\n" + .'- If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 9.'."\n" + ."\n" + .'- If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 11.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'HKAJHFIUEQWBFIJSNFOIWHN', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'HKAJHFIUEQWBFIJSNFOIWHN', 'title' => ''], ], ], 'responses' => [ @@ -8903,49 +4908,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbstooi01exxx', - 'title' => '', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.', - 'type' => 'string', - 'example' => '202020202020', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'example' => 'dbstooi01exxx', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order.', 'type' => 'string', 'example' => '202020202020', 'title' => ''], ], 'description' => '', 'title' => '', @@ -8955,35 +4924,21 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'RenewBackupPlan', 'summary' => 'Renews a backup schedule.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:31.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:31.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'RenewBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewBackupPlan'], ], ], 'ramActions' => [ @@ -8994,12 +4949,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -9008,14 +4958,8 @@ ], 'StartBackupPlan' => [ 'summary' => 'This operation starts a DBS backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9026,32 +4970,18 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'dbsqdss5tmh****', - ], + 'schema' => ['description' => 'The ID of the backup plan. Call the [DescribeBackupPlanList](~~2869825~~) operation to obtain the value of this parameter.', 'type' => 'string', 'required' => true, 'example' => 'dbsqdss5tmh****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -9060,53 +4990,17 @@ 'description' => 'The details of the response.', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => 'D13761C3-9971-5C02-B789-3F3CD159****', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'Param.NotFound', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid. ', - ], - 'CreatedFullBackupsetId' => [ - 'description' => 'The ID of the full backup set.', - 'type' => 'string', - 'title' => '', - 'example' => '1h7toien3****', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'title' => '', - 'example' => 'dbsqdss5tm****', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D13761C3-9971-5C02-B789-3F3CD159****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'CreatedFullBackupsetId' => ['description' => 'The ID of the full backup set.', 'type' => 'string', 'example' => '1h7toien3****', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbsqdss5tm****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -9115,11 +5009,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'StartBackupPlan', @@ -9127,19 +5017,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartBackupPlan'], ], ], 'ramActions' => [ @@ -9150,12 +5032,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -9164,14 +5041,8 @@ ], 'StartRestoreTask' => [ 'summary' => 'Starts a DBS restore job.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9182,32 +5053,18 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'RestoreTaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the restore job.', - 'type' => 'string', - 'required' => true, - 'example' => 's102h7rfXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'required' => true, 'example' => 's102h7rfXXXX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token. It ensures the idempotence of the request and prevents the same request from being submitted multiple times.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token. It ensures the idempotence of the request and prevents the same request from being submitted multiple times.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -9215,43 +5072,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'RestoreTaskId' => [ - 'description' => 'The ID of the restore job.', - 'type' => 'string', - 'example' => 's102h7rfXXXX', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '60AF7C5D-EF4D-4D48-8FD5-C0823FDF28AC', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'RestoreTaskId' => ['description' => 'The ID of the restore job.', 'type' => 'string', 'example' => 's102h7rfXXXX', 'title' => ''], ], 'description' => '', 'title' => '', @@ -9261,11 +5087,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'StartRestoreTask', @@ -9273,19 +5095,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'StartRestoreTask', - ], + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRestoreTask'], ], ], 'ramActions' => [ @@ -9296,12 +5110,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -9310,14 +5119,8 @@ ], 'StopBackupPlan' => [ 'summary' => 'This operation pauses a DBS backup plan.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9328,47 +5131,27 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01XXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01XXXX', 'title' => ''], ], [ 'name' => 'StopMethod', 'in' => 'query', - 'schema' => [ - 'description' => 'The method used to pause the backup plan. Valid values:'."\n" - ."\n" - .'- ALL: Pauses the backup schedule, full data backup jobs, incremental log backup jobs, and restore jobs.'."\n" - ."\n" - .'- PLAN: Pauses only the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'ALL', - 'title' => '', - ], + 'schema' => ['description' => 'The method used to pause the backup plan. Valid values:'."\n" + ."\n" + .'- ALL: Pauses the backup schedule, full data backup jobs, incremental log backup jobs, and restore jobs.'."\n" + ."\n" + .'- PLAN: Pauses only the backup schedule.', 'type' => 'string', 'required' => true, 'example' => 'ALL', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token to ensure the idempotence of the request. This prevents the same request from being sent repeatedly.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. This prevents the same request from being sent repeatedly.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -9376,43 +5159,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup plan.', - 'type' => 'string', - 'example' => 'dbs1h****usfa', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup plan.', 'type' => 'string', 'example' => 'dbs1h****usfa', 'title' => ''], ], 'description' => '', 'title' => '', @@ -9422,11 +5174,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'StopBackupPlan', @@ -9434,19 +5182,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:31.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:31.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'StopBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopBackupPlan'], ], ], 'ramActions' => [ @@ -9457,12 +5197,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -9470,14 +5205,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"BackupPlanId\\": \\"dbs1h****usfa\\"\\n}","type":"json"}]', ], 'UpgradeBackupPlan' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9489,53 +5218,33 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbsKR7J6S', - ], + 'abilityTreeNodes' => ['FEATUREcbsKR7J6S'], ], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => 'dbstooi01eXXXX', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => 'dbstooi01eXXXX', 'title' => ''], ], [ 'name' => 'InstanceClass', 'in' => 'query', - 'schema' => [ - 'description' => 'The specifications of the instance. Valid values:'."\n" - ."\n" - .'- micro'."\n" - ."\n" - .'- small'."\n" - ."\n" - .'- medium'."\n" - ."\n" - .'- large'."\n" - ."\n" - .'- xlarge', - 'type' => 'string', - 'required' => true, - 'example' => 'micro', - 'title' => '', - ], + 'schema' => ['description' => 'The specifications of the instance. Valid values:'."\n" + ."\n" + .'- micro'."\n" + ."\n" + .'- small'."\n" + ."\n" + .'- medium'."\n" + ."\n" + .'- large'."\n" + ."\n" + .'- xlarge', 'type' => 'string', 'required' => true, 'example' => 'micro', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.', - 'type' => 'string', - 'required' => false, - 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxxxxx', 'title' => ''], ], ], 'responses' => [ @@ -9543,49 +5252,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The ID of the backup schedule.', - 'type' => 'string', - 'example' => 'dbstooi01XXXX', - 'title' => '', - ], - 'OrderId' => [ - 'description' => 'The ID of the order.', - 'type' => 'string', - 'example' => '2056157****', - 'title' => '', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'BackupPlanId' => ['description' => 'The ID of the backup schedule.', 'type' => 'string', 'example' => 'dbstooi01XXXX', 'title' => ''], + 'OrderId' => ['description' => 'The ID of the order.', 'type' => 'string', 'example' => '2056157****', 'title' => ''], ], 'description' => '', 'title' => '', @@ -9595,11 +5268,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'UpgradeBackupPlan', @@ -9608,19 +5277,11 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ - [ - 'createdAt' => '2022-07-12T03:53:30.000Z', - 'description' => 'Error codes changed', - ], + ['createdAt' => '2022-07-12T03:53:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpgradeBackupPlan', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeBackupPlan'], ], ], 'ramActions' => [ @@ -9631,12 +5292,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -9645,405 +5301,110 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-wulanchabu', - 'regionName' => 'China (Ulanqab)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-wulanchabu.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-wulanchabu.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'regionName' => 'China (Beijing)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'regionName' => 'China (Qingdao)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'regionName' => 'China (Shanghai)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'regionName' => 'China (Hong Kong)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'regionName' => 'China (Zhangjiakou)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'regionName' => 'China (Shenzhen)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'regionName' => 'Japan (Tokyo)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-northeast-1.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-northeast-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'regionName' => 'China (Chengdu)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-chengdu.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-chengdu.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'regionName' => 'Singapore', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-1.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'regionName' => 'Malaysia (Kuala Lumpur)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-3.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-3.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'regionName' => 'China (Hohhot)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-huhehaote.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-huhehaote.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'regionName' => 'Indonesia (Jakarta)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-5.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-5.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'regionName' => 'China (Hangzhou)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'regionName' => 'US (Virginia)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'regionName' => 'UK (London)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.eu-west-1.aliyuncs.com', - 'endpoint' => 'dbs-api.eu-west-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'regionName' => 'US (Silicon Valley)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'regionName' => 'Germany (Frankfurt)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.eu-central-1.aliyuncs.com', - 'endpoint' => 'dbs-api.eu-central-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'regionName' => 'China South 1 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'regionName' => 'China East 2 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'regionName' => 'China East 1 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => '', - ], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'dbs-api.cn-wulanchabu.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-northeast-1.aliyuncs.com', 'endpoint' => 'dbs-api.ap-northeast-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-chengdu.aliyuncs.com', 'endpoint' => 'dbs-api.cn-chengdu.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-3.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-3.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-huhehaote.aliyuncs.com', 'endpoint' => 'dbs-api.cn-huhehaote.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-5.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-5.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.eu-west-1.aliyuncs.com', 'endpoint' => 'dbs-api.eu-west-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.eu-central-1.aliyuncs.com', 'endpoint' => 'dbs-api.eu-central-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ - [ - 'code' => 'BackupPlanNotConfigure', - 'message' => 'ConfigureBackupPlanRequest Error', - 'http_code' => 200, - 'description' => 'The backup schedule is incorrectly configured.', - ], - [ - 'code' => 'BackupPlanNotDescribe', - 'message' => 'describe backup plan failed -> null', - 'http_code' => 200, - 'description' => 'Failed to query the list of backup schedules.', - ], - [ - 'code' => 'BackupPlanNotModify', - 'message' => 'modify backup source endpoint fail', - 'http_code' => 200, - 'description' => 'Failed to modify the backup source endpoint.', - ], - [ - 'code' => 'DBS.DisasterCenter.NoPermission', - 'message' => 'no permission for this action.', - 'http_code' => 403, - 'description' => 'No permission for this operation.', - ], - [ - 'code' => 'DBS.DownloadTask.CannotFind', - 'message' => 'Can not find download task.', - 'http_code' => 200, - 'description' => 'Can not find download task.', - ], - [ - 'code' => 'DBS.DownloadTask.JobAlreadyExist', - 'message' => 'Job already submit in recent days, please check it.', - 'http_code' => 200, - 'description' => 'Job already submit in recent days, please check it.', - ], - [ - 'code' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', - 'message' => 'There can be only one running or failed task for the instance.', - 'http_code' => 200, - 'description' => 'The current instance can only have one running/failed task at the same time.', - ], - [ - 'code' => 'DBS.DownloadTask.OssForbid', - 'message' => 'OSS is forbidden to access. Please check your OSS bucket.', - 'http_code' => 200, - 'description' => 'OSS is forbidden to access. Please check your OSS bucket.', - ], - [ - 'code' => 'DBS.DownloadTask.OssStorageTypeInvalid', - 'message' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - 'http_code' => 200, - 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - ], - [ - 'code' => 'DBS.NoPermissionException', - 'message' => 'Rejected by ValidationChecker.', - 'http_code' => 403, - 'description' => '', - ], - [ - 'code' => 'DBS.NotExists', - 'message' => 'data source do not existed.', - 'http_code' => 404, - 'description' => 'DBS.NotExists', - ], - [ - 'code' => 'Forbidden.InstanceNotFound', - 'message' => 'instance not found', - 'http_code' => 200, - 'description' => 'The instance does not exist.', - ], - [ - 'code' => 'InternalError', - 'message' => 'internal error', - 'http_code' => 500, - 'description' => 'An internal error occurred.', - ], - [ - 'code' => 'OperationDenied.JobStatus', - 'message' => 'The operation is not permitted.', - 'http_code' => 200, - 'description' => 'The operation is not allowed.', - ], - [ - 'code' => 'Request.Forbidden', - 'message' => 'Have no Permissions', - 'http_code' => 403, - 'description' => '', - ], - [ - 'code' => 'UserError', - 'message' => 'user error', - 'http_code' => 200, - 'description' => 'An error occurred due to improper operations.', - ], - [ - 'code' => 'UserError', - 'message' => 'You must first activate OSS before using DBS to OSS.', - 'http_code' => 403, - 'description' => 'You must first activate OSS before using DBS -> OSS.', - ], + ['code' => 'BackupPlanNotConfigure', 'message' => 'ConfigureBackupPlanRequest Error', 'http_code' => 200, 'description' => 'The backup schedule is incorrectly configured.'], + ['code' => 'BackupPlanNotDescribe', 'message' => 'describe backup plan failed -> null', 'http_code' => 200, 'description' => 'Failed to query the list of backup schedules.'], + ['code' => 'BackupPlanNotModify', 'message' => 'modify backup source endpoint fail', 'http_code' => 200, 'description' => 'Failed to modify the backup source endpoint.'], + ['code' => 'DBS.DisasterCenter.NoPermission', 'message' => 'no permission for this action.', 'http_code' => 403, 'description' => 'No permission for this operation.'], + ['code' => 'DBS.DownloadTask.BakSetError', 'message' => 'DBS download task bak set error. Your backup set does not meet the requirements.', 'http_code' => 200, 'description' => 'Your backup set does not meet the requirements.'], + ['code' => 'DBS.DownloadTask.CannotFind', 'message' => 'Can not find download task.', 'http_code' => 200, 'description' => 'Can not find download task.'], + ['code' => 'DBS.DownloadTask.CustinIdNotSupport', 'message' => 'DBS DownloadTask CustinIdNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask CustinIdNotSupport.'], + ['code' => 'DBS.DownloadTask.CustinNameNotSupport', 'message' => 'DBS DownloadTask CustinNameNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask CustinNameNotSupport.'], + ['code' => 'DBS.DownloadTask.DbTypeNotSupport', 'message' => 'DBS DownloadTask DbTypeNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask DbTypeNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceInfoNotSupport', 'message' => 'DBS DownloadTask InstanceInfoNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceInfoNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceParamNotSupport', 'message' => 'DBS DownloadTask InstanceParamNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceParamNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceStorageTypeNotSupport', 'message' => 'DBS DownloadTask InstanceStorageTypeNotSupport.', 'http_code' => 200, 'description' => ''], + ['code' => 'DBS.DownloadTask.InstanceVersionNotSupport', 'message' => 'DBS DownloadTask InstanceVersionNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceVersionNotSupport.'], + ['code' => 'DBS.DownloadTask.JobAlreadyExist', 'message' => 'Job already submit in recent days, please check it.', 'http_code' => 200, 'description' => 'Job already submit in recent days, please check it.'], + ['code' => 'DBS.DownloadTask.NotSupport', 'message' => 'DBS DownloadTask NotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask NotSupport.'], + ['code' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', 'message' => 'There can be only one running or failed task for the instance.', 'http_code' => 200, 'description' => 'The current instance can only have one running/failed task at the same time.'], + ['code' => 'DBS.DownloadTask.OssForbid', 'message' => 'OSS is forbidden to access. Please check your OSS bucket.', 'http_code' => 200, 'description' => 'OSS is forbidden to access. Please check your OSS bucket.'], + ['code' => 'DBS.DownloadTask.OssStorageTypeInvalid', 'message' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', 'http_code' => 200, 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.'], + ['code' => 'DBS.DownloadTask.RegionNotSupport', 'message' => 'DBS DownloadTask RegionNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask RegionNotSupport.'], + ['code' => 'DBS.DownloadTask.UserNotSupport', 'message' => 'DBS DownloadTask UserNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask UserNotSupport.'], + ['code' => 'DBS.NoPermissionException', 'message' => 'Rejected by ValidationChecker.', 'http_code' => 403, 'description' => ''], + ['code' => 'DBS.NotExists', 'message' => 'data source do not existed.', 'http_code' => 404, 'description' => 'DBS.NotExists'], + ['code' => 'DBS.RegionNotSupport', 'message' => 'Request region is not allowed in current gateway.', 'http_code' => 400, 'description' => 'The current request accesses the wrong endpoint'], + ['code' => 'Forbidden.InstanceNotFound', 'message' => 'instance not found', 'http_code' => 200, 'description' => 'The instance does not exist.'], + ['code' => 'InternalError', 'message' => 'internal error', 'http_code' => 500, 'description' => 'An internal error occurred.'], + ['code' => 'OperationDenied.JobStatus', 'message' => 'The operation is not permitted.', 'http_code' => 200, 'description' => 'The operation is not allowed.'], + ['code' => 'Request.Forbidden', 'message' => 'Have no Permissions', 'http_code' => 403, 'description' => ''], + ['code' => 'UserError', 'message' => 'user error', 'http_code' => 200, 'description' => 'An error occurred due to improper operations.'], + ['code' => 'UserError', 'message' => 'You must first activate OSS before using DBS to OSS.', 'http_code' => 403, 'description' => 'You must first activate OSS before using DBS -> OSS.'], ], 'changeSet' => [ [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPlanList', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPlanList'], ], 'createdAt' => '2023-03-28T07:34:58.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPlanBilling', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPlanBilling'], ], 'createdAt' => '2022-08-18T07:57:14.000Z', 'description' => '审计', ], [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPlanList', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPlanList'], ], 'createdAt' => '2022-08-12T03:51:35.000Z', 'description' => '接入rmc', ], [ 'apis' => [ - [ - 'description' => 'Request parameters changed', - 'api' => 'ConfigureBackupPlan', - ], + ['description' => 'Request parameters changed', 'api' => 'ConfigureBackupPlan'], ], 'createdAt' => '2022-07-28T07:13:26.000Z', 'description' => '操作审计', ], [ 'apis' => [ - [ - 'description' => 'Request parameters changed', - 'api' => 'CreateAndStartBackupPlan', - ], - [ - 'description' => 'Request parameters changed', - 'api' => 'CreateBackupPlan', - ], - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPlanBilling', - ], - [ - 'description' => 'Request parameters changed, Response parameters changed', - 'api' => 'DescribeBackupPlanList', - ], + ['description' => 'Request parameters changed', 'api' => 'CreateAndStartBackupPlan'], + ['description' => 'Request parameters changed', 'api' => 'CreateBackupPlan'], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPlanBilling'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeBackupPlanList'], ], 'createdAt' => '2022-07-28T06:54:59.000Z', 'description' => '操作审计', ], [ 'apis' => [ - [ - 'description' => 'Error codes changed', - 'api' => 'ConfigureBackupPlan', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateAndStartBackupPlan', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateBackupPlan', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateFullBackupSetDownload', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateGetDBListFromAgentTask', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateIncrementBackupSetDownload', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'CreateRestoreTask', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'DescribeBackupGatewayList', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'DescribeBackupPlanBilling', - ], - [ - 'description' => 'Error codes changed', - 'api' => 'DescribeBackupPlanList', - ], + ['description' => 'Error codes changed', 'api' => 'ConfigureBackupPlan'], + ['description' => 'Error codes changed', 'api' => 'CreateAndStartBackupPlan'], + ['description' => 'Error codes changed', 'api' => 'CreateBackupPlan'], + ['description' => 'Error codes changed', 'api' => 'CreateFullBackupSetDownload'], + ['description' => 'Error codes changed', 'api' => 'CreateGetDBListFromAgentTask'], + ['description' => 'Error codes changed', 'api' => 'CreateIncrementBackupSetDownload'], + ['description' => 'Error codes changed', 'api' => 'CreateRestoreTask'], + ['description' => 'Error codes changed', 'api' => 'DescribeBackupGatewayList'], + ['description' => 'Error codes changed', 'api' => 'DescribeBackupPlanBilling'], + ['description' => 'Error codes changed', 'api' => 'DescribeBackupPlanList'], ], 'createdAt' => '2022-07-12T03:54:35.000Z', 'description' => '补齐api信息', @@ -10051,679 +5412,373 @@ ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeBackupPlanList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupSetDownloadRules', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ReleaseBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'RenewBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeJobErrorCode', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetDBListFromAgent', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyStorageStrategy', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpgradeBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DisableBackupLog', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupPlanName', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeBackupSetDownloadTaskList', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeBackupGatewayList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupSourceEndpoint', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeRegions', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateAndStartBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateIncrementBackupSetDownload', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupStrategy', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeRestoreRangeInfo', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateBackupPlan', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateGetDBListFromAgentTask', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeFullBackupList', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeRestoreTaskList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'StopBackupPlan', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateFullBackupSetDownload', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeDLAService', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribePreCheckProgressList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'EnableBackupLog', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ModifyBackupObjects', - ], - [ - 'threshold' => '10000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRestoreTask', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeIncrementBackupList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ConfigureBackupPlan', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeBackupPlanBilling', - ], - [ - 'threshold' => '-1', - 'countWindow' => 1, - 'regionId' => '*', - ], - [ - 'threshold' => '10000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'StartRestoreTask', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeNodeCidrList', - ], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupPlanList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupSetDownloadRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseBackupPlan'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartBackupPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewBackupPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeJobErrorCode'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDBListFromAgent'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStorageStrategy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeBackupPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableBackupLog'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupPlanName'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupSetDownloadTaskList'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeBackupGatewayList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupSourceEndpoint'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAndStartBackupPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncrementBackupSetDownload'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupStrategy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRestoreRangeInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBackupPlan'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGetDBListFromAgentTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFullBackupList'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRestoreTaskList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopBackupPlan'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFullBackupSetDownload'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDLAService'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePreCheckProgressList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableBackupLog'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBackupObjects'], + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRestoreTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIncrementBackupList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigureBackupPlan'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupPlanBilling'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '10000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRestoreTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNodeCidrList'], ], ], 'ram' => [ 'productCode' => 'DBS', 'productName' => 'Database Backup', - 'ramCodes' => [ - 'dbs', - ], + 'ramCodes' => ['dbs'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ - 'apiName' => 'InitializeDbsServiceLinkedRole', + 'apiName' => 'DescribeBackupGatewayList', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:InitializeDbsServiceLinkedRole', - 'authLevel' => 'operate', + 'action' => 'dbs:DescribeBackupGatewayList', + 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'StartBackupPlan', + 'apiName' => 'DescribeIncrementBackupList', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:StartBackupPlan', + 'action' => 'dbs:DescribeIncrementBackupList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'RenewBackupPlan', + 'apiName' => 'CreateFullBackupSetDownload', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:RenewBackupPlan', + 'action' => 'dbs:CreateFullBackupSetDownload', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeFullBackupList', + 'apiName' => 'CreateRestoreTask', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:DescribeFullBackupList', + 'action' => 'dbs:CreateRestoreTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateIncrementBackupSetDownload', + 'apiName' => 'DescribeRestoreRangeInfo', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:CreateIncrementBackupSetDownload', + 'action' => 'dbs:DescribeRestoreRangeInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'CreateBackupPlan', + 'apiName' => 'CreateGetDBListFromAgentTask', 'description' => '', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:CreateBackupPlan', + 'action' => 'dbs:CreateGetDBListFromAgentTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'EnableBackupLog', + 'apiName' => 'DescribeNodeCidrList', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:EnableBackupLog', + 'action' => 'dbs:DescribeNodeCidrList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ModifyBackupPlanName', + 'apiName' => 'ReleaseBackupPlan', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupPlanName', + 'action' => 'dbs:ReleaseBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DisableBackupLog', + 'apiName' => 'ModifyBackupPlanName', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DisableBackupLog', + 'action' => 'dbs:ModifyBackupPlanName', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyBackupSetDownloadRules', + 'apiName' => 'RenewBackupPlan', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupSetDownloadRules', + 'action' => 'dbs:RenewBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeDLAService', + 'apiName' => 'EnableBackupLog', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeDLAService', + 'action' => 'dbs:EnableBackupLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyBackupObjects', + 'apiName' => 'StopBackupPlan', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupObjects', - 'authLevel' => 'operate', + 'action' => 'dbs:StopBackupPlan', + 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeIncrementBackupList', + 'apiName' => 'DescribeBackupPlanBilling', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeIncrementBackupList', + 'action' => 'dbs:DescribeBackupPlanBilling', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'StopBackupPlan', + 'apiName' => 'ModifyBackupSourceEndpoint', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:StopBackupPlan', + 'action' => 'dbs:ModifyBackupSourceEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'CreateRestoreTask', + 'apiName' => 'DescribeFullBackupList', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:CreateRestoreTask', + 'action' => 'dbs:DescribeFullBackupList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'UpgradeBackupPlan', + 'apiName' => 'ModifyBackupObjects', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:UpgradeBackupPlan', - 'authLevel' => 'resource', + 'action' => 'dbs:ModifyBackupObjects', + 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateGetDBListFromAgentTask', + 'apiName' => 'StartRestoreTask', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:CreateGetDBListFromAgentTask', + 'action' => 'dbs:StartRestoreTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ConfigureBackupPlan', + 'apiName' => 'StartBackupPlan', 'description' => '', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:ConfigureBackupPlan', + 'action' => 'dbs:StartBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'CreateFullBackupSetDownload', + 'apiName' => 'ModifyBackupStrategy', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:CreateFullBackupSetDownload', + 'action' => 'dbs:ModifyBackupStrategy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyStorageStrategy', + 'apiName' => 'InitializeDbsServiceLinkedRole', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:ModifyStorageStrategy', - 'authLevel' => 'resource', + 'action' => 'dbs:InitializeDbsServiceLinkedRole', + 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateAndStartBackupPlan', + 'apiName' => 'UpgradeBackupPlan', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:CreateAndStartBackupPlan', + 'action' => 'dbs:UpgradeBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyBackupStrategy', + 'apiName' => 'GetDBListFromAgent', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupStrategy', + 'action' => 'dbs:GetDBListFromAgent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'StartRestoreTask', + 'apiName' => 'DescribeRegions', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:StartRestoreTask', + 'action' => 'dbs:DescribeRegions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeNodeCidrList', + 'apiName' => 'CreateBackupPlan', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:DescribeNodeCidrList', + 'action' => 'dbs:CreateBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeBackupGatewayList', + 'apiName' => 'ModifyStorageStrategy', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeBackupGatewayList', + 'action' => 'dbs:ModifyStorageStrategy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -10736,212 +5791,145 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ReleaseBackupPlan', + 'apiName' => 'DescribeDLAService', 'description' => '', - 'operationType' => 'delete', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:ReleaseBackupPlan', + 'action' => 'dbs:DescribeDLAService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'GetDBListFromAgent', + 'apiName' => 'DisableBackupLog', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:GetDBListFromAgent', + 'action' => 'dbs:DisableBackupLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeRestoreRangeInfo', + 'apiName' => 'ModifyBackupSetDownloadRules', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeRestoreRangeInfo', + 'action' => 'dbs:ModifyBackupSetDownloadRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeBackupPlanList', + 'apiName' => 'ConfigureBackupPlan', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeBackupPlanList', + 'action' => 'dbs:ConfigureBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeRegions', + 'apiName' => 'DescribePreCheckProgressList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeRegions', + 'action' => 'dbs:DescribePreCheckProgressList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribePreCheckProgressList', + 'apiName' => 'CreateAndStartBackupPlan', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:DescribePreCheckProgressList', + 'action' => 'dbs:CreateAndStartBackupPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeRestoreTaskList', + 'apiName' => 'CreateIncrementBackupSetDownload', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:DescribeRestoreTaskList', + 'action' => 'dbs:CreateIncrementBackupSetDownload', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeJobErrorCode', + 'apiName' => 'DescribeBackupPlanList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeJobErrorCode', + 'action' => 'dbs:DescribeBackupPlanList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeBackupPlanBilling', + 'apiName' => 'DescribeRestoreTaskList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeBackupPlanBilling', + 'action' => 'dbs:DescribeRestoreTaskList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyBackupSourceEndpoint', + 'apiName' => 'DescribeJobErrorCode', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupSourceEndpoint', + 'action' => 'dbs:DescribeJobErrorCode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ - [ - 'validationType' => 'always', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'RestoreTask', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:restoretask/{#RestoreTaskId}', - ], + ['validationType' => 'always', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], + ['validationType' => 'always', 'resourceType' => 'RestoreTask', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:restoretask/{#RestoreTaskId}'], + ['validationType' => 'always', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/*'], ], ], ]; diff --git a/data/en_us/dbs/2021-01-01/api-docs.php b/data/en_us/dbs/2021-01-01/api-docs.php index 7e4a0d7..4d7eb62 100644 --- a/data/en_us/dbs/2021-01-01/api-docs.php +++ b/data/en_us/dbs/2021-01-01/api-docs.php @@ -1,43 +1,16 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dbs', - 'version' => '2021-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dbs', 'version' => '2021-01-01'], 'directories' => [ [ - 'children' => [ - 'DescribeDownloadBackupSetStorageInfo', - 'DescribeDownloadSupport', - 'CreateDownload', - 'DescribeDownloadTask', - 'RetryDownloadTask', - ], + 'children' => ['DescribeDownloadBackupSetStorageInfo', 'DescribeDownloadSupport', 'CreateDownload', 'DescribeDownloadTask', 'RetryDownloadTask'], 'type' => 'directory', 'title' => 'Advanced download', ], [ - 'children' => [ - 'ChangeResourceGroup', - 'DescribeBackupPolicy', - 'DescribeBackupDataList', - 'ModifyBackupPolicy', - 'DeleteSandboxInstance', - 'DescribeSandboxBackupSets', - 'DescribeCostInfoByDbsInstance', - ], + 'children' => ['DescribeBackupDataList', 'CreateAdvancedPolicy', 'DeleteSandboxInstance', 'DescribeSandboxRecoveryTime', 'DescribeSandboxInstances', 'DescribeSandboxBackupSets', 'DescribeCostInfoByDbsInstance', 'ChangeResourceGroup', 'DescribeBackupPolicy', 'ModifyBackupPolicy'], 'type' => 'directory', - 'title' => 'Other', - ], - [ - 'children' => [ - 'CreateAdvancedPolicy', - 'DescribeSandboxInstances', - 'DescribeSandboxRecoveryTime', - ], 'title' => 'Others', - 'type' => 'directory', ], ], 'components' => [ @@ -45,78 +18,40 @@ ], 'apis' => [ 'ChangeResourceGroup' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'dbs1jyajqk******', - ], + 'schema' => ['description' => 'The ID of the resource.', 'type' => 'string', 'required' => true, 'example' => 'dbs1jyajqk******', 'title' => ''], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the new resource group.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'rg-aekz4kee6******', - ], + 'schema' => ['description' => 'The ID of the new resource group.', 'type' => 'string', 'required' => true, 'example' => 'rg-aekz4kee6******', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to backupplan.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'backupplan', - ], + 'schema' => ['description' => 'The resource type. Set the value to backupplan.', 'type' => 'string', 'required' => true, 'example' => 'backupplan', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token to ensure that the request is idempotent. This prevents the same request from being submitted multiple times.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'dbs', - ], + 'schema' => ['description' => 'A client token to ensure that the request is idempotent. This prevents the same request from being submitted multiple times.', 'type' => 'string', 'required' => false, 'example' => 'dbs', 'title' => ''], ], [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -124,56 +59,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Indicates whether the resource group was changed. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '04EBD9F5-F06F-5302-8499-005C72*******', - ], - 'ErrCode' => [ - 'description' => 'The error code returned if the call fails.', - 'type' => 'string', - 'title' => '', - 'example' => 'Request.Forbidden', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned if the call fails.', - 'type' => 'string', - 'title' => '', - 'example' => 'RAM DENY', - ], - 'Code' => [ - 'description' => 'The status code of the API.', - 'type' => 'string', - 'title' => '', - 'example' => 'Param.NotFound', - ], - 'Message' => [ - 'description' => 'Additional information.', - 'type' => 'string', - 'title' => '', - 'example' => 'The resource group is forbidden to operate', - ], + 'Data' => ['description' => 'Indicates whether the resource group was changed. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '04EBD9F5-F06F-5302-8499-005C72*******', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the call fails.', 'type' => 'string', 'example' => 'Request.Forbidden', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the call fails.', 'type' => 'string', 'example' => 'RAM DENY', 'title' => ''], + 'Code' => ['description' => 'The status code of the API.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Message' => ['description' => 'Additional information.', 'type' => 'string', 'example' => 'The resource group is forbidden to operate', 'title' => ''], ], 'description' => '', 'title' => '', @@ -183,23 +83,14 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ChangeResourceGroup', 'summary' => 'Changes the resource group of a resource.', 'changeSet' => [ - [ - 'createdAt' => '2023-12-22T02:05:16.000Z', - 'description' => 'Request parameters changed', - ], + ['createdAt' => '2023-12-22T02:05:16.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -212,12 +103,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -225,13 +111,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"true\\",\\n \\"RequestId\\": \\"04EBD9F5-F06F-5302-8499-005C72*******\\",\\n \\"ErrCode\\": \\"Request.Forbidden\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"RAM DENY\\",\\n \\"Code\\": \\"Param.NotFound\\",\\n \\"Message\\": \\"The resource group is forbidden to operate\\"\\n}","type":"json"}]', ], 'CreateAdvancedPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -244,32 +125,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '221987', - 'abilityTreeNodes' => [ - 'FEATUREcbsXXHSAX', - ], + 'abilityTreeNodes' => ['FEATUREcbsXXHSAX'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which backup sets reside.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The region in which backup sets reside.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the PolarDB instance.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'pc-2ze3nrr64c5****', - ], + 'schema' => ['description' => 'The ID of the PolarDB instance.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'pc-2ze3nrr64c5****'], ], ], 'responses' => [ @@ -278,56 +145,21 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '1EFBAC73-4A72-5AD0-BE27-932491FCB848', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The returned message.', - 'type' => 'string', - 'example' => 'instanceName can not be empty.', - 'title' => '', - ], - 'Data' => [ - 'description' => 'Indicates whether the advanced backup policy takes effect. Valid values:'."\n" - ."\n" - .'- **true**'."\n" - ."\n" - .'- **false**', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned if the request failed.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid. ', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The response code.', - 'type' => 'string', - 'example' => 'Success', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- true'."\n" - ."\n" - .'- false', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code returned if the request failed.', - 'type' => 'string', - 'example' => 'Success', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1EFBAC73-4A72-5AD0-BE27-932491FCB848', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'instanceName can not be empty.', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the advanced backup policy takes effect. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the request failed.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the request failed.', 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'title' => '', 'example' => '', @@ -336,16 +168,10 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateAdvancedPolicy', 'summary' => 'Enables an advanced backup policy for a PolarDB instance.', 'description' => '### [](#)Supported database engines'."\n" @@ -365,12 +191,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -378,15 +199,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1EFBAC73-4A72-5AD0-BE27-932491FCB848\\",\\n \\"Message\\": \\"instanceName can not be empty.\\",\\n \\"Data\\": true,\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrCode\\": \\"Success\\"\\n}","type":"json"}]', ], 'CreateDownload' => [ - 'summary' => 'Creates an Advanced Download task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Create an Advanced Download Task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -398,90 +213,52 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119762', - 'abilityTreeNodes' => [ - 'FEATUREcbs04Q4EK', - ], + 'abilityTreeNodes' => ['FEATUREcbs04Q4EK'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation for an RDS instance or the [DescribeDBClusterAttribute](~~2319132~~) operation for a PolarDB cluster to query the region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the region where the instance is located. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation for an ApsaraDB RDS instance or the [DescribeDBClusterAttribute](~~2319132~~) operation for a PolarDB cluster to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'rm-wz994c1t1****', - 'title' => '', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'rm-wz994c1t1****', 'title' => ''], ], [ 'name' => 'BakSetType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the download task. Valid values:'."\n" - ."\n" - .'- **full**: downloads a full backup set.'."\n" - ."\n" - .'- **pitr**: downloads data at a specific point in time.', - 'type' => 'string', - 'required' => false, - 'example' => 'full', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the download task. Valid values:'."\n" + ."\n" + .'- **full**: Downloads a full backup set.'."\n" + ."\n" + .'- **pitr**: Downloads data from a point in time.', 'type' => 'string', 'required' => false, 'example' => 'full', 'title' => ''], ], [ 'name' => 'BakSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set. You can call the [DescribeBackups](~~26273~~) operation for an RDS instance or the [DescribeBackups](~~2319224~~) operation for a PolarDB cluster to query this parameter.'."\n" - ."\n" - .'> This parameter is required when BakSetType is set to full.', - 'type' => 'string', - 'required' => false, - 'example' => '146005****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup set. You can call the [DescribeBackups](~~26273~~) operation for an ApsaraDB RDS instance or the [DescribeBackups](~~2319224~~) operation for a PolarDB cluster to obtain the backup set ID.'."\n" + ."\n" + .'> This parameter is required if `BakSetType` is set to `full`.', 'type' => 'string', 'required' => false, 'example' => '146005****', 'title' => ''], ], [ 'name' => 'DownloadPointInTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time to which you want to download data. Specify a UNIX timestamp of the long data type. Unit: milliseconds.'."\n" - ."\n" - .'> This parameter is required when BakSetType is set to pitr.', - 'type' => 'string', - 'required' => false, - 'example' => '1661331864000', - 'title' => '', - ], + 'schema' => ['description' => 'The point in time for the download. Specify a Unix timestamp in milliseconds (ms).'."\n" + ."\n" + .'> This parameter is required if `BakSetType` is set to `pitr`.', 'type' => 'string', 'required' => false, 'example' => '1661331864000', 'title' => ''], ], [ 'name' => 'BakSetSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The size of the full backup set. You can call the [DescribeBackups](~~26273~~) operation for an RDS instance or the [DescribeBackups](~~2319224~~) operation for a PolarDB cluster to query the size. Unit: bytes.', - 'type' => 'string', - 'required' => false, - 'example' => '216****', - 'title' => '', - ], + 'schema' => ['description' => 'The size of the full backup set, in bytes. You can call the [DescribeBackups](~~26273~~) operation for an ApsaraDB RDS instance or the [DescribeBackups](~~2319224~~) operation for a PolarDB cluster to query the size.', 'type' => 'string', 'required' => false, 'example' => '216****', 'title' => ''], ], [ 'name' => 'FormatType', 'in' => 'query', 'schema' => [ - 'description' => 'The format to which you want to convert the downloaded data. Valid values:'."\n" + 'description' => 'The target format of the downloaded data. Valid values:'."\n" ."\n" .'- **CSV**'."\n" ."\n" @@ -489,7 +266,12 @@ ."\n" .'- **Parquet**'."\n" ."\n" - .'> This parameter is required.', + .'- **Bson**'."\n" + ."\n" + .'- **qp.xb**'."\n" + ."\n" + .'> This parameter is required. The `Bson` format is available only for MongoDB instances. The `qp.xb` format is available only for ApsaraDB RDS for MySQL instances.', + 'enumValueTitles' => ['qp.xb' => 'qp.xb', 'csv' => 'CSV', 'bson' => 'Bson', 'csv-with-header' => 'csv-with-header', 'parquet' => 'Parquet', 'sql' => 'SQL'], 'type' => 'string', 'required' => false, 'example' => 'CSV', @@ -499,276 +281,117 @@ [ 'name' => 'TargetType', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination type for the download. Valid values:'."\n" - ."\n" - .'- **OSS**'."\n" - ."\n" - .'- **URL**', - 'type' => 'string', - 'required' => false, - 'example' => 'OSS', - 'title' => '', - ], + 'schema' => ['description' => 'The destination type for the download. Valid values:'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **URL**', 'type' => 'string', 'required' => false, 'example' => 'OSS', 'title' => ''], ], [ 'name' => 'TargetBucket', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the OSS bucket.'."\n" - ."\n" - .'- This parameter is required when TargetType is set to OSS.'."\n" - ."\n" - .'- Make sure that your account has the **AliyunDBSDefaultRole** permission. For more information about how to grant permissions, see [Grant permissions to a RAM role](~~26307~~). You can also go to the console to grant permissions as prompted.', - 'type' => 'string', - 'required' => false, - 'example' => 'test123', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the destination OSS bucket.'."\n" + ."\n" + .'- This parameter is required if `TargetType` is set to `OSS`.'."\n" + ."\n" + .'- Make sure that your account is granted the **AliyunDBSDefaultRole** role. For more information, see [Grant permissions to a RAM role](~~26307~~). You can also grant the role in the console by following the on-screen instructions.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], ], [ 'name' => 'TargetPath', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination path to which the data is downloaded.'."\n" - ."\n" - .'> This parameter is required when TargetType is set to OSS.', - 'type' => 'string', - 'required' => false, - 'example' => 'test_db/path', - 'title' => '', - ], + 'schema' => ['description' => 'The destination path for the downloaded data.'."\n" + ."\n" + .'> This parameter is required if `TargetType` is set to `OSS`.', 'type' => 'string', 'required' => false, 'example' => 'test_db/path', 'title' => ''], ], [ 'name' => 'TargetOssRegion', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the OSS bucket resides.'."\n" - ."\n" - .'> This parameter is required when TargetType is set to OSS.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - 'title' => '', - ], + 'schema' => ['description' => 'The region where the destination OSS bucket is located.'."\n" + ."\n" + .'> This parameter is required if `TargetType` is set to `OSS`.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'PrimaryKeyTypeOnly', 'in' => 'query', - 'schema' => [ - 'description' => 'This field is required only for MongoDB instances. It indicates whether the primary key type in the database and table is unique. Valid values: true and false.', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is required only for MongoDB instances. It specifies whether the primary key in a table is unique. Set the value to `true` if the primary key is unique, or `false` otherwise.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'IsCluster', 'in' => 'query', - 'schema' => [ - 'description' => 'This field is required only for MongoDB instances. It indicates whether the current instance is a sharded cluster. If the instance is a sharded cluster, set the value to true. Otherwise, set the value to false.', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is required only for MongoDB instances. Set the value to `true` if the instance is a sharded cluster, or `false` otherwise.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'AdminDatabase', 'in' => 'query', - 'schema' => [ - 'description' => 'This field is required only for MongoDB instances. It specifies the name of the authentication database. The default value is admin.', - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is required only for MongoDB instances. It specifies the name of the authentication database. The default value is `admin`.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], ], [ 'name' => 'UseZstd', 'in' => 'query', - 'schema' => [ - 'description' => 'Indicates whether the zstd compression algorithm is used for the compressed package. The default value is false.', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to use the zstd compression algorithm. Default value: `false`.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'description' => 'This field is required only for MongoDB sharded clusters. It specifies the ID of the sharded cluster.', - 'type' => 'string', - 'required' => false, - 'example' => 'dds-0xid8e5336******', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is required only for MongoDB sharded clusters. It specifies the ID of the sharded cluster.', 'type' => 'string', 'required' => false, 'example' => 'dds-0xid8e5336******', 'title' => ''], ], [ 'name' => 'IsPhysical', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'description' => '', - 'required' => false, - 'title' => '', - 'example' => '', - ], + 'schema' => ['description' => 'This parameter is required only when you download data in the `qp.xb` format from an ApsaraDB RDS for MySQL instance. In this case, set the value to `true`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The return values.', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A08F908D-2C35-583F-93C1-ED80753F****', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'DBS.ParamIsInValid', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'formatType can not be empty', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The status code.', - 'type' => 'string', - 'example' => 'DBS.ParamIsInValid', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'formatType can not be empty', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A08F908D-2C35-583F-93C1-ED80753F****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" + ."\n" + .'- **true**: The request succeeded.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'formatType can not be empty', 'title' => ''], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'formatType can not be empty', 'title' => ''], 'Data' => [ - 'description' => 'The returned data.', + 'description' => 'The details of the download task.', 'type' => 'object', 'properties' => [ - 'BakSetId' => [ - 'description' => 'The ID of the full backup set.', - 'type' => 'string', - 'example' => '146005****', - 'title' => '', - ], - 'DownloadStatus' => [ - 'description' => 'The status of the download task. Valid values:'."\n" - ."\n" - .'- initializing: The task is being initialized.'."\n" - ."\n" - .'- queueing: The task is in a queue.'."\n" - ."\n" - .'- running: The task is running.'."\n" - ."\n" - .'- failed: The task failed.'."\n" - ."\n" - .'- finished: The task is complete.'."\n" - ."\n" - .'- expired: The task has expired.'."\n" - ."\n" - .'> A task whose destination is a URL expires three days after it is complete.', - 'type' => 'string', - 'example' => 'initializing', - 'title' => '', - ], - 'Progress' => [ - 'description' => 'The number of downloaded tables/The total number of tables.'."\n" - ."\n" - .'> If the task is in the preparation stage, 0/0 is returned.', - 'type' => 'string', - 'example' => '0/0', - 'title' => '', - ], - 'BackupSetTime' => [ - 'description' => 'The point in time of the point-in-time download task. The value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661373070000', - 'title' => '', - ], - 'RegionCode' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'example' => 'cn-beijing', - 'title' => '', - ], - 'TargetPath' => [ - 'description' => 'The destination path for the download.'."\n" - ."\n" - .'> This parameter is returned when TargetType is set to **OSS**.', - 'type' => 'string', - 'example' => 'test_db/path', - 'title' => '', - ], - 'DbList' => [ - 'description' => 'If the download task is for specific databases and tables, this field returns information about these databases and tables.', - 'type' => 'string', - 'example' => 'testdb', - 'title' => '', - ], - 'ExportDataSize' => [ - 'description' => 'The volume of exported data. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '', - ], - 'ImportDataSize' => [ - 'description' => 'The volume of processed data. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '', - ], - 'GmtCreate' => [ - 'description' => 'The time when the task was created. The value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661940917570', - 'title' => '', - ], - 'TaskId' => [ - 'description' => 'The ID of the download task.', - 'type' => 'string', - 'example' => 'dt-qxnsfq5s****', - 'title' => '', - ], - 'Format' => [ - 'description' => 'The format to which the data is converted.', - 'type' => 'string', - 'example' => 'CSV', - 'title' => '', - ], - 'TargetType' => [ - 'description' => 'The destination type for the download.', - 'type' => 'string', - 'example' => 'URL', - 'title' => '', - ], + 'BakSetId' => ['description' => 'The ID of the full backup set.', 'type' => 'string', 'example' => '146005****', 'title' => ''], + 'DownloadStatus' => ['description' => 'The status of the download task. Valid values:'."\n" + ."\n" + .'- **initializing**: The task is initializing.'."\n" + ."\n" + .'- **queueing**: The task is queued.'."\n" + ."\n" + .'- **running**: The task is running.'."\n" + ."\n" + .'- **failed**: The task failed.'."\n" + ."\n" + .'- **finished**: The task is complete.'."\n" + ."\n" + .'- **expired**: The task has expired.'."\n" + ."\n" + .'> If the download destination is a URL, the link expires three days after the task completes.', 'type' => 'string', 'example' => 'initializing', 'title' => ''], + 'Progress' => ['description' => 'The number of tables downloaded versus the total number of tables.'."\n" + ."\n" + .'> If the task is initializing, `0/0` is returned.', 'type' => 'string', 'example' => '0/0', 'title' => ''], + 'BackupSetTime' => ['description' => 'The point-in-time of the backup set, returned as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1661373070000', 'title' => ''], + 'RegionCode' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'TargetPath' => ['description' => 'The destination path for the data download.'."\n" + ."\n" + .'> This parameter is returned only when `TargetType` is `OSS`.', 'type' => 'string', 'example' => 'test_db/path', 'title' => ''], + 'DbList' => ['description' => 'If the download is for specific databases or tables, this parameter lists their names.', 'type' => 'string', 'example' => 'testdb', 'title' => ''], + 'ExportDataSize' => ['description' => 'The size of the exported data, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ImportDataSize' => ['description' => 'The size of the processed data, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'GmtCreate' => ['description' => 'The creation time of the task, returned as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1661940917570', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the download task.', 'type' => 'string', 'example' => 'dt-qxnsfq5s****', 'title' => ''], + 'Format' => ['description' => 'The format to which the data is converted.', 'type' => 'string', 'example' => 'CSV', 'title' => ''], + 'TargetType' => ['description' => 'The destination type for the download.', 'type' => 'string', 'example' => 'URL', 'title' => ''], ], 'title' => '', 'example' => '', @@ -781,72 +404,47 @@ ], 'errorCodes' => [ 200 => [ - [ - 'errorCode' => 'DBS.DownloadTask.CannotFind', - 'errorMessage' => 'Can not find download task.', - 'description' => 'Can not find download task.', - ], - [ - 'errorCode' => 'DBS.DownloadTask.JobAlreadyExist', - 'errorMessage' => 'Job already submit in recent days, please check it.', - 'description' => 'Job already submit in recent days, please check it.', - ], - [ - 'errorCode' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', - 'errorMessage' => 'There can be only one running or failed task for the instance.', - 'description' => 'The current instance can only have one running/failed task at the same time.', - ], - [ - 'errorCode' => 'DBS.DownloadTask.OssForbid', - 'errorMessage' => 'OSS is forbidden to access. Please check your OSS bucket.', - 'description' => 'OSS is forbidden to access. Please check your OSS bucket.', - ], - [ - 'errorCode' => 'DBS.DownloadTask.OssStorageTypeInvalid', - 'errorMessage' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - ], - [ - 'errorCode' => 'Forbidden.InstanceNotFound', - 'errorMessage' => 'instance not found', - 'description' => 'The instance does not exist.', - ], + ['errorCode' => 'DBS.DownloadTask.CannotFind', 'errorMessage' => 'Can not find download task.', 'description' => 'Can not find download task.'], + ['errorCode' => 'DBS.DownloadTask.JobAlreadyExist', 'errorMessage' => 'Job already submit in recent days, please check it.', 'description' => 'Job already submit in recent days, please check it.'], + ['errorCode' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', 'errorMessage' => 'There can be only one running or failed task for the instance.', 'description' => 'The current instance can only have one running/failed task at the same time.'], + ['errorCode' => 'DBS.DownloadTask.OssForbid', 'errorMessage' => 'OSS is forbidden to access. Please check your OSS bucket.', 'description' => 'OSS is forbidden to access. Please check your OSS bucket.'], + ['errorCode' => 'DBS.DownloadTask.OssStorageTypeInvalid', 'errorMessage' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.'], + ['errorCode' => 'Forbidden.InstanceNotFound', 'errorMessage' => 'instance not found', 'description' => 'The instance does not exist.'], + ['errorCode' => 'DBS.DownloadTask.BakSetError', 'errorMessage' => 'DBS download task bak set error. Your backup set does not meet the requirements.', 'description' => 'Your backup set does not meet the requirements.'], + ['errorCode' => 'DBS.DownloadTask.CustinIdNotSupport', 'errorMessage' => 'DBS DownloadTask CustinIdNotSupport.', 'description' => 'DBS DownloadTask CustinIdNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.CustinNameNotSupport', 'errorMessage' => 'DBS DownloadTask CustinNameNotSupport.', 'description' => 'DBS DownloadTask CustinNameNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.DbTypeNotSupport', 'errorMessage' => 'DBS DownloadTask DbTypeNotSupport.', 'description' => 'DBS DownloadTask DbTypeNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.InstanceInfoNotSupport', 'errorMessage' => 'DBS DownloadTask InstanceInfoNotSupport.', 'description' => 'DBS DownloadTask InstanceInfoNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.InstanceParamNotSupport', 'errorMessage' => 'DBS DownloadTask InstanceParamNotSupport.', 'description' => 'DBS DownloadTask InstanceParamNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.InstanceStorageTypeNotSupport', 'errorMessage' => 'DBS DownloadTask InstanceStorageTypeNotSupport.', 'description' => ''], + ['errorCode' => 'DBS.DownloadTask.InstanceVersionNotSupport', 'errorMessage' => 'DBS DownloadTask InstanceVersionNotSupport.', 'description' => 'DBS DownloadTask InstanceVersionNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.NotSupport', 'errorMessage' => 'DBS DownloadTask NotSupport.', 'description' => 'DBS DownloadTask NotSupport.'], + ['errorCode' => 'DBS.DownloadTask.RegionNotSupport', 'errorMessage' => 'DBS DownloadTask RegionNotSupport.', 'description' => 'DBS DownloadTask RegionNotSupport.'], + ['errorCode' => 'DBS.DownloadTask.UserNotSupport', 'errorMessage' => 'DBS DownloadTask UserNotSupport.', 'description' => 'DBS DownloadTask UserNotSupport.'], ], 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], - [ - 'errorCode' => 'DBS.NoPermissionException', - 'errorMessage' => 'Rejected by ValidationChecker.', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], + ['errorCode' => 'DBS.NoPermissionException', 'errorMessage' => 'Rejected by ValidationChecker.', 'description' => ''], ], [ - [ - 'errorCode' => 'DBS.NotExists', - 'errorMessage' => 'data source do not existed.', - 'description' => 'DBS.NotExists', - ], + ['errorCode' => 'DBS.NotExists', 'errorMessage' => 'data source do not existed.', 'description' => 'DBS.NotExists'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A08F908D-2C35-583F-93C1-ED80753F****\\",\\n \\"ErrCode\\": \\"DBS.ParamIsInValid\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"formatType can not be empty\\",\\n \\"Code\\": \\"DBS.ParamIsInValid\\",\\n \\"Message\\": \\"formatType can not be empty\\",\\n \\"Data\\": {\\n \\"BakSetId\\": \\"146005****\\",\\n \\"DownloadStatus\\": \\"initializing\\",\\n \\"Progress\\": \\"0/0\\",\\n \\"BackupSetTime\\": 1661373070000,\\n \\"RegionCode\\": \\"cn-beijing\\",\\n \\"TargetPath\\": \\"test_db/path\\",\\n \\"DbList\\": \\"testdb\\",\\n \\"ExportDataSize\\": 0,\\n \\"ImportDataSize\\": 0,\\n \\"GmtCreate\\": 1661940917570,\\n \\"TaskId\\": \\"dt-qxnsfq5s****\\",\\n \\"Format\\": \\"CSV\\",\\n \\"TargetType\\": \\"URL\\"\\n }\\n}","type":"json"}]', 'title' => 'CreateDownload', - 'description' => '### Applicable engines'."\n" + 'description' => '### Supported engines'."\n" ."\n" - .'- RDS MySQL (with cloud disks)'."\n" + .'- RDS MySQL (Cloud Disk instances)'."\n" ."\n" .'- RDS PostgreSQL'."\n" ."\n" .'- PolarDB for MySQL'."\n" ."\n" - .'- MongoDB'."\n" + .'- ApsaraDB for MongoDB'."\n" ."\n" - .'### Related documents'."\n" + .'### Related documentation'."\n" ."\n" - .'For eligible instances, you can create an Advanced Download task for a point in time or a specific backup set. You can download the data to a URL or write it directly to your Object Storage Service (OSS) bucket for data analytics and offline archiving.'."\n" + .'For eligible instances, you can create an Advanced Download Task for a specific Backup Set or for any point in time. You can set the download destination to a URL or write the data directly to your Object Storage Service (OSS) bucket for data analytics and offline archiving.'."\n" ."\n" .'- [Download an RDS MySQL backup](~~98819~~)'."\n" ."\n" @@ -854,7 +452,7 @@ ."\n" .'- [Download a PolarDB for MySQL backup](~~2627635~~)'."\n" ."\n" - .'- [Download a MongoDB backup](~~55011~~)', + .'- [Download an ApsaraDB for MongoDB backup](~~55011~~)', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], @@ -867,12 +465,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], @@ -880,60 +473,34 @@ ], 'DeleteSandboxInstance' => [ 'summary' => 'Deletes a sandbox instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.'."\n" - ."\n" - .'> If your instance is an ApsaraDB RDS for MySQL instance, use the [auto-add data source](~~193091~~) feature to add the RDS instance to DBS and obtain the backup plan ID.', - 'type' => 'string', - 'required' => true, - 'example' => '1hxxxx8xxxxxa', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.'."\n" + ."\n" + .'> If your instance is an ApsaraDB RDS for MySQL instance, use the [auto-add data source](~~193091~~) feature to add the RDS instance to DBS and obtain the backup plan ID.', 'type' => 'string', 'required' => true, 'example' => '1hxxxx8xxxxxa', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sandbox instance.', - 'type' => 'string', - 'required' => true, - 'example' => '1jxxxxnxxx1xc', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the sandbox instance.', 'type' => 'string', 'required' => true, 'example' => '1jxxxxnxxx1xc', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID of the destination sandbox instance. The zone must be supported by PrivateLink. Call the [DescribeZones](~~469326~~) operation to query the list of zones in a specific region.'."\n" - ."\n" - .'> Before using the sandbox feature, enable [PrivateLink](~~459882~~). Call the [OpenPrivateLinkService](~~469322~~) operation to enable PrivateLink.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-b', - 'title' => '', - ], + 'schema' => ['description' => 'The zone ID of the destination sandbox instance. The zone must be supported by PrivateLink. Call the [DescribeZones](~~469326~~) operation to query the list of zones in a specific region.'."\n" + ."\n" + .'> Before using the sandbox feature, enable [PrivateLink](~~459882~~). Call the [OpenPrivateLinkService](~~469322~~) operation to enable PrivateLink.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-b', 'title' => ''], ], ], 'responses' => [ @@ -941,48 +508,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'operation forbidden due to sandbox is creating.', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], + 'Data' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'operation forbidden due to sandbox is creating.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], ], 'description' => '', 'title' => '', @@ -992,11 +524,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DeleteSandboxInstance', @@ -1007,10 +535,7 @@ .'|---|---|---|'."\n" .'|Operation.DeniedByJobStatus|operation forbidden due to sandbox is creating|The error message returned because the sandbox instance is being created and cannot be released. Release the sandbox instance when it is running.|', 'changeSet' => [ - [ - 'createdAt' => '2023-08-18T09:25:36.000Z', - 'description' => 'Request parameters changed', - ], + ['createdAt' => '2023-08-18T09:25:36.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -1023,12 +548,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -1036,15 +556,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"operation forbidden due to sandbox is creating.\\",\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"Code\\": \\"Param.NotFound\\",\\n \\"Message\\": \\"The specified parameter %s value is not valid.\\"\\n}","type":"json"}]', ], 'DescribeBackupDataList' => [ - 'summary' => 'Queries the details of backups for a PolarDB for MySQL cluster.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries backup data for a PolarDB for MySQL cluster.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1057,214 +571,114 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '171434', - 'abilityTreeNodes' => [ - 'FEATUREcbsUOJI4N', - ], + 'abilityTreeNodes' => ['FEATUREcbsUOJI4N'], ], 'parameters' => [ [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the PolarDB cluster.', - 'type' => 'string', - 'required' => false, - 'example' => 'pc-2ze3nrr64c5******', - ], + 'schema' => ['description' => 'The ID of the PolarDB cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'pc-2ze3nrr64c5******'], ], [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The region where the backup set is located.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the backup set is located.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The backup scenario. This parameter supports only **LEVEL\\_1**, which indicates a level-1 backup in the region where the instance resides.', - 'type' => 'string', - 'required' => false, - 'example' => 'LEVEL_1', - ], + 'schema' => ['description' => 'The backup scenario. This parameter supports only **LEVEL\\_1**, which indicates a level-1 backup in the region where the instance resides.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'LEVEL_1'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The start of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.', - 'type' => 'string', - 'required' => false, - 'example' => '2024-04-17T17:00:16Z', - ], + 'schema' => ['description' => 'The start of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-04-17T17:00:16Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.', - 'type' => 'string', - 'required' => false, - 'example' => '2024-04-17T17:00:32Z', - ], + 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-04-17T17:00:32Z'], ], [ 'name' => 'BackupStatus', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The status of the backup set. Valid values:'."\n" - ."\n" - .'- **OK**: The backup is successful.'."\n" - ."\n" - .'- **ERROR**: The backup failed.', - 'type' => 'string', - 'required' => false, - 'example' => 'OK', - ], + 'schema' => ['description' => 'The status of the backup set. Valid values:'."\n" + ."\n" + .'- **OK**: The backup is successful.'."\n" + ."\n" + .'- **ERROR**: The backup failed.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'OK'], ], [ 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'required' => false, - 'example' => '213064****', - ], + 'schema' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '213064****'], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **Physical**: physical backup'."\n" - ."\n" - .'- **Logical**: logical backup'."\n" - ."\n" - .'- **Snapshot**: snapshot backup', - 'type' => 'string', - 'required' => false, - 'example' => 'Snapshot', - ], + 'schema' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **Physical**: physical backup'."\n" + ."\n" + .'- **Logical**: logical backup'."\n" + ."\n" + .'- **Snapshot**: snapshot backup', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Snapshot'], ], [ 'name' => 'BackupMode', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The backup mode. Valid values:'."\n" - ."\n" - .'- **Automated**: automatic backup'."\n" - ."\n" - .'- **Manual**: manual backup', - 'type' => 'string', - 'required' => false, - 'example' => 'Automated', - ], + 'schema' => ['description' => 'The backup mode. Valid values:'."\n" + ."\n" + .'- **Automated**: automatic backup'."\n" + ."\n" + .'- **Manual**: manual backup', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Automated'], ], [ 'name' => 'BackupType', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The backup type. Valid values:'."\n" - ."\n" - .'- **FullBackup**: full backup'."\n" - ."\n" - .'- **IncrementBackup**: incremental backup', - 'type' => 'string', - 'required' => false, - 'example' => 'FullBackup', - ], + 'schema' => ['description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **FullBackup**: full backup'."\n" + ."\n" + .'- **IncrementBackup**: incremental backup', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FullBackup'], ], [ 'name' => 'BackupScale', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The backup scope. Valid values:'."\n" - ."\n" - .'- **DBInstance**: instance backup'."\n" - ."\n" - .'- **DBTable**: database and table backup', - 'type' => 'string', - 'required' => false, - 'example' => 'DBInstance', - ], + 'schema' => ['description' => 'The backup scope. Valid values:'."\n" + ."\n" + .'- **DBInstance**: instance backup'."\n" + ."\n" + .'- **DBTable**: database and table backup', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'DBInstance'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The number of entries to return on each page. The default value is 20.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '20'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The page number. The value must be an integer that is greater than 0 and does not exceed the maximum value of the integer data type. The default value is 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number. The value must be an integer that is greater than 0 and does not exceed the maximum value of the integer data type. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'InstanceIsDeleted', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'Specifies whether the instance is deleted. Valid values:'."\n" - ."\n" - .'- **true**: The instance is deleted.'."\n" - ."\n" - .'- **false**: The instance is not deleted. This is the default value.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether the instance is deleted. Valid values:'."\n" + ."\n" + .'- **true**: The instance is deleted.'."\n" + ."\n" + .'- **false**: The instance is not deleted. This is the default value.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'], ], [ 'name' => 'InstanceRegion', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The original region of the instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The original region of the instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'DataSourceId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'This parameter is reserved and does not need to be specified.', - 'type' => 'string', - 'required' => false, - 'example' => 'test****', - ], + 'schema' => ['description' => 'This parameter is reserved and does not need to be specified.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test****'], ], ], 'responses' => [ @@ -1284,188 +698,69 @@ 'description' => 'The details of the task.', 'type' => 'object', 'properties' => [ - 'BackupId' => [ - 'title' => '', - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'example' => '213088****', - ], - 'BackupName' => [ - 'title' => '', - 'description' => 'The name of the backup set.', - 'type' => 'string', - 'example' => 'logic_backup', - ], - 'BackupMode' => [ - 'title' => '', - 'description' => 'The backup mode. Valid values:'."\n" - ."\n" - .'- **Automated**: automatic backup'."\n" - ."\n" - .'- **Manual**: manual backup', - 'type' => 'string', - 'example' => 'Automated', - ], - 'BackupType' => [ - 'title' => '', - 'description' => 'The backup type. Valid values:'."\n" - ."\n" - .'- **FullBackup**: full backup'."\n" - ."\n" - .'- **IncrementBackup**: incremental backup', - 'type' => 'string', - 'example' => 'FullBackup', - ], - 'BackupScale' => [ - 'title' => '', - 'description' => 'The backup scope. Valid values:'."\n" - ."\n" - .'- **DBInstance**: instance backup'."\n" - ."\n" - .'- **DBTable**: database and table backup', - 'type' => 'string', - 'example' => 'DBInstance', - ], - 'BackupMethod' => [ - 'title' => '', - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **Physical**: physical backup'."\n" - ."\n" - .'- **Logical**: logical backup'."\n" - ."\n" - .'- **Snapshot**: snapshot backup', - 'type' => 'string', - 'example' => 'Snapshot', - ], - 'BackupSize' => [ - 'title' => '', - 'description' => 'The size of the backup set in bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25669140480', - ], - 'BackupStatus' => [ - 'title' => '', - 'description' => 'The status of the backup set. Valid values:'."\n" - ."\n" - .'- **OK**: The backup is successful.'."\n" - ."\n" - .'- **ERROR**: The backup failed.', - 'type' => 'string', - 'example' => 'OK', - ], - 'BackupStartTime' => [ - 'title' => '', - 'description' => 'The start time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2024-04-17T17:00:16Z', - ], - 'BackupEndTime' => [ - 'title' => '', - 'description' => 'The end time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2024-04-17T17:00:32Z', - ], - 'ConsistentTime' => [ - 'title' => '', - 'description' => 'The point in time of the consistent snapshot. The value is a UNIX timestamp. Unit: seconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1713373221', - ], - 'BackupLocation' => [ - 'title' => '', - 'description' => 'The storage path of the backup.', - 'type' => 'string', - 'example' => 'logic', - ], - 'InstanceName' => [ - 'title' => '', - 'description' => 'The ID of the instance.', - 'type' => 'string', - 'example' => 'pc-2ze3nrr64c5******', - ], - 'Engine' => [ - 'title' => '', - 'description' => 'The database engine type.', - 'type' => 'string', - 'example' => 'polardb_mysql', - ], - 'EngineVersion' => [ - 'title' => '', - 'description' => 'The database engine version.', - 'type' => 'string', - 'example' => '5.7', - ], - 'SupportDeletion' => [ - 'title' => '', - 'description' => 'Indicates whether the backup set can be deleted. Valid values:'."\n" - ."\n" - .'- **0**: The backup set can be deleted.'."\n" - ."\n" - .'- **1**: The backup set cannot be deleted.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Encryption' => [ - 'title' => '', - 'description' => 'The encryption information.', - 'type' => 'string', - 'example' => 'psk2', - ], - 'IsAvail' => [ - 'title' => '', - 'description' => 'Indicates whether the backup set is available. Valid values:'."\n" - ."\n" - .'- **1**: The backup set is available.'."\n" - ."\n" - .'- **0**: The backup set is unavailable.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Checksum' => [ - 'title' => '', - 'description' => 'The checksum.', - 'type' => 'string', - 'example' => '84a4c16431f969712e6895992719****', - ], - 'BackupDownloadURL' => [ - 'title' => '', - 'description' => 'The public download URL of the backup set.'."\n" - ."\n" - .'> This parameter is returned only when BackupMethod is set to **Physical** (physical backup) or **Logical** (logical backup).', - 'type' => 'string', - 'example' => 'http://oss.com/****', - ], - 'BackupIntranetDownloadURL' => [ - 'title' => '', - 'description' => 'The internal download URL of the backup set.'."\n" - ."\n" - .'> This parameter is returned only when BackupMethod is set to **Physical** (physical backup) or **Logical** (logical backup).', - 'type' => 'string', - 'example' => 'http://oss.com/****', - ], - 'ExpectExpireType' => [ - 'title' => '', - 'description' => 'The expected expiration type of the backup set. Valid values:'."\n" - ."\n" - .'- NEVER'."\n" - ."\n" - .'- EXPIRED'."\n" - ."\n" - .'- DELAY', - 'type' => 'string', - 'example' => 'DELAY', - ], - 'ExpectExpireTime' => [ - 'title' => '', - 'description' => 'The expected expiration time of the backup set. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2024-04-19T05:00:49Z', - ], + 'BackupId' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'title' => '', 'example' => '213088****'], + 'BackupName' => ['description' => 'The name of the backup set.', 'type' => 'string', 'title' => '', 'example' => 'logic_backup'], + 'BackupMode' => ['description' => 'The backup mode. Valid values:'."\n" + ."\n" + .'- **Automated**: automatic backup'."\n" + ."\n" + .'- **Manual**: manual backup', 'type' => 'string', 'title' => '', 'example' => 'Automated'], + 'BackupType' => ['description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **FullBackup**: full backup'."\n" + ."\n" + .'- **IncrementBackup**: incremental backup', 'type' => 'string', 'title' => '', 'example' => 'FullBackup'], + 'BackupScale' => ['description' => 'The backup scope. Valid values:'."\n" + ."\n" + .'- **DBInstance**: instance backup'."\n" + ."\n" + .'- **DBTable**: database and table backup', 'type' => 'string', 'title' => '', 'example' => 'DBInstance'], + 'BackupMethod' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **Physical**: physical backup'."\n" + ."\n" + .'- **Logical**: logical backup'."\n" + ."\n" + .'- **Snapshot**: snapshot backup', 'type' => 'string', 'title' => '', 'example' => 'Snapshot'], + 'BackupSize' => ['description' => 'The size of the backup set in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '25669140480'], + 'BackupStatus' => ['description' => 'The status of the backup set. Valid values:'."\n" + ."\n" + .'- **OK**: The backup is successful.'."\n" + ."\n" + .'- **ERROR**: The backup failed.', 'type' => 'string', 'title' => '', 'example' => 'OK'], + 'BackupStartTime' => ['description' => 'The start time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2024-04-17T17:00:16Z'], + 'BackupEndTime' => ['description' => 'The end time of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2024-04-17T17:00:32Z'], + 'ConsistentTime' => ['description' => 'The point in time of the consistent snapshot. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1713373221'], + 'BackupLocation' => ['description' => 'The storage path of the backup.', 'type' => 'string', 'title' => '', 'example' => 'logic'], + 'InstanceName' => ['description' => 'The ID of the instance.', 'type' => 'string', 'title' => '', 'example' => 'pc-2ze3nrr64c5******'], + 'Engine' => ['description' => 'The database engine type.', 'type' => 'string', 'title' => '', 'example' => 'polardb_mysql'], + 'EngineVersion' => ['description' => 'The database engine version.', 'type' => 'string', 'title' => '', 'example' => '5.7'], + 'SupportDeletion' => ['description' => 'Indicates whether the backup set can be deleted. Valid values:'."\n" + ."\n" + .'- **0**: The backup set can be deleted.'."\n" + ."\n" + .'- **1**: The backup set cannot be deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Encryption' => ['description' => 'The encryption information.', 'type' => 'string', 'title' => '', 'example' => 'psk2'], + 'IsAvail' => ['description' => 'Indicates whether the backup set is available. Valid values:'."\n" + ."\n" + .'- **1**: The backup set is available.'."\n" + ."\n" + .'- **0**: The backup set is unavailable.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Checksum' => ['description' => 'The checksum.', 'type' => 'string', 'title' => '', 'example' => '84a4c16431f969712e6895992719****'], + 'BackupDownloadURL' => ['description' => 'The public download URL of the backup set.'."\n" + ."\n" + .'> This parameter is returned only when BackupMethod is set to **Physical** (physical backup) or **Logical** (logical backup).', 'type' => 'string', 'title' => '', 'example' => 'http://oss.com/****'], + 'BackupIntranetDownloadURL' => ['description' => 'The internal download URL of the backup set.'."\n" + ."\n" + .'> This parameter is returned only when BackupMethod is set to **Physical** (physical backup) or **Logical** (logical backup).', 'type' => 'string', 'title' => '', 'example' => 'http://oss.com/****'], + 'ExpectExpireType' => ['description' => 'The expected expiration type of the backup set. Valid values:'."\n" + ."\n" + .'- NEVER'."\n" + ."\n" + .'- EXPIRED'."\n" + ."\n" + .'- DELAY', 'type' => 'string', 'title' => '', 'example' => 'DELAY'], + 'ExpectExpireTime' => ['description' => 'The expected expiration time of the backup set. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2024-04-19T05:00:49Z'], 'PolarSnapshot' => [ 'title' => '', 'description' => 'The information about the level-2 dump of the PolarDB cluster.'."\n" @@ -1473,38 +768,16 @@ .'> The PolarSnapshot-related information is returned only after the level-2 dump feature is enabled for the PolarDB cluster in the same region and the level-1 backup is successfully dumped.', 'type' => 'object', 'properties' => [ - 'DumpId' => [ - 'title' => '', - 'description' => 'The ID of the dump.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'abc****', - ], - 'DumpSize' => [ - 'title' => '', - 'description' => 'The size of the dump backup in bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25669140589', - ], - 'expectExpireType' => [ - 'title' => '', - 'description' => 'The expected expiration type of the backup set. Valid values:'."\n" - ."\n" - .'- NEVER'."\n" - ."\n" - .'- EXPIRED'."\n" - ."\n" - .'- DELAY', - 'type' => 'string', - 'example' => 'DELAY', - ], - 'ExpectExpireTime' => [ - 'title' => '', - 'description' => 'The expected expiration time of the backup set. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2024-04-19T05:00:49Z', - ], + 'DumpId' => ['description' => 'The ID of the dump.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'abc****'], + 'DumpSize' => ['description' => 'The size of the dump backup in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '25669140589'], + 'expectExpireType' => ['description' => 'The expected expiration type of the backup set. Valid values:'."\n" + ."\n" + .'- NEVER'."\n" + ."\n" + .'- EXPIRED'."\n" + ."\n" + .'- DELAY', 'type' => 'string', 'title' => '', 'example' => 'DELAY'], + 'ExpectExpireTime' => ['description' => 'The expected expiration time of the backup set. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2024-04-19T05:00:49Z'], ], 'example' => '', ], @@ -1515,84 +788,25 @@ 'title' => '', 'example' => '', ], - 'PageSize' => [ - 'title' => '', - 'description' => 'The page size.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'PageNumber' => [ - 'title' => '', - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalPages' => [ - 'title' => '', - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalElements' => [ - 'title' => '', - 'description' => 'The total number of backup sets.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Extra' => [ - 'title' => '', - 'description' => 'Extra information.', - 'type' => 'string', - 'example' => 'dbtest', - ], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '20'], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'TotalElements' => ['description' => 'The total number of backup sets.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'Extra' => ['description' => 'Extra information.', 'type' => 'string', 'title' => '', 'example' => 'dbtest'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '95A5FFD0-7F46-5A7D-9DFE-6A376B4E2A28', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'Request.Forbidden ', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid. ', - ], - 'Code' => [ - 'description' => 'The status code.', - 'type' => 'string', - 'title' => '', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => 'The returned message.', - 'type' => 'string', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid.', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '95A5FFD0-7F46-5A7D-9DFE-6A376B4E2A28', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Request.Forbidden ', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], ], 'title' => '', 'example' => '', @@ -1601,16 +815,10 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeBackupDataList', 'description' => '### Applicable engines'."\n" ."\n" @@ -1633,12 +841,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'conditional', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'conditional', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], @@ -1646,13 +849,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"BackupId\\": \\"213088****\\",\\n \\"BackupName\\": \\"logic_backup\\",\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupType\\": \\"FullBackup\\",\\n \\"BackupScale\\": \\"DBInstance\\",\\n \\"BackupMethod\\": \\"Snapshot\\",\\n \\"BackupSize\\": 25669140480,\\n \\"BackupStatus\\": \\"OK\\",\\n \\"BackupStartTime\\": \\"2024-04-17T17:00:16Z\\",\\n \\"BackupEndTime\\": \\"2024-04-17T17:00:32Z\\",\\n \\"ConsistentTime\\": 1713373221,\\n \\"BackupLocation\\": \\"logic\\",\\n \\"InstanceName\\": \\"pc-2ze3nrr64c5******\\",\\n \\"Engine\\": \\"polardb_mysql\\",\\n \\"EngineVersion\\": \\"5.7\\",\\n \\"SupportDeletion\\": 0,\\n \\"Encryption\\": \\"psk2\\",\\n \\"IsAvail\\": 1,\\n \\"Checksum\\": \\"84a4c16431f969712e6895992719****\\",\\n \\"BackupDownloadURL\\": \\"http://oss.com/****\\",\\n \\"BackupIntranetDownloadURL\\": \\"http://oss.com/****\\",\\n \\"ExpectExpireType\\": \\"DELAY\\",\\n \\"ExpectExpireTime\\": \\"2024-04-19T05:00:49Z\\",\\n \\"PolarSnapshot\\": {\\n \\"DumpId\\": 0,\\n \\"DumpSize\\": 25669140589,\\n \\"expectExpireType\\": \\"DELAY\\",\\n \\"ExpectExpireTime\\": \\"2024-04-19T05:00:49Z\\"\\n }\\n }\\n ],\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"Extra\\": \\"dbtest\\"\\n },\\n \\"RequestId\\": \\"95A5FFD0-7F46-5A7D-9DFE-6A376B4E2A28\\",\\n \\"ErrCode\\": \\"Request.Forbidden\\\\t\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"The specified parameter %s value is not valid.\\"\\n}","type":"json"}]', ], 'DescribeBackupPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1665,32 +863,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '215256', - 'abilityTreeNodes' => [ - 'FEATUREcbsPNQ3FN', - ], + 'abilityTreeNodes' => ['FEATUREcbsPNQ3FN'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The region where the backup set is located.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['title' => '', 'description' => 'The region where the backup set is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the PolarDB instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'pc-2ze3nrr64c5****', - ], + 'schema' => ['title' => '', 'description' => 'The PolarDB instance ID.', 'type' => 'string', 'required' => false, 'example' => 'pc-2ze3nrr64c5****'], ], ], 'responses' => [ @@ -1699,257 +883,97 @@ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '54A63B3B-AA10-1CC3-A6BB-6CCE98D19628', - ], - 'Message' => [ - 'description' => 'The response message.', - 'type' => 'string', - 'title' => '', - 'example' => 'instanceName can not be empty.', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54A63B3B-AA10-1CC3-A6BB-6CCE98D19628', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'instanceName can not be empty.', 'title' => ''], 'Data' => [ - 'description' => 'The details of the backup policy.', + 'description' => 'The backup policy details.', 'type' => 'object', 'properties' => [ - 'PreferredBackupDate' => [ - 'title' => '', - 'description' => 'The basic backup cycle. This is a 7-digit number. From left to right, each digit represents a day from Monday to Sunday. A value of 1 indicates that a backup is performed, and 0 indicates that no backup is performed.', - 'type' => 'string', - 'example' => '1010101', - ], - 'PreferredBackupWindowBegin' => [ - 'title' => '', - 'description' => 'The start time of the basic backup window.', - 'type' => 'string', - 'example' => '23:00Z', - ], - 'PreferredBackupWindow' => [ - 'title' => '', - 'description' => 'The basic backup window.', - 'type' => 'string', - 'example' => '23:00Z-24:00Z', - ], - 'BackupRetentionPeriod' => [ - 'title' => '', - 'description' => 'The retention period for basic backups. If an advanced backup policy is enabled, this is the longest retention period for level-1 backups.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'BackupRetentionPolicyOnClusterDeletion' => [ - 'title' => '', - 'description' => 'The data retention policy for archived backups of deleted instances. Valid values:'."\n" - ."\n" - .'- **NONE**: No backups are retained.'."\n" - ."\n" - .'- **LATEST**: The last backup is retained.'."\n" - ."\n" - .'- **ALL**: All backups are retained.', - 'type' => 'string', - 'example' => 'LATEST', - ], - 'HighFrequencyBakInterval' => [ - 'title' => '', - 'description' => 'The high-frequency backup interval in minutes. For example, a value of 120 means that a backup is performed every two hours.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '120', - ], - 'BackupPriority' => [ - 'title' => '', - 'description' => 'The policy for backing up the secondary database. Valid values:'."\n" - ."\n" - .'- **1**: The secondary database is preferred.'."\n" - ."\n" - .'- **2**: Backup is forced to run on the primary database.'."\n" - ."\n" - .'> This parameter applies only to RDS SQL Server instances. For other engines, the return value is **0**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'EnableLogBackup' => [ - 'title' => '', - 'description' => 'Specifies whether log backup is enabled. Valid values:'."\n" - ."\n" - .'- **1**: Enabled'."\n" - ."\n" - .'- **0**: Not enabled', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LogBackupRetention' => [ - 'title' => '', - 'description' => 'The retention period for log backups.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'LogBackupLocalRetentionNumber' => [ - 'title' => '', - 'description' => 'The number of local log files to retain.', - 'type' => 'string', - 'example' => '10', - ], - 'EnableBackup' => [ - 'title' => '', - 'description' => 'Specifies whether backup is enabled.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LocalLogRetentionSpace' => [ - 'title' => '', - 'description' => 'The maximum space usage for local logs.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'HighSpaceUsageProtection' => [ - 'title' => '', - 'description' => 'Specifies whether to forcibly clear logs when the instance space usage exceeds 80% or the remaining space is less than 5 GB. Valid values:'."\n" - ."\n" - .'- **Disable**: Do not clear logs.'."\n" - ."\n" - .'- **Enable**: Clear logs.', - 'type' => 'string', - 'example' => 'Enable', - ], - 'Category' => [ - 'title' => '', - 'description' => 'Specifies whether second-level backup is enabled. Valid values:'."\n" - ."\n" - .'- **Flash**: Second-level backup is enabled.'."\n" - ."\n" - .'- **Standard**: Standard backup.'."\n" - ."\n" - .'> This parameter is valid only for MySQL.', - 'type' => 'string', - 'example' => 'Standard', - ], - 'IncBackupInterval' => [ - 'title' => '', - 'description' => 'The interval for high-frequency incremental backups.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'EnableIncBackup' => [ - 'title' => '', - 'description' => 'Specifies whether incremental backup is enabled.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'BackupMethod' => [ - 'title' => '', - 'description' => 'The backup method. Valid values:'."\n" - ."\n" - .'- **Physical**: Physical backup'."\n" - ."\n" - .'- **Snapshot**: Snapshot backup', - 'type' => 'string', - 'example' => 'Physical', - ], + 'PreferredBackupDate' => ['title' => '', 'description' => 'The backup cycle for basic backup. A 7-digit string is returned, where each digit from left to right corresponds to Monday through Sunday. 1 indicates backup is performed, and 0 indicates no backup.', 'type' => 'string', 'example' => '1010101'], + 'PreferredBackupWindowBegin' => ['title' => '', 'description' => 'The start time of the basic backup window.', 'type' => 'string', 'example' => '23:00Z'], + 'PreferredBackupWindow' => ['title' => '', 'description' => 'The basic backup window.', 'type' => 'string', 'example' => '23:00Z-24:00Z'], + 'BackupRetentionPeriod' => ['title' => '', 'description' => 'The basic backup retention period. If the advanced backup policy is enabled, this is the longest retention period in the level-1 backup policy.', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'BackupRetentionPolicyOnClusterDeletion' => ['title' => '', 'description' => 'The archive backup retention policy for deleted instances. Valid values:'."\n" + ."\n" + .'- **NONE**: Do not retain'."\n" + .'- **LATEST**: Retain the last one'."\n" + .'- **ALL**: Retain all', 'type' => 'string', 'example' => 'LATEST'], + 'HighFrequencyBakInterval' => ['title' => '', 'description' => 'The high-frequency backup interval. For example, 120 indicates a backup every two hours. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '120'], + 'BackupPriority' => ['title' => '', 'description' => 'The secondary instance backup setting. Valid values:'."\n" + ."\n" + .'- **1**: Prefer secondary instance'."\n" + .'- **2**: Force primary instance'."\n" + ."\n" + .'> This parameter applies only to RDS SQL Server instances. For other engines, the return value is **0**.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'EnableLogBackup' => ['title' => '', 'description' => 'Indicates whether log backup is enabled. Valid values:'."\n" + ."\n" + .'- **1**: Enabled'."\n" + .'- **0**: Disabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'LogBackupRetention' => ['title' => '', 'description' => 'The log backup retention period.', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'LogBackupLocalRetentionNumber' => ['title' => '', 'description' => 'The number of local log files retained.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'EnableBackup' => ['title' => '', 'description' => 'Indicates whether backup is enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'LocalLogRetentionSpace' => ['title' => '', 'description' => 'The maximum local log space usage rate.', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'HighSpaceUsageProtection' => ['title' => '', 'description' => 'Indicates whether to force log cleanup when instance space usage exceeds 80% or remaining space is less than 5 GB:'."\n" + ."\n" + .'- **Disable**: Do not clean up'."\n" + .'- **Enable**: Clean up', 'type' => 'string', 'example' => 'Enable'], + 'Category' => ['title' => '', 'description' => 'Indicates whether second-level backup is enabled. Valid values:'."\n" + ."\n" + .'- **Flash**: Second-level backup enabled'."\n" + .'- **Standard**: Standard backup'."\n" + ."\n" + .'> This parameter only applies to MySQL.', 'type' => 'string', 'example' => 'Standard'], + 'IncBackupInterval' => ['title' => '', 'description' => 'The high-frequency incremental backup interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'], + 'EnableIncBackup' => ['title' => '', 'description' => 'Indicates whether incremental backup is enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'BackupMethod' => ['title' => '', 'description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **Physical**: Physical backup'."\n" + .'- **Snapshot**: Snapshot backup', 'type' => 'string', 'example' => 'Physical'], 'AdvanceLogPolicies' => [ - 'description' => 'The details of the log backup policy.', + 'description' => 'The log backup policy details.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the policy.', + 'description' => 'The policy details.', 'type' => 'object', 'properties' => [ - 'PolicyId' => [ - 'title' => '', - 'description' => 'The ID of the backup policy.', - 'type' => 'string', - 'example' => 'dc13b153acc91141789122c23835****', - ], - 'SrcType' => [ - 'title' => '', - 'description' => 'The source type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: Database'."\n" - ."\n" - .'- **level1**: Level-1 backup'."\n" - ."\n" - .'- **level2**: Level-2 backup'."\n" - ."\n" - .'- **level2Cross**: Level-2 cross-region backup', - 'type' => 'string', - 'example' => 'level1', - ], - 'SrcRegion' => [ - 'title' => '', - 'description' => 'The source region of the backup policy.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'DestType' => [ - 'title' => '', - 'description' => 'The destination type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: Database'."\n" - ."\n" - .'- **level1**: Level-1 backup'."\n" - ."\n" - .'- **level2**: Level-2 backup'."\n" - ."\n" - .'- **level2Cross**: Level-2 cross-region backup', - 'type' => 'string', - 'example' => 'level1', - ], - 'DestRegion' => [ - 'title' => '', - 'description' => 'The destination region of the backup policy.', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'EnableLogBackup' => [ - 'title' => '', - 'description' => 'A reserved parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'LogRetentionType' => [ - 'title' => '', - 'description' => 'The retention type for log backups. Valid values:'."\n" - ."\n" - .'- **never**: Never expires'."\n" - ."\n" - .'- **delay**: Expires after a fixed number of days', - 'type' => 'string', - 'example' => 'delay', - ], - 'LogRetentionValue' => [ - 'title' => '', - 'description' => 'The retention period for log backups.', - 'type' => 'string', - 'example' => '3', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'PolicyId' => ['title' => '', 'description' => 'The backup policy ID.', 'type' => 'string', 'example' => 'dc13b153acc91141789122c23835****'], + 'SrcType' => ['title' => '', 'description' => 'The backup policy source type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'level1'], + 'SrcRegion' => ['title' => '', 'description' => 'The backup policy source region.', 'type' => 'string', 'example' => 'cn-beijing'], + 'DestType' => ['title' => '', 'description' => 'The backup policy destination type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'level1'], + 'DestRegion' => ['title' => '', 'description' => 'The backup policy destination region.', 'type' => 'string', 'example' => 'cn-shanghai'], + 'EnableLogBackup' => ['description' => 'Reserved parameter. No attention required.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'LogRetentionType' => ['title' => '', 'description' => 'The log backup retention type. Valid values:'."\n" + ."\n" + .'- **never**: Never expire'."\n" + .'- **delay**: Expire after fixed number of days', 'type' => 'string', 'example' => 'delay'], + 'LogRetentionValue' => ['title' => '', 'description' => 'The log backup retention period.', 'type' => 'string', 'example' => '3'], + 'FilterType' => ['description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'crontab: Scheduled periodically'."\n" + ."\n" + .'event: Event-triggered', 'type' => 'string', 'example' => 'crontab', 'title' => ''], + 'FilterKey' => ['description' => 'The scheduling type. Valid values:'."\n" + ."\n" + .'dayOfWeek: Weekly schedule'."\n" + ."\n" + .'dayOfMonth: Monthly schedule'."\n" + ."\n" + .'dayOfYear: Yearly schedule'."\n" + ."\n" + .'backupInterval: Fixed interval schedule'."\n" + ."\n" + .'Note: This parameter is returned only when FilterType is crontab.', 'type' => 'string', 'example' => 'dayOfWeek', 'title' => ''], + 'FilterValue' => ['description' => 'The backup cycle.', 'type' => 'string', 'example' => '1,2,3,4,5,6,7', 'title' => ''], ], 'title' => '', 'example' => '', @@ -1958,142 +982,58 @@ 'example' => '', ], 'AdvanceDataPolicies' => [ - 'description' => 'The details of the data backup policy.', + 'description' => 'The data backup policy details.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the policy.', + 'description' => 'The policy details.', 'type' => 'object', 'properties' => [ - 'PolicyId' => [ - 'title' => '', - 'description' => 'The ID of the advanced policy.', - 'type' => 'string', - 'example' => '71930ac2e9f15e41615e10627c******', - ], - 'FilterType' => [ - 'title' => '', - 'description' => 'The filter type for the advanced policy. Valid values:'."\n" - ."\n" - .'- **crontab**: Recurring schedule'."\n" - ."\n" - .'- **event**: Event-driven schedule', - 'type' => 'string', - 'example' => 'crontab', - ], - 'FilterKey' => [ - 'title' => '', - 'description' => 'The schedule type. Valid values:'."\n" - ."\n" - .'- **dayOfWeek**: Weekly schedule'."\n" - ."\n" - .'- **dayOfMonth**: Monthly schedule'."\n" - ."\n" - .'- **dayOfYear**: Yearly schedule'."\n" - ."\n" - .'- **backupInterval**: Fixed interval schedule'."\n" - ."\n" - .'> This parameter is returned only when FilterType is set to **crontab**.', - 'type' => 'string', - 'example' => 'dayOfWeek', - ], - 'FilterValue' => [ - 'title' => '', - 'description' => 'The backup cycle.', - 'type' => 'string', - 'example' => '1,2,3,4,5,6,7', - ], - 'DumpAction' => [ - 'title' => '', - 'description' => 'The dump policy. Valid values:'."\n" - ."\n" - .'- **copy**: Copy'."\n" - ."\n" - .'- **move**: Dump', - 'type' => 'string', - 'example' => 'copy', - ], - 'RetentionType' => [ - 'title' => '', - 'description' => 'The retention period type for the backup set. Valid values:'."\n" - ."\n" - .'- **never**: Never expires'."\n" - ."\n" - .'- **delay**: Expires after a fixed number of days', - 'type' => 'string', - 'example' => 'delay', - ], - 'RetentionValue' => [ - 'title' => '', - 'description' => 'The number of days before expiration.', - 'type' => 'string', - 'example' => '7', - ], - 'SrcType' => [ - 'title' => '', - 'description' => 'The source type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: Database'."\n" - ."\n" - .'- **level1**: Level-1 backup'."\n" - ."\n" - .'- **level2**: Level-2 backup'."\n" - ."\n" - .'- **level2Cross**: Level-2 cross-region backup', - 'type' => 'string', - 'example' => 'db', - ], - 'SrcRegion' => [ - 'title' => '', - 'description' => 'The source region of the backup policy.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'DestType' => [ - 'title' => '', - 'description' => 'The destination type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: Database'."\n" - ."\n" - .'- **level1**: Level-1 backup'."\n" - ."\n" - .'- **level2**: Level-2 backup'."\n" - ."\n" - .'- **level2Cross**: Level-2 cross-region backup', - 'type' => 'string', - 'example' => 'level1', - ], - 'DestRegion' => [ - 'title' => '', - 'description' => 'The destination region of the backup policy.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'BakType' => [ - 'title' => '', - 'description' => 'The backup type. Valid values:'."\n" - ."\n" - .'- **F**: Full backup'."\n" - ."\n" - .'- **L**: Log backup', - 'type' => 'string', - 'example' => 'F', - ], - 'AutoCreated' => [ - 'title' => '', - 'description' => 'Specifies whether the backup policy is automatically generated by the system. Valid values:'."\n" - ."\n" - .'- **true**: The policy is generated by the system.'."\n" - ."\n" - .'- **false**: The policy is a custom policy.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'StorageClass' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'example' => '71930ac2e9f15e41615e10627c******'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'- **crontab**: Scheduled periodically'."\n" + .'- **event**: Event-triggered', 'type' => 'string', 'example' => 'crontab'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. Valid values:'."\n" + ."\n" + .'- **dayOfWeek**: Weekly schedule'."\n" + .'- **dayOfMonth**: Monthly schedule'."\n" + .'- **dayOfYear**: Yearly schedule'."\n" + .'- **backupInterval**: Fixed interval schedule'."\n" + ."\n" + .'> This parameter is returned only when FilterType is **crontab**.', 'type' => 'string', 'example' => 'dayOfWeek'], + 'FilterValue' => ['title' => '', 'description' => 'The backup cycle.', 'type' => 'string', 'example' => '1,2,3,4,5,6,7'], + 'DumpAction' => ['title' => '', 'description' => 'The dump policy. Valid values:'."\n" + ."\n" + .'- **copy**: Copy'."\n" + .'- **move**: Dump', 'type' => 'string', 'example' => 'copy'], + 'RetentionType' => ['title' => '', 'description' => 'The backup set retention period type. Valid values:'."\n" + ."\n" + .'- **never**: Never expire'."\n" + .'- **delay**: Expire after fixed number of days', 'type' => 'string', 'example' => 'delay'], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'example' => '7'], + 'SrcType' => ['title' => '', 'description' => 'The backup policy source type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'db'], + 'SrcRegion' => ['title' => '', 'description' => 'The backup policy source region.', 'type' => 'string', 'example' => 'cn-beijing'], + 'DestType' => ['title' => '', 'description' => 'The backup policy destination type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'level1'], + 'DestRegion' => ['title' => '', 'description' => 'The backup policy destination region.', 'type' => 'string', 'example' => 'cn-beijing'], + 'BakType' => ['title' => '', 'description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **F**: Full backup'."\n" + .'- **L**: Log backup', 'type' => 'string', 'example' => 'F'], + 'AutoCreated' => ['title' => '', 'description' => 'Indicates whether this is a system-automatically generated backup policy. Valid values:'."\n" + ."\n" + .'- **true**: System-generated policy'."\n" + .'- **false**: User-defined policy', 'type' => 'boolean', 'example' => 'true'], + 'StorageClass' => ['description' => 'The data storage type.', 'type' => 'string', 'example' => 'STANDARD', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2102,129 +1042,75 @@ 'example' => '', ], 'AdvanceIncPolicies' => [ + 'description' => 'The advanced incremental backup policies.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'PolicyId' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DumpAction' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'RetentionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'RetentionValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'BakType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'AutoCreated' => [ - 'type' => 'boolean', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'example' => 'smp-l0bfdmlr4c***'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'- **crontab**: Scheduled periodically'."\n" + .'- **event**: Event-triggered', 'type' => 'string', 'example' => 'crontab'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. Only valid when FilterType is crontab. Valid values:'."\n" + ."\n" + .'- **dayOfWeek**: Weekly schedule'."\n" + .'- **dayOfMonth**: Monthly schedule'."\n" + .'- **dayOfYear**: Yearly schedule'."\n" + .'- **backupInterval**: Fixed interval schedule', 'type' => 'string', 'example' => 'dayOfMonth'], + 'FilterValue' => ['title' => '', 'description' => 'The specific filter value.', 'type' => 'string', 'example' => '1'], + 'DumpAction' => ['title' => '', 'description' => 'The dump policy. Valid values:'."\n" + ."\n" + .'- **Copy**: Copy'."\n" + .'- **Move**: Dump', 'type' => 'string', 'example' => 'Copy'], + 'RetentionType' => ['title' => '', 'description' => 'The retention period type. Valid values:'."\n" + ."\n" + .'- **Never**: Never expire'."\n" + .'- **Delay**: Expire after fixed number of days', 'type' => 'string', 'example' => 'delay'], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'example' => '365'], + 'SrcType' => ['title' => '', 'description' => 'The backup policy source type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'db'], + 'SrcRegion' => ['title' => '', 'description' => 'The backup policy source region.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'DestType' => ['title' => '', 'description' => 'The backup policy destination type. Valid values:'."\n" + ."\n" + .'- **db**: Database'."\n" + .'- **level1**: Level-1 backup'."\n" + .'- **level2**: Level-2 backup'."\n" + .'- **level2Cross**: Level-2 cross-region backup', 'type' => 'string', 'example' => 'db'], + 'DestRegion' => ['title' => '', 'description' => 'The backup policy destination region.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'BakType' => ['title' => '', 'description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **F**: Full backup'."\n" + .'- **L**: Log backup', 'type' => 'string', 'example' => 'F'], + 'AutoCreated' => ['title' => '', 'description' => 'Indicates whether this is system-automatically generated.', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', 'title' => '', 'example' => '', ], - 'description' => '', 'title' => '', 'example' => '', ], + 'PreferredNextBackupTime' => ['type' => 'string', 'example' => '2025-07-08T16:05Z', 'description' => '', 'title' => ''], + 'EnablePitrProtection' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + 'LogBackupLocalRetention' => ['type' => 'integer', 'format' => 'int32', 'example' => '7', 'description' => '', 'title' => ''], + 'ColdRetention' => ['type' => 'integer', 'format' => 'int32', 'example' => '30', 'description' => '', 'title' => ''], + 'ColdKeepPolicy' => ['type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => '', 'title' => ''], + 'ColdKeepCount' => ['type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => '', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid. ', - ], - 'Code' => [ - 'description' => 'The status code.', - 'type' => 'string', - 'title' => '', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Specifies whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'Success', - ], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2233,36 +1119,22 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeBackupPolicy', - 'summary' => 'Queries the backup policy for a PolarDB instance.', - 'description' => '### Applicable engines'."\n" + 'summary' => 'Queries the backup policy of a PolarDB instance.', + 'description' => '### Supported engines'."\n" + .'PolarDB MySQL Edition'."\n" ."\n" - .'PolarDB for MySQL'."\n" - ."\n" - .'> This API operation is available only to specific customers. To use this operation, join the DBS Customer Service DingTalk group (ID: 35585947) and request access.'."\n" - ."\n" - .'### Related document'."\n" + .'> This API is currently available only to specific customers. If you need access, please apply through the DBS customer consultation group (DingTalk group number: 35585947).'."\n" ."\n" - .'[Backup policies for PolarDB for MySQL](~~280422~~)', + .'### Related documentation'."\n" + .'[PolarDB MySQL Edition backup policy](~~280422~~)', 'changeSet' => [ - [ - 'createdAt' => '2024-05-28T13:59:23.000Z', - 'description' => 'Response parameters changed', - ], - [ - 'createdAt' => '2024-05-17T02:21:41.000Z', - 'description' => 'Response parameters changed', - ], + ['createdAt' => '2024-05-28T13:59:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-17T02:21:41.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -2275,59 +1147,34 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54A63B3B-AA10-1CC3-A6BB-6CCE98D19628\\",\\n \\"Message\\": \\"instanceName can not be empty.\\",\\n \\"Data\\": {\\n \\"PreferredBackupDate\\": \\"1010101\\",\\n \\"PreferredBackupWindowBegin\\": \\"23:00Z\\",\\n \\"PreferredBackupWindow\\": \\"23:00Z-24:00Z\\",\\n \\"BackupRetentionPeriod\\": 7,\\n \\"BackupRetentionPolicyOnClusterDeletion\\": \\"LATEST\\",\\n \\"HighFrequencyBakInterval\\": 120,\\n \\"BackupPriority\\": 0,\\n \\"EnableLogBackup\\": 1,\\n \\"LogBackupRetention\\": 7,\\n \\"LogBackupLocalRetentionNumber\\": \\"10\\",\\n \\"EnableBackup\\": 1,\\n \\"LocalLogRetentionSpace\\": 30,\\n \\"HighSpaceUsageProtection\\": \\"Enable\\",\\n \\"Category\\": \\"Standard\\",\\n \\"IncBackupInterval\\": -1,\\n \\"EnableIncBackup\\": 0,\\n \\"BackupMethod\\": \\"Physical\\",\\n \\"AdvanceLogPolicies\\": [\\n {\\n \\"PolicyId\\": \\"dc13b153acc91141789122c23835****\\",\\n \\"SrcType\\": \\"level1\\",\\n \\"SrcRegion\\": \\"cn-beijing\\",\\n \\"DestType\\": \\"level1\\",\\n \\"DestRegion\\": \\"cn-shanghai\\",\\n \\"EnableLogBackup\\": 1,\\n \\"LogRetentionType\\": \\"delay\\",\\n \\"LogRetentionValue\\": \\"3\\",\\n \\"FilterType\\": \\"\\",\\n \\"FilterKey\\": \\"\\",\\n \\"FilterValue\\": \\"\\"\\n }\\n ],\\n \\"AdvanceDataPolicies\\": [\\n {\\n \\"PolicyId\\": \\"71930ac2e9f15e41615e10627c******\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"FilterKey\\": \\"dayOfWeek\\",\\n \\"FilterValue\\": \\"1,2,3,4,5,6,7\\",\\n \\"DumpAction\\": \\"copy\\",\\n \\"RetentionType\\": \\"delay\\",\\n \\"RetentionValue\\": \\"7\\",\\n \\"SrcType\\": \\"db\\",\\n \\"SrcRegion\\": \\"cn-beijing\\",\\n \\"DestType\\": \\"level1\\",\\n \\"DestRegion\\": \\"cn-beijing\\",\\n \\"BakType\\": \\"F\\",\\n \\"AutoCreated\\": true,\\n \\"StorageClass\\": \\"\\"\\n }\\n ],\\n \\"AdvanceIncPolicies\\": [\\n {\\n \\"PolicyId\\": \\"\\",\\n \\"FilterType\\": \\"\\",\\n \\"FilterKey\\": \\"\\",\\n \\"FilterValue\\": \\"\\",\\n \\"DumpAction\\": \\"\\",\\n \\"RetentionType\\": \\"\\",\\n \\"RetentionValue\\": \\"\\",\\n \\"SrcType\\": \\"\\",\\n \\"SrcRegion\\": \\"\\",\\n \\"DestType\\": \\"\\",\\n \\"DestRegion\\": \\"\\",\\n \\"BakType\\": \\"\\",\\n \\"AutoCreated\\": false\\n }\\n ]\\n },\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrCode\\": \\"Success\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54A63B3B-AA10-1CC3-A6BB-6CCE98D19628\\",\\n \\"Message\\": \\"instanceName can not be empty.\\",\\n \\"Data\\": {\\n \\"PreferredBackupDate\\": \\"1010101\\",\\n \\"PreferredBackupWindowBegin\\": \\"23:00Z\\",\\n \\"PreferredBackupWindow\\": \\"23:00Z-24:00Z\\",\\n \\"BackupRetentionPeriod\\": 7,\\n \\"BackupRetentionPolicyOnClusterDeletion\\": \\"LATEST\\",\\n \\"HighFrequencyBakInterval\\": 120,\\n \\"BackupPriority\\": 0,\\n \\"EnableLogBackup\\": 1,\\n \\"LogBackupRetention\\": 7,\\n \\"LogBackupLocalRetentionNumber\\": 10,\\n \\"EnableBackup\\": 1,\\n \\"LocalLogRetentionSpace\\": 30,\\n \\"HighSpaceUsageProtection\\": \\"Enable\\",\\n \\"Category\\": \\"Standard\\",\\n \\"IncBackupInterval\\": -1,\\n \\"EnableIncBackup\\": 0,\\n \\"BackupMethod\\": \\"Physical\\",\\n \\"AdvanceLogPolicies\\": [\\n {\\n \\"PolicyId\\": \\"dc13b153acc91141789122c23835****\\",\\n \\"SrcType\\": \\"level1\\",\\n \\"SrcRegion\\": \\"cn-beijing\\",\\n \\"DestType\\": \\"level1\\",\\n \\"DestRegion\\": \\"cn-shanghai\\",\\n \\"EnableLogBackup\\": 1,\\n \\"LogRetentionType\\": \\"delay\\",\\n \\"LogRetentionValue\\": \\"3\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"FilterKey\\": \\"dayOfWeek\\",\\n \\"FilterValue\\": \\"1,2,3,4,5,6,7\\"\\n }\\n ],\\n \\"AdvanceDataPolicies\\": [\\n {\\n \\"PolicyId\\": \\"71930ac2e9f15e41615e10627c******\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"FilterKey\\": \\"dayOfWeek\\",\\n \\"FilterValue\\": \\"1,2,3,4,5,6,7\\",\\n \\"DumpAction\\": \\"copy\\",\\n \\"RetentionType\\": \\"delay\\",\\n \\"RetentionValue\\": \\"7\\",\\n \\"SrcType\\": \\"db\\",\\n \\"SrcRegion\\": \\"cn-beijing\\",\\n \\"DestType\\": \\"level1\\",\\n \\"DestRegion\\": \\"cn-beijing\\",\\n \\"BakType\\": \\"F\\",\\n \\"AutoCreated\\": true,\\n \\"StorageClass\\": \\"STANDARD\\"\\n }\\n ],\\n \\"AdvanceIncPolicies\\": [\\n {\\n \\"PolicyId\\": \\"smp-l0bfdmlr4c***\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"FilterKey\\": \\"dayOfMonth\\",\\n \\"FilterValue\\": \\"1\\",\\n \\"DumpAction\\": \\"Copy\\",\\n \\"RetentionType\\": \\"delay\\",\\n \\"RetentionValue\\": \\"365\\",\\n \\"SrcType\\": \\"db\\",\\n \\"SrcRegion\\": \\"cn-hangzhou\\",\\n \\"DestType\\": \\"db\\",\\n \\"DestRegion\\": \\"cn-hangzhou\\",\\n \\"BakType\\": \\"F\\",\\n \\"AutoCreated\\": true\\n }\\n ],\\n \\"PreferredNextBackupTime\\": \\"2025-07-08T16:05Z\\",\\n \\"EnablePitrProtection\\": false,\\n \\"LogBackupLocalRetention\\": 7,\\n \\"ColdRetention\\": 30,\\n \\"ColdKeepPolicy\\": 1,\\n \\"ColdKeepCount\\": 1\\n },\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid. \\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrCode\\": \\"Success\\"\\n}","type":"json"}]', ], 'DescribeCostInfoByDbsInstance' => [ 'summary' => 'Queries the costs for a DBS instance.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The ID of the region where the instance is located. You can find this information in your bill.', - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the instance is located. You can find this information in your bill.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The ID of the backup billing instance.', - 'title' => '', - 'example' => 'dbsr1l3ro21****', - ], + 'schema' => ['description' => 'The ID of the backup billing instance.', 'type' => 'string', 'required' => false, 'example' => 'dbsr1l3ro21****', 'title' => ''], ], ], 'responses' => [ @@ -2336,70 +1183,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'string', - 'description' => 'Parameter descriptions:'."\n" - ."\n" - .'- **commodity**: The commodity.'."\n" - ."\n" - .'- **product**: The product.'."\n" - ."\n" - .'- **moduleCode**: The billing item.'."\n" - ."\n" - .'- **instanceName**: The sandbox instance ID.'."\n" - ."\n" - .'- **backupSetId**: The backup set ID.'."\n" - ."\n" - .'- **instanceName**: The name of the engine instance.'."\n" - ."\n" - .'- **backupPlanId**: The ID of the backup billing instance.', - 'title' => '', - 'example' => '{'."\n" - .' "backupPlanComment": "",'."\n" - .' "commodity": "cbs_post",'."\n" - .' "product": "cbs",'."\n" - .' "moduleCode": "BackupStorageSize",'."\n" - .' "instanceName": "d-2zefd6337d766294",'."\n" - .' "backupPlanId": "dbs:d-2zefd6337d766294",'."\n" - .' "moduleName": "mongodb"'."\n" - .' }', - ], - 'RequestId' => [ - 'type' => 'string', - 'description' => 'The request ID.', - 'title' => '', - 'example' => '9C397502-B4F2-4E22-AD97-C81F0049F3F3', - ], - 'ErrCode' => [ - 'type' => 'string', - 'description' => 'The error code.', - 'title' => '', - 'example' => 'Param.NotFound', - ], - 'Success' => [ - 'type' => 'string', - 'description' => 'Indicates whether the request was successful.', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'type' => 'string', - 'description' => 'The error message.', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid. ', - ], - 'Code' => [ - 'type' => 'string', - 'description' => 'The status code.', - 'title' => '', - 'example' => 'Success', - ], - 'Message' => [ - 'type' => 'string', - 'description' => 'The error message.', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid.', - ], + 'Data' => ['description' => 'Parameter descriptions:'."\n" + ."\n" + .'- **commodity**: The commodity.'."\n" + ."\n" + .'- **product**: The product.'."\n" + ."\n" + .'- **moduleCode**: The billing item.'."\n" + ."\n" + .'- **instanceName**: The sandbox instance ID.'."\n" + ."\n" + .'- **backupSetId**: The backup set ID.'."\n" + ."\n" + .'- **instanceName**: The name of the engine instance.'."\n" + ."\n" + .'- **backupPlanId**: The ID of the backup billing instance.', 'type' => 'string', 'example' => '{'."\n" + .' "backupPlanComment": "",'."\n" + .' "commodity": "cbs_post",'."\n" + .' "product": "cbs",'."\n" + .' "moduleCode": "BackupStorageSize",'."\n" + .' "instanceName": "d-2zefd6337d766294",'."\n" + .' "backupPlanId": "dbs:d-2zefd6337d766294",'."\n" + .' "moduleName": "mongodb"'."\n" + .' }', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9C397502-B4F2-4E22-AD97-C81F0049F3F3', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid. ', 'title' => ''], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], ], 'description' => '', 'title' => '', @@ -2409,11 +1221,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeCostInfoByDbsInstance', @@ -2430,12 +1238,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -2444,14 +1247,8 @@ ], 'DescribeDownloadBackupSetStorageInfo' => [ 'summary' => 'Queries the storage information for downloading a backup set.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2463,88 +1260,50 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '135676', - 'abilityTreeNodes' => [ - 'FEATUREcbs04Q4EK', - ], + 'abilityTreeNodes' => ['FEATUREcbs04Q4EK'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => 'If the download destination is a URL, this parameter specifies the validity period of the link.'."\n" - ."\n" - .'- The default validity period of a URL is 2 hours (7,200 seconds).'."\n" - ."\n" - .'- You can set the validity period to a value from 5 minutes (300 seconds) to 1 day (86,400 seconds).'."\n" - ."\n" - .'- Convert the value to seconds before you pass it. For example, to set the validity period to 5 minutes, pass 300.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => '300', - ], + 'schema' => ['description' => 'If the download destination is a URL, this parameter specifies the validity period of the link.'."\n" + ."\n" + .'- The default validity period of a URL is 2 hours (7,200 seconds).'."\n" + ."\n" + .'- You can set the validity period to a value from 5 minutes (300 seconds) to 1 day (86,400 seconds).'."\n" + ."\n" + .'- Convert the value to seconds before you pass it. For example, to set the validity period to 5 minutes, pass 300.', 'type' => 'string', 'required' => true, 'example' => '300', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n" - ."\n" - .'> If you specify **InstanceName**, you must also specify **BackupSetId**.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rm-uf6qqf569n435****', - ], + 'schema' => ['description' => 'The instance ID.'."\n" + ."\n" + .'> If you specify **InstanceName**, you must also specify **BackupSetId**.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6qqf569n435****', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the download task.'."\n" - ."\n" - .'- If you do not specify **TaskId**, you must specify **BackupSetId** and **InstanceName**.'."\n" - ."\n" - .'- To view the task ID, click **Backup and Restoration** for the target instance and go to the **Backup Download** tab.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'dt-s0ugzak9****', - ], + 'schema' => ['description' => 'The ID of the download task.'."\n" + ."\n" + .'- If you do not specify **TaskId**, you must specify **BackupSetId** and **InstanceName**.'."\n" + ."\n" + .'- To view the task ID, click **Backup and Restoration** for the target instance and go to the **Backup Download** tab.', 'type' => 'string', 'required' => false, 'example' => 'dt-s0ugzak9****', 'title' => ''], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '30****', - ], + 'schema' => ['description' => 'The ID of the backup set.', 'type' => 'string', 'required' => false, 'example' => '30****', 'title' => ''], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => 'This parameter is required only for MongoDB instances. It specifies the name of the sharded cluster.', - 'title' => '', - 'required' => false, - 'example' => 'dds-example', - ], + 'schema' => ['description' => 'This parameter is required only for MongoDB instances. It specifies the name of the sharded cluster.', 'type' => 'string', 'example' => 'dds-example', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -2553,71 +1312,25 @@ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '44B8C2F5-919D-5D29-BCD5-DEB03467****', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.ParamIsInValid', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'Argument: regionCode Must not be empty', - ], - 'Code' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.ParamIsInValid', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'Argument: regionCode Must not be empty', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '44B8C2F5-919D-5D29-BCD5-DEB03467****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Argument: regionCode Must not be empty', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Argument: regionCode Must not be empty', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'PublicUrl' => [ - 'description' => 'The public URL to download the backup set.', - 'type' => 'string', - 'title' => '', - 'example' => 'http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_456', - ], - 'PrivateUrl' => [ - 'description' => 'The private URL to download the backup set.', - 'type' => 'string', - 'title' => '', - 'example' => 'http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou-internal.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_123', - ], - 'ExpirationTime' => [ - 'description' => 'The validity period of the link.'."\n" - ."\n" - .'> The value is a UNIX timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1661329050', - ], + 'PublicUrl' => ['description' => 'The public URL to download the backup set.', 'type' => 'string', 'example' => 'http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_456', 'title' => ''], + 'PrivateUrl' => ['description' => 'The private URL to download the backup set.', 'type' => 'string', 'example' => 'http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou-internal.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_123', 'title' => ''], + 'ExpirationTime' => ['description' => 'The validity period of the link.'."\n" + ."\n" + .'> The value is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1661329050', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2630,11 +1343,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44B8C2F5-919D-5D29-BCD5-DEB03467****\\",\\n \\"ErrCode\\": \\"DBS.ParamIsInValid\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"Argument: regionCode Must not be empty\\",\\n \\"Code\\": \\"DBS.ParamIsInValid\\",\\n \\"Message\\": \\"Argument: regionCode Must not be empty\\",\\n \\"Data\\": {\\n \\"PublicUrl\\": \\"http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_456\\",\\n \\"PrivateUrl\\": \\"http://dbs-137383785969****-cn-hangzhou-1iv12nblw****.oss-cn-hangzhou-internal.aliyuncs.com/dt-u7u4bufa****/dbs_target_file_path/test_123\\",\\n \\"ExpirationTime\\": 1661329050\\n }\\n}","type":"json"}]', @@ -2659,14 +1368,8 @@ ."\n" .'- [Download a MongoDB backup](~~55011~~)', 'changeSet' => [ - [ - 'createdAt' => '2022-08-25T07:43:22.000Z', - 'description' => 'Request parameters changed', - ], - [ - 'createdAt' => '2022-08-03T09:23:52.000Z', - 'description' => 'OpenAPI offline', - ], + ['createdAt' => '2022-08-25T07:43:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-03T09:23:52.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [], @@ -2679,12 +1382,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -2692,14 +1390,8 @@ ], 'DescribeDownloadSupport' => [ 'summary' => 'Queries whether the current instance supports the Advanced Download feature.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2711,43 +1403,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbs04Q4EK', - ], + 'abilityTreeNodes' => ['FEATUREcbs04Q4EK'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to query the region ID.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'rm-bp1a48p922r4b****', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'rm-bp1a48p922r4b****', 'title' => ''], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => 'The name of the sharded cluster. This parameter is required only for MongoDB sharded cluster instances.', - 'title' => '', - 'required' => false, - 'example' => 'dds-example', - ], + 'schema' => ['description' => 'The name of the sharded cluster. This parameter is required only for MongoDB sharded cluster instances.', 'type' => 'string', 'example' => 'dds-example', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -2756,56 +1428,21 @@ 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Indicates whether the Advanced Download feature is supported. Valid values:'."\n" - ."\n" - .'- **true**: The feature is supported.'."\n" - ."\n" - .'- **false**: The feature is not supported.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'F1A186F7-7B34-5C11-A903-EE23876B****', - ], - 'ErrCode' => [ - 'description' => 'The error code returned if the call fails.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.ParamIsInValid', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned if the call fails.', - 'type' => 'string', - 'title' => '', - 'example' => 'Argument: regionCode Must not be empty', - ], - 'Code' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.ParamIsInValid', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'Argument: regionCode Must not be empty', - ], + 'Data' => ['description' => 'Indicates whether the Advanced Download feature is supported. Valid values:'."\n" + ."\n" + .'- **true**: The feature is supported.'."\n" + ."\n" + .'- **false**: The feature is not supported.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F1A186F7-7B34-5C11-A903-EE23876B****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the call fails.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the call fails.', 'type' => 'string', 'example' => 'Argument: regionCode Must not be empty', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.ParamIsInValid', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Argument: regionCode Must not be empty', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2814,11 +1451,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'staticInfo' => [], @@ -2846,23 +1479,12 @@ ."\n" .'- [Download a MongoDB backup](~~55011~~)', 'changeSet' => [ - [ - 'createdAt' => '2022-08-25T07:43:22.000Z', - 'description' => 'Request parameters changed', - ], - [ - 'createdAt' => '2022-08-03T09:23:52.000Z', - 'description' => 'OpenAPI offline', - ], + ['createdAt' => '2022-08-25T07:43:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-03T09:23:52.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '400', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeDownloadSupport', - ], + ['threshold' => '400', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDownloadSupport'], ], ], 'ramActions' => [ @@ -2873,12 +1495,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], @@ -2886,14 +1503,8 @@ ], 'DescribeDownloadTask' => [ 'summary' => 'Queries a list of advanced download tasks for RDS for MySQL, RDS for PostgreSQL, and PolarDB for MySQL instances.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2904,175 +1515,95 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbs04Q4EK', - ], + 'abilityTreeNodes' => ['FEATUREcbs04Q4EK'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the instance resides. To obtain the region ID, call [DescribeDBInstanceAttribute](~~26231~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the instance resides. To obtain the region ID, call [DescribeDBInstanceAttribute](~~26231~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID.'."\n" - ."\n" - .'> This parameter is required.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rm-bp1imnmcjxdz7****', - ], + 'schema' => ['description' => 'The instance ID.'."\n" + ."\n" + .'> This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp1imnmcjxdz7****', 'title' => ''], ], [ 'name' => 'DatasourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data source in DBS. The format is: *ds-${Instance ID}\\_${Region ID}*.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ds-rm-2ze8g2am97624****_cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the data source in DBS. The format is: *ds-${Instance ID}\\_${Region ID}*.', 'type' => 'string', 'required' => false, 'example' => 'ds-rm-2ze8g2am97624****_cn-hangzhou', 'title' => ''], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set. To obtain the backup set ID, call [DescribeBackups](~~26273~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '216****', - ], + 'schema' => ['description' => 'The ID of the backup set. To obtain the backup set ID, call [DescribeBackups](~~26273~~).', 'type' => 'string', 'required' => false, 'example' => '216****', 'title' => ''], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => 'The state of the download task. Valid values:'."\n" - ."\n" - .'- **initializing**: The task is being initialized.'."\n" - ."\n" - .'- **queueing**: The task is in a queue.'."\n" - ."\n" - .'- **running**: The task is running.'."\n" - ."\n" - .'- **failed**: The task failed.'."\n" - ."\n" - .'- **finished**: The task is successful.'."\n" - ."\n" - .'- **expired**: The download has expired.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'queueing', - ], + 'schema' => ['description' => 'The state of the download task. Valid values:'."\n" + ."\n" + .'- **initializing**: The task is being initialized.'."\n" + ."\n" + .'- **queueing**: The task is in a queue.'."\n" + ."\n" + .'- **running**: The task is running.'."\n" + ."\n" + .'- **failed**: The task failed.'."\n" + ."\n" + .'- **finished**: The task is successful.'."\n" + ."\n" + .'- **expired**: The download has expired.', 'type' => 'string', 'required' => false, 'example' => 'queueing', 'title' => ''], ], [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the download task. Valid values:'."\n" - ."\n" - .'- **full**: full backup set download.'."\n" - ."\n" - .'- **pitr**: point-in-time recovery download.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'full', - ], + 'schema' => ['description' => 'The type of the download task. Valid values:'."\n" + ."\n" + .'- **full**: full backup set download.'."\n" + ."\n" + .'- **pitr**: point-in-time recovery download.', 'type' => 'string', 'required' => false, 'example' => 'full', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start of the time range to query tasks based on their creation time. This is a UNIX timestamp in milliseconds (ms).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1661941554000', - ], + 'schema' => ['description' => 'The start of the time range to query tasks based on their creation time. This is a UNIX timestamp in milliseconds (ms).', 'type' => 'string', 'required' => false, 'example' => '1661941554000', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query tasks based on their creation time. This is a UNIX timestamp in milliseconds (ms).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1661941556000', - ], + 'schema' => ['description' => 'The end of the time range to query tasks based on their creation time. This is a UNIX timestamp in milliseconds (ms).', 'type' => 'string', 'required' => false, 'example' => '1661941556000', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '50', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'OrderDirect', 'in' => 'query', - 'schema' => [ - 'description' => 'The sorting direction. Valid values:'."\n" - ."\n" - .'- **asc**: ascending order.'."\n" - ."\n" - .'- **desc**: descending order. This is the default value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'desc', - ], + 'schema' => ['description' => 'The sorting direction. Valid values:'."\n" + ."\n" + .'- **asc**: ascending order.'."\n" + ."\n" + .'- **desc**: descending order. This is the default value.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], [ 'name' => 'OrderColumn', 'in' => 'query', - 'schema' => [ - 'description' => 'The field used for sorting. The default value is **gmt\\_create**, which indicates the creation time.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'gmt_create', - ], + 'schema' => ['description' => 'The field used for sorting. The default value is **gmt\\_create**, which indicates the creation time.', 'type' => 'string', 'required' => false, 'example' => 'gmt_create', 'title' => ''], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => 'The name of the sharded cluster. This parameter is required only for MongoDB instances.', - 'title' => '', - 'required' => false, - 'example' => 'dds-example', - ], + 'schema' => ['description' => 'The name of the sharded cluster. This parameter is required only for MongoDB instances.', 'type' => 'string', 'example' => 'dds-example', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -3081,84 +1612,25 @@ 'description' => 'The returned parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '5D285EB9-A443-592D-9F3D-A888FAC3****', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.InternalError', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'title' => '', - 'example' => 'true', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'instanceName can not be empty', - ], - 'Code' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'title' => '', - 'example' => 'DBS.InternalError', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'title' => '', - 'example' => 'instanceName can not be empty', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5D285EB9-A443-592D-9F3D-A888FAC3****', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.InternalError', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: The request was successful.'."\n" + ."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'instanceName can not be empty', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'DBS.InternalError', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'instanceName can not be empty', 'title' => ''], 'Data' => [ 'description' => 'The task details.', 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => 'The page number. It must be greater than 0 and not exceed the maximum value of the integer data type. Default value: 1.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], - 'TotalPages' => [ - 'description' => 'The total number of pages.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '2', - ], - 'Extra' => [ - 'description' => 'Additional information about the task that is used to back up data to the cloud.', - 'type' => 'string', - 'title' => '', - 'example' => 'dbtest', - ], - 'TotalElements' => [ - 'description' => 'The total number of download tasks.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '10', - ], + 'PageNumber' => ['description' => 'The page number. It must be greater than 0 and not exceed the maximum value of the integer data type. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Extra' => ['description' => 'Additional information about the task that is used to back up data to the cloud.', 'type' => 'string', 'example' => 'dbtest', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of download tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], 'Content' => [ 'type' => 'object', 'itemNode' => true, @@ -3170,106 +1642,41 @@ 'description' => 'The task details.', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => 'The download task ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'dt-qxntlvgu****', - ], - 'RegionCode' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'Format' => [ - 'description' => 'The destination format to which the downloaded data is converted. Valid values:'."\n" - ."\n" - .'- **csv**'."\n" - ."\n" - .'- **SQL**'."\n" - ."\n" - .'- **Parquet**', - 'type' => 'string', - 'title' => '', - 'example' => 'csv', - ], - 'DbList' => [ - 'description' => 'The list of databases.', - 'type' => 'string', - 'title' => '', - 'example' => '[dbtest]', - ], - 'BakSetId' => [ - 'description' => 'The ID of the full backup set.', - 'type' => 'string', - 'title' => '', - 'example' => '148261****', - ], - 'DownloadStatus' => [ - 'description' => 'The state of the download task. Valid values:'."\n" - ."\n" - .'- **initializing**: The task is being initialized.'."\n" - ."\n" - .'- **queueing**: The task is in a queue.'."\n" - ."\n" - .'- **running**: The task is running.'."\n" - ."\n" - .'- **failed**: The task failed.'."\n" - ."\n" - .'- **finished**: The task is successful.'."\n" - ."\n" - .'- **expired**: The download has expired.', - 'type' => 'string', - 'title' => '', - 'example' => 'queueing', - ], - 'ExportDataSize' => [ - 'description' => 'The volume of exported data, in bytes.', - 'type' => 'string', - 'title' => '', - 'example' => '0', - ], - 'ImportDataSize' => [ - 'description' => 'The volume of processed data, in bytes.', - 'type' => 'string', - 'title' => '', - 'example' => '0', - ], - 'BackupSetTime' => [ - 'description' => 'The point in time of the point-in-time download task. This is a UNIX timestamp in milliseconds (ms).', - 'type' => 'string', - 'title' => '', - 'example' => '1663162216000', - ], - 'TargetType' => [ - 'description' => 'The type of the download destination. Valid values:'."\n" - ."\n" - .'- **OSS**'."\n" - ."\n" - .'- **URL**', - 'type' => 'string', - 'title' => '', - 'example' => 'URL', - ], - 'TargetPath' => [ - 'description' => 'The destination path of the downloaded data. This parameter is returned when TargetType is set to **OSS**.', - 'type' => 'string', - 'title' => '', - 'example' => 'test_db/path', - ], - 'Progress' => [ - 'description' => 'The number of exported tables/The total number of tables to be exported.', - 'type' => 'string', - 'title' => '', - 'example' => '0/0', - ], - 'GmtCreate' => [ - 'description' => 'The time when the task was created. This is a UNIX timestamp in milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1663321957000', - ], + 'TaskId' => ['description' => 'The download task ID.', 'type' => 'string', 'example' => 'dt-qxntlvgu****', 'title' => ''], + 'RegionCode' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Format' => ['description' => 'The destination format to which the downloaded data is converted. Valid values:'."\n" + ."\n" + .'- **csv**'."\n" + ."\n" + .'- **SQL**'."\n" + ."\n" + .'- **Parquet**', 'type' => 'string', 'example' => 'csv', 'title' => ''], + 'DbList' => ['description' => 'The list of databases.', 'type' => 'string', 'example' => '[dbtest]', 'title' => ''], + 'BakSetId' => ['description' => 'The ID of the full backup set.', 'type' => 'string', 'example' => '148261****', 'title' => ''], + 'DownloadStatus' => ['description' => 'The state of the download task. Valid values:'."\n" + ."\n" + .'- **initializing**: The task is being initialized.'."\n" + ."\n" + .'- **queueing**: The task is in a queue.'."\n" + ."\n" + .'- **running**: The task is running.'."\n" + ."\n" + .'- **failed**: The task failed.'."\n" + ."\n" + .'- **finished**: The task is successful.'."\n" + ."\n" + .'- **expired**: The download has expired.', 'type' => 'string', 'example' => 'queueing', 'title' => ''], + 'ExportDataSize' => ['description' => 'The volume of exported data, in bytes.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'ImportDataSize' => ['description' => 'The volume of processed data, in bytes.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'BackupSetTime' => ['description' => 'The point in time of the point-in-time download task. This is a UNIX timestamp in milliseconds (ms).', 'type' => 'string', 'example' => '1663162216000', 'title' => ''], + 'TargetType' => ['description' => 'The type of the download destination. Valid values:'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **URL**', 'type' => 'string', 'example' => 'URL', 'title' => ''], + 'TargetPath' => ['description' => 'The destination path of the downloaded data. This parameter is returned when TargetType is set to **OSS**.', 'type' => 'string', 'example' => 'test_db/path', 'title' => ''], + 'Progress' => ['description' => 'The number of exported tables/The total number of tables to be exported.', 'type' => 'string', 'example' => '0/0', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the task was created. This is a UNIX timestamp in milliseconds.', 'type' => 'string', 'example' => '1663321957000', 'title' => ''], ], 'title' => '', 'example' => '', @@ -3294,11 +1701,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D285EB9-A443-592D-9F3D-A888FAC3****\\",\\n \\"ErrCode\\": \\"DBS.InternalError\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"instanceName can not be empty\\",\\n \\"Code\\": \\"DBS.InternalError\\",\\n \\"Message\\": \\"instanceName can not be empty\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 2,\\n \\"Extra\\": \\"dbtest\\",\\n \\"TotalElements\\": 1,\\n \\"PageSize\\": 10,\\n \\"Content\\": {\\n \\"List\\": [\\n {\\n \\"TaskId\\": \\"dt-qxntlvgu****\\",\\n \\"RegionCode\\": \\"cn-hangzhou\\",\\n \\"Format\\": \\"csv\\",\\n \\"DbList\\": \\"[dbtest]\\",\\n \\"BakSetId\\": \\"148261****\\",\\n \\"DownloadStatus\\": \\"queueing\\",\\n \\"ExportDataSize\\": \\"0\\",\\n \\"ImportDataSize\\": \\"0\\",\\n \\"BackupSetTime\\": \\"1663162216000\\",\\n \\"TargetType\\": \\"URL\\",\\n \\"TargetPath\\": \\"test_db/path\\",\\n \\"Progress\\": \\"0/0\\",\\n \\"GmtCreate\\": \\"1663321957000\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', @@ -3323,10 +1726,7 @@ ."\n" .'- [Download the backup of a MongoDB instance](~~55011~~)', 'changeSet' => [ - [ - 'createdAt' => '2022-11-16T11:43:03.000Z', - 'description' => 'Response parameters changed', - ], + ['createdAt' => '2022-11-16T11:43:03.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -3339,12 +1739,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], @@ -3352,75 +1747,43 @@ ], 'DescribeSandboxBackupSets' => [ 'summary' => 'Queries sandbox backup sets.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup plan.'."\n" - ."\n" - .'> If your instance is an RDS for MySQL instance, automatically add the RDS instance to DBS to obtain the backup plan ID. For more information, see [Automatically add a data source](~~193091~~).', - 'type' => 'string', - 'required' => true, - 'example' => '1hxxxx8xxxxxa', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup plan.'."\n" + ."\n" + .'> If your instance is an RDS for MySQL instance, automatically add the RDS instance to DBS to obtain the backup plan ID. For more information, see [Automatically add a data source](~~193091~~).', 'type' => 'string', 'required' => true, 'example' => '1hxxxx8xxxxxa', 'title' => ''], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup set. If you specify this parameter, the operation returns information about the snapshots of only this backup set. If you do not specify this parameter, the operation returns information about the snapshots of all backup sets that are created for the backup plan.', - 'type' => 'string', - 'required' => false, - 'example' => '1xxxx2xxxxx1e', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup set. If you specify this parameter, the operation returns information about the snapshots of only this backup set. If you do not specify this parameter, the operation returns information about the snapshots of all backup sets that are created for the backup plan.', 'type' => 'string', 'required' => false, 'example' => '1xxxx2xxxxx1e', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values:'."\n" - ."\n" - .'- 30 (default)'."\n" - ."\n" - .'- 50'."\n" - ."\n" - .'- 100', - 'type' => 'string', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" + ."\n" + .'- 30 (default)'."\n" + ."\n" + .'- 50'."\n" + ."\n" + .'- 100', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. The value must be greater than 0 and cannot exceed the maximum value of the integer data type. Default value: 1.', - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. The value must be greater than 0 and cannot exceed the maximum value of the integer data type. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -3428,56 +1791,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The data returned. The value of this parameter is a JSON string. The JSON string contains the following fields:'."\n" - ."\n" - .'- **backupSetTime**: The point in time of the snapshot. The time is in the yyyy-MM-ddTHH:mm:ssZ format and is displayed in Coordinated Universal Time (UTC).'."\n" - ."\n" - .'- **backupSetId**: The ID of the backup set.'."\n" - ."\n" - .'- **backupSetType**: The type of the snapshot. Valid values: **Full** (full backup) and **Inc** (incremental backup).'."\n" - ."\n" - .'- **backupPlanId**: The ID of the backup plan.', - 'type' => 'string', - 'example' => ' "Data": { "number": 2, "size": 2, "content": [ { "backupSetTime": "2021-08-28T23:12:31Z", "backupSetId": "Inc_1hxxxx8xxxxxa_20210801064200_mysql-bin.000134", "backupSetType": "Inc", "backupPlanId": "1hxxxx8xxxxxa" }, { "backupSetTime": "2021-08-28T22:42:28Z", "backupSetId": "1hxxxx8xxxxxa_20210829064228", "backupSetType": "FULL", "backupPlanId": "1hxxxx8xxxxxa" } ], "totalElements": 2 },', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], + 'Data' => ['description' => 'The data returned. The value of this parameter is a JSON string. The JSON string contains the following fields:'."\n" + ."\n" + .'- **backupSetTime**: The point in time of the snapshot. The time is in the yyyy-MM-ddTHH:mm:ssZ format and is displayed in Coordinated Universal Time (UTC).'."\n" + ."\n" + .'- **backupSetId**: The ID of the backup set.'."\n" + ."\n" + .'- **backupSetType**: The type of the snapshot. Valid values: **Full** (full backup) and **Inc** (incremental backup).'."\n" + ."\n" + .'- **backupPlanId**: The ID of the backup plan.', 'type' => 'string', 'example' => ' "Data": { "number": 2, "size": 2, "content": [ { "backupSetTime": "2021-08-28T23:12:31Z", "backupSetId": "Inc_1hxxxx8xxxxxa_20210801064200_mysql-bin.000134", "backupSetType": "Inc", "backupPlanId": "1hxxxx8xxxxxa" }, { "backupSetTime": "2021-08-28T22:42:28Z", "backupSetId": "1hxxxx8xxxxxa_20210829064228", "backupSetType": "FULL", "backupPlanId": "1hxxxx8xxxxxa" } ], "totalElements": 2 },', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], ], 'description' => '', 'title' => '', @@ -3487,11 +1815,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeSandboxBackupSets', @@ -3511,12 +1835,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -3525,75 +1844,43 @@ ], 'DescribeSandboxInstances' => [ 'summary' => 'Queries sandbox instances that are created within an account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~437215~~) operation to obtain the ID of the backup schedule.'."\n" - ."\n" - .'> If your instance is an ApsaraDB RDS for MySQL instance, you can [configure automatic access to a data source](~~193091~~) to automatically add the instance to DBS and obtain the ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => '1hxxxx8xxxxxa', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~437215~~) operation to obtain the ID of the backup schedule.'."\n" + ."\n" + .'> If your instance is an ApsaraDB RDS for MySQL instance, you can [configure automatic access to a data source](~~193091~~) to automatically add the instance to DBS and obtain the ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => '1hxxxx8xxxxxa', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sandbox instance. You can call the [CreateSandboxInstance](~~437252~~) operation to obtain the ID of the sandbox instance.', - 'type' => 'string', - 'required' => false, - 'example' => '1jxxxxnxxx1xc', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the sandbox instance. You can call the [CreateSandboxInstance](~~437252~~) operation to obtain the ID of the sandbox instance.', 'type' => 'string', 'required' => false, 'example' => '1jxxxxnxxx1xc', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values:'."\n" - ."\n" - .'- 30\\. This is the default value.'."\n" - ."\n" - .'- 50'."\n" - ."\n" - .'- 100', - 'type' => 'string', - 'required' => false, - 'example' => '30', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" + ."\n" + .'- 30\\. This is the default value.'."\n" + ."\n" + .'- 50'."\n" + ."\n" + .'- 100', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: 1.', - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -3601,70 +1888,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The response parameters.'."\n" - ."\n" - .'- **connectionString**: the connection string of the sandbox instance, in the format of IP address:Port number. This parameter indicates the endpoint of the sandbox instance if the value of the SandboxType parameter is **Sandbox**. This parameter indicates the Network File System (NFS) mount address if the value of the SandboxType parameter is **NFS**.'."\n" - ."\n" - .'- **restoreSeconds**: the time required to create the sandbox instance. Unit: seconds.'."\n" - ."\n" - .'- **restoreTime**: the point in time to which the sandbox instance is restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n" - ."\n" - .'- **instanceId**: the ID of the sandbox instance.'."\n" - ."\n" - .'- **backupSetId**: the ID of the backup set.'."\n" - ."\n" - .'- **createTime**: the point in time when the sandbox instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n" - ."\n" - .'- **backupPlanId**: the ID of the backup schedule.'."\n" - ."\n" - .'- **vpcId**: the ID of the virtual private cloud (VPC).'."\n" - ."\n" - .'- **vpcSwitchId**: the ID of the VSwitch.'."\n" - ."\n" - .'- **sandboxSpecification**: the specifications of the sandbox instance.'."\n" - ."\n" - .'- **status**: the status of the sandbox instance. Valid values: **running**, **check\\_pass**, and **stop**.', - 'type' => 'string', - 'example' => ' { "number": 1, "size": 1, "content": [ { "connectionString": "172.26.178.229:3306", "restoreSeconds": 15, "restoreTime": "2021-08-11T07:26:24Z", "instanceId": "1jxxxxx9xxxms", "backupSetId": "1hxxxx8xxxxxa_20210811152624", "createTime": "2021-08-12T07:40:29Z", "backupPlanId": "1hxxxx8xxxxxa", "vpcId": "vpc-bp1dxxxxxjy0xxxxx1xxp", "sandboxSpecification": "MYSQL_1C_1M_SD", "status": "running", "vpcSwitchId": "vsw-bp1bxxxxxumxxxxxwxx2w" } ], "totalElements": 1 }', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], + 'Data' => ['description' => 'The response parameters.'."\n" + ."\n" + .'- **connectionString**: the connection string of the sandbox instance, in the format of IP address:Port number. This parameter indicates the endpoint of the sandbox instance if the value of the SandboxType parameter is **Sandbox**. This parameter indicates the Network File System (NFS) mount address if the value of the SandboxType parameter is **NFS**.'."\n" + ."\n" + .'- **restoreSeconds**: the time required to create the sandbox instance. Unit: seconds.'."\n" + ."\n" + .'- **restoreTime**: the point in time to which the sandbox instance is restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n" + ."\n" + .'- **instanceId**: the ID of the sandbox instance.'."\n" + ."\n" + .'- **backupSetId**: the ID of the backup set.'."\n" + ."\n" + .'- **createTime**: the point in time when the sandbox instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n" + ."\n" + .'- **backupPlanId**: the ID of the backup schedule.'."\n" + ."\n" + .'- **vpcId**: the ID of the virtual private cloud (VPC).'."\n" + ."\n" + .'- **vpcSwitchId**: the ID of the VSwitch.'."\n" + ."\n" + .'- **sandboxSpecification**: the specifications of the sandbox instance.'."\n" + ."\n" + .'- **status**: the status of the sandbox instance. Valid values: **running**, **check\\_pass**, and **stop**.', 'type' => 'string', 'example' => ' { "number": 1, "size": 1, "content": [ { "connectionString": "172.26.178.229:3306", "restoreSeconds": 15, "restoreTime": "2021-08-11T07:26:24Z", "instanceId": "1jxxxxx9xxxms", "backupSetId": "1hxxxx8xxxxxa_20210811152624", "createTime": "2021-08-12T07:40:29Z", "backupPlanId": "1hxxxx8xxxxxa", "vpcId": "vpc-bp1dxxxxxjy0xxxxx1xxp", "sandboxSpecification": "MYSQL_1C_1M_SD", "status": "running", "vpcSwitchId": "vsw-bp1bxxxxxumxxxxxwxx2w" } ], "totalElements": 1 }', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'Code' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Message' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], ], 'description' => '', 'title' => '', @@ -3674,11 +1926,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeSandboxInstances', @@ -3700,12 +1948,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -3714,36 +1957,22 @@ ], 'DescribeSandboxRecoveryTime' => [ 'summary' => 'Queries the recoverable time range of a sandbox instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~437215~~) operation to obtain the ID of the backup schedule. If you set this parameter to the backup schedule ID obtained by calling the DescribeBackupPlanList operation, the dbs prefix must be removed. Otherwise, the call fails.'."\n" - ."\n" - .'> If your instance is an ApsaraDB RDS for MySQL instance, you can [configure automatic access to a data source](~~193091~~) to automatically add the instance to DBS and obtain the ID of the backup schedule.', - 'type' => 'string', - 'required' => true, - 'example' => '1jyjal15l****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the backup schedule. You can call the [DescribeBackupPlanList](~~437215~~) operation to obtain the ID of the backup schedule. If you set this parameter to the backup schedule ID obtained by calling the DescribeBackupPlanList operation, the dbs prefix must be removed. Otherwise, the call fails.'."\n" + ."\n" + .'> If your instance is an ApsaraDB RDS for MySQL instance, you can [configure automatic access to a data source](~~193091~~) to automatically add the instance to DBS and obtain the ID of the backup schedule.', 'type' => 'string', 'required' => true, 'example' => '1jyjal15l****', 'title' => ''], ], ], 'responses' => [ @@ -3751,64 +1980,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrMessage' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The error code returned if the request fails.', - 'type' => 'string', - 'example' => 'Param.NotFound', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The error message returned if the request fails.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4F1888AC-1138-4995-B9FE-D2734F61C058', 'title' => ''], + 'ErrCode' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrMessage' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'Code' => ['description' => 'The error code returned if the request fails.', 'type' => 'string', 'example' => 'Param.NotFound', 'title' => ''], + 'Message' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], 'Data' => [ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RecoveryEndTime' => [ - 'description' => 'The end of the time range during which the sandbox instance can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2021-08-02T12:01:01Z', - 'title' => '', - ], - 'BackupPlanId' => [ - 'description' => 'The backup schedule of the sandbox instance.', - 'type' => 'string', - 'example' => '1hxxxx8xxxxxa', - 'title' => '', - ], - 'RecoveryBeginTime' => [ - 'description' => 'The beginning of the time range during which the sandbox instance can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.', - 'type' => 'string', - 'example' => '2021-08-01T12:01:01Z', - 'title' => '', - ], + 'RecoveryEndTime' => ['description' => 'The end of the time range during which the sandbox instance can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'example' => '2021-08-02T12:01:01Z', 'title' => ''], + 'BackupPlanId' => ['description' => 'The backup schedule of the sandbox instance.', 'type' => 'string', 'example' => '1hxxxx8xxxxxa', 'title' => ''], + 'RecoveryBeginTime' => ['description' => 'The beginning of the time range during which the sandbox instance can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'example' => '2021-08-01T12:01:01Z', 'title' => ''], ], 'title' => '', 'example' => '', @@ -3822,11 +2006,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'DescribeSandboxRecoveryTime', @@ -3846,12 +2026,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -3859,13 +2034,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4F1888AC-1138-4995-B9FE-D2734F61C058\\",\\n \\"ErrCode\\": \\"Param.NotFound\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"Code\\": \\"Param.NotFound\\",\\n \\"Message\\": \\"The specified parameter %s value is not valid.\\",\\n \\"Data\\": {\\n \\"RecoveryEndTime\\": \\"2021-08-02T12:01:01Z\\",\\n \\"BackupPlanId\\": \\"1hxxxx8xxxxxa\\",\\n \\"RecoveryBeginTime\\": \\"2021-08-01T12:01:01Z\\"\\n }\\n}","type":"json"}]', ], 'ModifyBackupPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'summary' => 'Modifies the backup policy of a PolarDB instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3878,149 +2049,79 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '221284', - 'abilityTreeNodes' => [ - 'FEATUREcbsYWT1H7', - 'FEATUREcbsPNQ3FN', - ], + 'abilityTreeNodes' => ['FEATUREcbsYWT1H7', 'FEATUREcbsPNQ3FN'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the backup set is located.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The region where the backup set resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'PreferredBackupWindowBegin', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the backup window.', - 'type' => 'string', - 'required' => false, - 'example' => '17:00Z', - 'title' => '', - ], + 'schema' => ['description' => 'The start time of the basic backup window.', 'type' => 'string', 'required' => false, 'example' => '17:00Z', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the PolarDB instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'pc-2ze3nrr64c5****', - 'title' => '', - ], + 'schema' => ['description' => 'The PolarDB instance ID.', 'type' => 'string', 'required' => false, 'example' => 'pc-2ze3nrr64c5****', 'title' => ''], ], [ 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The backup type.'."\n" - ."\n" - .'- **Flash**: second-level backup'."\n" - ."\n" - .'- **Standard**: standard backup', - 'type' => 'string', - 'required' => false, - 'example' => 'Flash', - 'title' => '', - ], + 'schema' => ['description' => 'The backup type. Valid values:'."\n" + .'- **Flash**: backup within seconds'."\n" + .'- **Standard**: basic backup.', 'type' => 'string', 'required' => false, 'example' => 'Flash', 'title' => ''], ], [ 'name' => 'AdvanceLogPolicies', 'in' => 'query', 'style' => 'json', 'schema' => [ + 'description' => 'The destination region of the backup policy.', 'type' => 'array', 'items' => [ 'title' => '', + 'description' => 'The source region of the backup policy.', 'type' => 'object', 'properties' => [ - 'LogRetentionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'ActionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'EnableLogBackup' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcType' => [ - 'type' => 'string', - 'required' => false, - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'LogRetentionValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'PolicyId' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'LogRetentionType' => ['title' => '', 'description' => 'The retention period type. Valid values:'."\n" + .'- Never: never expires'."\n" + .'- Delay: expires after a fixed number of days.', 'type' => 'string', 'required' => false, 'example' => 'Never'], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'level1'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + .'- Crontab: periodic scheduling'."\n" + .'- Event: event-based scheduling.', 'type' => 'string', 'required' => false, 'example' => 'crontab'], + 'ActionType' => ['title' => '', 'description' => 'The operation type. Valid values: CREATE, UPDATE, and DELETE.', 'type' => 'string', 'required' => false, 'example' => 'CREATE'], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'EnableLogBackup' => ['description' => 'Specifies whether log backup is enabled. Valid values:'."\n" + ."\n" + .'- **1**: Enabled.'."\n" + .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'db'], + 'LogRetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'required' => false, 'example' => '30'], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'required' => false, 'example' => '31289676-bb8d-4dee-b83e-******'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. This parameter is valid only when FilterType is set to crontab. Valid values:'."\n" + .'- dayOfWeek: weekly scheduling'."\n" + .'- dayOfMonth: monthly scheduling'."\n" + .'- dayOfYear: yearly scheduling'."\n" + .'- backupInterval: fixed interval scheduling.', 'type' => 'string', 'required' => false, 'example' => 'dayOfMonth'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'FilterValue' => ['title' => '', 'description' => 'The specific filter value.', 'type' => 'string', 'required' => false, 'example' => '1'], ], - 'description' => '', + 'required' => false, 'example' => '', ], - 'description' => '', + 'required' => false, 'title' => '', 'example' => '', ], @@ -4034,139 +2135,55 @@ 'type' => 'array', 'items' => [ 'title' => '', - 'description' => 'The details of the policy.', + 'description' => 'The policy details.', 'type' => 'object', 'properties' => [ - 'DestType' => [ - 'description' => 'The destination type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: database'."\n" - ."\n" - .'- **level1**: level-1 backup'."\n" - ."\n" - .'- **level2**: level-2 backup'."\n" - ."\n" - .'- **level2Cross**: level-2 cross-region backup', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'level1', - ], - 'FilterType' => [ - 'description' => 'The filter type for the advanced policy. Valid values:'."\n" - ."\n" - .'- **crontab**: recurring schedule'."\n" - ."\n" - .'- **event**: event-based schedule', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'crontab', - ], - 'ActionType' => [ - 'description' => 'The operation type. Valid values:'."\n" - ."\n" - .'- **CREATE**: adds a policy'."\n" - ."\n" - .'- **UPDATE**: modifies a policy'."\n" - ."\n" - .'- **DELETE**: deletes a policy', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'UPDATE', - ], - 'SrcRegion' => [ - 'description' => 'The source region of the backup policy.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'SrcType' => [ - 'description' => 'The source type of the backup policy. Valid values:'."\n" - ."\n" - .'- **db**: database'."\n" - ."\n" - .'- **level1**: level-1 backup'."\n" - ."\n" - .'- **level2**: level-2 backup'."\n" - ."\n" - .'- **level2Cross**: level-2 cross-region backup', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'db', - ], - 'OnlyPreserveOneEachDay' => [ - 'description' => 'Specifies whether to retain only one backup set per day for high-frequency backups that are more than one day old.', - 'type' => 'boolean', - 'title' => '', - 'required' => false, - 'example' => '', - ], - 'RetentionValue' => [ - 'description' => 'The retention period in days.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => '4', - ], - 'PolicyId' => [ - 'description' => 'The ID of the advanced policy. For more information, see [DescribeBackupPolicy](~~2869783~~).', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => '6s67c7i3y8f8p72808p******', - ], - 'FilterKey' => [ - 'description' => 'The scheduling type. Valid values:'."\n" - ."\n" - .'- **dayOfWeek**: weekly schedule'."\n" - ."\n" - .'- **dayOfMonth**: monthly schedule'."\n" - ."\n" - .'- **dayOfYear**: yearly schedule'."\n" - ."\n" - .'- **backupInterval**: fixed interval schedule'."\n" - ."\n" - .'> This parameter is returned only when FilterType is set to **crontab**.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'backupInterval', - ], - 'DestRegion' => [ - 'description' => 'The destination region of the backup policy.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'FilterValue' => [ - 'description' => 'The backup cycle.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => '180', - ], - 'RetentionType' => [ - 'description' => 'The retention period type for the backup set. Valid values:'."\n" - ."\n" - .'- **never**: never expires'."\n" - ."\n" - .'- **delay**: expires after a fixed number of days', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => 'delay', - ], - 'StorageClass' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + ."\n" + .'- **db**: database'."\n" + .'- **level1**: primary backup'."\n" + .'- **level2**: secondary backup'."\n" + .'- **level2Cross**: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'level1'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'- **crontab**: periodic scheduling'."\n" + .'- **event**: event-based scheduling.', 'type' => 'string', 'required' => false, 'example' => 'crontab'], + 'ActionType' => ['title' => '', 'description' => 'The operation type. Valid values:'."\n" + ."\n" + .'- **CREATE**: Create.'."\n" + .'- **UPDATE**: Update.'."\n" + .'- **DELETE**: Delete.', 'type' => 'string', 'required' => false, 'example' => 'UPDATE'], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + ."\n" + .'- **db**: database'."\n" + .'- **level1**: primary backup'."\n" + .'- **level2**: secondary backup'."\n" + .'- **level2Cross**: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'db'], + 'OnlyPreserveOneEachDay' => ['title' => '', 'description' => 'Specifies whether to retain only one high-frequency backup set per day for backups older than one day.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'required' => false, 'example' => '4'], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID. You can call [DescribeBackupPolicy](~~2869783~~) to query this value.', 'type' => 'string', 'required' => false, 'example' => '6s67c7i3y8f8p72808p******'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. Valid values:'."\n" + ."\n" + .'- **dayOfWeek**: weekly scheduling'."\n" + .'- **dayOfMonth**: monthly scheduling'."\n" + .'- **dayOfYear**: yearly scheduling'."\n" + .'- **backupInterval**: fixed interval scheduling'."\n" + ."\n" + .'> This parameter is returned only when FilterType is set to **crontab**.', 'type' => 'string', 'required' => false, 'example' => 'backupInterval'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + 'FilterValue' => ['title' => '', 'description' => 'The backup cycle.', 'type' => 'string', 'required' => false, 'example' => '180'], + 'RetentionType' => ['title' => '', 'description' => 'The retention period type of the backup set. Valid values:'."\n" + ."\n" + .'- **never**: Never expires.'."\n" + .'- **delay**: Expires after a fixed number of days.', 'type' => 'string', 'required' => false, 'example' => 'delay'], + 'StorageClass' => ['description' => 'The storage class of the bucket. Valid values:'."\n" + ."\n" + .'- Standard (default): Standard storage.'."\n" + .'- IA: Infrequent Access storage.'."\n" + .'- Archive: Archive storage.'."\n" + .'- ColdArchive: Cold Archive storage.'."\n" + .'- DeepColdArchive: Deep Cold Archive storage.', 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''], ], 'required' => false, 'example' => '', @@ -4181,89 +2198,46 @@ 'in' => 'query', 'style' => 'json', 'schema' => [ + 'description' => 'The destination region of the backup policy.', 'type' => 'array', 'items' => [ 'title' => '', + 'description' => 'The source region of the backup policy.', 'type' => 'object', 'properties' => [ - 'DestType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'ActionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcType' => [ - 'type' => 'string', - 'required' => false, - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'OnlyPreserveOneEachDay' => [ - 'type' => 'boolean', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'RetentionValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'PolicyId' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'RetentionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'level1'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + .'- Crontab: periodic scheduling'."\n" + .'- Event: event-based scheduling.', 'type' => 'string', 'required' => false, 'example' => 'crontab'], + 'ActionType' => ['title' => '', 'description' => 'The operation type. Valid values: CREATE, UPDATE, and DELETE.', 'type' => 'string', 'required' => false, 'example' => 'CREATE'], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'required' => false, 'example' => 'db'], + 'OnlyPreserveOneEachDay' => ['title' => '', 'description' => 'Specifies whether to retain only one high-frequency backup set per day for backups older than one day.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'required' => false, 'example' => '365'], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'required' => false, 'example' => '1'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. This parameter is valid only when FilterType is set to crontab. Valid values:'."\n" + .'- dayOfWeek: weekly scheduling'."\n" + .'- dayOfMonth: monthly scheduling'."\n" + .'- dayOfYear: yearly scheduling'."\n" + .'- backupInterval: fixed interval scheduling.', 'type' => 'string', 'required' => false, 'example' => 'dayOfMonth'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'FilterValue' => ['title' => '', 'description' => 'The specific filter value.', 'type' => 'string', 'required' => false, 'example' => '1'], + 'RetentionType' => ['title' => '', 'description' => 'The retention period type. Valid values:'."\n" + .'- Never: never expires'."\n" + .'- Delay: expires after a fixed number of days.', 'type' => 'string', 'required' => false, 'example' => 'delay'], ], - 'description' => '', + 'required' => false, 'example' => '', ], - 'description' => '', + 'required' => false, 'title' => '', 'example' => '', ], @@ -4271,169 +2245,177 @@ [ 'name' => 'BackupRetentionPolicyOnClusterDeletion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'schema' => ['description' => 'The archive backup data retention policy for deleted instances. Valid values:'."\n" + ."\n" + .'- **NONE**: Not retained.'."\n" + .'- **LATEST**: Only the last backup is retained.'."\n" + .'- **ALL**: All backups are retained.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'schema' => ['description' => 'The backup method. Valid values:'."\n" + .'- **logical**: logical backup'."\n" + .'- **physical**: physical backup.', 'type' => 'string', 'required' => false, 'example' => 'logical', 'title' => ''], ], [ 'name' => 'BackupPriority', 'in' => 'query', + 'schema' => ['description' => 'The backup policy for the secondary instance. Valid values:'."\n" + ."\n" + .'- **1**: Secondary instance preferred.'."\n" + .'- **2**: Primary instance forced.'."\n" + ."\n\n" + .'> This parameter applies only to ApsaraDB RDS for SQL Server instances. For other engines, the value **0** is returned.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'EnableIncBackup', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable incremental backup.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'BackupRetentionPeriod', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'description' => ''], + ], + [ + 'name' => 'HighFrequencyBakInterval', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'description' => ''], + ], + [ + 'name' => 'EnableLogBackup', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => ''], + ], + [ + 'name' => 'LogBackupRetention', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'description' => ''], + ], + [ + 'name' => 'LogBackupLocalRetentionNumber', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'description' => ''], + ], + [ + 'name' => 'LocalLogRetentionSpace', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'description' => ''], + ], + [ + 'name' => 'HighSpaceUsageProtection', + 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => '', 'title' => '', - 'example' => '', + 'type' => 'string', + 'example' => 'enable', + 'enum' => ['enable', 'disable'], + 'description' => '', ], ], [ - 'name' => 'EnableIncBackup', + 'name' => 'IncBackupInterval', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'description' => ''], + ], + [ + 'name' => 'EnablePitrProtection', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], + ], + [ + 'name' => 'PreferredBackupDate', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'string', 'example' => '1111111', 'description' => ''], + ], + [ + 'name' => 'LogBackupLocalRetention', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'description' => ''], + ], + [ + 'name' => 'ColdRetention', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'description' => ''], + ], + [ + 'name' => 'ColdKeepCount', + 'in' => 'query', + 'schema' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => ''], + ], + [ + 'name' => 'ColdKeepPolicy', 'in' => 'query', 'schema' => [ - 'type' => 'boolean', - 'description' => '', 'title' => '', - 'example' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'enum' => ['0', '1', '2'], + 'description' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The details of the returned parameters.', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'D570F209-A166-50C6-98A3-155A20B218B7', - 'title' => '', - ], - 'Message' => [ - 'description' => 'The returned message.', - 'type' => 'string', - 'example' => 'instanceName can not be empty.', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D570F209-A166-50C6-98A3-155A20B218B7', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'instanceName can not be empty.', 'title' => ''], 'Data' => [ - 'description' => 'The details of the backup policy.', + 'description' => 'The backup policy details.', 'type' => 'object', 'properties' => [ - 'PreferredBackupWindowBegin' => [ - 'description' => 'The start time of the backup window.', - 'type' => 'string', - 'title' => '', - 'example' => '17:00Z', - ], - 'PreferredBackupWindow' => [ - 'description' => 'The backup window.', - 'type' => 'string', - 'title' => '', - 'example' => '17:00Z-18:00Z', - ], - 'Category' => [ - 'description' => 'Indicates whether second-level backup is enabled. Returned values:'."\n" - ."\n" - .'- **Flash**: Second-level backup is enabled.'."\n" - ."\n" - .'- **Standard**: Standard backup is used.'."\n" - ."\n" - .'> This parameter is valid only for MySQL.', - 'type' => 'string', - 'example' => 'Standard', - 'title' => '', - ], + 'PreferredBackupWindowBegin' => ['title' => '', 'description' => 'The start time of the basic backup window.', 'type' => 'string', 'example' => '17:00Z'], + 'PreferredBackupWindow' => ['title' => '', 'description' => 'The basic backup window.', 'type' => 'string', 'example' => '17:00Z-18:00Z'], + 'Category' => ['description' => 'Indicates whether backup within seconds is enabled. Valid values:'."\n" + ."\n" + .'- **Flash**: Backup within seconds is enabled.'."\n" + .'- **Standard**: Basic backup.'."\n" + ."\n" + .'> This parameter applies only to MySQL.', 'type' => 'string', 'example' => 'Standard', 'title' => ''], 'AdvanceLogPolicies' => [ + 'description' => 'The policy details.', 'type' => 'array', 'items' => [ + 'description' => 'The policy details.', 'type' => 'object', 'properties' => [ - 'LogRetentionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'EnableLogBackup' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'PolicyId' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'LogRetentionValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'LogRetentionType' => ['title' => '', 'description' => 'The log backup retention type. Valid values:'."\n" + .'- Never: never expires'."\n" + .'- Delay: expires after a specified number of days.', 'type' => 'string', 'example' => 'delay'], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'example' => 'level1'], + 'FilterType' => ['description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'- **crontab**: periodic scheduling'."\n" + .'- **event**: event-based scheduling.', 'type' => 'string', 'example' => 'crontab', 'title' => ''], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'example' => 'cn-beijing'], + 'EnableLogBackup' => ['description' => 'Reserved parameter. Ignore this parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'example' => 'level1'], + 'PolicyId' => ['title' => '', 'description' => 'The backup policy ID.', 'type' => 'string', 'example' => 'dc13b153acc91141789122c23835****'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'example' => 'cn-shanghai'], + 'LogRetentionValue' => ['title' => '', 'description' => 'The log backup retention period.', 'type' => 'string', 'example' => '3'], + 'FilterKey' => ['description' => 'The scheduling type. This parameter is valid only when FilterType is set to crontab. Valid values:'."\n" + .'- dayOfWeek: weekly scheduling'."\n" + .'- dayOfMonth: monthly scheduling'."\n" + .'- dayOfYear: yearly scheduling'."\n" + .'- backupInterval: fixed interval scheduling.', 'type' => 'string', 'example' => 'dayOfMonth', 'title' => ''], + 'FilterValue' => ['description' => 'The backup cycle.', 'type' => 'string', 'example' => '1', 'title' => ''], ], - 'description' => '', 'title' => '', 'example' => '', ], - 'description' => '', 'title' => '', 'example' => '', ], @@ -4441,149 +2423,58 @@ 'description' => 'The details of the data backup policy.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the policy.', + 'description' => 'The policy details.', 'type' => 'object', 'properties' => [ - 'RetentionValue' => [ - 'description' => 'The retention period in days.', - 'type' => 'string', - 'title' => '', - 'example' => '4', - ], - 'BakType' => [ - 'description' => 'The backup type. Returned values:'."\n" - ."\n" - .'- **F**: full backup'."\n" - ."\n" - .'- **L**: log backup', - 'type' => 'string', - 'title' => '', - 'example' => 'F', - ], - 'FilterKey' => [ - 'description' => 'The scheduling type. Returned values:'."\n" - ."\n" - .'- **dayOfWeek**: weekly schedule'."\n" - ."\n" - .'- **dayOfMonth**: monthly schedule'."\n" - ."\n" - .'- **dayOfYear**: yearly schedule'."\n" - ."\n" - .'- **backupInterval**: fixed interval schedule'."\n" - ."\n" - .'> This parameter is returned only when FilterType is set to **crontab**.', - 'type' => 'string', - 'title' => '', - 'example' => 'backupInterval', - ], - 'FilterValue' => [ - 'description' => 'The backup cycle.', - 'type' => 'string', - 'title' => '', - 'example' => '180', - ], - 'DestType' => [ - 'description' => 'The destination type of the backup policy. Returned values:'."\n" - ."\n" - .'- **db**: database'."\n" - ."\n" - .'- **level1**: level-1 backup'."\n" - ."\n" - .'- **level2**: level-2 backup'."\n" - ."\n" - .'- **level2Cross**: level-2 cross-region backup', - 'type' => 'string', - 'title' => '', - 'example' => 'level1', - ], - 'FilterType' => [ - 'description' => 'The filter type for the advanced policy. Returned values:'."\n" - ."\n" - .'- **crontab**: recurring schedule'."\n" - ."\n" - .'- **event**: event-based schedule', - 'type' => 'string', - 'title' => '', - 'example' => 'crontab', - ], - 'SrcRegion' => [ - 'description' => 'The source region of the backup policy.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-shanghai', - ], - 'AutoCreated' => [ - 'description' => 'Indicates whether the backup policy is automatically generated by the system. Returned values:'."\n" - ."\n" - .'- **true**: The policy is generated by the system.'."\n" - ."\n" - .'- **false**: The policy is a custom policy.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'false', - ], - 'SrcType' => [ - 'description' => 'The source type of the backup policy. Returned values:'."\n" - ."\n" - .'- **db**: database'."\n" - ."\n" - .'- **level1**: level-1 backup'."\n" - ."\n" - .'- **level2**: level-2 backup'."\n" - ."\n" - .'- **level2Cross**: level-2 cross-region backup', - 'type' => 'string', - 'title' => '', - 'example' => 'db', - ], - 'OnlyPreserveOneEachDay' => [ - 'description' => 'Indicates whether to retain only one backup per day.'."\n" - ."\n" - .'- **true**: Only one backup is retained per day.'."\n" - ."\n" - .'- **false**: All backups are retained.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'DumpAction' => [ - 'description' => 'The details of the dump policy. Returned values:'."\n" - ."\n" - .'- **copy**: copy'."\n" - ."\n" - .'- **move**: dump', - 'type' => 'string', - 'title' => '', - 'example' => 'copy', - ], - 'PolicyId' => [ - 'description' => 'The ID of the advanced policy.', - 'type' => 'string', - 'title' => '', - 'example' => 'dc13b153acc91141789122c23835****', - ], - 'DestRegion' => [ - 'description' => 'The destination region of the backup policy.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-shanghai', - ], - 'RetentionType' => [ - 'description' => 'The retention period type for the backup set. Returned values:'."\n" - ."\n" - .'- **never**: never expires'."\n" - ."\n" - .'- **delay**: expires after a fixed number of days', - 'type' => 'string', - 'title' => '', - 'example' => 'delay', - ], - 'StorageClass' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'example' => '4'], + 'BakType' => ['title' => '', 'description' => 'The backup type. Valid values:'."\n" + ."\n" + .'- **F**: full backup'."\n" + .'- **L**: log backup.', 'type' => 'string', 'example' => 'F'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. Valid values:'."\n" + ."\n" + .'- **dayOfWeek**: weekly scheduling'."\n" + .'- **dayOfMonth**: monthly scheduling'."\n" + .'- **dayOfYear**: yearly scheduling'."\n" + .'- **backupInterval**: fixed interval scheduling'."\n" + ."\n" + .'> This parameter is returned only when FilterType is set to **crontab**.', 'type' => 'string', 'example' => 'backupInterval'], + 'FilterValue' => ['title' => '', 'description' => 'The backup cycle.', 'type' => 'string', 'example' => '180'], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + ."\n" + .'- **db**: database'."\n" + .'- **level1**: primary backup'."\n" + .'- **level2**: secondary backup'."\n" + .'- **level2Cross**: secondary cross-region backup.', 'type' => 'string', 'example' => 'level1'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + ."\n" + .'- **crontab**: periodic scheduling'."\n" + .'- **event**: event-based scheduling.', 'type' => 'string', 'example' => 'crontab'], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'example' => 'cn-shanghai'], + 'AutoCreated' => ['title' => '', 'description' => 'Indicates whether the backup policy is automatically generated by the system. Valid values:'."\n" + ."\n" + .'- **true**: System-generated policy.'."\n" + .'- **false**: User-defined policy.', 'type' => 'boolean', 'example' => 'false'], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + ."\n" + .'- **db**: database'."\n" + .'- **level1**: primary backup'."\n" + .'- **level2**: secondary backup'."\n" + .'- **level2Cross**: secondary cross-region backup.', 'type' => 'string', 'example' => 'db'], + 'OnlyPreserveOneEachDay' => ['description' => 'Indicates whether to retain only one backup set per day. Valid values:'."\n" + .'- **true**: Only one backup set is retained per day.'."\n" + .'- **false**: All backup sets are retained.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DumpAction' => ['title' => '', 'description' => 'The dump policy details. Valid values:'."\n" + ."\n" + .'- **copy**: Copy.'."\n" + .'- **move**: Move.', 'type' => 'string', 'example' => 'copy'], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'example' => 'dc13b153acc91141789122c23835****'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'example' => 'cn-shanghai'], + 'RetentionType' => ['title' => '', 'description' => 'The retention period type of the backup set. Valid values:'."\n" + ."\n" + .'- **never**: Never expires.'."\n" + .'- **delay**: Expires after a fixed number of days.', 'type' => 'string', 'example' => 'delay'], + 'StorageClass' => ['description' => 'The data storage class.', 'type' => 'string', 'example' => 'ARCHIVE', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4592,160 +2483,87 @@ 'example' => '', ], 'AdvanceIncPolicies' => [ + 'description' => 'The retention period type. Valid values:'."\n" + .'- Never: never expires'."\n" + .'- Delay: expires after a fixed number of days.', 'type' => 'array', 'items' => [ + 'description' => 'The destination type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'object', 'properties' => [ - 'RetentionValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'BakType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterKey' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterValue' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'FilterType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'AutoCreated' => [ - 'type' => 'boolean', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'SrcType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'OnlyPreserveOneEachDay' => [ - 'type' => 'boolean', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DumpAction' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'PolicyId' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'DestRegion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'RetentionType' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], + 'RetentionValue' => ['title' => '', 'description' => 'The number of days before expiration.', 'type' => 'string', 'example' => '365'], + 'BakType' => ['title' => '', 'description' => 'The backup type. Valid values:'."\n" + .'- F: full backup'."\n" + .'- L: log backup.', 'type' => 'string', 'example' => 'F'], + 'FilterKey' => ['title' => '', 'description' => 'The scheduling type. This parameter is valid only when FilterType is set to crontab. Valid values:'."\n" + .'- dayOfWeek: weekly scheduling'."\n" + .'- dayOfMonth: monthly scheduling'."\n" + .'- dayOfYear: yearly scheduling'."\n" + .'- backupInterval: fixed interval scheduling.', 'type' => 'string', 'example' => 'dayOfMonth'], + 'FilterValue' => ['title' => '', 'description' => 'The specific filter value.', 'type' => 'string', 'example' => '1'], + 'DestType' => ['title' => '', 'description' => 'The destination type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'example' => 'level1'], + 'FilterType' => ['title' => '', 'description' => 'The advanced policy filter type. Valid values:'."\n" + .'- Crontab: periodic scheduling'."\n" + .'- Event: event-based scheduling.', 'type' => 'string', 'example' => 'Crontab'], + 'SrcRegion' => ['title' => '', 'description' => 'The source region of the backup policy.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'AutoCreated' => ['title' => '', 'description' => 'Indicates whether the policy is automatically generated by the system.', 'type' => 'boolean', 'example' => 'true'], + 'SrcType' => ['title' => '', 'description' => 'The source type of the backup policy. Valid values:'."\n" + .'- db: database'."\n" + .'- level1: primary backup'."\n" + .'- level2: secondary backup'."\n" + .'- level2Cross: secondary cross-region backup.', 'type' => 'string', 'example' => 'db'], + 'OnlyPreserveOneEachDay' => ['description' => 'The 24-hour backup data retention policy. Valid values:'."\n" + .'- **true**: Only the first backup set of the day is retained for backups older than 24 hours.'."\n" + .'- **false**: All backup sets are retained.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DumpAction' => ['title' => '', 'description' => 'The dump policy. Valid values:'."\n" + .'- Copy: Copy.'."\n" + .'- Move: Move.', 'type' => 'string', 'example' => 'Copy'], + 'PolicyId' => ['title' => '', 'description' => 'The advanced policy ID.', 'type' => 'string', 'example' => 'smp-8sv763r9boydzb***'], + 'DestRegion' => ['title' => '', 'description' => 'The destination region of the backup policy.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'RetentionType' => ['title' => '', 'description' => 'The retention period type. Valid values:'."\n" + .'- Never: never expires'."\n" + .'- Delay: expires after a fixed number of days.', 'type' => 'string', 'example' => 'Delay'], ], - 'description' => '', 'title' => '', 'example' => '', ], - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'BackupRetentionPolicyOnClusterDeletion' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'BackupMethod' => [ - 'type' => 'string', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'BackupPriority' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => '', - 'title' => '', - 'example' => '', - ], - 'EnableIncBackup' => [ - 'type' => 'boolean', - 'description' => '', 'title' => '', 'example' => '', ], + 'BackupRetentionPolicyOnClusterDeletion' => ['description' => 'The archive backup data retention policy for deleted instances. Valid values:'."\n" + ."\n" + .'- **NONE**: Not retained.'."\n" + .'- **LATEST**: Only the last backup is retained.'."\n" + .'- **ALL**: All backups are retained.', 'type' => 'string', 'example' => 'LATEST', 'title' => ''], + 'BackupMethod' => ['description' => 'The backup method. Valid values:'."\n" + ."\n" + .'- **Physical**: physical backup'."\n" + .'- **Snapshot**: snapshot backup.', 'type' => 'string', 'example' => 'Physical', 'title' => ''], + 'BackupPriority' => ['description' => 'The backup policy for the secondary instance. Valid values:'."\n" + ."\n" + .'- **1**: Secondary instance preferred.'."\n" + .'- **2**: Primary instance forced.'."\n" + ."\n\n" + .'> This parameter applies only to ApsaraDB RDS for SQL Server instances. For other engines, the value **0** is returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EnableIncBackup' => ['description' => 'Specifies whether to enable incremental backup.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ErrMessage' => [ - 'description' => 'The error message.', - 'type' => 'string', - 'example' => 'The specified parameter %s value is not valid.', - 'title' => '', - ], - 'Code' => [ - 'description' => 'The status code.', - 'type' => 'string', - 'example' => 'Success', - 'title' => '', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Returned values:'."\n" - ."\n" - .'- **true**: The request was successful.'."\n" - ."\n" - .'- **false**: The request failed.', - 'type' => 'string', - 'example' => 'true', - 'title' => '', - ], - 'ErrCode' => [ - 'description' => 'The error code.', - 'type' => 'string', - 'example' => 'Success', - 'title' => '', - ], + 'ErrMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.', 'title' => ''], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + .'- **true**: The request was successful.'."\n" + .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ErrCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4754,36 +2572,22 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'title' => 'ModifyBackupPolicy', - 'summary' => 'Modifies the backup policy for a PolarDB instance.', - 'description' => '### Applicable engines'."\n" - ."\n" + 'title' => 'Modify backup policy', + 'description' => '### Applicable engine'."\n" .'PolarDB for MySQL'."\n" ."\n" - .'> This API is available only to specific customers. To request access, you can join the DBS customer DingTalk group (ID: 35585947).', + .'> This operation is currently available only to specific customers. To use this operation, submit a request in the DBS customer consultation group (DingTalk group ID: 35585947).', 'changeSet' => [ - [ - 'createdAt' => '2024-09-24T08:37:35.000Z', - 'description' => 'Request parameters changed, Response parameters changed', - ], - [ - 'createdAt' => '2024-05-28T13:59:23.000Z', - 'description' => 'Request parameters changed', - ], + ['createdAt' => '2024-09-24T08:37:35.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-05-28T13:59:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], @@ -4796,28 +2600,17 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D570F209-A166-50C6-98A3-155A20B218B7\\",\\n \\"Message\\": \\"instanceName can not be empty.\\",\\n \\"Data\\": {\\n \\"PreferredBackupWindowBegin\\": \\"17:00Z\\",\\n \\"PreferredBackupWindow\\": \\"17:00Z-18:00Z\\",\\n \\"Category\\": \\"Standard\\",\\n \\"AdvanceLogPolicies\\": [\\n {\\n \\"LogRetentionType\\": \\"\\",\\n \\"DestType\\": \\"\\",\\n \\"FilterType\\": \\"\\",\\n \\"SrcRegion\\": \\"\\",\\n \\"EnableLogBackup\\": 0,\\n \\"SrcType\\": \\"\\",\\n \\"PolicyId\\": \\"\\",\\n \\"DestRegion\\": \\"\\",\\n \\"LogRetentionValue\\": \\"\\",\\n \\"FilterKey\\": \\"\\",\\n \\"FilterValue\\": \\"\\"\\n }\\n ],\\n \\"AdvanceDataPolicies\\": [\\n {\\n \\"RetentionValue\\": \\"4\\",\\n \\"BakType\\": \\"F\\",\\n \\"FilterKey\\": \\"backupInterval\\",\\n \\"FilterValue\\": \\"180\\",\\n \\"DestType\\": \\"level1\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"SrcRegion\\": \\"cn-shanghai\\",\\n \\"AutoCreated\\": false,\\n \\"SrcType\\": \\"db\\",\\n \\"OnlyPreserveOneEachDay\\": true,\\n \\"DumpAction\\": \\"copy\\",\\n \\"PolicyId\\": \\"dc13b153acc91141789122c23835****\\",\\n \\"DestRegion\\": \\"cn-shanghai\\",\\n \\"RetentionType\\": \\"delay\\",\\n \\"StorageClass\\": \\"\\"\\n }\\n ],\\n \\"AdvanceIncPolicies\\": [\\n {\\n \\"RetentionValue\\": \\"\\",\\n \\"BakType\\": \\"\\",\\n \\"FilterKey\\": \\"\\",\\n \\"FilterValue\\": \\"\\",\\n \\"DestType\\": \\"\\",\\n \\"FilterType\\": \\"\\",\\n \\"SrcRegion\\": \\"\\",\\n \\"AutoCreated\\": false,\\n \\"SrcType\\": \\"\\",\\n \\"OnlyPreserveOneEachDay\\": false,\\n \\"DumpAction\\": \\"\\",\\n \\"PolicyId\\": \\"\\",\\n \\"DestRegion\\": \\"\\",\\n \\"RetentionType\\": \\"\\"\\n }\\n ],\\n \\"BackupRetentionPolicyOnClusterDeletion\\": \\"\\",\\n \\"BackupMethod\\": \\"\\",\\n \\"BackupPriority\\": 0,\\n \\"EnableIncBackup\\": false\\n },\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrCode\\": \\"Success\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D570F209-A166-50C6-98A3-155A20B218B7\\",\\n \\"Message\\": \\"instanceName can not be empty.\\",\\n \\"Data\\": {\\n \\"PreferredBackupWindowBegin\\": \\"17:00Z\\",\\n \\"PreferredBackupWindow\\": \\"17:00Z-18:00Z\\",\\n \\"Category\\": \\"Standard\\",\\n \\"AdvanceLogPolicies\\": [\\n {\\n \\"LogRetentionType\\": \\"delay\\",\\n \\"DestType\\": \\"level1\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"SrcRegion\\": \\"cn-beijing\\",\\n \\"EnableLogBackup\\": 1,\\n \\"SrcType\\": \\"level1\\",\\n \\"PolicyId\\": \\"dc13b153acc91141789122c23835****\\",\\n \\"DestRegion\\": \\"cn-shanghai\\",\\n \\"LogRetentionValue\\": \\"3\\",\\n \\"FilterKey\\": \\"dayOfMonth\\",\\n \\"FilterValue\\": \\"1\\"\\n }\\n ],\\n \\"AdvanceDataPolicies\\": [\\n {\\n \\"RetentionValue\\": \\"4\\",\\n \\"BakType\\": \\"F\\",\\n \\"FilterKey\\": \\"backupInterval\\",\\n \\"FilterValue\\": \\"180\\",\\n \\"DestType\\": \\"level1\\",\\n \\"FilterType\\": \\"crontab\\",\\n \\"SrcRegion\\": \\"cn-shanghai\\",\\n \\"AutoCreated\\": false,\\n \\"SrcType\\": \\"db\\",\\n \\"OnlyPreserveOneEachDay\\": true,\\n \\"DumpAction\\": \\"copy\\",\\n \\"PolicyId\\": \\"dc13b153acc91141789122c23835****\\",\\n \\"DestRegion\\": \\"cn-shanghai\\",\\n \\"RetentionType\\": \\"delay\\",\\n \\"StorageClass\\": \\"ARCHIVE\\"\\n }\\n ],\\n \\"AdvanceIncPolicies\\": [\\n {\\n \\"RetentionValue\\": \\"365\\",\\n \\"BakType\\": \\"F\\",\\n \\"FilterKey\\": \\"dayOfMonth\\",\\n \\"FilterValue\\": \\"1\\",\\n \\"DestType\\": \\"level1\\",\\n \\"FilterType\\": \\"Crontab\\",\\n \\"SrcRegion\\": \\"cn-hangzhou\\",\\n \\"AutoCreated\\": true,\\n \\"SrcType\\": \\"db\\",\\n \\"OnlyPreserveOneEachDay\\": true,\\n \\"DumpAction\\": \\"Copy\\",\\n \\"PolicyId\\": \\"smp-8sv763r9boydzb***\\",\\n \\"DestRegion\\": \\"cn-hangzhou\\",\\n \\"RetentionType\\": \\"Delay\\"\\n }\\n ],\\n \\"BackupRetentionPolicyOnClusterDeletion\\": \\"LATEST\\",\\n \\"BackupMethod\\": \\"Physical\\",\\n \\"BackupPriority\\": 1,\\n \\"EnableIncBackup\\": true\\n },\\n \\"ErrMessage\\": \\"The specified parameter %s value is not valid.\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrCode\\": \\"Success\\"\\n}","type":"json"}]', ], 'RetryDownloadTask' => [ 'summary' => 'Retries a failed advanced download task.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4828,54 +2621,28 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcbs04Q4EK', - ], + 'abilityTreeNodes' => ['FEATUREcbs04Q4EK'], ], 'parameters' => [ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The ID of the region where the instance resides. To query the region ID, call [DescribeDBInstanceAttribute](~~26231~~) for an RDS instance or [DescribeDBClusterAttribute](~~2319132~~) for a PolarDB cluster.', - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the region where the instance resides. To query the region ID, call [DescribeDBInstanceAttribute](~~26231~~) for an RDS instance or [DescribeDBClusterAttribute](~~2319132~~) for a PolarDB cluster.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The task ID.', - 'title' => '', - 'example' => 'dt-example', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The task ID.', 'title' => '', 'example' => 'dt-example'], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => 'The instance ID.', - 'required' => false, - 'title' => '', - 'example' => 'rm-example', - ], + 'schema' => ['type' => 'string', 'description' => 'The instance ID.', 'required' => false, 'title' => '', 'example' => 'rm-example'], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'description' => 'The name of the sharded cluster. This parameter is required only for MongoDB instances.', - 'title' => '', - 'required' => false, - 'example' => 'dds-example', - ], + 'schema' => ['type' => 'string', 'description' => 'The name of the sharded cluster. This parameter is required only for MongoDB instances.', 'title' => '', 'required' => false, 'example' => 'dds-example'], ], ], 'responses' => [ @@ -4883,48 +2650,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'string', - 'description' => 'The details of the download task.', - 'title' => '', - 'example' => '暂无', - ], - 'RequestId' => [ - 'type' => 'string', - 'description' => 'The request ID.', - 'title' => '', - 'example' => '49FE4E8E-39B9-56DE-BC07-5AEBFAXXXXXX', - ], - 'ErrCode' => [ - 'type' => 'string', - 'description' => 'The error code.', - 'title' => '', - 'example' => 'Success', - ], - 'Success' => [ - 'type' => 'string', - 'description' => 'Indicates whether the request was successful.', - 'title' => '', - 'example' => 'True', - ], - 'ErrMessage' => [ - 'type' => 'string', - 'description' => 'The error message.', - 'title' => '', - 'example' => 'The specified parameter %s value is not valid.', - ], - 'Code' => [ - 'type' => 'string', - 'description' => 'The error code.', - 'title' => '', - 'example' => 'Success', - ], - 'Message' => [ - 'type' => 'string', - 'description' => 'The error message.', - 'title' => '', - 'example' => 'instanceName can not be empty.', - ], + 'Data' => ['type' => 'string', 'description' => 'The details of the download task.', 'title' => '', 'example' => '暂无'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '49FE4E8E-39B9-56DE-BC07-5AEBFAXXXXXX'], + 'ErrCode' => ['type' => 'string', 'description' => 'The error code.', 'title' => '', 'example' => 'Success'], + 'Success' => ['type' => 'string', 'description' => 'Indicates whether the request was successful.', 'title' => '', 'example' => 'True'], + 'ErrMessage' => ['type' => 'string', 'description' => 'The error message.', 'title' => '', 'example' => 'The specified parameter %s value is not valid.'], + 'Code' => ['type' => 'string', 'description' => 'The error code.', 'title' => '', 'example' => 'Success'], + 'Message' => ['type' => 'string', 'description' => 'The error message.', 'title' => '', 'example' => 'instanceName can not be empty.'], ], 'description' => '', 'title' => '', @@ -4934,11 +2666,7 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Request.Forbidden', - 'errorMessage' => 'Have no Permissions', - 'description' => '', - ], + ['errorCode' => 'Request.Forbidden', 'errorMessage' => 'Have no Permissions', 'description' => ''], ], ], 'title' => 'RetryDownloadTask', @@ -4973,12 +2701,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -4987,429 +2710,134 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-wulanchabu', - 'regionName' => 'China (Ulanqab)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-wulanchabu.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-wulanchabu.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'regionName' => 'China (Beijing)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'regionName' => 'China (Qingdao)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'regionName' => 'China (Shanghai)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'regionName' => 'China (Hong Kong)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'regionName' => 'China (Zhangjiakou)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'regionName' => 'China (Shenzhen)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'regionName' => 'Japan (Tokyo)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-northeast-1.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-northeast-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'regionName' => 'China (Chengdu)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-chengdu.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-chengdu.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'regionName' => 'Singapore', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-1.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'regionName' => 'Malaysia (Kuala Lumpur)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-3.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-3.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'regionName' => 'China (Hohhot)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-huhehaote.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-huhehaote.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'regionName' => 'Indonesia (Jakarta)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.ap-southeast-5.aliyuncs.com', - 'endpoint' => 'dbs-api.ap-southeast-5.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'regionName' => 'China (Hangzhou)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'regionName' => 'US (Virginia)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'regionName' => 'UK (London)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.eu-west-1.aliyuncs.com', - 'endpoint' => 'dbs-api.eu-west-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'regionName' => 'US (Silicon Valley)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'regionName' => 'Germany (Frankfurt)', - 'areaId' => 'europeAmerica', - 'areaName' => 'Europe & Americas', - 'public' => 'dbs-api.eu-central-1.aliyuncs.com', - 'endpoint' => 'dbs-api.eu-central-1.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'regionName' => 'China South 1 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'regionName' => 'China East 2 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => 'dbs-api-vpc.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'regionName' => 'China East 1 Finance', - 'areaId' => 'industryCloud', - 'areaName' => 'Industry Cloud', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => '', - ], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'dbs-api.cn-wulanchabu.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-northeast-1.aliyuncs.com', 'endpoint' => 'dbs-api.ap-northeast-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-chengdu.aliyuncs.com', 'endpoint' => 'dbs-api.cn-chengdu.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-3.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-3.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-huhehaote.aliyuncs.com', 'endpoint' => 'dbs-api.cn-huhehaote.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.ap-southeast-5.aliyuncs.com', 'endpoint' => 'dbs-api.ap-southeast-5.aliyuncs.com', 'vpc' => 'dbs-api-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.eu-west-1.aliyuncs.com', 'endpoint' => 'dbs-api.eu-west-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dbs-api.eu-central-1.aliyuncs.com', 'endpoint' => 'dbs-api.eu-central-1.aliyuncs.com', 'vpc' => 'dbs-api-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => 'dbs-api-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ - [ - 'code' => 'BackupPlanNotConfigure', - 'message' => 'ConfigureBackupPlanRequest Error', - 'http_code' => 200, - 'description' => 'The backup schedule is incorrectly configured.', - ], - [ - 'code' => 'BackupPlanNotDescribe', - 'message' => 'describe backup plan failed -> null', - 'http_code' => 200, - 'description' => 'Failed to query the list of backup schedules.', - ], - [ - 'code' => 'BackupPlanNotModify', - 'message' => 'modify backup source endpoint fail', - 'http_code' => 200, - 'description' => 'Failed to modify the backup source endpoint.', - ], - [ - 'code' => 'DBS.DisasterCenter.NoPermission', - 'message' => 'no permission for this action.', - 'http_code' => 403, - 'description' => 'No permission for this operation.', - ], - [ - 'code' => 'DBS.DownloadTask.CannotFind', - 'message' => 'Can not find download task.', - 'http_code' => 200, - 'description' => 'Can not find download task.', - ], - [ - 'code' => 'DBS.DownloadTask.JobAlreadyExist', - 'message' => 'Job already submit in recent days, please check it.', - 'http_code' => 200, - 'description' => 'Job already submit in recent days, please check it.', - ], - [ - 'code' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', - 'message' => 'There can be only one running or failed task for the instance.', - 'http_code' => 200, - 'description' => 'The current instance can only have one running/failed task at the same time.', - ], - [ - 'code' => 'DBS.DownloadTask.OssForbid', - 'message' => 'OSS is forbidden to access. Please check your OSS bucket.', - 'http_code' => 200, - 'description' => 'OSS is forbidden to access. Please check your OSS bucket.', - ], - [ - 'code' => 'DBS.DownloadTask.OssStorageTypeInvalid', - 'message' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - 'http_code' => 200, - 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', - ], - [ - 'code' => 'DBS.NoPermissionException', - 'message' => 'Rejected by ValidationChecker.', - 'http_code' => 403, - 'description' => '', - ], - [ - 'code' => 'DBS.NotExists', - 'message' => 'data source do not existed.', - 'http_code' => 404, - 'description' => 'DBS.NotExists', - ], - [ - 'code' => 'Forbidden.InstanceNotFound', - 'message' => 'instance not found', - 'http_code' => 200, - 'description' => 'The instance does not exist.', - ], - [ - 'code' => 'InternalError', - 'message' => 'internal error', - 'http_code' => 500, - 'description' => 'An internal error occurred.', - ], - [ - 'code' => 'OperationDenied.JobStatus', - 'message' => 'The operation is not permitted.', - 'http_code' => 200, - 'description' => 'The operation is not allowed.', - ], - [ - 'code' => 'Request.Forbidden', - 'message' => 'Have no Permissions', - 'http_code' => 403, - 'description' => '', - ], - [ - 'code' => 'UserError', - 'message' => 'user error', - 'http_code' => 200, - 'description' => 'An error occurred due to improper operations.', - ], - [ - 'code' => 'UserError', - 'message' => 'You must first activate OSS before using DBS to OSS.', - 'http_code' => 403, - 'description' => 'You must first activate OSS before using DBS -> OSS.', - ], + ['code' => 'BackupPlanNotConfigure', 'message' => 'ConfigureBackupPlanRequest Error', 'http_code' => 200, 'description' => 'The backup schedule is incorrectly configured.'], + ['code' => 'BackupPlanNotDescribe', 'message' => 'describe backup plan failed -> null', 'http_code' => 200, 'description' => 'Failed to query the list of backup schedules.'], + ['code' => 'BackupPlanNotModify', 'message' => 'modify backup source endpoint fail', 'http_code' => 200, 'description' => 'Failed to modify the backup source endpoint.'], + ['code' => 'DBS.DisasterCenter.NoPermission', 'message' => 'no permission for this action.', 'http_code' => 403, 'description' => 'No permission for this operation.'], + ['code' => 'DBS.DownloadTask.BakSetError', 'message' => 'DBS download task bak set error. Your backup set does not meet the requirements.', 'http_code' => 200, 'description' => 'Your backup set does not meet the requirements.'], + ['code' => 'DBS.DownloadTask.CannotFind', 'message' => 'Can not find download task.', 'http_code' => 200, 'description' => 'Can not find download task.'], + ['code' => 'DBS.DownloadTask.CustinIdNotSupport', 'message' => 'DBS DownloadTask CustinIdNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask CustinIdNotSupport.'], + ['code' => 'DBS.DownloadTask.CustinNameNotSupport', 'message' => 'DBS DownloadTask CustinNameNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask CustinNameNotSupport.'], + ['code' => 'DBS.DownloadTask.DbTypeNotSupport', 'message' => 'DBS DownloadTask DbTypeNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask DbTypeNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceInfoNotSupport', 'message' => 'DBS DownloadTask InstanceInfoNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceInfoNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceParamNotSupport', 'message' => 'DBS DownloadTask InstanceParamNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceParamNotSupport.'], + ['code' => 'DBS.DownloadTask.InstanceStorageTypeNotSupport', 'message' => 'DBS DownloadTask InstanceStorageTypeNotSupport.', 'http_code' => 200, 'description' => ''], + ['code' => 'DBS.DownloadTask.InstanceVersionNotSupport', 'message' => 'DBS DownloadTask InstanceVersionNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask InstanceVersionNotSupport.'], + ['code' => 'DBS.DownloadTask.JobAlreadyExist', 'message' => 'Job already submit in recent days, please check it.', 'http_code' => 200, 'description' => 'Job already submit in recent days, please check it.'], + ['code' => 'DBS.DownloadTask.NotSupport', 'message' => 'DBS DownloadTask NotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask NotSupport.'], + ['code' => 'DBS.DownloadTask.OnlyOneRunningOrFailedTask', 'message' => 'There can be only one running or failed task for the instance.', 'http_code' => 200, 'description' => 'The current instance can only have one running/failed task at the same time.'], + ['code' => 'DBS.DownloadTask.OssForbid', 'message' => 'OSS is forbidden to access. Please check your OSS bucket.', 'http_code' => 200, 'description' => 'OSS is forbidden to access. Please check your OSS bucket.'], + ['code' => 'DBS.DownloadTask.OssStorageTypeInvalid', 'message' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.', 'http_code' => 200, 'description' => 'Unsupported bucket storage. Please make sure that your OSS bucket\'s storgae type is standard.'], + ['code' => 'DBS.DownloadTask.RegionNotSupport', 'message' => 'DBS DownloadTask RegionNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask RegionNotSupport.'], + ['code' => 'DBS.DownloadTask.UserNotSupport', 'message' => 'DBS DownloadTask UserNotSupport.', 'http_code' => 200, 'description' => 'DBS DownloadTask UserNotSupport.'], + ['code' => 'DBS.NoPermissionException', 'message' => 'Rejected by ValidationChecker.', 'http_code' => 403, 'description' => ''], + ['code' => 'DBS.NotExists', 'message' => 'data source do not existed.', 'http_code' => 404, 'description' => 'DBS.NotExists'], + ['code' => 'DBS.RegionNotSupport', 'message' => 'Request region is not allowed in current gateway.', 'http_code' => 400, 'description' => 'The current request accesses the wrong endpoint'], + ['code' => 'Forbidden.InstanceNotFound', 'message' => 'instance not found', 'http_code' => 200, 'description' => 'The instance does not exist.'], + ['code' => 'InternalError', 'message' => 'internal error', 'http_code' => 500, 'description' => 'An internal error occurred.'], + ['code' => 'OperationDenied.JobStatus', 'message' => 'The operation is not permitted.', 'http_code' => 200, 'description' => 'The operation is not allowed.'], + ['code' => 'Request.Forbidden', 'message' => 'Have no Permissions', 'http_code' => 403, 'description' => ''], + ['code' => 'UserError', 'message' => 'user error', 'http_code' => 200, 'description' => 'An error occurred due to improper operations.'], + ['code' => 'UserError', 'message' => 'You must first activate OSS before using DBS to OSS.', 'http_code' => 403, 'description' => 'You must first activate OSS before using DBS -> OSS.'], ], 'changeSet' => [ [ 'apis' => [ - [ - 'description' => 'Request parameters changed, Response parameters changed', - 'api' => 'ModifyBackupPolicy', - ], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ModifyBackupPolicy'], ], 'createdAt' => '2024-09-24T08:37:03.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPolicy', - ], - [ - 'description' => 'Request parameters changed', - 'api' => 'ModifyBackupPolicy', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPolicy'], + ['description' => 'Request parameters changed', 'api' => 'ModifyBackupPolicy'], ], 'createdAt' => '2024-05-28T13:59:17.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeBackupPolicy', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeBackupPolicy'], ], 'createdAt' => '2024-05-16T11:16:56.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Request parameters changed', - 'api' => 'ChangeResourceGroup', - ], + ['description' => 'Request parameters changed', 'api' => 'ChangeResourceGroup'], ], 'createdAt' => '2023-12-21T13:43:30.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Request parameters changed', - 'api' => 'CreateSandboxInstance', - ], - [ - 'description' => 'Request parameters changed', - 'api' => 'DeleteSandboxInstance', - ], + ['description' => 'Request parameters changed', 'api' => 'CreateSandboxInstance'], + ['description' => 'Request parameters changed', 'api' => 'DeleteSandboxInstance'], ], 'createdAt' => '2023-08-18T07:28:29.000Z', 'description' => '', ], [ 'apis' => [ - [ - 'description' => 'Response parameters changed', - 'api' => 'DescribeDownloadTask', - ], + ['description' => 'Response parameters changed', 'api' => 'DescribeDownloadTask'], ], 'createdAt' => '2022-11-16T11:45:26.000Z', 'description' => 'DescribeDownloadTask更新,修改分页相关返回字段名', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeDBTablesRecoveryBackupSet', - ], - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeDBTablesRecoveryState', - ], - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeDBTablesRecoveryTimeRange', - ], - [ - 'description' => 'OpenAPI offline', - 'api' => 'ModifyDBTablesRecoveryState', - ], - [ - 'description' => 'OpenAPI offline', - 'api' => 'SupportDBTableRecovery', - ], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDBTablesRecoveryBackupSet'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDBTablesRecoveryState'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDBTablesRecoveryTimeRange'], + ['description' => 'OpenAPI offline', 'api' => 'ModifyDBTablesRecoveryState'], + ['description' => 'OpenAPI offline', 'api' => 'SupportDBTableRecovery'], ], 'createdAt' => '2022-10-18T14:32:36.000Z', 'description' => '极速库表恢复openapi', ], [ 'apis' => [ - [ - 'description' => 'Request parameters changed', - 'api' => 'DescribeDownloadBackupSetStorageInfo', - ], - [ - 'description' => 'Request parameters changed', - 'api' => 'DescribeDownloadSupport', - ], + ['description' => 'Request parameters changed', 'api' => 'DescribeDownloadBackupSetStorageInfo'], + ['description' => 'Request parameters changed', 'api' => 'DescribeDownloadSupport'], ], 'createdAt' => '2022-08-25T07:44:08.000Z', 'description' => '修改参数必填属性', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeDownloadBackupSetStorageInfo', - ], - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeDownloadSupport', - ], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDownloadBackupSetStorageInfo'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDownloadSupport'], ], 'createdAt' => '2022-08-03T09:24:36.000Z', 'description' => 'DBS高级下载V3.2发布', ], [ 'apis' => [ - [ - 'description' => 'OpenAPI offline', - 'api' => 'DescribeAvailableCrossRegion', - ], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAvailableCrossRegion'], ], 'createdAt' => '2022-07-15T06:34:03.000Z', 'description' => '发布新接口', @@ -5417,315 +2845,217 @@ ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '-1', - 'countWindow' => 1, - 'regionId' => '*', - ], - [ - 'threshold' => '400', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DescribeDownloadSupport', - ], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '400', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDownloadSupport'], ], ], 'ram' => [ 'productCode' => 'DBS', 'productName' => 'Database Backup', - 'ramCodes' => [ - 'dbs', - ], + 'ramCodes' => ['dbs'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ - 'apiName' => 'CreateAdvancedPolicy', + 'apiName' => 'DescribeSandboxBackupSets', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:CreateAdvancedPolicy', - 'authLevel' => 'operate', + 'action' => 'dbs:DescribeSandboxBackupSets', + 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateDownload', + 'apiName' => 'DescribeBackupDataList', 'description' => '', - 'operationType' => 'create', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'dbs:CreateDownload', + 'action' => 'dbs:DescribeBackupDataList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'conditional', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], [ - 'apiName' => 'DescribeDownloadTask', + 'apiName' => 'RetryDownloadTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeDownloadTask', + 'action' => 'dbs:RetryDownloadTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeBackupDataList', + 'apiName' => 'ModifyBackupPolicy', 'description' => '', - 'operationType' => 'list', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeBackupDataList', - 'authLevel' => 'resource', + 'action' => 'dbs:ModifyBackupPolicy', + 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'conditional', - 'product' => 'DBS', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeCostInfoByDbsInstance', + 'apiName' => 'CreateDownload', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'dbs:DescribeCostInfoByDbsInstance', + 'action' => 'dbs:CreateDownload', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], [ - 'apiName' => 'DescribeSandboxInstances', + 'apiName' => 'DescribeBackupPolicy', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeSandboxInstances', - 'authLevel' => 'resource', + 'action' => 'dbs:DescribeBackupPolicy', + 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeDownloadBackupSetStorageInfo', + 'apiName' => 'ChangeResourceGroup', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeDownloadBackupSetStorageInfo', + 'action' => 'dbs:ChangeResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ChangeResourceGroup', + 'apiName' => 'DescribeSandboxRecoveryTime', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:ChangeResourceGroup', + 'action' => 'dbs:DescribeSandboxRecoveryTime', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteSandboxInstance', + 'apiName' => 'DescribeSandboxInstances', 'description' => '', - 'operationType' => 'delete', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DeleteSandboxInstance', + 'action' => 'dbs:DescribeSandboxInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeBackupPolicy', + 'apiName' => 'CreateAdvancedPolicy', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'dbs:DescribeBackupPolicy', + 'action' => 'dbs:CreateAdvancedPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeSandboxRecoveryTime', + 'apiName' => 'DeleteSandboxInstance', 'description' => '', - 'operationType' => 'get', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'dbs:DescribeSandboxRecoveryTime', + 'action' => 'dbs:DeleteSandboxInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeSandboxBackupSets', + 'apiName' => 'DescribeCostInfoByDbsInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeSandboxBackupSets', + 'action' => 'dbs:DescribeCostInfoByDbsInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ - 'apiName' => 'RetryDownloadTask', + 'apiName' => 'DescribeDownloadSupport', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:RetryDownloadTask', + 'action' => 'dbs:DescribeDownloadSupport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'DescribeDownloadSupport', + 'apiName' => 'DescribeDownloadBackupSetStorageInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:DescribeDownloadSupport', + 'action' => 'dbs:DescribeDownloadBackupSetStorageInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], ], ], ], [ - 'apiName' => 'ModifyBackupPolicy', + 'apiName' => 'DescribeDownloadTask', 'description' => '', - 'operationType' => 'update', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'dbs:ModifyBackupPolicy', - 'authLevel' => 'operate', + 'action' => 'dbs:DescribeDownloadTask', + 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'DBS', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'DBS', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], ], ], ], ], 'resourceTypes' => [ - [ - 'validationType' => 'always', - 'resourceType' => 'DBInstance', - 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'BackupPlan', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'DataSource', - 'arn' => 'acs:dbs:{#regionId}:{#accountId}:', - ], + ['validationType' => 'conditional', 'resourceType' => 'DBInstance', 'arn' => 'acs:rds:{#regionId}:{#accountId}:dbinstance/{#DbInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'BackupPlan', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:backupplan/{#BackupPlanId}'], + ['validationType' => 'always', 'resourceType' => 'DataSource', 'arn' => 'acs:dbs:{#regionId}:{#accountId}:'], ], ], ]; |
