diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/dbs/2021-01-01 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/dbs/2021-01-01')
| -rw-r--r-- | data/dbs/2021-01-01/api-docs.php | 1050 |
1 files changed, 257 insertions, 793 deletions
diff --git a/data/dbs/2021-01-01/api-docs.php b/data/dbs/2021-01-01/api-docs.php index cd35851..40b9f83 100644 --- a/data/dbs/2021-01-01/api-docs.php +++ b/data/dbs/2021-01-01/api-docs.php @@ -1,23 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dbs', - 'version' => '2021-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dbs', 'version' => '2021-01-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ChangeResourceGroup' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,53 +17,33 @@ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateAdvancedPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -84,30 +54,18 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateDownload' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -117,150 +75,93 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BakSetType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BakSetId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DownloadPointInTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BakSetSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FormatType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetBucket', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetPath', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetOssRegion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PrimaryKeyTypeOnly', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IsCluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AdminDatabase', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UseZstd', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IsPhysical', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DeleteSandboxInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -270,38 +171,23 @@ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeBackupDataList' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -312,143 +198,88 @@ [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SceneType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupMode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupScale', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'InstanceIsDeleted', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'InstanceRegion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DataSourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeBackupPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -459,30 +290,18 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeCostInfoByDbsInstance' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -492,30 +311,18 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeDownloadBackupSetStorageInfo' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -525,62 +332,38 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeDownloadSupport' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -591,38 +374,23 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeDownloadTask' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -632,118 +400,73 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DatasourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OrderDirect', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OrderColumn', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeSandboxBackupSets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -753,46 +476,28 @@ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BackupSetId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeSandboxInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -802,46 +507,28 @@ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeSandboxRecoveryTime' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -851,21 +538,13 @@ [ 'name' => 'BackupPlanId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ModifyBackupPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -876,34 +555,22 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PreferredBackupWindowBegin', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AdvanceLogPolicies', @@ -911,47 +578,23 @@ 'style' => 'json', 'schema' => [ 'type' => 'array', + 'required' => false, 'items' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'LogRetentionType' => [ - 'type' => 'string', - ], - 'DestType' => [ - 'type' => 'string', - ], - 'FilterType' => [ - 'type' => 'string', - ], - 'ActionType' => [ - 'type' => 'string', - ], - 'SrcRegion' => [ - 'type' => 'string', - ], - 'EnableLogBackup' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SrcType' => [ - 'type' => 'string', - 'required' => false, - ], - 'LogRetentionValue' => [ - 'type' => 'string', - ], - 'PolicyId' => [ - 'type' => 'string', - ], - 'FilterKey' => [ - 'type' => 'string', - ], - 'DestRegion' => [ - 'type' => 'string', - ], - 'FilterValue' => [ - 'type' => 'string', - ], + 'LogRetentionType' => ['type' => 'string', 'required' => false], + 'DestType' => ['type' => 'string', 'required' => false], + 'FilterType' => ['type' => 'string', 'required' => false], + 'ActionType' => ['type' => 'string', 'required' => false], + 'SrcRegion' => ['type' => 'string', 'required' => false], + 'EnableLogBackup' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'SrcType' => ['type' => 'string', 'required' => false], + 'LogRetentionValue' => ['type' => 'string', 'required' => false], + 'PolicyId' => ['type' => 'string', 'required' => false], + 'FilterKey' => ['type' => 'string', 'required' => false], + 'DestRegion' => ['type' => 'string', 'required' => false], + 'FilterValue' => ['type' => 'string', 'required' => false], ], ], ], @@ -967,57 +610,19 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'DestType' => [ - 'type' => 'string', - 'required' => false, - ], - 'FilterType' => [ - 'type' => 'string', - 'required' => false, - ], - 'ActionType' => [ - 'type' => 'string', - 'required' => false, - ], - 'SrcRegion' => [ - 'type' => 'string', - 'required' => false, - ], - 'SrcType' => [ - 'type' => 'string', - 'required' => false, - ], - 'OnlyPreserveOneEachDay' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'RetentionValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'PolicyId' => [ - 'type' => 'string', - 'required' => false, - ], - 'FilterKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'DestRegion' => [ - 'type' => 'string', - 'required' => false, - ], - 'FilterValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'RetentionType' => [ - 'type' => 'string', - 'required' => false, - ], - 'StorageClass' => [ - 'type' => 'string', - ], + 'DestType' => ['type' => 'string', 'required' => false], + 'FilterType' => ['type' => 'string', 'required' => false], + 'ActionType' => ['type' => 'string', 'required' => false], + 'SrcRegion' => ['type' => 'string', 'required' => false], + 'SrcType' => ['type' => 'string', 'required' => false], + 'OnlyPreserveOneEachDay' => ['type' => 'boolean', 'required' => false], + 'RetentionValue' => ['type' => 'string', 'required' => false], + 'PolicyId' => ['type' => 'string', 'required' => false], + 'FilterKey' => ['type' => 'string', 'required' => false], + 'DestRegion' => ['type' => 'string', 'required' => false], + 'FilterValue' => ['type' => 'string', 'required' => false], + 'RetentionType' => ['type' => 'string', 'required' => false], + 'StorageClass' => ['type' => 'string', 'required' => false], ], ], ], @@ -1028,46 +633,23 @@ 'style' => 'json', 'schema' => [ 'type' => 'array', + 'required' => false, 'items' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'DestType' => [ - 'type' => 'string', - ], - 'FilterType' => [ - 'type' => 'string', - ], - 'ActionType' => [ - 'type' => 'string', - ], - 'SrcRegion' => [ - 'type' => 'string', - ], - 'SrcType' => [ - 'type' => 'string', - 'required' => false, - ], - 'OnlyPreserveOneEachDay' => [ - 'type' => 'boolean', - ], - 'RetentionValue' => [ - 'type' => 'string', - ], - 'PolicyId' => [ - 'type' => 'string', - ], - 'FilterKey' => [ - 'type' => 'string', - ], - 'DestRegion' => [ - 'type' => 'string', - ], - 'FilterValue' => [ - 'type' => 'string', - ], - 'RetentionType' => [ - 'type' => 'string', - ], + 'DestType' => ['type' => 'string', 'required' => false], + 'FilterType' => ['type' => 'string', 'required' => false], + 'ActionType' => ['type' => 'string', 'required' => false], + 'SrcRegion' => ['type' => 'string', 'required' => false], + 'SrcType' => ['type' => 'string', 'required' => false], + 'OnlyPreserveOneEachDay' => ['type' => 'boolean', 'required' => false], + 'RetentionValue' => ['type' => 'string', 'required' => false], + 'PolicyId' => ['type' => 'string', 'required' => false], + 'FilterKey' => ['type' => 'string', 'required' => false], + 'DestRegion' => ['type' => 'string', 'required' => false], + 'FilterValue' => ['type' => 'string', 'required' => false], + 'RetentionType' => ['type' => 'string', 'required' => false], ], ], ], @@ -1075,43 +657,105 @@ [ 'name' => 'BackupRetentionPolicyOnClusterDeletion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupMethod', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BackupPriority', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'EnableIncBackup', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'BackupRetentionPeriod', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'HighFrequencyBakInterval', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'EnableLogBackup', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'LogBackupRetention', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'LogBackupLocalRetentionNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'LocalLogRetentionSpace', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'HighSpaceUsageProtection', + 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'string', + 'enum' => ['enable', 'disable'], ], ], [ - 'name' => 'EnableIncBackup', + 'name' => 'IncBackupInterval', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'EnablePitrProtection', + 'in' => 'query', + 'schema' => ['type' => 'boolean'], + ], + [ + 'name' => 'PreferredBackupDate', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'LogBackupLocalRetention', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'ColdRetention', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'ColdKeepCount', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'ColdKeepPolicy', 'in' => 'query', 'schema' => [ - 'type' => 'boolean', + 'type' => 'integer', + 'format' => 'int32', + 'enum' => ['0', '1', '2'], ], ], ], ], 'RetryDownloadTask' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1121,227 +765,47 @@ [ 'name' => 'RegionCode', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-wulanchabu', - 'regionName' => '华北6(乌兰察布)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华北2(北京)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华北1(青岛)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华东2(上海)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '中国香港', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华北3(张家口)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华南1(深圳)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '日本(东京)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '西南1(成都)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '新加坡', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '马来西亚(吉隆坡)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华北5(呼和浩特)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '印度尼西亚(雅加达)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '华东1(杭州)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - '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' => '美国(弗吉尼亚)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '英国(伦敦)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '美国(硅谷)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '德国(法兰克福)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - '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' => '华南1 金融云', - 'areaId' => 'industryCloud', - 'areaName' => '行业云', - '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' => '华东2 金融云', - 'areaId' => 'industryCloud', - 'areaName' => '行业云', - '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' => '华东1 金融云', - 'areaId' => 'industryCloud', - 'areaName' => '行业云', - 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', - 'vpc' => '', - ], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dbs-api.cn-hangzhou.aliyuncs.com', 'vpc' => ''], ], ]; |
