'1.0', 'info' => ['style' => 'ROA', 'product' => 'BDRC', 'version' => '2023-08-08'], 'directories' => [ [ 'children' => ['DeleteResourceCategory', 'UpdateResourceCategory', 'ListResourceCategories', 'GetResourceCategory', 'CreateResourceCategory'], 'type' => 'directory', 'title' => '资源分类管理', 'id' => 38828, ], [ 'children' => ['ListMessages', 'GetMessage'], 'type' => 'directory', 'title' => '消息中心', 'id' => 38918, ], [ 'children' => ['ListProtectionPolicyApplications', 'UpdateProtectionPolicy', 'ListProtectionPolicies', 'GetProtectionPolicy', 'DeleteProtectionPolicy', 'CreateProtectionPolicy'], 'type' => 'directory', 'title' => '保护策略中心', 'id' => 38921, ], [ 'children' => ['UpdateResources', 'EnableCheckResource', 'EnableCheckProduct', 'DisableCheckResource', 'DisableCheckProduct', 'CheckRules', 'DescribeRules', 'DescribeCheckDetails', 'DescribeResources', 'DescribeProducts', 'DescribeTopRiskyResources', 'DescribeProductDataRedundancyTypeStat'], 'type' => 'directory', 'title' => '资源中心', 'id' => 38928, ], [ 'children' => ['CloseBdrcService', 'DescribeTask', 'DescribeTasks', 'GetBdrcService', 'OpenBdrcService'], 'title' => '其他', 'type' => 'directory', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CheckRules' => [ 'path' => '/api/v1/rules/check', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195932', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => ['title' => '资源唯一标识', 'description' => '资源唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], [ 'name' => 'RuleId', 'in' => 'formData', 'schema' => ['title' => '需要更新的规则id,不填代表更新所有', 'description' => '需要更新的规则id,不填代表更新所有。', 'type' => 'string', 'required' => false, 'example' => 'rule-000***dav'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'TaskId' => ['title' => '异步任务的唯一标识', 'description' => '异步任务的唯一标识。', 'type' => 'string', 'example' => 't-0000e4w0u1v592zdf6s7'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识。', 'type' => 'string', 'example' => '700683DE-0154-56D4-8D76-3B7A2C2C7DF9'], ], ], ], ], 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'BDRC::2023-08-08::DescribeTask', 'callbackInterval' => 5000, 'maxCallbackTimes' => 100], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TaskId\\": \\"t-0000e4w0u1v592zdf6s7\\"\\n },\\n \\"RequestId\\": \\"700683DE-0154-56D4-8D76-3B7A2C2C7DF9\\"\\n}","type":"json"}]', 'title' => '检查数据保护评分规则', 'summary' => '检查数据保护评分规则,调用该接口将会触发一个异步任务来检查您的资源是否满足数据保护评分的要求。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckRules'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:CheckRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CloseBdrcService' => [ 'path' => '/api/v1/service/close', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195930', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '663D8898-E0B5-5964-BF28-A191CE6A1825'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"663D8898-E0B5-5964-BF28-A191CE6A1825\\"\\n}","type":"json"}]', 'title' => '关闭数据灾备中心', 'summary' => '关闭数据灾备中心。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloseBdrcService'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:CloseBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateProtectionPolicy' => [ 'summary' => '创建保护策略。', 'path' => '/api/v1/protection-policies', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" ."\n" .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" ."\n" .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => 'a1b2c3d4-****-****-****-a1b2c3d4f5e6'], ], [ 'name' => 'ProtectionPolicyRegionId', 'in' => 'formData', 'schema' => ['description' => '保护策略地域ID', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ProtectionPolicyName', 'in' => 'formData', 'schema' => ['description' => '保护策略名', 'type' => 'string', 'required' => true, 'example' => 'My***Policy'], ], [ 'name' => 'BoundResourceCategoryIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '关联的资源分类ID', 'type' => 'array', 'items' => ['description' => '关联的资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-123**7890'], 'required' => false, ], ], [ 'name' => 'SubProtectionPolicies', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '子保护策略', 'type' => 'array', 'items' => [ 'description' => '子保护策略', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => '子保护策略类型', 'type' => 'string', 'required' => true, 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => '子保护策略配置', 'type' => 'string', 'required' => false, 'example' => '{\'PlaybookUuid\': \'2093d1ea-0651-48a6-bea2-fa7157285dc1\', \'ParamType\': \'custom\', \'InputParams\': \'\'}'], ], 'required' => true, ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'ProtectionPolicyId' => ['title' => '保护策略ID', 'description' => '保护策略ID', 'type' => 'string', 'example' => 'p-123***7890'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ProtectionPolicyId\\": \\"p-123***7890\\"\\n },\\n \\"RequestId\\": \\"34081B20-C4C0-514F-93F6-8EEC3D1A587E\\"\\n}","type":"json"}]', 'title' => '创建保护策略', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProtectionPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateResourceCategory' => [ 'summary' => '创建资源分类。', 'path' => '/api/v1/resource-categories/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253834', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], ], ], [ 'name' => 'ResourceCategoryName', 'in' => 'formData', 'schema' => ['description' => '资源分类名', 'type' => 'string', 'required' => true, 'example' => 'My***ResourceCategory'], ], [ 'name' => 'ResourceMatcher', 'in' => 'formData', 'schema' => ['description' => '资源匹配器', 'type' => 'string', 'required' => true, 'example' => '{'."\n" .' "type": "BOOL",'."\n" .' "operator": "AND",'."\n" .' "values": ['."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "EQUAL",'."\n" .' "key": "key0",'."\n" .' "values": ['."\n" .' "value0"'."\n" .' ]'."\n" .' },'."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "KEY_EXIST",'."\n" .' "key": "key1"'."\n" .' },'."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "KEY_EXIST_NOT_EQUAL",'."\n" .' "key": "key2",'."\n" .' "values": ['."\n" .' "value2-wrong"'."\n" .' ]'."\n" .' }'."\n" .' ]'."\n" .' }'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '资源分类ID', 'description' => '资源分类ID', 'type' => 'string', 'example' => 'rc-123****7890'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'AF95C627-D725-5656-B128-B9BCCAF89025'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ResourceCategoryId\\": \\"rc-123****7890\\"\\n },\\n \\"RequestId\\": \\"AF95C627-D725-5656-B128-B9BCCAF89025\\"\\n}","type":"json"}]', 'title' => '创建资源分类', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceCategory'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DeleteProtectionPolicy' => [ 'summary' => '删除保护策略。', 'path' => '/api/v1/protection-policies/{ProtectionPolicyId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ProtectionPolicyId', 'in' => 'path', 'schema' => ['description' => '保护策略ID', 'type' => 'string', 'required' => true, 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5\\"\\n}","type":"json"}]', 'title' => '删除保护策略', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProtectionPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:DeleteProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DeleteResourceCategory' => [ 'summary' => '删除资源分类。', 'path' => '/api/v1/resource-categories/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253831', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceCategoryId', 'in' => 'formData', 'schema' => ['description' => '资源分类ID', 'type' => 'string', 'required' => true, 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '8724BC18-904D-5A0D-BFF4-F0554F0037E7'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8724BC18-904D-5A0D-BFF4-F0554F0037E7\\"\\n}","type":"json"}]', 'title' => '删除资源分类', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceCategory'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DeleteResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DescribeCheckDetails' => [ 'summary' => '查询数据保护规则检查结果。', 'path' => '/api/v1/check-details', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195929', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ResourceArn', 'in' => 'query', 'schema' => ['description' => '资源唯一标识', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => '数据保护规则唯一标识', 'type' => 'string', 'required' => false, 'example' => 'rule-000***dav'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '查询凭证(Token),取值为上一次API调用返回的NextToken参数值。有关本接口查看返回数据的设置方式,请参见上文接口说明。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '分页查询时每页的最大条目数。默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['title' => '资源ARN(全局唯一)', 'description' => '资源ARN(全局唯一)', 'type' => 'string', 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'."\n"], 'RuleId' => ['title' => '规则的唯一标识', 'description' => '规则的唯一标识', 'type' => 'string', 'example' => 'rule-xxxxxxxx'], 'ProductType' => ['title' => '云产品类型', 'description' => '云产品类型', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceId' => ['title' => '资源唯一标识', 'description' => '资源唯一标识', 'type' => 'string', 'example' => 'i-xxxxxxxx'], 'ResourceName' => ['title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'test server'], 'RuleTemplate' => ['title' => '规则模板', 'description' => '规则模板', 'type' => 'string', 'example' => 'ecs-backup'], 'CheckStatus' => ['title' => '检查状态 (NOT_CHECKED: 未检查, PASSED: 检查通过, FAILED: 检查未通过, CHECKING: 检查中, CHECK_FAILED: 检查失败)', 'description' => '检查状态 (NOT_CHECKED: 未检查, PASSED: 检查通过, FAILED: 检查未通过, CHECKING: 检查中, CHECK_FAILED: 检查失败)', 'type' => 'string', 'example' => 'PASSED'], 'CheckTime' => ['title' => '检查时间', 'description' => '检查时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1701725715'], 'Detail' => ['title' => '检查详情', 'description' => '检查详情', 'type' => 'string', 'example' => '{"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]}'], 'ResourceOwnerId' => ['title' => '资源所有者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY='], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '92793A50-0B97-59F1-BAEA-EAED83BA1998'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询数据保护规则检查结果', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCheckDetails'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeCheckDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:123***890:cn-shanghai:instance/i-001***90\\\\n\\",\\n \\"RuleId\\": \\"rule-xxxxxxxx\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceId\\": \\"i-xxxxxxxx\\",\\n \\"ResourceName\\": \\"test server\\",\\n \\"RuleTemplate\\": \\"ecs-backup\\",\\n \\"CheckStatus\\": \\"PASSED\\",\\n \\"CheckTime\\": 1701725715,\\n \\"Detail\\": \\"{\\\\\\"ecsAutoSnapshotPolicyIds\\\\\\":[],\\\\\\"hbrBackupPlans\\\\\\":[{\\\\\\"planId\\\\\\":\\\\\\"po-xxxxxxxx\\\\\\",\\\\\\"sourceType\\\\\\":\\\\\\"UDM_ECS\\\\\\"}]}\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"RequestId\\": \\"92793A50-0B97-59F1-BAEA-EAED83BA1998\\"\\n}","type":"json"}]', ], 'DescribeProductDataRedundancyTypeStat' => [ 'summary' => '查询云产品数据冗余类型统计信息。', 'path' => '/api/v1/products/data-redundancy-type-stat', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '248277', 'abilityTreeNodes' => ['FEATUREbdrcIYL3Z9'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'query', 'schema' => [ 'title' => '云产品类型', 'description' => '云产品类型。', 'type' => 'string', 'required' => true, 'example' => 'oss', 'enum' => [], ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => '资源分类ID。', 'type' => 'string', 'required' => false, 'example' => 'rc-000***123'], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '资源所有者ID列表', 'type' => 'array', 'items' => ['title' => '资源所有者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'StorageClass' => ['title' => '数据存储类型', 'description' => '数据存储类型。', 'type' => 'string', 'example' => 'STANDARD'], 'DataRedundancyType' => ['title' => '数据冗余类型', 'description' => '数据冗余类型。', 'type' => 'string', 'example' => 'LRS'], 'ResourceCount' => ['title' => '资源数', 'description' => '资源数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], 'description' => '', ], ], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识。', 'type' => 'string', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], ], ], ], ], 'title' => '查询数据冗余类型统计信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeProductDataRedundancyTypeStat'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProductDataRedundancyTypeStat', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"StorageClass\\": \\"STANDARD\\",\\n \\"DataRedundancyType\\": \\"LRS\\",\\n \\"ResourceCount\\": 1\\n }\\n ]\\n },\\n \\"RequestId\\": \\"5748C531-80B1-5C31-8421-63A1830B9E48\\"\\n}","type":"json"}]', ], 'DescribeProducts' => [ 'summary' => '查询云产品的数据保护评分状态。', 'path' => '/api/v1/products', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195931', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['title' => '资源目录分类ID', 'description' => '资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-000***123'], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '按照资源所在地域过滤,不填代表所有地域。', 'description' => '按照资源所在地域过滤,不填代表所有地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'ProductType', 'in' => 'query', 'schema' => ['title' => '按照资源的产品类型过滤,不填代表所有类型。', 'description' => '按照资源的产品类型过滤,不填代表所有类型。', 'type' => 'string', 'required' => false, 'example' => 'oss'], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '资源所有者ID列表', 'description' => '资源所有者 ID 列表,在跨账号场景使用,置空时默认获取当前账号的数据', 'type' => 'array', 'items' => ['title' => '资源所有者ID', 'description' => '资源所有者ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123***7890'], 'required' => false, 'example' => '[123***7890]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ProductType' => ['title' => '云产品类型', 'description' => '云产品类型,如ecs,oss等', 'type' => 'string', 'example' => 'oss'], 'EnableCheck' => ['title' => '是否开启数据保护评分评估', 'description' => '是否开启数据保护评分评估', 'type' => 'boolean', 'example' => 'true'], 'ProtectionScore' => ['title' => '资源保护评分', 'description' => '数据保护评分(0 - 100分)', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], 'ProtectionScoreUpdatedTime' => ['title' => '评分时间', 'description' => '数据保护评分更新时间(UNIX时间)', 'type' => 'integer', 'format' => 'int64', 'example' => '1726036498'], 'TotalResourceCount' => ['title' => '资源总数', 'description' => '资源总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'RiskyResourceCount' => ['title' => '有风险的资源数', 'description' => '有风险的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'CheckFailedResourceCount' => ['title' => '检查失败的资源数', 'description' => '检查失败的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'DisableCheckResourceCount' => ['title' => '关闭检查的资源数', 'description' => '关闭检查的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'WaitForCheckResourceCount' => ['title' => '待检查的资源数', 'description' => '待检查的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'RiskCount' => ['title' => '有风险的检查项目数', 'description' => '有风险的检查项目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'CheckFailedCount' => ['title' => '失败的检查项个数', 'description' => '失败的检查项个数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'ProtectionScoreDistribution' => [ 'title' => '不同分数段资源个数分布', 'description' => '不同分数段资源个数分布', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Range' => [ 'title' => '区间', 'description' => '区间', 'type' => 'object', 'properties' => [ 'From' => ['title' => '下限(包含边界)', 'description' => '下限(包含边界)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'To' => ['title' => '上限(包含边界)', 'description' => '上限(包含边界)', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], ], ], 'Count' => ['title' => '区间内的个数', 'description' => '区间内的个数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], ], 'description' => '', ], ], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'b4fd3cffcacafd65e3818a0b9b2ff9a2'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '30FB202A-1D22-5394-AB02-4477CDFCF51F'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ProductType\\": \\"oss\\",\\n \\"EnableCheck\\": true,\\n \\"ProtectionScore\\": 90,\\n \\"ProtectionScoreUpdatedTime\\": 1726036498,\\n \\"TotalResourceCount\\": 100,\\n \\"RiskyResourceCount\\": 1,\\n \\"CheckFailedResourceCount\\": 1,\\n \\"DisableCheckResourceCount\\": 1,\\n \\"WaitForCheckResourceCount\\": 1,\\n \\"RiskCount\\": 1,\\n \\"CheckFailedCount\\": 1,\\n \\"ProtectionScoreDistribution\\": [\\n {\\n \\"Range\\": {\\n \\"From\\": 0,\\n \\"To\\": 60\\n },\\n \\"Count\\": 5\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"b4fd3cffcacafd65e3818a0b9b2ff9a2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 50\\n },\\n \\"RequestId\\": \\"30FB202A-1D22-5394-AB02-4477CDFCF51F\\"\\n}","type":"json"}]', 'title' => '查询云产品保护评分', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeProducts'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProducts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DescribeResources' => [ 'summary' => '查询资源列表。', 'path' => '/api/v1/resources', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195921', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['description' => '资源ID。例如,当待查询的资源为实例时,可以理解为InstanceId。', 'type' => 'string', 'required' => false, 'example' => 'i-0003***110'], ], [ 'name' => 'FailedRuleTemplate', 'in' => 'query', 'schema' => ['description' => '评分失败的规则过滤', 'type' => 'string', 'required' => false, 'example' => 'rule-000c***yc9'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '分页游标,如果有下一页,则该字段有返回值。说明 该参数只要返回数据,则说明还有下一页。您可以将返回的NextToken作为请求参数再次获得下一页的数据,直到返回为Null,表示获取到了所有的数据。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '分页查询时每页行数。最大值为100。默认值:当不设置值或设置的值小于10时,默认值为10。当设置的值大于100时,默认值为100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['description' => '排序方式', 'type' => 'string', 'required' => false, 'example' => 'protectionScore'], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => [ 'title' => 'ASC: 升序, DESC: 降序', 'description' => 'ASC: 升序, DESC: 降序', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['ASC' => '升序', 'DESC' => '降序'], 'example' => 'ASC', 'enum' => ['ASC', 'DESC'], ], ], [ 'name' => 'StorageClass', 'in' => 'query', 'schema' => [ 'title' => '存储类型', 'description' => '存储类型', 'type' => 'string', 'required' => false, 'example' => 'ARCHIVE', 'enum' => ['STANDARD', 'ARCHIVE', 'IA', 'COLD_ARCHIVE'], ], ], [ 'name' => 'DataRedundancyType', 'in' => 'query', 'schema' => [ 'title' => '数据冗余类型', 'description' => '数据冗余类型', 'type' => 'string', 'required' => false, 'example' => 'LRS', 'enum' => ['LRS', 'ZRS'], ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['title' => '资源分类ID', 'description' => '资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-000***123'], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => ['title' => '资源地域ID', 'description' => '资源地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceArn', 'in' => 'query', 'schema' => ['title' => '资源ARN', 'description' => '资源ARN', 'type' => 'string', 'required' => false, 'example' => 'acs:ecs:cn-hangzhou:123***7890:instance/i-123***7890'], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '资源所有者ID列表', 'description' => '资源所有者ID列表,在跨账号场景使用,置空时默认获取当前账号的数据', 'type' => 'array', 'items' => ['title' => '资源所有者ID', 'description' => '资源所有者ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123***7890'], 'required' => false, 'example' => '[123***7890]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['title' => '资源ARN(全局唯一)', 'description' => '资源ARN(全局唯一)', 'type' => 'string', 'example' => 'acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx'."\n"], 'ProductType' => ['title' => '云产品类型', 'description' => '云产品类型', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'."\n"], 'ResourceId' => ['title' => '资源唯一标识', 'description' => '资源唯一标识', 'type' => 'string', 'example' => 'i-xxxxxxxx'."\n"], 'ResourceName' => ['title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'test server'], 'RegionId' => ['title' => '地域', 'description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ZoneId' => ['title' => '可用区', 'description' => '可用区', 'type' => 'string', 'example' => 'cn-hangzhou-i'], 'VpcId' => ['title' => 'vpc ID', 'description' => 'vpc ID', 'type' => 'string', 'example' => 'vpc-xxxxxxxx'], 'VSwitchId' => ['title' => 'vSwitch ID', 'description' => 'vSwitch ID', 'type' => 'string', 'example' => 'vsw-xxxxxxxx'], 'CreateTime' => ['title' => '资源的创建时间', 'description' => '资源的创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1697798340'], 'Status' => ['title' => '资源状态', 'description' => '资源状态', 'type' => 'string', 'example' => 'Running'], 'TotalDataSize' => ['title' => '数据量', 'description' => '数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'StandardDataSize' => ['title' => '标准类型数据量', 'description' => '标准类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'IaDataSize' => ['title' => '低频类型数据量', 'description' => '低频类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'ArchiveDataSize' => ['title' => '归档类型数据量', 'description' => '归档类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'ColdArchiveDataSize' => ['title' => '冷归档类型数据量', 'description' => '冷归档类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'EnableCheck' => ['title' => '是否开启数据保护评分评估', 'description' => '是否开启数据保护评分评估', 'type' => 'boolean', 'example' => '0'], 'ProtectionScore' => ['title' => '资源保护评分', 'description' => '资源保护评分', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'ProtectionScoreUpdatedTime' => ['title' => '评分时间', 'description' => '评分时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'RiskCount' => ['title' => '有风险的检查项目数', 'description' => '有风险的检查项目数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'CheckFailedCount' => ['title' => '失败的检查项个数', 'description' => '失败的检查项个数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'StorageClass' => ['title' => '数据存储类型', 'description' => '数据存储类型', 'type' => 'string', 'example' => 'STANDARD'], 'DataRedundancyType' => ['title' => '数据冗余类型', 'description' => '数据冗余类型', 'type' => 'string', 'example' => 'LRS'], 'ResourceOwnerId' => ['title' => '资源所有者ID', 'description' => '资源所有者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'fb836242f4225fa0f0e0257362dfc6dd'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '149'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '700683DE-0154-56D4-8D76-3B7A2C2C7DF9'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx\\\\n\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\\\n\\",\\n \\"ResourceId\\": \\"i-xxxxxxxx\\\\n\\",\\n \\"ResourceName\\": \\"test server\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VpcId\\": \\"vpc-xxxxxxxx\\",\\n \\"VSwitchId\\": \\"vsw-xxxxxxxx\\",\\n \\"CreateTime\\": 1697798340,\\n \\"Status\\": \\"Running\\",\\n \\"TotalDataSize\\": 0,\\n \\"StandardDataSize\\": 0,\\n \\"IaDataSize\\": 0,\\n \\"ArchiveDataSize\\": 0,\\n \\"ColdArchiveDataSize\\": 0,\\n \\"EnableCheck\\": true,\\n \\"ProtectionScore\\": 0,\\n \\"ProtectionScoreUpdatedTime\\": 0,\\n \\"RiskCount\\": 0,\\n \\"CheckFailedCount\\": 0,\\n \\"StorageClass\\": \\"STANDARD\\",\\n \\"DataRedundancyType\\": \\"LRS\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"fb836242f4225fa0f0e0257362dfc6dd\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 149\\n },\\n \\"RequestId\\": \\"700683DE-0154-56D4-8D76-3B7A2C2C7DF9\\"\\n}","type":"json"}]', 'title' => '查询资源列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResources'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DescribeRules' => [ 'path' => '/api/v1/rules', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195920', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:如果NextToken为空表示没有下一次查询。 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '分页查询时每页的最大条目数。最大值为50。默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => '资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-000***123'], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => ['description' => '资源所在地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RuleId' => ['title' => '规则的唯一标识', 'description' => '规则的唯一标识', 'type' => 'string', 'example' => 'rule-bp11ggd8wr762'], 'ProductType' => ['title' => '适用的产品类型', 'description' => '适用的产品类型', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '适用的资源类型', 'description' => '适用的资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'RuleTemplate' => ['title' => '规则模板', 'description' => '规则模板', 'type' => 'string', 'example' => 'ecs-backup'], 'CheckStatus' => ['title' => '检查状态 (NOT_CHECKED: 未检查, PASSED: 检查通过, FAILED: 检查未通过, CHECKING: 检查中, CHECK_FAILED: 检查失败)', 'description' => '检查状态 (NOT_CHECKED: 未检查, PASSED: 检查通过, FAILED: 检查未通过, CHECKING: 检查中, CHECK_FAILED: 检查失败)', 'type' => 'string', 'example' => 'PASSED'], 'CheckTime' => ['title' => '检查时间', 'description' => '检查时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1704157635'], 'TotalResourceCount' => ['title' => '检查的总资源数', 'description' => '检查的总资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'RiskyResourceCount' => ['title' => '有风险的资源数', 'description' => '有风险的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'CheckFailedResourceCount' => ['title' => '检查失败的资源数', 'description' => '检查失败的资源数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => '0975951c75d7b41464c8d08ae17043ca'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '42'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], ], ], ], 'title' => '查询数据保护评分规则列表', 'summary' => '查询数据保护规则列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRules'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"RuleId\\": \\"rule-bp11ggd8wr762\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"RuleTemplate\\": \\"ecs-backup\\",\\n \\"CheckStatus\\": \\"PASSED\\",\\n \\"CheckTime\\": 1704157635,\\n \\"TotalResourceCount\\": 1,\\n \\"RiskyResourceCount\\": 0,\\n \\"CheckFailedResourceCount\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"0975951c75d7b41464c8d08ae17043ca\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 42\\n },\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', ], 'DescribeTask' => [ 'summary' => '查询异步任务详情。', 'path' => '/api/v1/tasks/{TaskId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195923', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'path', 'schema' => ['description' => '任务ID。您可以调用DescribeTasks查看任务ID。', 'type' => 'string', 'required' => true, 'example' => 't-0004d9ctt1ii********'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 't-xxxxxxxx'], 'TaskName' => ['description' => '任务名称', 'type' => 'string', 'example' => 'test5566'], 'TaskDescription' => ['description' => '任务描述', 'type' => 'string', 'example' => ' empty'], 'TaskType' => ['title' => 'TEST: 测试任务, UPDATE_RESOURCES: 更新资源和状态, CHECK_RULES', 'description' => '任务类型。UPDATE_RESOURCES: 更新资源和状态, CHECK_RULES', 'type' => 'string', 'example' => 'UPDATE_RESOURCES'], 'TaskPriority' => ['title' => 'HIGH: 高优先级,一般为用户前台触发的任务, LOW: 低优先级,一般为后台任务', 'description' => 'HIGH: 高优先级,一般为用户前台触发的任务, LOW: 低优先级,一般为后台任务', 'type' => 'string', 'example' => 'HIGH'], 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '784076D6-BD6D-5564-9CEA-834EB11F0C62'], 'TaskDetail' => ['description' => '任务执行的详细信息', 'type' => 'string', 'example' => '{"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}'], 'ExecutionId' => ['description' => '执行ID,暂未使用,返回空', 'type' => 'string', 'example' => ' empty'], 'Progress' => ['description' => '进度(0 - 10000)', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TaskStatus' => ['title' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'description' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'type' => 'string', 'example' => 'RUNNING'], 'ErrorMessage' => ['description' => '任务失败的错误提示。', 'type' => 'string', 'example' => 'too many requests.'], 'StartTime' => ['description' => '开始时间,格式为Unix时间戳,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927'], 'CompleteTime' => ['description' => '任务完成时间。Unix时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927'], 'ExpireTime' => ['description' => '过期时间,格式为Unix时间戳,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1719026680'], 'TaskResult' => ['title' => '任务执行结果', 'type' => 'string', 'example' => '{"resourceCounts":[{"resourceType":"ACS::OSS::Bucket","count":2},{"resourceType":"ACS::NAS::FileSystem","count":3}]}'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '14DFF801-A4E3-5136-AAB8-7D246012CD7A'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询异步任务', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTask'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TaskId\\": \\"t-xxxxxxxx\\",\\n \\"TaskName\\": \\"test5566\\",\\n \\"TaskDescription\\": \\" empty\\",\\n \\"TaskType\\": \\"UPDATE_RESOURCES\\",\\n \\"TaskPriority\\": \\"HIGH\\",\\n \\"RequestId\\": \\"784076D6-BD6D-5564-9CEA-834EB11F0C62\\",\\n \\"TaskDetail\\": \\"{\\\\\\"resourceTypes\\\\\\":[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::OSS::Bucket\\\\\\",\\\\\\"ACS::OTS::Instance\\\\\\",\\\\\\"ACS::NAS::FileSystem\\\\\\"]}\\",\\n \\"ExecutionId\\": \\" empty\\",\\n \\"Progress\\": 100,\\n \\"TaskStatus\\": \\"RUNNING\\",\\n \\"ErrorMessage\\": \\"too many requests.\\",\\n \\"StartTime\\": 1724983927,\\n \\"CompleteTime\\": 1724983927,\\n \\"ExpireTime\\": 1719026680,\\n \\"TaskResult\\": \\"{\\\\\\"resourceCounts\\\\\\":[{\\\\\\"resourceType\\\\\\":\\\\\\"ACS::OSS::Bucket\\\\\\",\\\\\\"count\\\\\\":2},{\\\\\\"resourceType\\\\\\":\\\\\\"ACS::NAS::FileSystem\\\\\\",\\\\\\"count\\\\\\":3}]}\\"\\n },\\n \\"RequestId\\": \\"14DFF801-A4E3-5136-AAB8-7D246012CD7A\\"\\n}","type":"json"}]', ], 'DescribeTasks' => [ 'path' => '/api/v1/tasks', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197097', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'TaskStatus', 'in' => 'query', 'schema' => [ 'title' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'description' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', 'enum' => ['CREATED', 'RUNNING', 'COMPLETE', 'FAILED'], ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '查询凭证(Token),取值为上一次API调用返回的NextToken参数值。有关本接口查看返回数据的设置方式,请参见上文接口说明。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '返回的最大数。取值范围:10~500。默认值:当不设置值或者设置的值小于10,默认值为10。当设置的值大于500时,默认值为500。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'TaskType', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'UPDATE_RESOURCES'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 't-0000e4w0u1v592zdf6s7'], 'TaskName' => ['description' => '任务名称', 'type' => 'string', 'example' => ' empty'], 'TaskDescription' => ['description' => '任务描述', 'type' => 'string', 'example' => ' empty'], 'TaskType' => ['title' => 'TEST: 测试任务, UPDATE_RESOURCES: 更新资源和状态, CHECK_RULES', 'description' => 'TEST: 测试任务, UPDATE_RESOURCES: 更新资源和状态, CHECK_RULES', 'type' => 'string', 'example' => 'UPDATE_RESOURCES'], 'TaskPriority' => ['title' => 'HIGH: 高优先级,一般为用户前台触发的任务, LOW: 低优先级,一般为后台任务', 'description' => 'HIGH: 高优先级,一般为用户前台触发的任务, LOW: 低优先级,一般为后台任务', 'type' => 'string', 'example' => 'HIGH'], 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], 'TaskDetail' => ['description' => '任务详情', 'type' => 'string', 'example' => '{"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}'], 'ExecutionId' => ['description' => '执行ID,暂未使用,返回空', 'type' => 'string', 'example' => 'empty'], 'Progress' => ['description' => '进度(0 - 10000)', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TaskStatus' => ['title' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'description' => 'CREATED: 创建, RUNNING: 正在执行, COMPLETE: 任务成功完成, FAILED: 任务执行失败, EXPIRED: 任务已过期, CANCELED: 任务已被取消', 'type' => 'string', 'example' => 'RUNNING'], 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'device not online'], 'StartTime' => ['description' => '开始时间,格式为Unix时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927'], 'CompleteTime' => ['description' => '任务完成时间。Unix时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927'], 'ExpireTime' => ['description' => '过期时间,格式为Unix时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927'], 'TaskResult' => ['type' => 'string', 'example' => '{"resourceCounts":[{"resourceType":"ACS::OSS::Bucket","count":2},{"resourceType":"ACS::NAS::FileSystem","count":3}]}'], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'f4b8c2504545a3b41af5e75147d17d12e3818a0b9b2ff9a2'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询异步任务列表', 'summary' => '查询异步任务列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTasks'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"TaskId\\": \\"t-0000e4w0u1v592zdf6s7\\",\\n \\"TaskName\\": \\" empty\\",\\n \\"TaskDescription\\": \\" empty\\",\\n \\"TaskType\\": \\"UPDATE_RESOURCES\\",\\n \\"TaskPriority\\": \\"HIGH\\",\\n \\"RequestId\\": \\"AE43C4CB-8074-5EBD-9806-8CA6D12800B1\\",\\n \\"TaskDetail\\": \\"{\\\\\\"resourceTypes\\\\\\":[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::OSS::Bucket\\\\\\",\\\\\\"ACS::OTS::Instance\\\\\\",\\\\\\"ACS::NAS::FileSystem\\\\\\"]}\\",\\n \\"ExecutionId\\": \\"empty\\",\\n \\"Progress\\": 100,\\n \\"TaskStatus\\": \\"RUNNING\\",\\n \\"ErrorMessage\\": \\"device not online\\",\\n \\"StartTime\\": 1724983927,\\n \\"CompleteTime\\": 1724983927,\\n \\"ExpireTime\\": 1724983927,\\n \\"TaskResult\\": \\"{\\\\\\"resourceCounts\\\\\\":[{\\\\\\"resourceType\\\\\\":\\\\\\"ACS::OSS::Bucket\\\\\\",\\\\\\"count\\\\\\":2},{\\\\\\"resourceType\\\\\\":\\\\\\"ACS::NAS::FileSystem\\\\\\",\\\\\\"count\\\\\\":3}]}\\"\\n }\\n ],\\n \\"NextToken\\": \\"f4b8c2504545a3b41af5e75147d17d12e3818a0b9b2ff9a2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"RequestId\\": \\"AE43C4CB-8074-5EBD-9806-8CA6D12800B1\\"\\n}","type":"json"}]', ], 'DescribeTopRiskyResources' => [ 'path' => '/api/v1/resources/top-risky', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '199311', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => '资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-000***123'], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['title' => '资源ARN(全局唯一)', 'description' => '资源ARN(全局唯一)', 'type' => 'string', 'example' => 'acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx'], 'ProductType' => ['title' => '云产品类型', 'description' => '云产品类型', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceId' => ['title' => '资源唯一标识', 'description' => '资源唯一标识', 'type' => 'string', 'example' => 'i-xxxxxxxx'], 'ResourceName' => ['title' => '资源名称', 'description' => '资源名称', 'type' => 'string', 'example' => 'test-server'], 'RegionId' => ['title' => '地域', 'description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ZoneId' => ['title' => '可用区', 'description' => '可用区', 'type' => 'string', 'example' => 'cn-hangzhou-j'], 'VpcId' => ['title' => 'vpc ID', 'description' => 'vpc ID', 'type' => 'string', 'example' => 'vpc-xxxxxxxx'], 'VSwitchId' => ['title' => 'vSwitch ID', 'description' => 'vSwitch ID', 'type' => 'string', 'example' => 'vsw-xxxxxxxx'], 'CreateTime' => ['title' => '资源的创建时间', 'description' => '资源的创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1697798340'], 'Status' => ['title' => '资源状态', 'description' => '资源状态', 'type' => 'string', 'example' => 'Running'], 'TotalDataSize' => ['title' => '数据量', 'description' => '数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'StandardDataSize' => ['title' => '标准类型数据量', 'description' => '标准类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'IaDataSize' => ['title' => '低频类型数据量', 'description' => '低频类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'ArchiveDataSize' => ['title' => '归档类型数据量', 'description' => '归档类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'ColdArchiveDataSize' => ['title' => '冷归档类型数据量', 'description' => '冷归档类型数据量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'EnableCheck' => ['title' => '是否开启数据保护评分评估', 'description' => '是否开启数据保护评分评估', 'type' => 'boolean', 'example' => 'true'], 'ProtectionScore' => ['title' => '资源保护评分', 'description' => '资源保护评分', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], 'ProtectionScoreUpdatedTime' => ['title' => '评分时间', 'description' => '评分时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1726036498'], 'RiskCount' => ['title' => '有风险的检查项目数', 'description' => '有风险的检查项目数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'CheckFailedCount' => ['title' => '失败的检查项个数', 'description' => '失败的检查项个数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'StorageClass' => ['title' => '数据存储类型', 'description' => '数据存储类型', 'type' => 'string', 'example' => 'STANDARD'], 'DataRedundancyType' => ['title' => '数据冗余类型', 'description' => '数据冗余类型', 'type' => 'string', 'example' => 'LRS'], 'ResourceOwnerId' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], 'description' => '', ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'e557bc9a65fe22cb5e2a3b240f06b0de'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], ], ], ], ], 'title' => '查询风险最高的资源列表', 'summary' => '查询风险最多的资源列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTopRiskyResources'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTopRiskyResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ResourceArn\\": \\"acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceId\\": \\"i-xxxxxxxx\\",\\n \\"ResourceName\\": \\"test-server\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"VpcId\\": \\"vpc-xxxxxxxx\\",\\n \\"VSwitchId\\": \\"vsw-xxxxxxxx\\",\\n \\"CreateTime\\": 1697798340,\\n \\"Status\\": \\"Running\\",\\n \\"TotalDataSize\\": 0,\\n \\"StandardDataSize\\": 0,\\n \\"IaDataSize\\": 0,\\n \\"ArchiveDataSize\\": 0,\\n \\"ColdArchiveDataSize\\": 0,\\n \\"EnableCheck\\": true,\\n \\"ProtectionScore\\": 90,\\n \\"ProtectionScoreUpdatedTime\\": 1726036498,\\n \\"RiskCount\\": 0,\\n \\"CheckFailedCount\\": 0,\\n \\"StorageClass\\": \\"STANDARD\\",\\n \\"DataRedundancyType\\": \\"LRS\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"e557bc9a65fe22cb5e2a3b240f06b0de\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 10\\n },\\n \\"RequestId\\": \\"34081B20-C4C0-514F-93F6-8EEC3D1A587E\\"\\n}","type":"json"}]', ], 'DisableCheckProduct' => [ 'path' => '/api/v1/products/disable-check', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195924', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ 'title' => '产品类型', 'description' => '产品类型', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'enum' => ['ecs', 'oss', 'nas', 'ots'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '89E3CBB7-16F3-52AE-BD32-31A43A2A807F'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89E3CBB7-16F3-52AE-BD32-31A43A2A807F\\"\\n}","type":"json"}]', 'title' => '关闭云产品的数据保护评分', 'summary' => '关闭云产品的数据保护评分。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableCheckProduct'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DisableCheckResource' => [ 'path' => '/api/v1/resources/disable-check', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195927', 'abilityTreeNodes' => ['FEATUREbdrcBCZW0W', 'FEATUREbdrc39O5NC', 'FEATUREbdrcL4UGPA', 'FEATUREbdrc0N9DE2', 'FEATUREbdrcDIQ7FY', 'FEATUREbdrcUOO3SY', 'FEATUREbdrcT2SYGM', 'FEATUREbdrcG2LT8R', 'FEATUREbdrc5P9BJ1', 'FEATUREbdrc5DYMIO', 'FEATUREbdrcF8LFI8', 'FEATUREbdrcORA84U', 'FEATUREbdrcPV3DO0'], ], 'parameters' => [ [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => ['title' => '资源唯一标识', 'description' => '资源唯一标识', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => '关闭资源的数据保护评分', 'summary' => '关闭资源的数据保护评分。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableCheckResource'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'EnableCheckProduct' => [ 'path' => '/api/v1/products/enable-check', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195925', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ 'title' => '产品类型', 'description' => '产品类型。', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'enum' => ['ecs', 'oss', 'nas', 'ots'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识。', 'type' => 'string', 'example' => '8724BC18-904D-5A0D-BFF4-F0554F0037E7'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8724BC18-904D-5A0D-BFF4-F0554F0037E7\\"\\n}","type":"json"}]', 'title' => '开启云产品的数据保护评分', 'summary' => '开启云产品数据保护评分。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableCheckProduct'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'EnableCheckResource' => [ 'path' => '/api/v1/resources/enable-check', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195933', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], ], 'parameters' => [ [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => ['title' => '资源唯一标识', 'description' => '资源唯一标识', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'E583A0FF-803C-51C4-9AC9-E029471ACD6A'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E583A0FF-803C-51C4-9AC9-E029471ACD6A\\"\\n}","type":"json"}]', 'title' => '开启资源的数据保护评分', 'summary' => '开启单个资源的数据保护评分。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableCheckResource'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetBdrcService' => [ 'path' => '/api/v1/service', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195922', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '调用成功时,返回的数据。', 'type' => 'object', 'properties' => [ 'ServiceStatus' => [ 'title' => '服务状态 (NOT_OPEN: 未开通, OPENED: 用户已开通服务, CLOSED: 用户已关闭服务)', 'description' => '服务开启状态。', 'type' => 'string', 'enumValueTitles' => ['CLOSED' => '已关闭', 'NOT_OPEN' => '未开启', 'OPENED' => '已开启'], 'example' => 'OPENED', ], 'OpenTime' => ['title' => '开通时间', 'description' => '服务开启时间(UNIX时间)', 'type' => 'integer', 'format' => 'int64', 'example' => '1726169608'], 'ProtectionScoreUpdatedTime' => ['title' => '评分时间', 'description' => '数据保护评分更新时间(UNIX时间)', 'type' => 'integer', 'format' => 'int64', 'example' => '1726169608'], 'ServiceInitializeStatus' => [ 'description' => '服务初始化状态。', 'type' => 'string', 'enumValueTitles' => ['SUCCESS' => '初始化成功', 'FAILED' => '初始化失败', 'INITIALIZING' => '初始化中', 'NOT_INITIALIZED' => '未初始化'], 'example' => 'SUCCESS', ], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ServiceStatus\\": \\"OPENED\\",\\n \\"OpenTime\\": 1726169608,\\n \\"ProtectionScoreUpdatedTime\\": 1726169608,\\n \\"ServiceInitializeStatus\\": \\"SUCCESS\\"\\n },\\n \\"RequestId\\": \\"5748C531-80B1-5C31-8421-63A1830B9E48\\"\\n}","type":"json"}]', 'title' => '查询数据灾备中心状态', 'summary' => '查询数据灾备中心状态。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBdrcService'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:GetBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetMessage' => [ 'summary' => '获取单个消息。', 'path' => '/api/v1/messages/{MessageId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'MessageId', 'in' => 'path', 'schema' => ['description' => '消息ID', 'type' => 'string', 'required' => true, 'example' => 'm-123****890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'MessageId' => ['title' => '消息ID', 'description' => '消息ID', 'type' => 'string', 'example' => 'm-123***7890'], 'MessageName' => ['title' => '消息名', 'description' => '消息名', 'type' => 'string', 'example' => 'MyMessage'], 'MessageType' => ['title' => '消息类型', 'description' => '消息类型', 'type' => 'string', 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], 'MessageTime' => ['title' => '消息时间', 'description' => '消息时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1740019609'], 'MessageLevel' => ['title' => '消息等级', 'description' => '消息等级', 'type' => 'string', 'example' => 'WARNING'], 'MessageSourceType' => ['title' => '消息源类型', 'description' => '消息源类型', 'type' => 'string', 'example' => 'PROTECTION_POLICY'], 'MessageSourceId' => ['title' => '消息源ID', 'description' => '消息源ID', 'type' => 'string', 'example' => 'p-123***7890'], 'MessageSourceRegionId' => ['title' => '消息源地域ID', 'description' => '消息源地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], 'MessageContent' => ['title' => '消息内容', 'description' => '消息内容', 'type' => 'string', 'example' => '{********}'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '8724BC18-904D-5A0D-BFF4-F0554F0037E7'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"MessageId\\": \\"m-123***7890\\",\\n \\"MessageName\\": \\"MyMessage\\",\\n \\"MessageType\\": \\"SUB_PROTECTION_POLICY_MODIFIED\\",\\n \\"MessageTime\\": 1740019609,\\n \\"MessageLevel\\": \\"WARNING\\",\\n \\"MessageSourceType\\": \\"PROTECTION_POLICY\\",\\n \\"MessageSourceId\\": \\"p-123***7890\\",\\n \\"MessageSourceRegionId\\": \\"cn-hangzhou\\",\\n \\"MessageContent\\": \\"{********}\\"\\n },\\n \\"RequestId\\": \\"8724BC18-904D-5A0D-BFF4-F0554F0037E7\\"\\n}","type":"json"}]', 'title' => '获取单个消息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMessage'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetMessage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetProtectionPolicy' => [ 'summary' => '获取保护策略。', 'path' => '/api/v1/protection-policies/{ProtectionPolicyId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ProtectionPolicyId', 'in' => 'path', 'schema' => ['description' => '保护策略ID', 'type' => 'string', 'required' => true, 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'ProtectionPolicyRegionId' => ['description' => '保护策略地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProtectionPolicyId' => ['description' => '保护策略ID', 'type' => 'string', 'example' => 'p-123***7890'], 'ProtectionPolicyName' => ['description' => '保护策略名', 'type' => 'string', 'example' => 'MyProtectionPolicy'], 'BoundResourceCategoryIds' => [ 'description' => '关联的资源分类ID列表', 'type' => 'array', 'items' => ['description' => '资源分类ID', 'type' => 'string', 'example' => 'rc-123***7890'], ], 'SubProtectionPolicies' => [ 'description' => '配置的子保护策略列表', 'type' => 'array', 'items' => [ 'description' => '启用的子保护策略列表', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => '子保护策略类型', 'type' => 'string', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => '子保护策略配置', 'type' => 'string', 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], ], ], 'LatestApplyTime' => ['description' => '最近一次应用时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1742167218'], 'LatestTaskId' => ['title' => '', 'description' => '最近一次应用任务ID', 'type' => 'string', 'example' => 't-123***7890'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ProtectionPolicyRegionId\\": \\"cn-hangzhou\\",\\n \\"ProtectionPolicyId\\": \\"p-123***7890\\",\\n \\"ProtectionPolicyName\\": \\"MyProtectionPolicy\\",\\n \\"BoundResourceCategoryIds\\": [\\n \\"rc-123***7890\\"\\n ],\\n \\"SubProtectionPolicies\\": [\\n {\\n \\"SubProtectionPolicyType\\": \\"ECS_AUTO_SNAPSHOT_POLICY\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"autoSnapshotPolicyId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sp-123***7890\\\\\\\\\\\\\\"}\\"\\n }\\n ],\\n \\"LatestApplyTime\\": 1742167218,\\n \\"LatestTaskId\\": \\"t-123***7890\\"\\n },\\n \\"RequestId\\": \\"AE43C4CB-8074-5EBD-9806-8CA6D12800B1\\"\\n}","type":"json"}]', 'title' => '获取保护策略', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProtectionPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetResourceCategory' => [ 'summary' => '获取单个资源分类。', 'path' => '/api/v1/resource-categories/get', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253833', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => '资源分类ID', 'type' => 'string', 'required' => true, 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '资源分类id,全局唯一', 'description' => '资源分类id,全局唯一', 'type' => 'string', 'example' => 'rc-123***7890'], 'ResourceCategoryName' => ['title' => '资源名,namespace内唯一', 'description' => '资源名,namespace内唯一', 'type' => 'string', 'example' => 'My***ResourceCategory'], 'ResourceCategoryType' => ['title' => '资源分类类型 (DEFAULT: 默认分组,由系统创建,禁止删除, CUSTOM: 自定义分组,允许删除)', 'description' => '资源分类类型 (DEFAULT: 默认分组,由系统创建,禁止删除, CUSTOM: 自定义分组,允许删除)', 'type' => 'string', 'example' => 'CUSTOM'], 'ProductType' => ['title' => '适用的产品类型,为空时匹配全部产品', 'description' => '适用的产品类型,为空时匹配全部产品', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '适用的资源类型,为空时匹配全部资源', 'description' => '适用的资源类型,为空时匹配全部资源', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceMatcher' => ['title' => '资源匹配器,为空时不匹配任何资源', 'description' => '资源匹配器,为空时不匹配任何资源', 'type' => 'string', 'example' => '{\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}'], 'ResourceCount' => [ 'title' => '各类型资源数量', 'description' => '各类型资源数量', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Count' => ['title' => '各类型资源数量', 'description' => '各类型资源数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], ], ], ], 'errorCodes' => [], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ResourceCategoryId\\": \\"rc-123***7890\\",\\n \\"ResourceCategoryName\\": \\"My***ResourceCategory\\",\\n \\"ResourceCategoryType\\": \\"CUSTOM\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceMatcher\\": \\"{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOL\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"createdBy\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"EQUAL\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"me\\\\\\\\\\\\\\"]}]}\\",\\n \\"ResourceCount\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Count\\": 1\\n }\\n ]\\n },\\n \\"RequestId\\": \\"AE43C4CB-8074-5EBD-9806-8CA6D12800B1\\"\\n}","type":"json"}]', 'title' => '获取单个资源分类', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCategory'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListMessages' => [ 'summary' => '批量查询消息。', 'path' => '/api/v1/messages', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '分页游标,如果有下一页,则该字段有返回值。说明 该参数只要返回数据,则说明还有下一页。您可以将返回的NextToken作为请求参数再次获得下一页的数据,直到返回为Null,表示获取到了所有的数据。', 'type' => 'string', 'required' => false, 'example' => 'cae***********99'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'MessageTimeLaterThan', 'in' => 'query', 'schema' => ['description' => '消息时间晚于', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740019609'], ], [ 'name' => 'MessageTimeEarlierThan', 'in' => 'query', 'schema' => ['description' => '消息时间早于', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740019610'], ], [ 'name' => 'MessageType', 'in' => 'query', 'schema' => ['description' => '消息类型', 'type' => 'string', 'required' => false, 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], ], [ 'name' => 'MessageLevel', 'in' => 'query', 'schema' => ['description' => '消息等级', 'type' => 'string', 'required' => false, 'example' => 'WARNING'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求唯一标识', 'description' => '请求唯一标识', 'type' => 'string', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '响应内容', 'description' => '响应内容', 'type' => 'array', 'items' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'object', 'properties' => [ 'MessageId' => ['title' => '消息ID', 'description' => '消息ID', 'type' => 'string', 'example' => 'zgrjap8j-us04-owef-fpmo-kdpr80pbss0k'], 'MessageName' => ['title' => '消息名', 'description' => '消息名', 'type' => 'string', 'example' => 'MyMessage'], 'MessageTime' => ['title' => '消息时间', 'description' => '消息时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1740019609'], 'MessageType' => ['title' => '消息类型', 'description' => '消息类型', 'type' => 'string', 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], 'MessageLevel' => ['title' => '消息等级', 'description' => '消息等级', 'type' => 'string', 'example' => 'WARNING'], 'MessageSourceType' => ['title' => '消息源类型', 'description' => '消息源类型', 'type' => 'string', 'example' => 'PROTECTION_POLICY'], 'MessageSourceId' => ['title' => '消息源ID', 'description' => '消息源ID', 'type' => 'string', 'example' => 'p-123***7890'], 'MessageSourceRegionId' => ['title' => '消息源地域ID', 'description' => '消息源地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], 'NextToken' => ['title' => '分页游标', 'description' => '分页游标', 'type' => 'string', 'example' => 'eKDyCM0zFQ5op7jVMWmNNA=='], 'MaxResults' => ['title' => '请求的最大结果数', 'description' => '请求的最大结果数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '结果总数', 'description' => '结果总数', 'type' => 'integer', 'format' => 'int64', 'example' => '42'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5748C531-80B1-5C31-8421-63A1830B9E48\\",\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"MessageId\\": \\"zgrjap8j-us04-owef-fpmo-kdpr80pbss0k\\",\\n \\"MessageName\\": \\"MyMessage\\",\\n \\"MessageTime\\": 1740019609,\\n \\"MessageType\\": \\"SUB_PROTECTION_POLICY_MODIFIED\\",\\n \\"MessageLevel\\": \\"WARNING\\",\\n \\"MessageSourceType\\": \\"PROTECTION_POLICY\\",\\n \\"MessageSourceId\\": \\"p-123***7890\\",\\n \\"MessageSourceRegionId\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"NextToken\\": \\"eKDyCM0zFQ5op7jVMWmNNA==\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 42\\n }\\n}","type":"json"}]', 'title' => '批量查询消息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMessages'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListMessages', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListProtectionPolicies' => [ 'summary' => '获取保护策略列表。', 'path' => '/api/v1/protection-policies', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], ], 'parameters' => [ [ 'name' => 'ProtectionPolicyRegionId', 'in' => 'query', 'schema' => ['title' => '保护策略地域ID', 'description' => '保护策略地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['title' => '最大返回结果数', 'description' => '最大返回结果数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['title' => '分页游标', 'description' => '分页游标', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'ProtectionPolicyId', 'in' => 'query', 'schema' => ['description' => '保护策略ID', 'type' => 'string', 'required' => false, 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求唯一标识', 'description' => '请求唯一标识', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '响应内容', 'description' => '响应内容', 'type' => 'array', 'items' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'object', 'properties' => [ 'ProtectionPolicyRegionId' => ['title' => '保护策略地域ID', 'description' => '保护策略地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProtectionPolicyId' => ['title' => '保护策略ID', 'description' => '保护策略ID', 'type' => 'string', 'example' => 'p-123***7890'], 'ProtectionPolicyName' => ['title' => '保护策略名', 'description' => '保护策略名', 'type' => 'string', 'example' => 'MyProtectionPolicy'], 'BoundResourceCategoryIds' => [ 'title' => '绑定的资源分类ID', 'description' => '绑定的资源分类ID', 'type' => 'array', 'items' => ['description' => '关联的资源分类ID列表', 'type' => 'string', 'example' => 'rc-123***7890'], ], 'SubProtectionPolicies' => [ 'title' => '子保护策略', 'description' => '子保护策略', 'type' => 'array', 'items' => [ 'description' => '子保护策略', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['title' => '子保护策略类型', 'description' => '子保护策略类型', 'type' => 'string', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['title' => '子保护策略配置', 'description' => '子保护策略配置', 'type' => 'string', 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], ], ], 'LatestApplyTime' => ['title' => '最近一次应用时间', 'description' => '最近一次应用时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1742167218'], 'LatestTaskId' => ['title' => '最近应用策略的任务ID', 'description' => '最近应用策略的任务ID', 'type' => 'string', 'example' => 't-123***7890'], 'LatestApplySummary' => [ 'description' => '最近一次应用结果总结', 'type' => 'object', 'properties' => [ 'CompleteTime' => ['description' => '任务完成时间。Unix时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1742167218'], 'ResourceCount' => [ 'description' => '各类型资源数量', 'type' => 'array', 'items' => [ 'description' => '各类型资源数量', 'type' => 'object', 'properties' => [ 'ResourceType' => ['description' => '资源类型', 'type' => 'string', 'example' => 'ACS::OTS::Instance'], 'Count' => ['description' => '各类型资源数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], 'ApplyStatusCount' => [ 'description' => '应用状态统计计数', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ApplyStatus' => ['description' => '应用状态', 'type' => 'string', 'example' => 'FAILED'], 'Count' => ['description' => '各类型资源数量', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], ], ], ], ], ], ], ], ], 'NextToken' => ['title' => '分页游标', 'description' => '分页游标', 'type' => 'string', 'example' => 'CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY='], 'MaxResults' => ['title' => '请求的最大结果数', 'description' => '请求的最大结果数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '结果总数', 'description' => '结果总数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5\\",\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ProtectionPolicyRegionId\\": \\"cn-hangzhou\\",\\n \\"ProtectionPolicyId\\": \\"p-123***7890\\",\\n \\"ProtectionPolicyName\\": \\"MyProtectionPolicy\\",\\n \\"BoundResourceCategoryIds\\": [\\n \\"rc-123***7890\\"\\n ],\\n \\"SubProtectionPolicies\\": [\\n {\\n \\"SubProtectionPolicyType\\": \\"ECS_AUTO_SNAPSHOT_POLICY\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"autoSnapshotPolicyId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sp-123***7890\\\\\\\\\\\\\\"}\\"\\n }\\n ],\\n \\"LatestApplyTime\\": 1742167218,\\n \\"LatestTaskId\\": \\"t-123***7890\\",\\n \\"LatestApplySummary\\": {\\n \\"CompleteTime\\": 1742167218,\\n \\"ResourceCount\\": [\\n {\\n \\"ResourceType\\": \\"ACS::OTS::Instance\\",\\n \\"Count\\": 1\\n }\\n ],\\n \\"ApplyStatusCount\\": [\\n {\\n \\"ApplyStatus\\": \\"FAILED\\",\\n \\"Count\\": 3\\n }\\n ]\\n }\\n }\\n ],\\n \\"NextToken\\": \\"CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 5\\n }\\n}","type":"json"}]', 'title' => '获取保护策略列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProtectionPolicies'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListProtectionPolicyApplications' => [ 'summary' => '获取保护策略应用历史。', 'path' => '/api/v1/protection-policies/{ProtectionPolicyId}/list-applications', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ProtectionPolicyId', 'in' => 'path', 'schema' => ['description' => '保护策略ID', 'type' => 'string', 'required' => true, 'example' => 'p-123****890'], ], [ 'name' => 'SubProtectionPolicyType', 'in' => 'query', 'schema' => ['description' => '子保护策略类型', 'type' => 'string', 'required' => false, 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => '任务ID。您可以调用DescribeTasks查看任务ID。', 'type' => 'string', 'required' => true, 'example' => 't-0004d9ctt1ii********'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '分页游标,如果有下一页,则该字段有返回值。说明 该参数只要返回数据,则说明还有下一页。您可以将返回的NextToken作为请求参数再次获得下一页的数据,直到返回为Null,表示获取到了所有的数据。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'ApplyStatus', 'in' => 'query', 'schema' => [ 'description' => '应用状态', 'type' => 'string', 'required' => false, 'example' => 'FAILED', 'enum' => ['SKIPPED', 'SUCCESS', 'FAILED'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求唯一标识', 'description' => '请求唯一标识', 'type' => 'string', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], 'Data' => [ 'title' => '响应数据', 'description' => '响应数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '响应内容', 'description' => '响应内容', 'type' => 'array', 'items' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'object', 'properties' => [ 'ProtectionPolicyId' => ['title' => '保护策略ID', 'description' => '保护策略ID', 'type' => 'string', 'example' => 'p-123***7890'], 'ResourceArn' => ['title' => '资源ARN', 'description' => '资源ARN', 'type' => 'string', 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'."\n"], 'ResourceId' => ['title' => '资源ID', 'description' => '资源ID', 'type' => 'string', 'example' => 'i-xxxxxxxx'], 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ProductType' => ['title' => '产品类型', 'description' => '产品类型', 'type' => 'string', 'example' => 'ecs'], 'SubProtectionPolicyType' => ['title' => '子保护策略类型', 'description' => '子保护策略类型', 'type' => 'string', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'string', 'example' => 't-0000e4w0u1v592zdf6s7'], 'ApplyTime' => ['title' => '应用策略的时间', 'description' => '应用策略的时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-11-19T02:19:06Z'], 'ApplyStatus' => ['title' => '应用策略的状态', 'description' => '应用策略的状态', 'type' => 'string', 'example' => 'FAILED'], 'ApplyDetail' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '{"errorCode":"HbrPolicyNotFound","errorMessage":"po-123***7890"}'], 'ResourceOwnerId' => ['title' => '资源所属者', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890'], ], ], ], 'NextToken' => ['title' => '分页游标', 'description' => '分页游标', 'type' => 'string', 'example' => 'fb836242f4225fa0f0e0257362dfc6dd'], 'MaxResults' => ['title' => '请求的最大结果数', 'description' => '请求的最大结果数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '结果总数', 'description' => '结果总数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取保护策略应用历史', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProtectionPolicyApplications'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicyApplications', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34081B20-C4C0-514F-93F6-8EEC3D1A587E\\",\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ProtectionPolicyId\\": \\"p-123***7890\\",\\n \\"ResourceArn\\": \\"acs:ecs:123***890:cn-shanghai:instance/i-001***90\\\\n\\",\\n \\"ResourceId\\": \\"i-xxxxxxxx\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"SubProtectionPolicyType\\": \\"ECS_AUTO_SNAPSHOT_POLICY\\",\\n \\"TaskId\\": \\"t-0000e4w0u1v592zdf6s7\\",\\n \\"ApplyTime\\": 0,\\n \\"ApplyStatus\\": \\"FAILED\\",\\n \\"ApplyDetail\\": \\"{\\\\\\"errorCode\\\\\\":\\\\\\"HbrPolicyNotFound\\\\\\",\\\\\\"errorMessage\\\\\\":\\\\\\"po-123***7890\\\\\\"}\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"fb836242f4225fa0f0e0257362dfc6dd\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 5\\n }\\n}","type":"json"}]', ], 'ListResourceCategories' => [ 'summary' => '获取资源分类列表。', 'path' => '/api/v1/resource-categories/list', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253833', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '分页游标,如果有下一页,则该字段有返回值。说明 该参数只要返回数据,则说明还有下一页。您可以将返回的NextToken作为请求参数再次获得下一页的数据,直到返回为Null,表示获取到了所有的数据。', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse>', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => '本次请求所返回的记录集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '资源分类id,全局唯一', 'description' => '资源分类id,全局唯一', 'type' => 'string', 'example' => 'rc-123***7890'], 'ResourceCategoryName' => ['title' => '资源名,namespace内唯一', 'description' => '资源名,namespace内唯一', 'type' => 'string', 'example' => 'My***ResourceCategory'], 'ResourceCategoryType' => ['title' => '资源分类类型 (DEFAULT: 默认分组,由系统创建,禁止删除, CUSTOM: 自定义分组,允许删除)', 'description' => '资源分类类型 (DEFAULT: 默认分组,由系统创建,禁止删除, CUSTOM: 自定义分组,允许删除)', 'type' => 'string', 'example' => 'CUSTOM'], 'ProductType' => ['title' => '适用的产品类型,为空时匹配全部产品', 'description' => '适用的产品类型,为空时匹配全部产品', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '适用的资源类型,为空时匹配全部资源', 'description' => '适用的资源类型,为空时匹配全部资源', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceMatcher' => ['title' => '资源匹配器,为空时不匹配任何资源', 'description' => '资源匹配器,为空时不匹配任何资源', 'type' => 'string', 'example' => '{\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}'], 'ResourceCount' => [ 'title' => '各类型资源数量', 'description' => '各类型资源数量', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Count' => ['title' => '各类型资源数量', 'description' => '各类型资源数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], ], ], ], 'NextToken' => ['title' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'type' => 'string', 'example' => 'eKDyCM0zFQ5op7jVMWmNNA=='], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数', 'description' => '本次请求所返回的最大记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Content\\": [\\n {\\n \\"ResourceCategoryId\\": \\"rc-123***7890\\",\\n \\"ResourceCategoryName\\": \\"My***ResourceCategory\\",\\n \\"ResourceCategoryType\\": \\"CUSTOM\\",\\n \\"ProductType\\": \\"ecs\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceMatcher\\": \\"{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOL\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"createdBy\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"EQUAL\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"me\\\\\\\\\\\\\\"]}]}\\",\\n \\"ResourceCount\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"eKDyCM0zFQ5op7jVMWmNNA==\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 5\\n },\\n \\"RequestId\\": \\"AE43C4CB-8074-5EBD-9806-8CA6D12800B1\\"\\n}","type":"json"}]', 'title' => '获取资源分类列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceCategories'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListResourceCategories', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'OpenBdrcService' => [ 'path' => '/api/v1/service/open', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '195926', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ', 'FEATUREbdrcMI318X', 'FEATUREbdrcP3I6FA', 'FEATUREbdrcB81P41', 'FEATUREbdrcOFBTHH'], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => '开启数据灾备中心', 'summary' => '开启数据灾备中心。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenBdrcService'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:OpenBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'UpdateProtectionPolicy' => [ 'summary' => '更新保护策略。', 'path' => '/api/v1/protection-policies/{ProtectionPolicyId}', 'methods' => ['patch'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREbdrc1FYCXZ'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。说明 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。', 'type' => 'string', 'required' => false, 'example' => 'a1b2c3d4-****-****-****-a1b2c3d4f5e6'], ], [ 'name' => 'ProtectionPolicyId', 'in' => 'path', 'schema' => ['description' => '保护策略ID', 'type' => 'string', 'required' => true, 'example' => 'p-123***7890'], ], [ 'name' => 'ProtectionPolicyName', 'in' => 'formData', 'schema' => ['description' => '保护策略名', 'type' => 'string', 'required' => false, 'example' => 'My***Policy'], ], [ 'name' => 'BoundResourceCategoryIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '关联的资源分类ID列表', 'type' => 'array', 'items' => ['description' => '关联的资源分类ID', 'type' => 'string', 'required' => false, 'example' => 'rc-123***7890'], 'required' => false, ], ], [ 'name' => 'SubProtectionPolicies', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '启用的子保护策略列表', 'type' => 'array', 'items' => [ 'description' => '子保护策略', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => '子保护策略类型', 'type' => 'string', 'required' => false, 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => '子保护策略配置', 'type' => 'string', 'required' => false, 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], 'required' => false, ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应结构体', 'description' => '响应结构体', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => '更新保护策略', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProtectionPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'bdrc:UpdateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'UpdateResourceCategory' => [ 'summary' => '更新资源分类。', 'path' => '/api/v1/resource-categories/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['multipart/form-data'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253832', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceCategoryId', 'in' => 'formData', 'schema' => ['description' => '资源分类ID', 'type' => 'string', 'required' => true, 'example' => 'rc-123****7890'], ], [ 'name' => 'ResourceCategoryName', 'in' => 'formData', 'schema' => ['description' => '资源分类名', 'type' => 'string', 'required' => false, 'example' => 'My***ResourceCategory'], ], [ 'name' => 'ResourceMatcher', 'in' => 'formData', 'schema' => ['description' => '资源匹配器', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "type": "BOOL",'."\n" .' "operator": "AND",'."\n" .' "values": ['."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "EQUAL",'."\n" .' "key": "key0",'."\n" .' "values": ['."\n" .' "value0"'."\n" .' ]'."\n" .' },'."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "KEY_EXIST",'."\n" .' "key": "key1"'."\n" .' },'."\n" .' {'."\n" .' "type": "TAG",'."\n" .' "operator": "KEY_EXIST_NOT_EQUAL",'."\n" .' "key": "key2",'."\n" .' "values": ['."\n" .' "value2-wrong"'."\n" .' ]'."\n" .' }'."\n" .' ]'."\n" .' }'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '700683DE-0154-56D4-8D76-3B7A2C2C7DF9'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"700683DE-0154-56D4-8D76-3B7A2C2C7DF9\\"\\n}","type":"json"}]', 'title' => '更新资源分类', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceCategory'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'UpdateResources' => [ 'path' => '/api/v1/resources/update', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '195928', 'abilityTreeNodes' => ['FEATUREbdrcVNSW9V', 'FEATUREbdrcTWEWJD', 'FEATUREbdrcI7HVLO', 'FEATUREbdrc2PRSPG', 'FEATUREbdrcKTIN7W'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ 'title' => '资源类型,不填代表更新所有类型', 'description' => '资源类型,不填代表更新所有类型', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'enum' => [], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'TaskId' => ['title' => '异步任务的唯一标识', 'description' => '异步任务的唯一标识', 'type' => 'string', 'example' => 't-bp1ewftyzmeg3bl4dtd2'], ], ], 'RequestId' => ['title' => '请求的唯一标识', 'description' => '请求的唯一标识', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], ], ], ], ], 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'BDRC::2023-08-08::DescribeTask', 'callbackInterval' => 5000, 'maxCallbackTimes' => 100], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TaskId\\": \\"t-bp1ewftyzmeg3bl4dtd2\\"\\n },\\n \\"RequestId\\": \\"5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5\\"\\n}","type":"json"}]', 'title' => '更新资源列表', 'summary' => '更新资源列表。调用该接口后,将会触发一个异步任务来更新您的资源列表和数据保护评分。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResources'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'bdrc.cn-shanghai.aliyuncs.com', 'endpoint' => 'bdrc.cn-shanghai.aliyuncs.com', 'vpc' => 'bdrc-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'bdrc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'bdrc.ap-southeast-1.aliyuncs.com', 'vpc' => 'bdrc-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'bdrc.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'bdrc.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'bdrc-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'AutoSnapshotPolicyNotFound', 'message' => 'The auto snapshot policy is not found.', 'http_code' => 404, 'description' => '未找到云盘自动快照策略'], ['code' => 'BadRequest.Endpoint.NotSupported', 'message' => 'The endpoint is incorrect, please use correct endpoint.', 'http_code' => 400, 'description' => '您访问的域名不正确,请使用正确的域名访问服务。'], ['code' => 'BadRequest.InvalidRegionId', 'message' => 'Invalid Region ID.', 'http_code' => 400, 'description' => '无效的地域ID'], ['code' => 'BadRequest_InvalidRegionId', 'message' => 'Invalid region ID.', 'http_code' => 400, 'description' => '无效的地域ID'], ['code' => 'CannotAccessResourceDirectoryService', 'message' => 'Cannot access resource directory service.', 'http_code' => 500, 'description' => '无法访问资源目录服务,请提交工单。'], ['code' => 'CannotDeleteDefaultResourceCategory', 'message' => 'Cannot delete default resource category.', 'http_code' => 403, 'description' => '不能删除默认资源分类'], ['code' => 'CannotUpdateDefaultResourceCategoryName', 'message' => 'Cannot update default resource category name.', 'http_code' => 403, 'description' => '不能更新默认资源分类的名字'], ['code' => 'CreateBdrcSlrFailed.NoPermission', 'message' => 'No permission to create Service Linked Role. Service Name: bdrc.aliyuncs.com, Role Name: AliyunServiceRoleForBDRC, Action: ram:ServiceLinkedRole.', 'http_code' => 403, 'description' => '没有权限创建服务关联角色,请联系主账号或RAM管理员授权。'."\n" .'服务名称: bdrc.aliyuncs.com'."\n" .'角色名称: AliyunServiceRoleForBDRC'."\n" .'操作: ram:ServiceLinkedRole.'], ['code' => 'CreateTaskFailed.PreviousTaskNotFinished', 'message' => 'Failed to create task because previous task has not finished yet. Please try again later.', 'http_code' => 400, 'description' => '创建任务失败,有其他检查任务正在运行,请稍后重试。'], ['code' => 'CrossAccountManagementConflict', 'message' => 'Cross account management conflicts.', 'http_code' => 400, 'description' => '跨账号纳管冲突。'], ['code' => 'ExceedMaxResourceCategoryCount', 'message' => 'Exceed max resource category count.', 'http_code' => 400, 'description' => '超过了最大的资源分类数量'], ['code' => 'HbrPolicyNotFound', 'message' => 'Cloud Backup policy is not found.', 'http_code' => 404, 'description' => '云备份策略未找到'], ['code' => 'HbrVaultNotFound', 'message' => 'Cloud Backup vault is not found.', 'http_code' => 404, 'description' => '云备份存储库未找到'], ['code' => 'InvalidCrossAccount.NotExist', 'message' => 'Cross account not exists.', 'http_code' => 404, 'description' => '跨账号配置不存在'], ['code' => 'InvalidNasRecycleBinReservedDays', 'message' => 'Invalid NAS recycle bin reserved days.', 'http_code' => 400, 'description' => '无效的NAS回收站保留时间'], ['code' => 'InvalidProtectionPolicy.ProtectionPolicyName.Duplicate', 'message' => 'The protection policy name is duplicated.', 'http_code' => 400, 'description' => '保护策略名重复'], ['code' => 'InvalidProtectionPolicy_ProtectionPolicyName_Duplicate', 'message' => 'The protection policy name is duplicated.', 'http_code' => 400, 'description' => '保护策略名重复'], ['code' => 'InvalidRdAccount.NotEnabledRdTrustedService', 'message' => 'Resource directory trusted service is not enabled for account.', 'http_code' => 403, 'description' => '当前账号未开通数据灾备中心作为资源目录可信服务。'], ['code' => 'InvalidRdAccount.NotInResourceDirectory', 'message' => 'Account not exists in the resource directory.', 'http_code' => 400, 'description' => '账号不在指定的资源目录中。'], ['code' => 'InvalidRdAccount.NotRdDelegatedAdministrator', 'message' => 'Account is not resource directory delegated administrator.', 'http_code' => 403, 'description' => '账号不是资源目录的委派管理员。'], ['code' => 'InvalidRdEntityId.IncorrectFormat', 'message' => 'Resource directory entity id is incorrect format.', 'http_code' => 400, 'description' => '资源目录实体ID格式错误'], ['code' => 'InvalidRdFolder.NotInResourceDirectory', 'message' => 'Folder not exists in the resource directory.', 'http_code' => 404, 'description' => '未在资源目录中找到该资源夹'], ['code' => 'InvalidResource.CheckDisabled', 'message' => 'The resource has disabled protection check.', 'http_code' => 400, 'description' => '无效的请求,资源已关闭检测,请打开检测后重试。'], ['code' => 'InvalidResourceCategory.ResourceCategoryName.Duplicate', 'message' => 'The resource category name is duplicated.', 'http_code' => 400, 'description' => '资源分类名重复'], ['code' => 'InvalidResourceCategoryFilter', 'message' => 'The format of resource category filter is invalid.', 'http_code' => 400, 'description' => '资源分类过滤器的格式不正确'], ['code' => 'InvalidResourceCategory_ResourceCategoryName_Duplicate', 'message' => 'The resource category name is duplicated.', 'http_code' => 400, 'description' => '资源分类重复命名'], ['code' => 'InvalidResourceDirectory', 'message' => 'Resource directory is invalid.', 'http_code' => 404, 'description' => '无效的资源目录,请检查资源目录ID是否正确。'], ['code' => 'InvalidResourceMatcherFormat', 'message' => 'The format of resource matcher is invalid.', 'http_code' => 400, 'description' => '资源匹配器格式不正确'], ['code' => 'InvalidSubProtectionPolicyConfig', 'message' => 'The sub protection policy config is not valid.', 'http_code' => 400, 'description' => '无效的子保护策略配置'], ['code' => 'InvalidSubProtectionPolicyType', 'message' => 'The sub protection policy type is invalid.', 'http_code' => 400, 'description' => '无效的子保护策略类型'], ['code' => 'MessageNotFound', 'message' => 'The message is not found.', 'http_code' => 404, 'description' => '消息未找到'], ['code' => 'NoPermission', 'message' => 'No permissions.', 'http_code' => 403, 'description' => '您没有进行此操作的权限,请联系主账号或RAM管理员为您授权后再操作。'], ['code' => 'ProductNotFound', 'message' => 'The product is not found.', 'http_code' => 404, 'description' => '云产品不存在,请检查输入参数是否正确。'], ['code' => 'ProtectionPolicyApplicationNotFound', 'message' => 'The protection policy application is not found.', 'http_code' => 404, 'description' => '未找到保护策略应用记录'], ['code' => 'ProtectionPolicyBindingNotFound', 'message' => 'The protection policy binding is not found.', 'http_code' => 404, 'description' => '保护策略资源绑定关系未找到'], ['code' => 'ProtectionPolicyCountExceeded', 'message' => 'The protection policy count exceeds the limit.', 'http_code' => 400, 'description' => '保护策略数量超限'], ['code' => 'ProtectionPolicyHasBoundResource', 'message' => 'The protection policy has bound resource.', 'http_code' => 400, 'description' => '保护策略已经与资源绑定'], ['code' => 'ProtectionPolicyHasBoundResourceCategory', 'message' => 'The protection policy has bound resource category.', 'http_code' => 400, 'description' => '保护策略已经与资源分类绑定'], ['code' => 'ProtectionPolicyNotFound', 'message' => 'The protection policy is not found.', 'http_code' => 404, 'description' => '未找到此保护策略'], ['code' => 'ResourceCategoryNotFound', 'message' => 'The resource category is not found.', 'http_code' => 404, 'description' => '未找到该资源分类'], ['code' => 'ResourceCenter.NotReady', 'message' => 'Resource center is not ready.', 'http_code' => 400, 'description' => '资源中心未就绪,请检查资源中心的是否开通以及资源是否加载完毕。'], ['code' => 'ResourceNotFound', 'message' => 'The resource is not found.', 'http_code' => 404, 'description' => '资源不存在,请修改参数后重试。'], ['code' => 'ServiceAlreadyOpened', 'message' => 'The service has already been opened, please do not open it again.', 'http_code' => 400, 'description' => '服务已开通,请不要重复开通。'], ['code' => 'ServiceInitializing', 'message' => 'The service initialization has not completed yet, please try again later.', 'http_code' => 400, 'description' => '服务正在初始化,请稍后再试。'], ['code' => 'ServiceNotOpened', 'message' => 'The service is not opened, please open it first.', 'http_code' => 404, 'description' => '您尚未开通服务,请开通服务后继续使用。'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloseBdrcService'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResources'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResourceCategory'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProtectionPolicy'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeProducts'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTasks'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResources'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableCheckProduct'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateResourceCategory'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableCheckResource'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCategory'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenBdrcService'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProtectionPolicies'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBdrcService'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteResourceCategory'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTask'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceCategories'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTopRiskyResources'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckRules'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableCheckProduct'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProtectionPolicy'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRules'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProtectionPolicy'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCheckDetails'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeProductDataRedundancyTypeStat'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableCheckResource'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMessages'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProtectionPolicyApplications'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProtectionPolicy'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMessage'], ], ], 'ram' => [ 'productCode' => 'BDRC', 'productName' => '数据灾备中心', 'ramCodes' => ['bdrc'], 'ramLevel' => '操作级', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'ListProtectionPolicyApplications', 'description' => '获取保护策略应用历史', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicyApplications', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTasks', 'description' => '查询异步任务列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListResourceCategories', 'description' => '获取资源分类列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListResourceCategories', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProtectionPolicies', 'description' => '获取保护策略列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeRules', 'description' => '查询数据保护评分规则列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeProducts', 'description' => '查询云产品保护评分', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProducts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CloseBdrcService', 'description' => '关闭数据灾备中心', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:CloseBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetBdrcService', 'description' => '查询数据灾备中心状态', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:GetBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableCheckProduct', 'description' => '关闭云产品的数据保护评分', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProtectionPolicy', 'description' => '创建保护策略', 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProtectionPolicy', 'description' => '删除保护策略', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:DeleteProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateResourceCategory', 'description' => '创建资源分类', 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResourceCategory', 'description' => '更新资源分类', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTopRiskyResources', 'description' => '查询风险最高的资源列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTopRiskyResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableCheckResource', 'description' => '关闭资源的数据保护评分', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetResourceCategory', 'description' => '获取单个资源分类', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteResourceCategory', 'description' => '删除资源分类', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DeleteResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateProtectionPolicy', 'description' => '更新保护策略', 'operationType' => 'update', 'ramAction' => [ 'action' => 'bdrc:UpdateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckRules', 'description' => '检查数据保护评分规则', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:CheckRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeProductDataRedundancyTypeStat', 'description' => '查询数据冗余类型统计信息', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProductDataRedundancyTypeStat', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'EnableCheckResource', 'description' => '开启资源的数据保护评分', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeResources', 'description' => '查询资源列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'OpenBdrcService', 'description' => '开启数据灾备中心', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:OpenBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResources', 'description' => '更新资源列表', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeCheckDetails', 'description' => '查询数据保护规则检查结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'bdrc:DescribeCheckDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'EnableCheckProduct', 'description' => '开启云产品的数据保护评分', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetMessage', 'description' => '获取单个消息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetMessage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProtectionPolicy', 'description' => '获取保护策略', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTask', 'description' => '查询异步任务', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListMessages', 'description' => '批量查询消息', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListMessages', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];