'1.0', 'info' => ['style' => 'ROA', 'product' => 'BDRC', 'version' => '2023-08-08'], 'directories' => [ [ 'children' => ['DeleteResourceCategory', 'UpdateResourceCategory', 'ListResourceCategories', 'GetResourceCategory', 'CreateResourceCategory'], 'type' => 'directory', 'title' => 'Resource categorization management', ], [ 'children' => ['ListMessages', 'GetMessage'], 'type' => 'directory', 'title' => 'Message center', ], [ 'children' => ['ListProtectionPolicyApplications', 'UpdateProtectionPolicy', 'ListProtectionPolicies', 'GetProtectionPolicy', 'DeleteProtectionPolicy', 'CreateProtectionPolicy'], 'type' => 'directory', 'title' => 'Protection policy center', ], [ 'children' => ['UpdateResources', 'EnableCheckResource', 'EnableCheckProduct', 'DisableCheckResource', 'DisableCheckProduct', 'CheckRules', 'DescribeRules', 'DescribeCheckDetails', 'DescribeResources', 'DescribeProducts', 'DescribeTopRiskyResources', 'DescribeProductDataRedundancyTypeStat'], 'type' => 'directory', 'title' => 'Resource center', ], [ 'children' => ['CloseBdrcService', 'DescribeTask', 'DescribeTasks', 'GetBdrcService', 'OpenBdrcService'], 'title' => 'Others', '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' => 'The unique identifier of the resource.', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], [ 'name' => 'RuleId', 'in' => 'formData', 'schema' => ['title' => '', 'description' => 'The ID of the rule to update. If you do not specify this parameter, all rules are updated.', 'type' => 'string', 'required' => false, 'example' => 'rule-000***dav'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'BaseResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'TaskId' => ['title' => '', 'description' => 'The unique ID of the asynchronous task.', 'type' => 'string', 'example' => 't-0000e4w0u1v592zdf6s7'], ], 'title' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', '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' => 'CheckRules', 'summary' => 'Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.', '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' => 'All Resource', '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' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => '663D8898-E0B5-5964-BF28-A191CE6A1825'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"663D8898-E0B5-5964-BF28-A191CE6A1825\\"\\n}","type":"json"}]', 'title' => 'CloseBdrcService', 'summary' => 'Shuts down the Backup and Disaster Recovery Center.', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateProtectionPolicy' => [ 'summary' => 'Creates a protection policy.', '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' => 'The client token used to ensure the idempotence of the request.'."\n" ."\n" .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n" ."\n" .'> If you do not specify this parameter, the system automatically uses the **RequestId** as the **ClientToken**. The **RequestId** may be different for each API request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'a1b2c3d4-****-****-****-a1b2c3d4f5e6'], ], [ 'name' => 'ProtectionPolicyRegionId', 'in' => 'formData', 'schema' => ['description' => 'The region ID of the protection policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ProtectionPolicyName', 'in' => 'formData', 'schema' => ['description' => 'The name of the protection policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'My***Policy'], ], [ 'name' => 'BoundResourceCategoryIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The IDs of associated resource categories.', 'type' => 'array', 'items' => ['description' => 'The ID of an associated resource category.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rc-123**7890'], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'SubProtectionPolicies', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The sub-protection policies.', 'type' => 'array', 'items' => [ 'description' => 'A sub-protection policy.', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => 'The type of the sub-protection policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => 'The configuration of the sub-protection policy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{\'PlaybookUuid\': \'2093d1ea-0651-48a6-bea2-fa7157285dc1\', \'ParamType\': \'custom\', \'InputParams\': \'\'}'], ], 'required' => true, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'ProtectionPolicyId' => ['title' => '', 'description' => 'The ID of the protection policy.', 'type' => 'string', 'example' => 'p-123***7890'], ], 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], ], 'example' => '', ], ], ], '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' => 'CreateProtectionPolicy', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateResourceCategory' => [ 'summary' => 'Creates a resource category.', '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' => [ 'type' => 'string', 'required' => false, 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], 'description' => 'Resource type.', 'title' => '', 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'ResourceCategoryName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'Resource category name.', 'title' => '', 'example' => 'My***ResourceCategory'], ], [ 'name' => 'ResourceMatcher', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'description' => 'Resource matcher.', 'title' => '', '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' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '', 'description' => 'Resource category ID.', 'type' => 'string', 'example' => 'rc-123****7890'], ], 'description' => 'The returned data.', 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => 'AF95C627-D725-5656-B128-B9BCCAF89025'], ], 'example' => '', ], ], ], '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' => 'CreateResourceCategory', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteProtectionPolicy' => [ 'summary' => 'Deletes a protection policy.', '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' => 'Protection policy ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5\\"\\n}","type":"json"}]', 'title' => 'DeleteProtectionPolicy', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteResourceCategory' => [ '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' => ['type' => 'string', 'required' => true, 'description' => 'Resource category ID', 'title' => '', 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => '8724BC18-904D-5A0D-BFF4-F0554F0037E7'], ], ], ], ], 'title' => 'DeleteResourceCategory', 'summary' => 'Deletes a resource category.', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8724BC18-904D-5A0D-BFF4-F0554F0037E7\\"\\n}","type":"json"}]', ], 'DescribeCheckDetails' => [ 'summary' => 'Retrieves the check results for data protection rules.', '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' => 'The unique identifier of the resource.', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The unique ID of the data protection rule.', 'type' => 'string', 'example' => 'rule-000***dav', 'required' => false, 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this parameter to the value of NextToken that is returned from the last API call. For more information about how to set this parameter, see the API description.', 'type' => 'string', 'example' => 'cae**********699', 'required' => false, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return on each page. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'required' => false, 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'The collection of records returned by this request.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['description' => 'The globally unique Alibaba Cloud Resource Name (ARN) of the resource.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'."\n"], 'RuleId' => ['description' => 'The unique ID of the rule.', 'type' => 'string', 'title' => '', 'example' => 'rule-xxxxxxxx'], 'ProductType' => ['description' => 'The type of the cloud service.', 'type' => 'string', 'title' => '', 'example' => 'ecs'], 'ResourceType' => ['description' => 'The type of the resource.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], 'ResourceId' => ['description' => 'The unique ID of the resource.', 'type' => 'string', 'title' => '', 'example' => 'i-xxxxxxxx'], 'ResourceName' => ['description' => 'The name of the resource.', 'type' => 'string', 'title' => '', 'example' => 'test server'], 'RuleTemplate' => ['description' => 'The rule template.', 'type' => 'string', 'title' => '', 'example' => 'ecs-backup'], 'CheckStatus' => ['description' => 'The check status. Valid values: NOT\\_CHECKED, PASSED, FAILED, CHECKING, and CHECK\\_FAILED.', 'type' => 'string', 'title' => '', 'example' => 'PASSED'], 'CheckTime' => ['description' => 'The time when the check was performed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1701725715'], 'Detail' => ['description' => 'The check details.', 'type' => 'string', 'title' => '', 'example' => '{"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]}'], 'ResourceOwnerId' => ['description' => 'The ID of the resource owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, it indicates that all data has been retrieved.', 'type' => 'string', 'title' => '', 'example' => 'CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY='], 'MaxResults' => ['description' => 'The maximum number of entries returned in this response.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of entries that meet the query conditions. This parameter is optional and is not returned by default.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'title' => '', 'example' => '92793A50-0B97-59F1-BAEA-EAED83BA1998'], ], 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeCheckDetails', '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' => 'All Resource', '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' => 'Queries statistics on data redundancy types for a cloud service.', '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' => [ 'description' => 'The type of the cloud service.', 'type' => 'string', 'required' => true, 'example' => 'oss', 'enum' => [], 'title' => '', ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => 'The resource category ID.', 'type' => 'string', 'example' => 'rc-000***123', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => '', 'description' => ''], 'title' => '', 'description' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'type' => 'object', 'properties' => [ 'Content' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'StorageClass' => ['description' => 'The storage class.', 'type' => 'string', 'title' => '', 'example' => 'STANDARD'], 'DataRedundancyType' => ['description' => 'The data redundancy type.', 'type' => 'string', 'title' => '', 'example' => 'LRS'], 'ResourceCount' => ['description' => 'The resource count.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], 'description' => '', 'title' => '', 'example' => '', ], 'description' => 'The list of records returned by the request.', 'title' => '', 'example' => '', ], ], 'description' => 'The response data.', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'title' => '', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], ], 'example' => '', ], ], ], 'title' => 'DescribeProductDataRedundancyTypeStat', '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' => 'All Resource', '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' => 'Queries the data protection score status for cloud products.', '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' => ['description' => 'The resource category ID.', 'type' => 'string', 'example' => 'rc-000***123', 'title' => '', 'required' => false], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The ID of the resource\'s region. If you omit this parameter, the API returns resources from all regions.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => '', 'required' => false], ], [ 'name' => 'ProductType', 'in' => 'query', 'schema' => ['description' => 'The product type of the resource. If you omit this parameter, the API returns resources of all product types. For example, specify `oss` to query resources from Object Storage Service.', 'type' => 'string', 'example' => 'oss', 'title' => '', 'required' => false], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['description' => 'The resource owner ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => '', 'required' => false], 'title' => '', 'description' => 'A list of resource owner IDs for cross-account resource queries. If you omit this parameter, the API returns resources from the current account.', 'required' => false, 'example' => '[123***7890]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'A list of cloud products and their data protection status.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ProductType' => ['description' => 'The cloud product type, such as `ECS` and `OSS`.', 'type' => 'string', 'title' => '', 'example' => 'oss'], 'EnableCheck' => ['description' => 'Indicates whether the data protection score is enabled for the cloud product.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'ProtectionScore' => ['description' => 'The data protection score, ranging from 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '90'], 'ProtectionScoreUpdatedTime' => ['description' => 'The UNIX timestamp of the last data protection score update.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1726036498'], 'TotalResourceCount' => ['description' => 'The total count of resources for the cloud product.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'], 'RiskyResourceCount' => ['description' => 'The count of risky resources.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'CheckFailedResourceCount' => ['description' => 'The count of resources that failed the check.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'DisableCheckResourceCount' => ['description' => 'The count of resources for which the check is disabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'WaitForCheckResourceCount' => ['description' => 'The count of resources pending a check.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'RiskCount' => ['description' => 'The count of risky check items.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'CheckFailedCount' => ['description' => 'The count of failed check items.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'ProtectionScoreDistribution' => [ 'title' => '', 'description' => 'The distribution of resources across different score ranges.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Range' => [ 'title' => '', 'description' => 'The score range.', 'type' => 'object', 'properties' => [ 'From' => ['description' => 'The lower bound of the score range, inclusive.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], 'To' => ['description' => 'The upper bound of the score range, inclusive.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60'], ], 'example' => '', ], 'Count' => ['description' => 'The count of resources within this score range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The token for the next page of results. If this parameter is absent from the response, all results have been retrieved.', 'type' => 'string', 'title' => '', 'example' => 'b4fd3cffcacafd65e3818a0b9b2ff9a2'], 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of entries that match the query. This parameter is not returned by default.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '50'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '30FB202A-1D22-5394-AB02-4477CDFCF51F'], ], 'example' => '', ], ], ], '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' => 'DescribeProducts', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeResources' => [ 'summary' => 'Query resources', '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' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], 'required' => false, 'title' => '', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['description' => 'The resource ID. For example, for an instance, this is the instance ID.', 'type' => 'string', 'example' => 'i-0003***110', 'required' => false, 'title' => ''], ], [ 'name' => 'FailedRuleTemplate', 'in' => 'query', 'schema' => ['description' => 'A filter for rules that failed the scoring.', 'type' => 'string', 'example' => 'rule-000c***yc9', 'required' => false, 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token. The service returns a token if the response is truncated. To retrieve the next page of results, include this token in your next request. If no token is returned, all results have been retrieved.', 'type' => 'string', 'example' => 'cae**********699', 'required' => false, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The page size. Default: 10. Maximum: 100. Values less than 10 are set to 10, and values greater than 100 are set to 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'required' => false, 'title' => ''], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['description' => 'The sort key.', 'type' => 'string', 'example' => 'protectionScore', 'required' => false, 'title' => ''], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => [ 'description' => 'The sort order.', 'enumValueTitles' => ['ASC' => 'ascending order', 'DESC' => 'descending order'], 'type' => 'string', 'example' => 'ASC', 'enum' => ['ASC', 'DESC'], 'title' => '', 'required' => false, ], ], [ 'name' => 'StorageClass', 'in' => 'query', 'schema' => [ 'description' => 'The storage class.', 'type' => 'string', 'example' => 'ARCHIVE', 'enum' => ['STANDARD', 'ARCHIVE', 'IA', 'COLD_ARCHIVE'], 'title' => '', 'required' => false, ], ], [ 'name' => 'DataRedundancyType', 'in' => 'query', 'schema' => [ 'description' => 'The data redundancy type.', 'type' => 'string', 'example' => 'LRS', 'enum' => ['LRS', 'ZRS'], 'title' => '', 'required' => false, ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource category.', 'type' => 'string', 'example' => 'rc-000***123', 'title' => '', 'required' => false], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => ['description' => 'The resource region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => '', 'required' => false], ], [ 'name' => 'ResourceArn', 'in' => 'query', 'schema' => ['description' => 'The Resource ARN.', 'type' => 'string', 'example' => 'acs:ecs:cn-hangzhou:123***7890:instance/i-123***7890', 'title' => '', 'required' => false], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['description' => 'The resource owner ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => '', 'required' => false], 'title' => '', 'description' => 'A list of resource owner IDs. Use this parameter for cross-account scenarios. If you omit this parameter, the service returns data for the current account by default.', 'required' => false, 'example' => '[123***7890]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The response data.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'The list of returned resources.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['description' => 'The unique resource ARN.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx'."\n"], 'ProductType' => ['description' => 'The type of the cloud service.', 'type' => 'string', 'title' => '', 'example' => 'ecs'], 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'."\n"], 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-xxxxxxxx'."\n"], 'ResourceName' => ['description' => 'The name of the resource.', 'type' => 'string', 'title' => '', 'example' => 'test server'], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-i'], 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'title' => '', 'example' => 'vpc-xxxxxxxx'], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => 'vsw-xxxxxxxx'], 'CreateTime' => ['description' => 'The UNIX timestamp that indicates when the resource was created.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1697798340'], 'Status' => ['description' => 'The resource status.', 'type' => 'string', 'title' => '', 'example' => 'Running'], 'TotalDataSize' => ['description' => 'The total amount of data.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'StandardDataSize' => ['description' => 'The amount of data in the Standard storage class.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'IaDataSize' => ['description' => 'The amount of data in the Infrequent Access (IA) storage class.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'ArchiveDataSize' => ['description' => 'The amount of data in the Archive storage class.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'ColdArchiveDataSize' => ['description' => 'The amount of data in the Cold Archive storage class.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'EnableCheck' => ['description' => 'Indicates whether data protection scoring is enabled for the resource.', 'type' => 'boolean', 'title' => '', 'example' => '0'], 'ProtectionScore' => ['description' => 'The data protection score of the resource.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], 'ProtectionScoreUpdatedTime' => ['description' => 'The UNIX timestamp that indicates when the score was last updated.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'RiskCount' => ['description' => 'The number of check items with potential risks.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'CheckFailedCount' => ['description' => 'The number of failed check items.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'StorageClass' => ['description' => 'The storage class of the resource.', 'type' => 'string', 'title' => '', 'example' => 'STANDARD'], 'DataRedundancyType' => ['description' => 'The data redundancy type.', 'type' => 'string', 'title' => '', 'example' => 'LRS'], 'ResourceOwnerId' => ['description' => 'The resource owner ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The pagination token to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => 'fb836242f4225fa0f0e0257362dfc6dd'], 'MaxResults' => ['description' => 'The maximum number of resources to return on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'], 'TotalCount' => ['description' => 'The total number of resources that match the query criteria. This parameter is optional and is not returned by default.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '149'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '700683DE-0154-56D4-8D76-3B7A2C2C7DF9'], ], 'example' => '', ], ], ], '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' => 'DescribeResources', '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' => 'All Resource', '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' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], 'required' => false, 'title' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token to retrieve the next page of results. You can obtain this token from the `NextToken` parameter in the previous response.', 'type' => 'string', 'example' => 'cae**********699', 'required' => false, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: 50. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => 'The resource category ID.', 'type' => 'string', 'example' => 'rc-000***123', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region where the resource resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'description' => '', 'title' => ''], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'The list of returned records.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RuleId' => ['description' => 'The unique ID of the rule.', 'type' => 'string', 'title' => '', 'example' => 'rule-bp11ggd8wr762'], 'ProductType' => ['description' => 'The product type to which the rule applies.', 'type' => 'string', 'title' => '', 'example' => 'ecs'], 'ResourceType' => ['description' => 'The resource type to which the rule applies.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], 'RuleTemplate' => ['description' => 'The rule template.', 'type' => 'string', 'title' => '', 'example' => 'ecs-backup'], 'CheckStatus' => ['description' => 'The check status. Valid values: NOT\\_CHECKED (Not checked), PASSED (Passed), FAILED (Failed), CHECKING (Checking), and CHECK\\_FAILED (Check failed).', 'type' => 'string', 'title' => '', 'example' => 'PASSED'], 'CheckTime' => ['description' => 'The UNIX timestamp that indicates when the check was performed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1704157635'], 'TotalResourceCount' => ['description' => 'The total number of resources that were checked.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'RiskyResourceCount' => ['description' => 'The number of at-risk resources.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'CheckFailedResourceCount' => ['description' => 'The number of resources for which the check failed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => '0975951c75d7b41464c8d08ae17043ca'], 'MaxResults' => ['description' => 'The maximum number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of entries that meet the filter criteria. This parameter is optional and is not returned by default.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '42'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'title' => '', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], 'example' => '', ], ], ], 'title' => 'DescribeRules', 'summary' => 'Lists all data protection rules.', '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' => 'All Resource', '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' => 'Retrieves the details of an asynchronous task.', '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' => 'The ID of the task. You can call the `DescribeTasks` operation to obtain task IDs.', 'type' => 'string', 'required' => true, 'example' => 't-0004d9ctt1ii********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 't-xxxxxxxx', 'title' => ''], 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'test5566', 'title' => ''], 'TaskDescription' => ['description' => 'The task description.', 'type' => 'string', 'example' => ' empty', 'title' => ''], 'TaskType' => ['description' => 'The task type. Valid values: `UPDATE_RESOURCES` (updates resources and their statuses) and `CHECK_RULES`.', 'type' => 'string', 'title' => '', 'example' => 'UPDATE_RESOURCES'], 'TaskPriority' => ['description' => 'The task priority. Valid values: `HIGH` (typically for user-initiated tasks) and `LOW` (typically for background tasks).', 'type' => 'string', 'title' => '', 'example' => 'HIGH'], 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '784076D6-BD6D-5564-9CEA-834EB11F0C62', 'title' => ''], 'TaskDetail' => ['description' => 'The details of the task execution.', 'type' => 'string', 'example' => '{"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}', 'title' => ''], 'ExecutionId' => ['description' => 'The execution ID. This parameter is deprecated and always returns an empty string.', 'type' => 'string', 'example' => ' empty', 'title' => ''], 'Progress' => ['description' => 'The task\'s progress, measured on a scale of 0 to 10,000.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'TaskStatus' => ['description' => 'The status of the task. Valid values: `CREATED` (Created), `RUNNING` (Running), `COMPLETE` (Completed), `FAILED` (Failed), `EXPIRED` (Expired), and `CANCELED` (Canceled).', 'type' => 'string', 'title' => '', 'example' => 'RUNNING'], 'ErrorMessage' => ['description' => 'The error message returned if the task fails.', 'type' => 'string', 'example' => 'too many requests.', 'title' => ''], 'StartTime' => ['description' => 'The start time, formatted as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927', 'title' => ''], 'CompleteTime' => ['description' => 'The completion time, formatted as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927', 'title' => ''], 'ExpireTime' => ['description' => 'The expiration time, formatted as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1719026680', 'title' => ''], 'TaskResult' => ['description' => 'The result of the task.', 'type' => 'string', 'example' => '{"resourceCounts":[{"resourceType":"ACS::OSS::Bucket","count":2},{"resourceType":"ACS::NAS::FileSystem","count":3}]}', 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '14DFF801-A4E3-5136-AAB8-7D246012CD7A'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeTask', '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' => 'All Resource', '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' => [ 'description' => 'Specifies the status of tasks to query. If this parameter is omitted, the API returns tasks in all states. Valid values: `CREATED`, `RUNNING`, `COMPLETE`, `FAILED`, `EXPIRED`, and `CANCELED`.', 'type' => 'string', 'example' => 'RUNNING', 'enum' => ['CREATED', 'RUNNING', 'COMPLETE', 'FAILED'], 'title' => '', 'required' => false, ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'A pagination token. To retrieve the next page of results, set this parameter to the `NextToken` value from the response of the previous API call. For more information, see the API description above.', 'type' => 'string', 'example' => 'cae**********699', 'required' => false, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return per page. The valid range is 10 to 500. If this parameter is omitted or its value is less than 10, a default value of 10 is used. Values greater than 500 are treated as 500.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'required' => false, 'title' => ''], ], [ 'name' => 'TaskType', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'UPDATE_RESOURCES', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'The list of tasks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-0000e4w0u1v592zdf6s7', 'title' => ''], 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => ' empty', 'title' => ''], 'TaskDescription' => ['description' => 'The task description.', 'type' => 'string', 'example' => ' empty', 'title' => ''], 'TaskType' => ['description' => 'The task type. Valid values: `TEST`, `UPDATE_RESOURCES`, and `CHECK_RULES`.', 'type' => 'string', 'title' => '', 'example' => 'UPDATE_RESOURCES'], 'TaskPriority' => ['description' => 'The task priority. Valid values: `HIGH` (high-priority, for user-initiated tasks) and `LOW` (low-priority, for background tasks).', 'type' => 'string', 'title' => '', 'example' => 'HIGH'], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1', 'title' => ''], 'TaskDetail' => ['description' => 'The task details.', 'type' => 'string', 'example' => '{"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}', 'title' => ''], 'ExecutionId' => ['description' => 'The execution ID. This parameter is currently unused and returns an empty string.', 'type' => 'string', 'example' => 'empty', 'title' => ''], 'Progress' => ['description' => 'The progress of the task, ranging from 0 to 10,000.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'TaskStatus' => ['description' => 'The task status. Valid values: `CREATED`, `RUNNING`, `COMPLETE`, `FAILED`, `EXPIRED`, and `CANCELED`.', 'type' => 'string', 'title' => '', 'example' => 'RUNNING'], 'ErrorMessage' => ['description' => 'The error message returned if the task fails.', 'type' => 'string', 'example' => 'device not online', 'title' => ''], 'StartTime' => ['description' => 'The task\'s start time, represented as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927', 'title' => ''], 'CompleteTime' => ['description' => 'The task\'s completion time, represented as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927', 'title' => ''], 'ExpireTime' => ['description' => 'The task\'s expiration time, represented as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724983927', 'title' => ''], 'TaskResult' => ['description' => 'The result of the task.', 'type' => 'string', 'example' => '{"resourceCounts":[{"resourceType":"ACS::OSS::Bucket","count":2},{"resourceType":"ACS::NAS::FileSystem","count":3}]}', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The pagination token used to retrieve the next page of results. If this parameter is empty, no more results are available.', 'type' => 'string', 'title' => '', 'example' => 'f4b8c2504545a3b41af5e75147d17d12e3818a0b9b2ff9a2'], 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of entries matching the request criteria. This parameter is optional and is not returned by default.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'DescribeTasks', 'summary' => 'Retrieves asynchronous tasks.', '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' => 'All Resource', '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' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'enum' => ['ACS::ECS::Instance', 'ACS::OSS::Bucket', 'ACS::NAS::FileSystem', 'ACS::OTS::Instance'], 'required' => false, 'title' => '', ], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource category.', 'type' => 'string', 'example' => 'rc-000***123', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceOwnerIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'description' => '', 'title' => ''], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => 'BaseResponse\\', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The data returned in the response.', 'type' => 'object', 'properties' => [ 'Content' => [ 'description' => 'A list of resource objects.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx'], 'ProductType' => ['description' => 'The product type.', 'type' => 'string', 'title' => '', 'example' => 'ecs'], 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-xxxxxxxx'], 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'test-server'], 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], 'ZoneId' => ['description' => 'The ID of the zone.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-j'], 'VpcId' => ['title' => 'vpc ID', 'description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-xxxxxxxx'], 'VSwitchId' => ['title' => 'vSwitch ID', 'description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-xxxxxxxx'], 'CreateTime' => ['description' => 'The timestamp indicating when the resource was created.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1697798340'], 'Status' => ['description' => 'The status of the resource.', 'type' => 'string', 'title' => '', 'example' => 'Running'], 'TotalDataSize' => ['description' => 'The total data size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'StandardDataSize' => ['description' => 'The size of data in the Standard storage class, in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'IaDataSize' => ['description' => 'The size of data in the Infrequent Access (IA) storage class, in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'ArchiveDataSize' => ['description' => 'The size of data in the Archive storage class, in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'ColdArchiveDataSize' => ['description' => 'The size of data in the Cold Archive storage class, in bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'EnableCheck' => ['description' => 'Indicates whether the data protection score assessment is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'ProtectionScore' => ['description' => 'The data protection score of the resource.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '90'], 'ProtectionScoreUpdatedTime' => ['description' => 'The timestamp when the protection score was last updated.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1726036498'], 'RiskCount' => ['description' => 'The number of identified risks.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'CheckFailedCount' => ['description' => 'The number of checks that failed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], 'StorageClass' => ['description' => 'The storage class of the data. For example, \'Standard\'.', 'type' => 'string', 'title' => '', 'example' => 'STANDARD'], 'DataRedundancyType' => ['description' => 'The data redundancy type. For example, \'LRS\' (locally redundant storage).', 'type' => 'string', 'title' => '', 'example' => 'LRS'], 'ResourceOwnerId' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource.', 'type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If this parameter is not returned, it indicates that all results have been returned.', 'type' => 'string', 'title' => '', 'example' => 'e557bc9a65fe22cb5e2a3b240f06b0de'], 'MaxResults' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of matching entries. This parameter is optional and might not be returned in the response.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], ], 'example' => '', ], ], ], 'title' => 'DescribeTopRiskyResources', 'summary' => 'Lists the most threatened resources.', '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' => 'All Resource', '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' => 'Product type', 'type' => 'string', 'required' => true, 'enum' => ['ecs', 'oss', 'nas', 'ots'], 'example' => 'ecs', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request', 'type' => 'string', 'example' => '89E3CBB7-16F3-52AE-BD32-31A43A2A807F'], ], 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89E3CBB7-16F3-52AE-BD32-31A43A2A807F\\"\\n}","type":"json"}]', 'title' => 'DisableCheckProduct', 'summary' => 'Disables the data protection score for a cloud product.', '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' => 'All Resource', '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' => 'Unique resource identity', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Unique request identity', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => 'DisableCheckResource', 'summary' => 'Disables the data protection score for a resource.', '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' => 'All Resource', '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' => 'The product type.', 'type' => 'string', 'required' => true, 'enum' => ['ecs', 'oss', 'nas', 'ots'], 'example' => 'ecs', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', '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' => 'EnableCheckProduct', 'summary' => 'Enables data protection scoring for a cloud product.', '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' => 'All Resource', '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' => 'Unique resource identity.', 'type' => 'string', 'required' => true, 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResult', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Unique identifier of the request.', 'type' => 'string', 'example' => 'E583A0FF-803C-51C4-9AC9-E029471ACD6A'], ], 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E583A0FF-803C-51C4-9AC9-E029471ACD6A\\"\\n}","type":"json"}]', 'title' => 'EnableCheckResource', 'summary' => 'Enables data protection scoring for a single resource.', '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' => 'All Resource', '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' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The data that is returned if the call is successful.', 'type' => 'object', 'properties' => [ 'ServiceStatus' => [ 'title' => '', 'description' => 'The enabling status of the service.', 'type' => 'string', 'enumValueTitles' => ['CLOSED' => 'closed', 'NOT_OPEN' => 'not enabled', 'OPENED' => 'enabled'], 'example' => 'OPENED', ], 'OpenTime' => ['title' => '', 'description' => 'The time when the service was enabled (UNIX timestamp).', 'type' => 'integer', 'format' => 'int64', 'example' => '1726169608'], 'ProtectionScoreUpdatedTime' => ['title' => '', 'description' => 'The time when the data protection score was updated (UNIX timestamp).', 'type' => 'integer', 'format' => 'int64', 'example' => '1726169608'], 'ServiceInitializeStatus' => [ 'description' => 'The initialization status of the service.', 'type' => 'string', 'enumValueTitles' => ['SUCCESS' => 'initialization successful', 'FAILED' => 'initialization failed', 'INITIALIZING' => 'initializing', 'NOT_INITIALIZED' => 'not initialized'], 'title' => '', 'example' => 'SUCCESS', ], ], 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique identity of the request.', 'type' => 'string', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], ], 'example' => '', ], ], ], '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' => 'GetBdrcService', 'summary' => 'Queries the status of the Backup and Disaster Recovery Center.', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetMessage' => [ 'summary' => 'Retrieves a single message.', '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' => 'Message ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'm-123****890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'MessageId' => ['title' => '', 'description' => 'Message ID.', 'type' => 'string', 'example' => 'm-123***7890'], 'MessageName' => ['title' => '', 'description' => 'Message name.', 'type' => 'string', 'example' => 'MyMessage'], 'MessageType' => ['title' => '', 'description' => 'Message type.', 'type' => 'string', 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], 'MessageTime' => ['title' => '', 'description' => 'Message time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1740019609'], 'MessageLevel' => ['title' => '', 'description' => 'Message level.', 'type' => 'string', 'example' => 'WARNING'], 'MessageSourceType' => ['title' => '', 'description' => 'Message source type.', 'type' => 'string', 'example' => 'PROTECTION_POLICY'], 'MessageSourceId' => ['title' => '', 'description' => 'Message source ID.', 'type' => 'string', 'example' => 'p-123***7890'], 'MessageSourceRegionId' => ['title' => '', 'description' => 'Message source region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'], 'MessageContent' => ['title' => '', 'description' => 'Message content.', 'type' => 'string', 'example' => '{********}'], ], 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '8724BC18-904D-5A0D-BFF4-F0554F0037E7'], ], 'example' => '', ], ], ], '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' => 'GetMessage', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetProtectionPolicy' => [ 'summary' => 'Retrieves a protection policy.', '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' => 'The protection policy ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'Data' => [ 'title' => '', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'ProtectionPolicyRegionId' => ['description' => 'The region ID of the protection policy.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], 'ProtectionPolicyId' => ['description' => 'The protection policy ID.', 'type' => 'string', 'title' => '', 'example' => 'p-123***7890'], 'ProtectionPolicyName' => ['description' => 'The protection policy name.', 'type' => 'string', 'title' => '', 'example' => 'MyProtectionPolicy'], 'BoundResourceCategoryIds' => [ 'description' => 'The list of associated resource category IDs.', 'type' => 'array', 'items' => ['description' => 'The resource category ID.', 'type' => 'string', 'title' => '', 'example' => 'rc-123***7890'], 'title' => '', 'example' => '', ], 'SubProtectionPolicies' => [ 'description' => 'The list of configured sub-protection policies.', 'type' => 'array', 'items' => [ 'description' => 'The list of enabled sub-protection policies.', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => 'The sub-protection policy type.', 'type' => 'string', 'title' => '', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => 'The sub-protection policy configuration.', 'type' => 'string', 'title' => '', 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'LatestApplyTime' => ['description' => 'The time when the policy was last applied.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1742167218'], 'LatestTaskId' => ['title' => '', 'description' => 'The ID of the latest application task.', 'type' => 'string', 'example' => 't-123***7890'], ], 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], 'example' => '', ], ], ], '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' => 'GetProtectionPolicy', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetResourceCategory' => [ 'summary' => 'Retrieves a single resource category.', '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' => ['type' => 'string', 'required' => true, 'description' => 'Resource category ID.', 'title' => '', 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '', 'description' => 'Resource category ID, globally unique.', 'type' => 'string', 'example' => 'rc-123***7890'], 'ResourceCategoryName' => ['title' => '', 'description' => 'Resource name, unique within the namespace.', 'type' => 'string', 'example' => 'My***ResourceCategory'], 'ResourceCategoryType' => ['title' => '', 'description' => 'Resource category type. Valid values:'."\n" ."\n" .'- DEFAULT: default group, created by the system, cannot be deleted.'."\n" ."\n" .'- CUSTOM: custom group, can be deleted.', 'type' => 'string', 'example' => 'CUSTOM'], 'ProductType' => ['title' => '', 'description' => 'Applicable product type. If empty, matches all products.', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '', 'description' => 'Applicable resource type. If empty, matches all resources.', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceMatcher' => ['title' => '', 'description' => 'Resource matcher. If empty, no resources are matched.', 'type' => 'string', 'example' => '{\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}'], 'ResourceCount' => [ 'title' => '', 'description' => 'Number of resources by type.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceType' => ['title' => '', 'description' => 'Resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Count' => ['title' => '', 'description' => 'Number of resources by type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], ], 'description' => 'The returned data.', 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], 'example' => '', ], ], ], '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' => 'GetResourceCategory', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListMessages' => [ 'summary' => 'Queries messages in batches.', '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' => 'The pagination token. If more entries are to be returned on the next page, a pagination token is returned.'."\n" ."\n" .'> If this parameter returns data, it indicates that there are more pages. You can use the returned NextToken as a request parameter to obtain the next page of data until it returns Null, indicating that all data has been obtained.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cae***********99'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of records to return in this request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '100'], ], [ 'name' => 'MessageTimeLaterThan', 'in' => 'query', 'schema' => ['description' => 'Messages with time later than this value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1740019609'], ], [ 'name' => 'MessageTimeEarlierThan', 'in' => 'query', 'schema' => ['description' => 'Messages with time earlier than this value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1740019610'], ], [ 'name' => 'MessageType', 'in' => 'query', 'schema' => ['description' => 'Message type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], ], [ 'name' => 'MessageLevel', 'in' => 'query', 'schema' => ['description' => 'Message level.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'WARNING'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5748C531-80B1-5C31-8421-63A1830B9E48'], 'Data' => [ 'title' => '', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '', 'description' => 'Response parameters.', 'type' => 'array', 'items' => [ 'description' => 'The collection of records returned in this request.', 'type' => 'object', 'properties' => [ 'MessageId' => ['title' => '', 'description' => 'Message ID.', 'type' => 'string', 'example' => 'zgrjap8j-us04-owef-fpmo-kdpr80pbss0k'], 'MessageName' => ['title' => '', 'description' => 'Message name.', 'type' => 'string', 'example' => 'MyMessage'], 'MessageTime' => ['title' => '', 'description' => 'Message time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1740019609'], 'MessageType' => ['title' => '', 'description' => 'Message type.', 'type' => 'string', 'example' => 'SUB_PROTECTION_POLICY_MODIFIED'], 'MessageLevel' => ['title' => '', 'description' => 'Message level.', 'type' => 'string', 'example' => 'WARNING'], 'MessageSourceType' => ['title' => '', 'description' => 'Message source type.', 'type' => 'string', 'example' => 'PROTECTION_POLICY'], 'MessageSourceId' => ['title' => '', 'description' => 'Message source ID.', 'type' => 'string', 'example' => 'p-123***7890'], 'MessageSourceRegionId' => ['title' => '', 'description' => 'Message source region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'], ], 'title' => '', 'example' => '', ], 'example' => '', ], 'NextToken' => ['title' => '', 'description' => 'The pagination token.', 'type' => 'string', 'example' => 'eKDyCM0zFQ5op7jVMWmNNA=='], 'MaxResults' => ['title' => '', 'description' => 'The maximum number of results requested.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '42'], ], 'example' => '', ], ], 'example' => '', ], ], ], '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' => 'ListMessages', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListProtectionPolicies' => [ 'summary' => 'Retrieves a list of protection policies.', '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' => '', 'description' => 'The region ID of the protection policy.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The paging token.', 'type' => 'string', 'required' => false, 'example' => 'cae**********699'], ], [ 'name' => 'ProtectionPolicyId', 'in' => 'query', 'schema' => ['description' => 'The protection policy ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'p-123***7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], 'Data' => [ 'title' => '', 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '', 'description' => 'The response parameters.', 'type' => 'array', 'items' => [ 'description' => 'The collection of records returned by this request.', 'type' => 'object', 'properties' => [ 'ProtectionPolicyRegionId' => ['title' => '', 'description' => 'The region ID of the protection policy.', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProtectionPolicyId' => ['title' => '', 'description' => 'The protection policy ID.', 'type' => 'string', 'example' => 'p-123***7890'], 'ProtectionPolicyName' => ['title' => '', 'description' => 'The protection policy name.', 'type' => 'string', 'example' => 'MyProtectionPolicy'], 'BoundResourceCategoryIds' => [ 'title' => '', 'description' => 'The attached resource category IDs.', 'type' => 'array', 'items' => ['description' => 'The list of associated resource category IDs.', 'type' => 'string', 'title' => '', 'example' => 'rc-123***7890'], ], 'SubProtectionPolicies' => [ 'title' => '', 'description' => 'The sub-protection policies.', 'type' => 'array', 'items' => [ 'description' => 'The sub-protection policy.', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['title' => '', 'description' => 'The sub-protection policy type.', 'type' => 'string', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['title' => '', 'description' => 'The sub-protection policy configuration.', 'type' => 'string', 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], 'title' => '', ], ], 'LatestApplyTime' => ['title' => '', 'description' => 'The time when the policy was last applied.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742167218'], 'LatestTaskId' => ['title' => '', 'description' => 'The task ID of the latest policy application.', 'type' => 'string', 'example' => 't-123***7890'], 'LatestApplySummary' => [ 'description' => 'The summary of the latest application result.', 'type' => 'object', 'properties' => [ 'CompleteTime' => ['description' => 'The time when the task was completed. Unix timestamp format, in seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1742167218'], 'ResourceCount' => [ 'description' => 'The count of resources by type.', 'type' => 'array', 'items' => [ 'description' => 'The count of resources by type.', 'type' => 'object', 'properties' => [ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OTS::Instance'], 'Count' => ['description' => 'The count of resources by type.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], 'title' => '', ], 'title' => '', ], 'ApplyStatusCount' => [ 'description' => 'The count statistics of application status.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ApplyStatus' => ['description' => 'The application status.', 'type' => 'string', 'title' => '', 'example' => 'FAILED'], 'Count' => ['description' => 'The count of resources by type.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '3'], ], 'description' => '', 'title' => '', ], 'title' => '', ], ], 'title' => '', ], ], 'title' => '', ], ], 'NextToken' => ['title' => '', 'description' => 'The paging token.', 'type' => 'string', 'example' => 'CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY='], 'MaxResults' => ['title' => '', 'description' => 'The maximum number of results requested.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.', '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' => 'ListProtectionPolicies', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListProtectionPolicyApplications' => [ 'summary' => 'Retrieves the application history of the protection policy.', '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' => 'The ID of the protection policy.', 'type' => 'string', 'required' => true, 'example' => 'p-123****890', 'title' => ''], ], [ 'name' => 'SubProtectionPolicyType', 'in' => 'query', 'schema' => ['description' => 'The sub-protection policy type.', 'type' => 'string', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY', 'required' => false, 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => 'The task ID. You can call the DescribeTasks operation to query task IDs.', 'type' => 'string', 'required' => true, 'example' => 't-0004d9ctt1ii********', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token. The response returns a `NextToken` value only when more results are available. To retrieve the next page, include the `NextToken` from the previous response in your request. If the response does not include a `NextToken` value, all results have been retrieved.', 'type' => 'string', 'required' => false, 'example' => 'cae**********699', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of results to return in a single page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'required' => false, 'title' => ''], ], [ 'name' => 'ApplyStatus', 'in' => 'query', 'schema' => [ 'description' => 'The application status.', 'type' => 'string', 'example' => 'FAILED', 'enum' => ['SKIPPED', 'SUCCESS', 'FAILED'], 'required' => false, 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '34081B20-C4C0-514F-93F6-8EEC3D1A587E'], 'Data' => [ 'title' => '', 'description' => 'The response data.', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '', 'description' => 'The response content.', 'type' => 'array', 'items' => [ 'description' => 'A policy application record.', 'type' => 'object', 'properties' => [ 'ProtectionPolicyId' => ['description' => 'The protection policy ID.', 'type' => 'string', 'title' => '', 'example' => 'p-123***7890'], 'ResourceArn' => ['description' => 'The resource ARN.', 'type' => 'string', 'title' => '', 'example' => 'acs:ecs:123***890:cn-shanghai:instance/i-001***90'."\n"], 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-xxxxxxxx'], 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], 'ProductType' => ['description' => 'The product type.', 'type' => 'string', 'title' => '', 'example' => 'ecs'], 'SubProtectionPolicyType' => ['description' => 'The sub-protection policy type.', 'type' => 'string', 'title' => '', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 't-0000e4w0u1v592zdf6s7'], 'ApplyTime' => ['description' => 'The time the policy was applied.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2024-11-19T02:19:06Z'], 'ApplyStatus' => ['description' => 'The policy application status.', 'type' => 'string', 'title' => '', 'example' => 'FAILED'], 'ApplyDetail' => ['description' => 'The error details, returned when the application fails.', 'type' => 'string', 'title' => '', 'example' => '{"errorCode":"HbrPolicyNotFound","errorMessage":"po-123***7890"}'], 'ResourceOwnerId' => ['type' => 'integer', 'format' => 'int64', 'example' => '123***7890', 'description' => '', 'title' => ''], ], 'title' => '', 'example' => '', ], 'example' => '', ], 'NextToken' => ['description' => 'The pagination token for retrieving the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => 'fb836242f4225fa0f0e0257362dfc6dd'], 'MaxResults' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5'], ], 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListProtectionPolicyApplications', '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' => 'All Resource', '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' => 'Retrieves a list of resource categories.', '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' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'description' => 'The maximum number of records to return in this request.', 'title' => '', 'example' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The pagination token. If more entries are to be returned on the next page, a pagination token is returned. Note: If this parameter returns data, it indicates there is a next page. You can use the returned NextToken as a request parameter to obtain the next page of data until it returns Null, indicating all data has been retrieved.', 'title' => '', 'example' => 'cae**********699'], ], [ 'name' => 'ResourceCategoryId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => 'rc-123****7890'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse>', 'description' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'type' => 'object', 'properties' => [ 'Content' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceCategoryId' => ['title' => '', 'description' => 'The resource category ID, which is globally unique.', 'type' => 'string', 'example' => 'rc-123***7890'], 'ResourceCategoryName' => ['title' => '', 'description' => 'The resource name, which is unique within the namespace.', 'type' => 'string', 'example' => 'My***ResourceCategory'], 'ResourceCategoryType' => ['title' => '', 'description' => 'The resource category type. Valid values:'."\n" ."\n" .'- DEFAULT: default group created by the system, cannot be deleted.'."\n" ."\n" .'- CUSTOM: custom group, can be deleted.', 'type' => 'string', 'example' => 'CUSTOM'], 'ProductType' => ['title' => '', 'description' => 'The applicable product type. If this parameter is empty, all products are matched.', 'type' => 'string', 'example' => 'ecs'], 'ResourceType' => ['title' => '', 'description' => 'The applicable resource type. If this parameter is empty, all resources are matched.', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'ResourceMatcher' => ['title' => '', 'description' => 'The resource matcher. If this parameter is empty, no resources are matched.', 'type' => 'string', 'example' => '{\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}'], 'ResourceCount' => [ 'title' => '', 'description' => 'The number of resources of each type.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceType' => ['title' => '', 'description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Count' => ['title' => '', 'description' => 'The number of resources of each type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'description' => 'The collection of records returned in this request.', 'title' => '', 'example' => '', ], 'NextToken' => ['title' => '', 'description' => 'Indicates the position where the current call returns data from. An empty value indicates that all data has been read.', 'type' => 'string', 'example' => 'eKDyCM0zFQ5op7jVMWmNNA=='], 'MaxResults' => ['title' => '', 'description' => 'The maximum number of records returned in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '', 'description' => 'The total number of data entries under the current request conditions. This parameter is optional and can be left unspecified by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], ], 'description' => 'The returned data.', 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => 'AE43C4CB-8074-5EBD-9806-8CA6D12800B1'], ], 'example' => '', ], ], ], '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' => 'ListResourceCategories', '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' => 'All Resource', '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' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => 'OpenBdrcService', 'summary' => 'Enables the Backup and Disaster Recovery Center.', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateProtectionPolicy' => [ 'summary' => 'Updates a protection policy.', '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' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'a1b2c3d4-****-****-****-a1b2c3d4f5e6'], ], [ 'name' => 'ProtectionPolicyId', 'in' => 'path', 'schema' => ['description' => 'The protection policy ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'p-123***7890'], ], [ 'name' => 'ProtectionPolicyName', 'in' => 'formData', 'schema' => ['description' => 'The protection policy name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'My***Policy'], ], [ 'name' => 'BoundResourceCategoryIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The list of associated resource category IDs.', 'type' => 'array', 'items' => ['description' => 'The associated resource category ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rc-123***7890'], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'SubProtectionPolicies', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The list of enabled sub-protection policies.', 'type' => 'array', 'items' => [ 'description' => 'The sub-protection policy.', 'type' => 'object', 'properties' => [ 'SubProtectionPolicyType' => ['description' => 'The sub-protection policy type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ECS_AUTO_SNAPSHOT_POLICY'], 'Config' => ['description' => 'The sub-protection policy configuration.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9\\"\\n}","type":"json"}]', 'title' => 'UpdateProtectionPolicy', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateResourceCategory' => [ 'summary' => 'Updates a resource category.', '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' => ['type' => 'string', 'required' => true, 'description' => 'Resource category ID.', 'title' => '', 'example' => 'rc-123****7890'], ], [ 'name' => 'ResourceCategoryName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'Resource category name.', 'title' => '', 'example' => 'My***ResourceCategory'], ], [ 'name' => 'ResourceMatcher', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'Resource matcher.', 'title' => '', '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' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '700683DE-0154-56D4-8D76-3B7A2C2C7DF9'], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"700683DE-0154-56D4-8D76-3B7A2C2C7DF9\\"\\n}","type":"json"}]', 'title' => 'UpdateResourceCategory', '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' => 'All Resource', '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' => 'The resource type. If this parameter is not specified, all types of resources are updated.', 'type' => 'string', 'required' => false, 'enum' => [], 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'BaseResponse', 'description' => '', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'TaskId' => ['title' => '', 'description' => 'The unique identity of the asynchronous task.', 'type' => 'string', 'example' => 't-bp1ewftyzmeg3bl4dtd2'], ], 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The unique identity of the request.', 'type' => 'string', 'example' => '5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5'], ], 'example' => '', ], ], ], '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' => 'UpdateResources', 'summary' => 'Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.', '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' => 'All Resource', 'arn' => '*'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'bdrc.cn-shanghai.aliyuncs.com', 'endpoint' => 'bdrc.cn-shanghai.aliyuncs.com', 'vpc' => 'bdrc-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', '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' => 'Cloud Disk Auto snapshot policy not found'], ['code' => 'BadRequest.Endpoint.NotSupported', 'message' => 'The endpoint is incorrect, please use correct endpoint.', 'http_code' => 400, 'description' => 'The domain name you accessed is incorrect, please use the correct domain name to access the service.'], ['code' => 'BadRequest.InvalidRegionId', 'message' => 'Invalid Region ID.', 'http_code' => 400, 'description' => 'Invalid Region ID.'], ['code' => 'BadRequest_InvalidRegionId', 'message' => 'Invalid region ID.', 'http_code' => 400, 'description' => 'Invalid Region ID'], ['code' => 'CannotAccessResourceDirectoryService', 'message' => 'Cannot access resource directory service.', 'http_code' => 500, 'description' => 'Unable to access Resource Directory service, please submit a ticket.'], ['code' => 'CannotDeleteDefaultResourceCategory', 'message' => 'Cannot delete default resource category.', 'http_code' => 403, 'description' => 'Cannot delete default resource category.'], ['code' => 'CannotUpdateDefaultResourceCategoryName', 'message' => 'Cannot update default resource category name.', 'http_code' => 403, 'description' => 'Cannot update the name of the default resource class'], ['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' => 'You do not have permission to create the service linked role, please contact the main account or RAM administrator for authorization. '."\n" .'Service name: bdrc.aliyuncs.com '."\n" .'Role name: AliyunServiceRoleForBDRC '."\n" .'Operation: 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' => 'Failed to create task. Other check tasks are running. Please try again later.'], ['code' => 'CrossAccountManagementConflict', 'message' => 'Cross account management conflicts.', 'http_code' => 400, 'description' => 'Cross-account management conflicts.'], ['code' => 'ExceedMaxResourceCategoryCount', 'message' => 'Exceed max resource category count.', 'http_code' => 400, 'description' => 'Maximum number of resource classes exceeded'], ['code' => 'HbrPolicyNotFound', 'message' => 'Cloud Backup policy is not found.', 'http_code' => 404, 'description' => 'Cloud Backup Policy not found'], ['code' => 'HbrVaultNotFound', 'message' => 'Cloud Backup vault is not found.', 'http_code' => 404, 'description' => 'Cloud Backup vault is not found.'], ['code' => 'InvalidCrossAccount.NotExist', 'message' => 'Cross account not exists.', 'http_code' => 404, 'description' => 'Cross-account configuration does not exist.'], ['code' => 'InvalidNasRecycleBinReservedDays', 'message' => 'Invalid NAS recycle bin reserved days.', 'http_code' => 400, 'description' => 'Invalid NAS recycle bin reserved days.'], ['code' => 'InvalidProtectionPolicy.ProtectionPolicyName.Duplicate', 'message' => 'The protection policy name is duplicated.', 'http_code' => 400, 'description' => 'The protection policy name is duplicated.'], ['code' => 'InvalidProtectionPolicy_ProtectionPolicyName_Duplicate', 'message' => 'The protection policy name is duplicated.', 'http_code' => 400, 'description' => 'The protection policy name is duplicated.'], ['code' => 'InvalidRdAccount.NotEnabledRdTrustedService', 'message' => 'Resource directory trusted service is not enabled for account.', 'http_code' => 403, 'description' => 'The current account has not activated BDRC as a Resource Directory trusted service.'], ['code' => 'InvalidRdAccount.NotInResourceDirectory', 'message' => 'Account not exists in the resource directory.', 'http_code' => 400, 'description' => 'The account is not in the specified resource directory.'], ['code' => 'InvalidRdAccount.NotRdDelegatedAdministrator', 'message' => 'Account is not resource directory delegated administrator.', 'http_code' => 403, 'description' => 'The account is not a delegated administrator for the resource directory.'], ['code' => 'InvalidRdEntityId.IncorrectFormat', 'message' => 'Resource directory entity id is incorrect format.', 'http_code' => 400, 'description' => 'Resource directory entity ID format error'], ['code' => 'InvalidRdFolder.NotInResourceDirectory', 'message' => 'Folder not exists in the resource directory.', 'http_code' => 404, 'description' => 'The resource folder was not found in the resource directory'], ['code' => 'InvalidResource.CheckDisabled', 'message' => 'The resource has disabled protection check.', 'http_code' => 400, 'description' => 'Invalid request, resource detection has been turned off, please turn on detection and try again.'], ['code' => 'InvalidResourceCategory.ResourceCategoryName.Duplicate', 'message' => 'The resource category name is duplicated.', 'http_code' => 400, 'description' => 'Duplicate resource class name'], ['code' => 'InvalidResourceCategoryFilter', 'message' => 'The format of resource category filter is invalid.', 'http_code' => 400, 'description' => 'The resource classification filter is not in the correct format'], ['code' => 'InvalidResourceCategory_ResourceCategoryName_Duplicate', 'message' => 'The resource category name is duplicated.', 'http_code' => 400, 'description' => 'Resource Classification Duplicate Naming'], ['code' => 'InvalidResourceDirectory', 'message' => 'Resource directory is invalid.', 'http_code' => 404, 'description' => 'Invalid resource directory. Check whether the resource directory ID is correct.'], ['code' => 'InvalidResourceMatcherFormat', 'message' => 'The format of resource matcher is invalid.', 'http_code' => 400, 'description' => 'The format of resource matcher is invalid.'], ['code' => 'InvalidSubProtectionPolicyConfig', 'message' => 'The sub protection policy config is not valid.', 'http_code' => 400, 'description' => 'The sub protection policy config is not valid.'], ['code' => 'InvalidSubProtectionPolicyType', 'message' => 'The sub protection policy type is invalid.', 'http_code' => 400, 'description' => 'The sub protection policy type is invalid.'], ['code' => 'MessageNotFound', 'message' => 'The message is not found.', 'http_code' => 404, 'description' => 'Message not found'], ['code' => 'NoPermission', 'message' => 'No permissions.', 'http_code' => 403, 'description' => 'You do not have permission to perform this operation. Please contact the main account or RAM administrator to authorize the operation.'], ['code' => 'ProductNotFound', 'message' => 'The product is not found.', 'http_code' => 404, 'description' => 'The product does not exist. Please check your input parameters.'], ['code' => 'ProtectionPolicyApplicationNotFound', 'message' => 'The protection policy application is not found.', 'http_code' => 404, 'description' => 'The protection policy application is not found.'], ['code' => 'ProtectionPolicyBindingNotFound', 'message' => 'The protection policy binding is not found.', 'http_code' => 404, 'description' => 'The protection policy binding is not found.'], ['code' => 'ProtectionPolicyCountExceeded', 'message' => 'The protection policy count exceeds the limit.', 'http_code' => 400, 'description' => 'The number of protection policies exceeds the limit.'], ['code' => 'ProtectionPolicyHasBoundResource', 'message' => 'The protection policy has bound resource.', 'http_code' => 400, 'description' => 'The protection policy has bound resource.'], ['code' => 'ProtectionPolicyHasBoundResourceCategory', 'message' => 'The protection policy has bound resource category.', 'http_code' => 400, 'description' => 'The protection policy has bound resource category.'], ['code' => 'ProtectionPolicyNotFound', 'message' => 'The protection policy is not found.', 'http_code' => 404, 'description' => 'The protection policy is not found.'], ['code' => 'ResourceCategoryNotFound', 'message' => 'The resource category is not found.', 'http_code' => 404, 'description' => 'The resource classification was not found'], ['code' => 'ResourceCenter.NotReady', 'message' => 'Resource center is not ready.', 'http_code' => 400, 'description' => 'The resource center is not ready. Check whether the resource center is enabled and whether the resources are loaded.'], ['code' => 'ResourceNotFound', 'message' => 'The resource is not found.', 'http_code' => 404, 'description' => 'The resource does not exist, please modify the parameters and try again.'], ['code' => 'ServiceAlreadyOpened', 'message' => 'The service has already been opened, please do not open it again.', 'http_code' => 400, 'description' => 'The service has already been opened, please do not open it again.'], ['code' => 'ServiceInitializing', 'message' => 'The service initialization has not completed yet, please try again later.', 'http_code' => 400, 'description' => 'The service is initializing, please try again later.'], ['code' => 'ServiceNotOpened', 'message' => 'The service is not opened, please open it first.', 'http_code' => 404, 'description' => 'You have not activated the service. Please activate the service and continue to use it.'], ], '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' => 'Backup and Disaster Recovery Center', 'ramCodes' => ['bdrc'], 'ramLevel' => 'OPERATION', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'ListProtectionPolicyApplications', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicyApplications', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTasks', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListResourceCategories', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListResourceCategories', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProtectionPolicies', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'bdrc:ListProtectionPolicies', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeRules', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeProducts', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProducts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CloseBdrcService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:CloseBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetBdrcService', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:GetBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableCheckProduct', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateProtectionPolicy', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProtectionPolicy', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'bdrc:DeleteProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateResourceCategory', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'bdrc:CreateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResourceCategory', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTopRiskyResources', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTopRiskyResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableCheckResource', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DisableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetResourceCategory', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteResourceCategory', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DeleteResourceCategory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateProtectionPolicy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'bdrc:UpdateProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckRules', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:CheckRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeProductDataRedundancyTypeStat', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeProductDataRedundancyTypeStat', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EnableCheckResource', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeResources', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'OpenBdrcService', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:OpenBdrcService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateResources', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:UpdateResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeCheckDetails', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'bdrc:DescribeCheckDetails', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EnableCheckProduct', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:EnableCheckProduct', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetMessage', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetMessage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProtectionPolicy', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'bdrc:GetProtectionPolicy', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:DescribeTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListMessages', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'bdrc:ListMessages', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'BDRC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];