@alicloud/bdrc20230808 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +355 -1663
- package/dist/client.js +980 -1475
- package/dist/client.js.map +1 -1
- package/dist/models/CheckRulesRequest.d.ts +31 -0
- package/dist/models/CheckRulesRequest.js +60 -0
- package/dist/models/CheckRulesRequest.js.map +1 -0
- package/dist/models/CheckRulesResponse.d.ts +19 -0
- package/dist/models/CheckRulesResponse.js +69 -0
- package/dist/models/CheckRulesResponse.js.map +1 -0
- package/dist/models/CheckRulesResponseBody.d.ts +48 -0
- package/dist/models/CheckRulesResponseBody.js +84 -0
- package/dist/models/CheckRulesResponseBody.js.map +1 -0
- package/dist/models/CloseBdrcServiceResponse.d.ts +19 -0
- package/dist/models/CloseBdrcServiceResponse.js +69 -0
- package/dist/models/CloseBdrcServiceResponse.js.map +1 -0
- package/dist/models/CloseBdrcServiceResponseBody.d.ts +21 -0
- package/dist/models/CloseBdrcServiceResponseBody.js +58 -0
- package/dist/models/CloseBdrcServiceResponseBody.js.map +1 -0
- package/dist/models/CreateProtectionPolicyRequest.d.ts +87 -0
- package/dist/models/CreateProtectionPolicyRequest.js +93 -0
- package/dist/models/CreateProtectionPolicyRequest.js.map +1 -0
- package/dist/models/CreateProtectionPolicyResponse.d.ts +19 -0
- package/dist/models/CreateProtectionPolicyResponse.js +69 -0
- package/dist/models/CreateProtectionPolicyResponse.js.map +1 -0
- package/dist/models/CreateProtectionPolicyResponseBody.d.ts +46 -0
- package/dist/models/CreateProtectionPolicyResponseBody.js +82 -0
- package/dist/models/CreateProtectionPolicyResponseBody.js.map +1 -0
- package/dist/models/CreateProtectionPolicyShrinkRequest.d.ts +57 -0
- package/dist/models/CreateProtectionPolicyShrinkRequest.js +66 -0
- package/dist/models/CreateProtectionPolicyShrinkRequest.js.map +1 -0
- package/dist/models/CreateResourceCategoryRequest.d.ts +70 -0
- package/dist/models/CreateResourceCategoryRequest.js +62 -0
- package/dist/models/CreateResourceCategoryRequest.js.map +1 -0
- package/dist/models/CreateResourceCategoryResponse.d.ts +19 -0
- package/dist/models/CreateResourceCategoryResponse.js +69 -0
- package/dist/models/CreateResourceCategoryResponse.js.map +1 -0
- package/dist/models/CreateResourceCategoryResponseBody.d.ts +46 -0
- package/dist/models/CreateResourceCategoryResponseBody.js +82 -0
- package/dist/models/CreateResourceCategoryResponseBody.js.map +1 -0
- package/dist/models/DeleteProtectionPolicyRequest.d.ts +13 -0
- package/dist/models/DeleteProtectionPolicyRequest.js +54 -0
- package/dist/models/DeleteProtectionPolicyRequest.js.map +1 -0
- package/dist/models/DeleteProtectionPolicyResponse.d.ts +19 -0
- package/dist/models/DeleteProtectionPolicyResponse.js +69 -0
- package/dist/models/DeleteProtectionPolicyResponse.js.map +1 -0
- package/dist/models/DeleteProtectionPolicyResponseBody.d.ts +21 -0
- package/dist/models/DeleteProtectionPolicyResponseBody.js +58 -0
- package/dist/models/DeleteProtectionPolicyResponseBody.js.map +1 -0
- package/dist/models/DeleteResourceCategoryRequest.d.ts +23 -0
- package/dist/models/DeleteResourceCategoryRequest.js +58 -0
- package/dist/models/DeleteResourceCategoryRequest.js.map +1 -0
- package/dist/models/DeleteResourceCategoryResponse.d.ts +19 -0
- package/dist/models/DeleteResourceCategoryResponse.js +69 -0
- package/dist/models/DeleteResourceCategoryResponse.js.map +1 -0
- package/dist/models/DeleteResourceCategoryResponseBody.d.ts +21 -0
- package/dist/models/DeleteResourceCategoryResponseBody.js +58 -0
- package/dist/models/DeleteResourceCategoryResponseBody.js.map +1 -0
- package/dist/models/DescribeCheckDetailsRequest.d.ts +47 -0
- package/dist/models/DescribeCheckDetailsRequest.js +64 -0
- package/dist/models/DescribeCheckDetailsRequest.js.map +1 -0
- package/dist/models/DescribeCheckDetailsResponse.d.ts +19 -0
- package/dist/models/DescribeCheckDetailsResponse.js +69 -0
- package/dist/models/DescribeCheckDetailsResponse.js.map +1 -0
- package/dist/models/DescribeCheckDetailsResponseBody.d.ts +167 -0
- package/dist/models/DescribeCheckDetailsResponseBody.js +130 -0
- package/dist/models/DescribeCheckDetailsResponseBody.js.map +1 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatRequest.d.ts +32 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js +65 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js.map +1 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponse.d.ts +19 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js +69 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js.map +1 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.d.ts +79 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js +108 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js.map +1 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.d.ts +32 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js +62 -0
- package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js.map +1 -0
- package/dist/models/DescribeProductsRequest.d.ts +45 -0
- package/dist/models/DescribeProductsRequest.js +67 -0
- package/dist/models/DescribeProductsRequest.js.map +1 -0
- package/dist/models/DescribeProductsResponse.d.ts +19 -0
- package/dist/models/DescribeProductsResponse.js +69 -0
- package/dist/models/DescribeProductsResponse.js.map +1 -0
- package/dist/models/DescribeProductsResponseBody.d.ts +225 -0
- package/dist/models/DescribeProductsResponseBody.js +180 -0
- package/dist/models/DescribeProductsResponseBody.js.map +1 -0
- package/dist/models/DescribeProductsShrinkRequest.d.ts +45 -0
- package/dist/models/DescribeProductsShrinkRequest.js +64 -0
- package/dist/models/DescribeProductsShrinkRequest.js.map +1 -0
- package/dist/models/DescribeResourcesRequest.d.ts +117 -0
- package/dist/models/DescribeResourcesRequest.js +85 -0
- package/dist/models/DescribeResourcesRequest.js.map +1 -0
- package/dist/models/DescribeResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeResourcesResponse.js +69 -0
- package/dist/models/DescribeResourcesResponse.js.map +1 -0
- package/dist/models/DescribeResourcesResponseBody.d.ts +271 -0
- package/dist/models/DescribeResourcesResponseBody.js +156 -0
- package/dist/models/DescribeResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeResourcesShrinkRequest.d.ts +117 -0
- package/dist/models/DescribeResourcesShrinkRequest.js +82 -0
- package/dist/models/DescribeResourcesShrinkRequest.js.map +1 -0
- package/dist/models/DescribeRulesRequest.d.ts +54 -0
- package/dist/models/DescribeRulesRequest.js +71 -0
- package/dist/models/DescribeRulesRequest.js.map +1 -0
- package/dist/models/DescribeRulesResponse.d.ts +19 -0
- package/dist/models/DescribeRulesResponse.js +69 -0
- package/dist/models/DescribeRulesResponse.js.map +1 -0
- package/dist/models/DescribeRulesResponseBody.d.ts +151 -0
- package/dist/models/DescribeRulesResponseBody.js +126 -0
- package/dist/models/DescribeRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeRulesShrinkRequest.d.ts +54 -0
- package/dist/models/DescribeRulesShrinkRequest.js +68 -0
- package/dist/models/DescribeRulesShrinkRequest.js.map +1 -0
- package/dist/models/DescribeTaskResponse.d.ts +19 -0
- package/dist/models/DescribeTaskResponse.js +69 -0
- package/dist/models/DescribeTaskResponse.js.map +1 -0
- package/dist/models/DescribeTaskResponseBody.d.ts +158 -0
- package/dist/models/DescribeTaskResponseBody.js +110 -0
- package/dist/models/DescribeTaskResponseBody.js.map +1 -0
- package/dist/models/DescribeTasksRequest.d.ts +42 -0
- package/dist/models/DescribeTasksRequest.js +64 -0
- package/dist/models/DescribeTasksRequest.js.map +1 -0
- package/dist/models/DescribeTasksResponse.d.ts +19 -0
- package/dist/models/DescribeTasksResponse.js +69 -0
- package/dist/models/DescribeTasksResponse.js.map +1 -0
- package/dist/models/DescribeTasksResponseBody.d.ts +199 -0
- package/dist/models/DescribeTasksResponseBody.js +138 -0
- package/dist/models/DescribeTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeTopRiskyResourcesRequest.d.ts +30 -0
- package/dist/models/DescribeTopRiskyResourcesRequest.js +65 -0
- package/dist/models/DescribeTopRiskyResourcesRequest.js.map +1 -0
- package/dist/models/DescribeTopRiskyResourcesResponse.d.ts +19 -0
- package/dist/models/DescribeTopRiskyResourcesResponse.js +69 -0
- package/dist/models/DescribeTopRiskyResourcesResponse.js.map +1 -0
- package/dist/models/DescribeTopRiskyResourcesResponseBody.d.ts +271 -0
- package/dist/models/DescribeTopRiskyResourcesResponseBody.js +156 -0
- package/dist/models/DescribeTopRiskyResourcesResponseBody.js.map +1 -0
- package/dist/models/DescribeTopRiskyResourcesShrinkRequest.d.ts +30 -0
- package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js +62 -0
- package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js.map +1 -0
- package/dist/models/DisableCheckProductRequest.d.ts +23 -0
- package/dist/models/DisableCheckProductRequest.js +58 -0
- package/dist/models/DisableCheckProductRequest.js.map +1 -0
- package/dist/models/DisableCheckProductResponse.d.ts +19 -0
- package/dist/models/DisableCheckProductResponse.js +69 -0
- package/dist/models/DisableCheckProductResponse.js.map +1 -0
- package/dist/models/DisableCheckProductResponseBody.d.ts +21 -0
- package/dist/models/DisableCheckProductResponseBody.js +58 -0
- package/dist/models/DisableCheckProductResponseBody.js.map +1 -0
- package/dist/models/DisableCheckResourceRequest.d.ts +23 -0
- package/dist/models/DisableCheckResourceRequest.js +58 -0
- package/dist/models/DisableCheckResourceRequest.js.map +1 -0
- package/dist/models/DisableCheckResourceResponse.d.ts +19 -0
- package/dist/models/DisableCheckResourceResponse.js +69 -0
- package/dist/models/DisableCheckResourceResponse.js.map +1 -0
- package/dist/models/DisableCheckResourceResponseBody.d.ts +21 -0
- package/dist/models/DisableCheckResourceResponseBody.js +58 -0
- package/dist/models/DisableCheckResourceResponseBody.js.map +1 -0
- package/dist/models/EnableCheckProductRequest.d.ts +23 -0
- package/dist/models/EnableCheckProductRequest.js +58 -0
- package/dist/models/EnableCheckProductRequest.js.map +1 -0
- package/dist/models/EnableCheckProductResponse.d.ts +19 -0
- package/dist/models/EnableCheckProductResponse.js +69 -0
- package/dist/models/EnableCheckProductResponse.js.map +1 -0
- package/dist/models/EnableCheckProductResponseBody.d.ts +21 -0
- package/dist/models/EnableCheckProductResponseBody.js +58 -0
- package/dist/models/EnableCheckProductResponseBody.js.map +1 -0
- package/dist/models/EnableCheckResourceRequest.d.ts +23 -0
- package/dist/models/EnableCheckResourceRequest.js +58 -0
- package/dist/models/EnableCheckResourceRequest.js.map +1 -0
- package/dist/models/EnableCheckResourceResponse.d.ts +19 -0
- package/dist/models/EnableCheckResourceResponse.js +69 -0
- package/dist/models/EnableCheckResourceResponse.js.map +1 -0
- package/dist/models/EnableCheckResourceResponseBody.d.ts +21 -0
- package/dist/models/EnableCheckResourceResponseBody.js +58 -0
- package/dist/models/EnableCheckResourceResponseBody.js.map +1 -0
- package/dist/models/GetBdrcServiceResponse.d.ts +19 -0
- package/dist/models/GetBdrcServiceResponse.js +69 -0
- package/dist/models/GetBdrcServiceResponse.js.map +1 -0
- package/dist/models/GetBdrcServiceResponseBody.d.ts +70 -0
- package/dist/models/GetBdrcServiceResponseBody.js +88 -0
- package/dist/models/GetBdrcServiceResponseBody.js.map +1 -0
- package/dist/models/GetMessageRequest.d.ts +13 -0
- package/dist/models/GetMessageRequest.js +54 -0
- package/dist/models/GetMessageRequest.js.map +1 -0
- package/dist/models/GetMessageResponse.d.ts +19 -0
- package/dist/models/GetMessageResponse.js +69 -0
- package/dist/models/GetMessageResponse.js.map +1 -0
- package/dist/models/GetMessageResponseBody.d.ts +110 -0
- package/dist/models/GetMessageResponseBody.js +98 -0
- package/dist/models/GetMessageResponseBody.js.map +1 -0
- package/dist/models/GetProtectionPolicyRequest.d.ts +13 -0
- package/dist/models/GetProtectionPolicyRequest.js +54 -0
- package/dist/models/GetProtectionPolicyRequest.js.map +1 -0
- package/dist/models/GetProtectionPolicyResponse.d.ts +19 -0
- package/dist/models/GetProtectionPolicyResponse.js +69 -0
- package/dist/models/GetProtectionPolicyResponse.js.map +1 -0
- package/dist/models/GetProtectionPolicyResponseBody.d.ts +116 -0
- package/dist/models/GetProtectionPolicyResponseBody.js +121 -0
- package/dist/models/GetProtectionPolicyResponseBody.js.map +1 -0
- package/dist/models/GetResourceCategoryRequest.d.ts +23 -0
- package/dist/models/GetResourceCategoryRequest.js +58 -0
- package/dist/models/GetResourceCategoryRequest.js.map +1 -0
- package/dist/models/GetResourceCategoryResponse.d.ts +19 -0
- package/dist/models/GetResourceCategoryResponse.js +69 -0
- package/dist/models/GetResourceCategoryResponse.js.map +1 -0
- package/dist/models/GetResourceCategoryResponseBody.d.ts +123 -0
- package/dist/models/GetResourceCategoryResponseBody.js +118 -0
- package/dist/models/GetResourceCategoryResponseBody.js.map +1 -0
- package/dist/models/ListMessagesRequest.d.ts +63 -0
- package/dist/models/ListMessagesRequest.js +68 -0
- package/dist/models/ListMessagesRequest.js.map +1 -0
- package/dist/models/ListMessagesResponse.d.ts +19 -0
- package/dist/models/ListMessagesResponse.js +69 -0
- package/dist/models/ListMessagesResponse.js.map +1 -0
- package/dist/models/ListMessagesResponseBody.d.ts +143 -0
- package/dist/models/ListMessagesResponseBody.js +124 -0
- package/dist/models/ListMessagesResponseBody.js.map +1 -0
- package/dist/models/ListProtectionPoliciesRequest.d.ts +45 -0
- package/dist/models/ListProtectionPoliciesRequest.js +64 -0
- package/dist/models/ListProtectionPoliciesRequest.js.map +1 -0
- package/dist/models/ListProtectionPoliciesResponse.d.ts +19 -0
- package/dist/models/ListProtectionPoliciesResponse.js +69 -0
- package/dist/models/ListProtectionPoliciesResponse.js.map +1 -0
- package/dist/models/ListProtectionPoliciesResponseBody.d.ts +248 -0
- package/dist/models/ListProtectionPoliciesResponseBody.js +225 -0
- package/dist/models/ListProtectionPoliciesResponseBody.js.map +1 -0
- package/dist/models/ListProtectionPolicyApplicationsRequest.d.ts +63 -0
- package/dist/models/ListProtectionPolicyApplicationsRequest.js +68 -0
- package/dist/models/ListProtectionPolicyApplicationsRequest.js.map +1 -0
- package/dist/models/ListProtectionPolicyApplicationsResponse.d.ts +19 -0
- package/dist/models/ListProtectionPolicyApplicationsResponse.js +69 -0
- package/dist/models/ListProtectionPolicyApplicationsResponse.js.map +1 -0
- package/dist/models/ListProtectionPolicyApplicationsResponseBody.d.ts +164 -0
- package/dist/models/ListProtectionPolicyApplicationsResponseBody.js +130 -0
- package/dist/models/ListProtectionPolicyApplicationsResponseBody.js.map +1 -0
- package/dist/models/ListResourceCategoriesRequest.d.ts +34 -0
- package/dist/models/ListResourceCategoriesRequest.js +62 -0
- package/dist/models/ListResourceCategoriesRequest.js.map +1 -0
- package/dist/models/ListResourceCategoriesResponse.d.ts +19 -0
- package/dist/models/ListResourceCategoriesResponse.js +69 -0
- package/dist/models/ListResourceCategoriesResponse.js.map +1 -0
- package/dist/models/ListResourceCategoriesResponseBody.d.ts +164 -0
- package/dist/models/ListResourceCategoriesResponseBody.js +146 -0
- package/dist/models/ListResourceCategoriesResponseBody.js.map +1 -0
- package/dist/models/OpenBdrcServiceResponse.d.ts +19 -0
- package/dist/models/OpenBdrcServiceResponse.js +69 -0
- package/dist/models/OpenBdrcServiceResponse.js.map +1 -0
- package/dist/models/OpenBdrcServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenBdrcServiceResponseBody.js +58 -0
- package/dist/models/OpenBdrcServiceResponseBody.js.map +1 -0
- package/dist/models/UpdateProtectionPolicyRequest.d.ts +67 -0
- package/dist/models/UpdateProtectionPolicyRequest.js +91 -0
- package/dist/models/UpdateProtectionPolicyRequest.js.map +1 -0
- package/dist/models/UpdateProtectionPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateProtectionPolicyResponse.js +69 -0
- package/dist/models/UpdateProtectionPolicyResponse.js.map +1 -0
- package/dist/models/UpdateProtectionPolicyResponseBody.d.ts +21 -0
- package/dist/models/UpdateProtectionPolicyResponseBody.js +58 -0
- package/dist/models/UpdateProtectionPolicyResponseBody.js.map +1 -0
- package/dist/models/UpdateProtectionPolicyShrinkRequest.d.ts +39 -0
- package/dist/models/UpdateProtectionPolicyShrinkRequest.js +64 -0
- package/dist/models/UpdateProtectionPolicyShrinkRequest.js.map +1 -0
- package/dist/models/UpdateResourceCategoryRequest.d.ts +65 -0
- package/dist/models/UpdateResourceCategoryRequest.js +62 -0
- package/dist/models/UpdateResourceCategoryRequest.js.map +1 -0
- package/dist/models/UpdateResourceCategoryResponse.d.ts +19 -0
- package/dist/models/UpdateResourceCategoryResponse.js +69 -0
- package/dist/models/UpdateResourceCategoryResponse.js.map +1 -0
- package/dist/models/UpdateResourceCategoryResponseBody.d.ts +21 -0
- package/dist/models/UpdateResourceCategoryResponseBody.js +58 -0
- package/dist/models/UpdateResourceCategoryResponseBody.js.map +1 -0
- package/dist/models/UpdateResourcesRequest.d.ts +21 -0
- package/dist/models/UpdateResourcesRequest.js +58 -0
- package/dist/models/UpdateResourcesRequest.js.map +1 -0
- package/dist/models/UpdateResourcesResponse.d.ts +19 -0
- package/dist/models/UpdateResourcesResponse.js +69 -0
- package/dist/models/UpdateResourcesResponse.js.map +1 -0
- package/dist/models/UpdateResourcesResponseBody.d.ts +46 -0
- package/dist/models/UpdateResourcesResponseBody.js +82 -0
- package/dist/models/UpdateResourcesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +135 -0
- package/dist/models/model.js +276 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +3 -6
- package/src/client.ts +1103 -2557
- package/src/models/CheckRulesRequest.ts +46 -0
- package/src/models/CheckRulesResponse.ts +40 -0
- package/src/models/CheckRulesResponseBody.ts +76 -0
- package/src/models/CloseBdrcServiceResponse.ts +40 -0
- package/src/models/CloseBdrcServiceResponseBody.ts +34 -0
- package/src/models/CreateProtectionPolicyRequest.ts +126 -0
- package/src/models/CreateProtectionPolicyResponse.ts +40 -0
- package/src/models/CreateProtectionPolicyResponseBody.ts +74 -0
- package/src/models/CreateProtectionPolicyShrinkRequest.ts +78 -0
- package/src/models/CreateResourceCategoryRequest.ts +87 -0
- package/src/models/CreateResourceCategoryResponse.ts +40 -0
- package/src/models/CreateResourceCategoryResponseBody.ts +74 -0
- package/src/models/DeleteProtectionPolicyRequest.ts +24 -0
- package/src/models/DeleteProtectionPolicyResponse.ts +40 -0
- package/src/models/DeleteProtectionPolicyResponseBody.ts +34 -0
- package/src/models/DeleteResourceCategoryRequest.ts +36 -0
- package/src/models/DeleteResourceCategoryResponse.ts +40 -0
- package/src/models/DeleteResourceCategoryResponseBody.ts +34 -0
- package/src/models/DescribeCheckDetailsRequest.ts +66 -0
- package/src/models/DescribeCheckDetailsResponse.ts +40 -0
- package/src/models/DescribeCheckDetailsResponseBody.ts +234 -0
- package/src/models/DescribeProductDataRedundancyTypeStatRequest.ts +52 -0
- package/src/models/DescribeProductDataRedundancyTypeStatResponse.ts +40 -0
- package/src/models/DescribeProductDataRedundancyTypeStatResponseBody.ts +124 -0
- package/src/models/DescribeProductDataRedundancyTypeStatShrinkRequest.ts +49 -0
- package/src/models/DescribeProductsRequest.ts +67 -0
- package/src/models/DescribeProductsResponse.ts +40 -0
- package/src/models/DescribeProductsResponseBody.ts +324 -0
- package/src/models/DescribeProductsShrinkRequest.ts +64 -0
- package/src/models/DescribeResourcesRequest.ts +157 -0
- package/src/models/DescribeResourcesResponse.ts +40 -0
- package/src/models/DescribeResourcesResponseBody.ts +364 -0
- package/src/models/DescribeResourcesShrinkRequest.ts +154 -0
- package/src/models/DescribeRulesRequest.ts +80 -0
- package/src/models/DescribeRulesResponse.ts +40 -0
- package/src/models/DescribeRulesResponseBody.ts +214 -0
- package/src/models/DescribeRulesShrinkRequest.ts +77 -0
- package/src/models/DescribeTaskResponse.ts +40 -0
- package/src/models/DescribeTaskResponseBody.ts +214 -0
- package/src/models/DescribeTasksRequest.ts +61 -0
- package/src/models/DescribeTasksResponse.ts +40 -0
- package/src/models/DescribeTasksResponseBody.ts +274 -0
- package/src/models/DescribeTopRiskyResourcesRequest.ts +50 -0
- package/src/models/DescribeTopRiskyResourcesResponse.ts +40 -0
- package/src/models/DescribeTopRiskyResourcesResponseBody.ts +364 -0
- package/src/models/DescribeTopRiskyResourcesShrinkRequest.ts +47 -0
- package/src/models/DisableCheckProductRequest.ts +36 -0
- package/src/models/DisableCheckProductResponse.ts +40 -0
- package/src/models/DisableCheckProductResponseBody.ts +34 -0
- package/src/models/DisableCheckResourceRequest.ts +36 -0
- package/src/models/DisableCheckResourceResponse.ts +40 -0
- package/src/models/DisableCheckResourceResponseBody.ts +34 -0
- package/src/models/EnableCheckProductRequest.ts +36 -0
- package/src/models/EnableCheckProductResponse.ts +40 -0
- package/src/models/EnableCheckProductResponseBody.ts +34 -0
- package/src/models/EnableCheckResourceRequest.ts +36 -0
- package/src/models/EnableCheckResourceResponse.ts +40 -0
- package/src/models/EnableCheckResourceResponseBody.ts +34 -0
- package/src/models/GetBdrcServiceResponse.ts +40 -0
- package/src/models/GetBdrcServiceResponseBody.ts +104 -0
- package/src/models/GetMessageRequest.ts +24 -0
- package/src/models/GetMessageResponse.ts +40 -0
- package/src/models/GetMessageResponseBody.ts +154 -0
- package/src/models/GetProtectionPolicyRequest.ts +24 -0
- package/src/models/GetProtectionPolicyResponse.ts +40 -0
- package/src/models/GetProtectionPolicyResponseBody.ts +174 -0
- package/src/models/GetResourceCategoryRequest.ts +36 -0
- package/src/models/GetResourceCategoryResponse.ts +40 -0
- package/src/models/GetResourceCategoryResponseBody.ts +178 -0
- package/src/models/ListMessagesRequest.ts +86 -0
- package/src/models/ListMessagesResponse.ts +40 -0
- package/src/models/ListMessagesResponseBody.ts +204 -0
- package/src/models/ListProtectionPoliciesRequest.ts +64 -0
- package/src/models/ListProtectionPoliciesResponse.ts +40 -0
- package/src/models/ListProtectionPoliciesResponseBody.ts +374 -0
- package/src/models/ListProtectionPolicyApplicationsRequest.ts +86 -0
- package/src/models/ListProtectionPolicyApplicationsResponse.ts +40 -0
- package/src/models/ListProtectionPolicyApplicationsResponseBody.ts +231 -0
- package/src/models/ListResourceCategoriesRequest.ts +51 -0
- package/src/models/ListResourceCategoriesResponse.ts +40 -0
- package/src/models/ListResourceCategoriesResponseBody.ts +238 -0
- package/src/models/OpenBdrcServiceResponse.ts +40 -0
- package/src/models/OpenBdrcServiceResponseBody.ts +34 -0
- package/src/models/UpdateProtectionPolicyRequest.ts +104 -0
- package/src/models/UpdateProtectionPolicyResponse.ts +40 -0
- package/src/models/UpdateProtectionPolicyResponseBody.ts +34 -0
- package/src/models/UpdateProtectionPolicyShrinkRequest.ts +58 -0
- package/src/models/UpdateResourceCategoryRequest.ts +82 -0
- package/src/models/UpdateResourceCategoryResponse.ts +40 -0
- package/src/models/UpdateResourceCategoryResponseBody.ts +34 -0
- package/src/models/UpdateResourcesRequest.ts +34 -0
- package/src/models/UpdateResourcesResponse.ts +40 -0
- package/src/models/UpdateResourcesResponseBody.ts +74 -0
- package/src/models/model.ts +135 -0
package/dist/client.d.ts
CHANGED
|
@@ -1,1847 +1,539 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* This parameter is required.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* acs:ecs:123***890:cn-shanghai:instance/i-001***90
|
|
13
|
-
*/
|
|
14
|
-
resourceArn?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @example
|
|
17
|
-
* rule-000***dav
|
|
18
|
-
*/
|
|
19
|
-
ruleId?: string;
|
|
20
|
-
static names(): {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
};
|
|
23
|
-
static types(): {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
};
|
|
26
|
-
constructor(map?: {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
export declare class CheckRulesResponseBody extends $tea.Model {
|
|
31
|
-
data?: CheckRulesResponseBodyData;
|
|
32
|
-
/**
|
|
33
|
-
* @example
|
|
34
|
-
* 700683DE-0154-56D4-8D76-3B7A2C2C7DF9
|
|
35
|
-
*/
|
|
36
|
-
requestId?: string;
|
|
37
|
-
static names(): {
|
|
38
|
-
[key: string]: string;
|
|
39
|
-
};
|
|
40
|
-
static types(): {
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
};
|
|
43
|
-
constructor(map?: {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
export declare class CheckRulesResponse extends $tea.Model {
|
|
48
|
-
headers?: {
|
|
49
|
-
[key: string]: string;
|
|
50
|
-
};
|
|
51
|
-
statusCode?: number;
|
|
52
|
-
body?: CheckRulesResponseBody;
|
|
53
|
-
static names(): {
|
|
54
|
-
[key: string]: string;
|
|
55
|
-
};
|
|
56
|
-
static types(): {
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
};
|
|
59
|
-
constructor(map?: {
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
export declare class CloseBdrcServiceResponseBody extends $tea.Model {
|
|
64
|
-
/**
|
|
65
|
-
* @example
|
|
66
|
-
* 663D8898-E0B5-5964-BF28-A191CE6A1825
|
|
67
|
-
*/
|
|
68
|
-
requestId?: string;
|
|
69
|
-
static names(): {
|
|
70
|
-
[key: string]: string;
|
|
71
|
-
};
|
|
72
|
-
static types(): {
|
|
73
|
-
[key: string]: any;
|
|
74
|
-
};
|
|
75
|
-
constructor(map?: {
|
|
76
|
-
[key: string]: any;
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
export declare class CloseBdrcServiceResponse extends $tea.Model {
|
|
80
|
-
headers?: {
|
|
81
|
-
[key: string]: string;
|
|
82
|
-
};
|
|
83
|
-
statusCode?: number;
|
|
84
|
-
body?: CloseBdrcServiceResponseBody;
|
|
85
|
-
static names(): {
|
|
86
|
-
[key: string]: string;
|
|
87
|
-
};
|
|
88
|
-
static types(): {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
};
|
|
91
|
-
constructor(map?: {
|
|
92
|
-
[key: string]: any;
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
export declare class DescribeCheckDetailsRequest extends $tea.Model {
|
|
96
|
-
/**
|
|
97
|
-
* @example
|
|
98
|
-
* 10
|
|
99
|
-
*/
|
|
100
|
-
maxResults?: number;
|
|
101
|
-
/**
|
|
102
|
-
* @example
|
|
103
|
-
* cae**********699
|
|
104
|
-
*/
|
|
105
|
-
nextToken?: string;
|
|
106
|
-
/**
|
|
107
|
-
* @remarks
|
|
108
|
-
* This parameter is required.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* acs:ecs:123***890:cn-shanghai:instance/i-001***90
|
|
112
|
-
*/
|
|
113
|
-
resourceArn?: string;
|
|
114
|
-
/**
|
|
115
|
-
* @example
|
|
116
|
-
* rule-000***dav
|
|
117
|
-
*/
|
|
118
|
-
ruleId?: string;
|
|
119
|
-
static names(): {
|
|
120
|
-
[key: string]: string;
|
|
121
|
-
};
|
|
122
|
-
static types(): {
|
|
123
|
-
[key: string]: any;
|
|
124
|
-
};
|
|
125
|
-
constructor(map?: {
|
|
126
|
-
[key: string]: any;
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
export declare class DescribeCheckDetailsResponseBody extends $tea.Model {
|
|
130
|
-
data?: DescribeCheckDetailsResponseBodyData;
|
|
131
|
-
/**
|
|
132
|
-
* @example
|
|
133
|
-
* 92793A50-0B97-59F1-BAEA-EAED83BA1998
|
|
134
|
-
*/
|
|
135
|
-
requestId?: string;
|
|
136
|
-
static names(): {
|
|
137
|
-
[key: string]: string;
|
|
138
|
-
};
|
|
139
|
-
static types(): {
|
|
140
|
-
[key: string]: any;
|
|
141
|
-
};
|
|
142
|
-
constructor(map?: {
|
|
143
|
-
[key: string]: any;
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
export declare class DescribeCheckDetailsResponse extends $tea.Model {
|
|
147
|
-
headers?: {
|
|
148
|
-
[key: string]: string;
|
|
149
|
-
};
|
|
150
|
-
statusCode?: number;
|
|
151
|
-
body?: DescribeCheckDetailsResponseBody;
|
|
152
|
-
static names(): {
|
|
153
|
-
[key: string]: string;
|
|
154
|
-
};
|
|
155
|
-
static types(): {
|
|
156
|
-
[key: string]: any;
|
|
157
|
-
};
|
|
158
|
-
constructor(map?: {
|
|
159
|
-
[key: string]: any;
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
export declare class DescribeProductsResponseBody extends $tea.Model {
|
|
163
|
-
data?: DescribeProductsResponseBodyData;
|
|
164
|
-
/**
|
|
165
|
-
* @example
|
|
166
|
-
* 30FB202A-1D22-5394-AB02-4477CDFCF51F
|
|
167
|
-
*/
|
|
168
|
-
requestId?: string;
|
|
169
|
-
static names(): {
|
|
170
|
-
[key: string]: string;
|
|
171
|
-
};
|
|
172
|
-
static types(): {
|
|
173
|
-
[key: string]: any;
|
|
174
|
-
};
|
|
175
|
-
constructor(map?: {
|
|
176
|
-
[key: string]: any;
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
export declare class DescribeProductsResponse extends $tea.Model {
|
|
180
|
-
headers?: {
|
|
181
|
-
[key: string]: string;
|
|
182
|
-
};
|
|
183
|
-
statusCode?: number;
|
|
184
|
-
body?: DescribeProductsResponseBody;
|
|
185
|
-
static names(): {
|
|
186
|
-
[key: string]: string;
|
|
187
|
-
};
|
|
188
|
-
static types(): {
|
|
189
|
-
[key: string]: any;
|
|
190
|
-
};
|
|
191
|
-
constructor(map?: {
|
|
192
|
-
[key: string]: any;
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
export declare class DescribeResourcesRequest extends $tea.Model {
|
|
196
|
-
/**
|
|
197
|
-
* @example
|
|
198
|
-
* rule-000c***yc9
|
|
199
|
-
*/
|
|
200
|
-
failedRuleTemplate?: string;
|
|
201
|
-
/**
|
|
202
|
-
* @example
|
|
203
|
-
* 10
|
|
204
|
-
*/
|
|
205
|
-
maxResults?: number;
|
|
206
|
-
/**
|
|
207
|
-
* @example
|
|
208
|
-
* cae**********699
|
|
209
|
-
*/
|
|
210
|
-
nextToken?: string;
|
|
211
|
-
/**
|
|
212
|
-
* @example
|
|
213
|
-
* i-0003***110
|
|
214
|
-
*/
|
|
215
|
-
resourceId?: string;
|
|
216
|
-
/**
|
|
217
|
-
* @example
|
|
218
|
-
* ACS::ECS::Instance
|
|
219
|
-
*/
|
|
220
|
-
resourceType?: string;
|
|
221
|
-
/**
|
|
222
|
-
* @example
|
|
223
|
-
* protectionScore
|
|
224
|
-
*/
|
|
225
|
-
sortBy?: string;
|
|
226
|
-
/**
|
|
227
|
-
* @example
|
|
228
|
-
* ASC
|
|
229
|
-
*/
|
|
230
|
-
sortOrder?: string;
|
|
231
|
-
static names(): {
|
|
232
|
-
[key: string]: string;
|
|
233
|
-
};
|
|
234
|
-
static types(): {
|
|
235
|
-
[key: string]: any;
|
|
236
|
-
};
|
|
237
|
-
constructor(map?: {
|
|
238
|
-
[key: string]: any;
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
export declare class DescribeResourcesResponseBody extends $tea.Model {
|
|
242
|
-
data?: DescribeResourcesResponseBodyData;
|
|
243
|
-
/**
|
|
244
|
-
* @example
|
|
245
|
-
* 700683DE-0154-56D4-8D76-3B7A2C2C7DF9
|
|
246
|
-
*/
|
|
247
|
-
requestId?: string;
|
|
248
|
-
static names(): {
|
|
249
|
-
[key: string]: string;
|
|
250
|
-
};
|
|
251
|
-
static types(): {
|
|
252
|
-
[key: string]: any;
|
|
253
|
-
};
|
|
254
|
-
constructor(map?: {
|
|
255
|
-
[key: string]: any;
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
export declare class DescribeResourcesResponse extends $tea.Model {
|
|
259
|
-
headers?: {
|
|
260
|
-
[key: string]: string;
|
|
261
|
-
};
|
|
262
|
-
statusCode?: number;
|
|
263
|
-
body?: DescribeResourcesResponseBody;
|
|
264
|
-
static names(): {
|
|
265
|
-
[key: string]: string;
|
|
266
|
-
};
|
|
267
|
-
static types(): {
|
|
268
|
-
[key: string]: any;
|
|
269
|
-
};
|
|
270
|
-
constructor(map?: {
|
|
271
|
-
[key: string]: any;
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
export declare class DescribeRulesRequest extends $tea.Model {
|
|
275
|
-
/**
|
|
276
|
-
* @example
|
|
277
|
-
* 10
|
|
278
|
-
*/
|
|
279
|
-
maxResults?: number;
|
|
280
|
-
/**
|
|
281
|
-
* @example
|
|
282
|
-
* cae**********699
|
|
283
|
-
*/
|
|
284
|
-
nextToken?: string;
|
|
285
|
-
/**
|
|
286
|
-
* @example
|
|
287
|
-
* ACS::ECS::Instance
|
|
288
|
-
*/
|
|
289
|
-
resourceType?: string;
|
|
290
|
-
static names(): {
|
|
291
|
-
[key: string]: string;
|
|
292
|
-
};
|
|
293
|
-
static types(): {
|
|
294
|
-
[key: string]: any;
|
|
295
|
-
};
|
|
296
|
-
constructor(map?: {
|
|
297
|
-
[key: string]: any;
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
export declare class DescribeRulesResponseBody extends $tea.Model {
|
|
301
|
-
data?: DescribeRulesResponseBodyData;
|
|
302
|
-
/**
|
|
303
|
-
* @example
|
|
304
|
-
* 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
|
|
305
|
-
*/
|
|
306
|
-
requestId?: string;
|
|
307
|
-
static names(): {
|
|
308
|
-
[key: string]: string;
|
|
309
|
-
};
|
|
310
|
-
static types(): {
|
|
311
|
-
[key: string]: any;
|
|
312
|
-
};
|
|
313
|
-
constructor(map?: {
|
|
314
|
-
[key: string]: any;
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
export declare class DescribeRulesResponse extends $tea.Model {
|
|
318
|
-
headers?: {
|
|
319
|
-
[key: string]: string;
|
|
320
|
-
};
|
|
321
|
-
statusCode?: number;
|
|
322
|
-
body?: DescribeRulesResponseBody;
|
|
323
|
-
static names(): {
|
|
324
|
-
[key: string]: string;
|
|
325
|
-
};
|
|
326
|
-
static types(): {
|
|
327
|
-
[key: string]: any;
|
|
328
|
-
};
|
|
329
|
-
constructor(map?: {
|
|
330
|
-
[key: string]: any;
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
export declare class DescribeTaskResponseBody extends $tea.Model {
|
|
334
|
-
data?: DescribeTaskResponseBodyData;
|
|
335
|
-
/**
|
|
336
|
-
* @example
|
|
337
|
-
* 14DFF801-A4E3-5136-AAB8-7D246012CD7A
|
|
338
|
-
*/
|
|
339
|
-
requestId?: string;
|
|
340
|
-
static names(): {
|
|
341
|
-
[key: string]: string;
|
|
342
|
-
};
|
|
343
|
-
static types(): {
|
|
344
|
-
[key: string]: any;
|
|
345
|
-
};
|
|
346
|
-
constructor(map?: {
|
|
347
|
-
[key: string]: any;
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
export declare class DescribeTaskResponse extends $tea.Model {
|
|
351
|
-
headers?: {
|
|
352
|
-
[key: string]: string;
|
|
353
|
-
};
|
|
354
|
-
statusCode?: number;
|
|
355
|
-
body?: DescribeTaskResponseBody;
|
|
356
|
-
static names(): {
|
|
357
|
-
[key: string]: string;
|
|
358
|
-
};
|
|
359
|
-
static types(): {
|
|
360
|
-
[key: string]: any;
|
|
361
|
-
};
|
|
362
|
-
constructor(map?: {
|
|
363
|
-
[key: string]: any;
|
|
364
|
-
});
|
|
365
|
-
}
|
|
366
|
-
export declare class DescribeTasksRequest extends $tea.Model {
|
|
367
|
-
/**
|
|
368
|
-
* @example
|
|
369
|
-
* 10
|
|
370
|
-
*/
|
|
371
|
-
maxResults?: number;
|
|
372
|
-
/**
|
|
373
|
-
* @example
|
|
374
|
-
* cae**********699
|
|
375
|
-
*/
|
|
376
|
-
nextToken?: string;
|
|
377
|
-
/**
|
|
378
|
-
* @example
|
|
379
|
-
* RUNNING
|
|
380
|
-
*/
|
|
381
|
-
taskStatus?: string;
|
|
382
|
-
static names(): {
|
|
383
|
-
[key: string]: string;
|
|
384
|
-
};
|
|
385
|
-
static types(): {
|
|
386
|
-
[key: string]: any;
|
|
387
|
-
};
|
|
388
|
-
constructor(map?: {
|
|
389
|
-
[key: string]: any;
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
export declare class DescribeTasksResponseBody extends $tea.Model {
|
|
393
|
-
data?: DescribeTasksResponseBodyData;
|
|
394
|
-
/**
|
|
395
|
-
* @example
|
|
396
|
-
* AE43C4CB-8074-5EBD-9806-8CA6D12800B1
|
|
397
|
-
*/
|
|
398
|
-
requestId?: string;
|
|
399
|
-
static names(): {
|
|
400
|
-
[key: string]: string;
|
|
401
|
-
};
|
|
402
|
-
static types(): {
|
|
403
|
-
[key: string]: any;
|
|
404
|
-
};
|
|
405
|
-
constructor(map?: {
|
|
406
|
-
[key: string]: any;
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
export declare class DescribeTasksResponse extends $tea.Model {
|
|
410
|
-
headers?: {
|
|
411
|
-
[key: string]: string;
|
|
412
|
-
};
|
|
413
|
-
statusCode?: number;
|
|
414
|
-
body?: DescribeTasksResponseBody;
|
|
415
|
-
static names(): {
|
|
416
|
-
[key: string]: string;
|
|
417
|
-
};
|
|
418
|
-
static types(): {
|
|
419
|
-
[key: string]: any;
|
|
420
|
-
};
|
|
421
|
-
constructor(map?: {
|
|
422
|
-
[key: string]: any;
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
export declare class DescribeTopRiskyResourcesRequest extends $tea.Model {
|
|
426
|
-
/**
|
|
427
|
-
* @example
|
|
428
|
-
* ACS::ECS::Instance
|
|
429
|
-
*/
|
|
430
|
-
resourceType?: string;
|
|
431
|
-
static names(): {
|
|
432
|
-
[key: string]: string;
|
|
433
|
-
};
|
|
434
|
-
static types(): {
|
|
435
|
-
[key: string]: any;
|
|
436
|
-
};
|
|
437
|
-
constructor(map?: {
|
|
438
|
-
[key: string]: any;
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
export declare class DescribeTopRiskyResourcesResponseBody extends $tea.Model {
|
|
442
|
-
data?: DescribeTopRiskyResourcesResponseBodyData;
|
|
443
|
-
/**
|
|
444
|
-
* @example
|
|
445
|
-
* 34081B20-C4C0-514F-93F6-8EEC3D1A587E
|
|
446
|
-
*/
|
|
447
|
-
requestId?: string;
|
|
448
|
-
static names(): {
|
|
449
|
-
[key: string]: string;
|
|
450
|
-
};
|
|
451
|
-
static types(): {
|
|
452
|
-
[key: string]: any;
|
|
453
|
-
};
|
|
454
|
-
constructor(map?: {
|
|
455
|
-
[key: string]: any;
|
|
456
|
-
});
|
|
457
|
-
}
|
|
458
|
-
export declare class DescribeTopRiskyResourcesResponse extends $tea.Model {
|
|
459
|
-
headers?: {
|
|
460
|
-
[key: string]: string;
|
|
461
|
-
};
|
|
462
|
-
statusCode?: number;
|
|
463
|
-
body?: DescribeTopRiskyResourcesResponseBody;
|
|
464
|
-
static names(): {
|
|
465
|
-
[key: string]: string;
|
|
466
|
-
};
|
|
467
|
-
static types(): {
|
|
468
|
-
[key: string]: any;
|
|
469
|
-
};
|
|
470
|
-
constructor(map?: {
|
|
471
|
-
[key: string]: any;
|
|
472
|
-
});
|
|
473
|
-
}
|
|
474
|
-
export declare class DisableCheckProductRequest extends $tea.Model {
|
|
475
|
-
/**
|
|
476
|
-
* @remarks
|
|
477
|
-
* This parameter is required.
|
|
478
|
-
*
|
|
479
|
-
* @example
|
|
480
|
-
* ecs
|
|
481
|
-
*/
|
|
482
|
-
productType?: string;
|
|
483
|
-
static names(): {
|
|
484
|
-
[key: string]: string;
|
|
485
|
-
};
|
|
486
|
-
static types(): {
|
|
487
|
-
[key: string]: any;
|
|
488
|
-
};
|
|
489
|
-
constructor(map?: {
|
|
490
|
-
[key: string]: any;
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
export declare class DisableCheckProductResponseBody extends $tea.Model {
|
|
494
|
-
/**
|
|
495
|
-
* @example
|
|
496
|
-
* 89E3CBB7-16F3-52AE-BD32-31A43A2A807F
|
|
497
|
-
*/
|
|
498
|
-
requestId?: string;
|
|
499
|
-
static names(): {
|
|
500
|
-
[key: string]: string;
|
|
501
|
-
};
|
|
502
|
-
static types(): {
|
|
503
|
-
[key: string]: any;
|
|
504
|
-
};
|
|
505
|
-
constructor(map?: {
|
|
506
|
-
[key: string]: any;
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
export declare class DisableCheckProductResponse extends $tea.Model {
|
|
510
|
-
headers?: {
|
|
511
|
-
[key: string]: string;
|
|
512
|
-
};
|
|
513
|
-
statusCode?: number;
|
|
514
|
-
body?: DisableCheckProductResponseBody;
|
|
515
|
-
static names(): {
|
|
516
|
-
[key: string]: string;
|
|
517
|
-
};
|
|
518
|
-
static types(): {
|
|
519
|
-
[key: string]: any;
|
|
520
|
-
};
|
|
521
|
-
constructor(map?: {
|
|
522
|
-
[key: string]: any;
|
|
523
|
-
});
|
|
524
|
-
}
|
|
525
|
-
export declare class DisableCheckResourceRequest extends $tea.Model {
|
|
526
|
-
/**
|
|
527
|
-
* @remarks
|
|
528
|
-
* This parameter is required.
|
|
529
|
-
*
|
|
530
|
-
* @example
|
|
531
|
-
* acs:ecs:123***890:cn-shanghai:instance/i-001***90
|
|
532
|
-
*/
|
|
533
|
-
resourceArn?: string;
|
|
534
|
-
static names(): {
|
|
535
|
-
[key: string]: string;
|
|
536
|
-
};
|
|
537
|
-
static types(): {
|
|
538
|
-
[key: string]: any;
|
|
539
|
-
};
|
|
540
|
-
constructor(map?: {
|
|
541
|
-
[key: string]: any;
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
export declare class DisableCheckResourceResponseBody extends $tea.Model {
|
|
545
|
-
/**
|
|
546
|
-
* @example
|
|
547
|
-
* 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
|
|
548
|
-
*/
|
|
549
|
-
requestId?: string;
|
|
550
|
-
static names(): {
|
|
551
|
-
[key: string]: string;
|
|
552
|
-
};
|
|
553
|
-
static types(): {
|
|
554
|
-
[key: string]: any;
|
|
555
|
-
};
|
|
556
|
-
constructor(map?: {
|
|
557
|
-
[key: string]: any;
|
|
558
|
-
});
|
|
559
|
-
}
|
|
560
|
-
export declare class DisableCheckResourceResponse extends $tea.Model {
|
|
561
|
-
headers?: {
|
|
562
|
-
[key: string]: string;
|
|
563
|
-
};
|
|
564
|
-
statusCode?: number;
|
|
565
|
-
body?: DisableCheckResourceResponseBody;
|
|
566
|
-
static names(): {
|
|
567
|
-
[key: string]: string;
|
|
568
|
-
};
|
|
569
|
-
static types(): {
|
|
570
|
-
[key: string]: any;
|
|
571
|
-
};
|
|
572
|
-
constructor(map?: {
|
|
573
|
-
[key: string]: any;
|
|
574
|
-
});
|
|
575
|
-
}
|
|
576
|
-
export declare class EnableCheckProductRequest extends $tea.Model {
|
|
577
|
-
/**
|
|
578
|
-
* @remarks
|
|
579
|
-
* This parameter is required.
|
|
580
|
-
*
|
|
581
|
-
* @example
|
|
582
|
-
* ecs
|
|
583
|
-
*/
|
|
584
|
-
productType?: string;
|
|
585
|
-
static names(): {
|
|
586
|
-
[key: string]: string;
|
|
587
|
-
};
|
|
588
|
-
static types(): {
|
|
589
|
-
[key: string]: any;
|
|
590
|
-
};
|
|
591
|
-
constructor(map?: {
|
|
592
|
-
[key: string]: any;
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
export declare class EnableCheckProductResponseBody extends $tea.Model {
|
|
596
|
-
/**
|
|
597
|
-
* @example
|
|
598
|
-
* 8724BC18-904D-5A0D-BFF4-F0554F0037E7
|
|
599
|
-
*/
|
|
600
|
-
requestId?: string;
|
|
601
|
-
static names(): {
|
|
602
|
-
[key: string]: string;
|
|
603
|
-
};
|
|
604
|
-
static types(): {
|
|
605
|
-
[key: string]: any;
|
|
606
|
-
};
|
|
607
|
-
constructor(map?: {
|
|
608
|
-
[key: string]: any;
|
|
609
|
-
});
|
|
610
|
-
}
|
|
611
|
-
export declare class EnableCheckProductResponse extends $tea.Model {
|
|
612
|
-
headers?: {
|
|
613
|
-
[key: string]: string;
|
|
614
|
-
};
|
|
615
|
-
statusCode?: number;
|
|
616
|
-
body?: EnableCheckProductResponseBody;
|
|
617
|
-
static names(): {
|
|
618
|
-
[key: string]: string;
|
|
619
|
-
};
|
|
620
|
-
static types(): {
|
|
621
|
-
[key: string]: any;
|
|
622
|
-
};
|
|
623
|
-
constructor(map?: {
|
|
624
|
-
[key: string]: any;
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
export declare class EnableCheckResourceRequest extends $tea.Model {
|
|
628
|
-
/**
|
|
629
|
-
* @remarks
|
|
630
|
-
* This parameter is required.
|
|
631
|
-
*
|
|
632
|
-
* @example
|
|
633
|
-
* acs:ecs:123***890:cn-shanghai:instance/i-001***90
|
|
634
|
-
*/
|
|
635
|
-
resourceArn?: string;
|
|
636
|
-
static names(): {
|
|
637
|
-
[key: string]: string;
|
|
638
|
-
};
|
|
639
|
-
static types(): {
|
|
640
|
-
[key: string]: any;
|
|
641
|
-
};
|
|
642
|
-
constructor(map?: {
|
|
643
|
-
[key: string]: any;
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
export declare class EnableCheckResourceResponseBody extends $tea.Model {
|
|
647
|
-
/**
|
|
648
|
-
* @example
|
|
649
|
-
* E583A0FF-803C-51C4-9AC9-E029471ACD6A
|
|
650
|
-
*/
|
|
651
|
-
requestId?: string;
|
|
652
|
-
static names(): {
|
|
653
|
-
[key: string]: string;
|
|
654
|
-
};
|
|
655
|
-
static types(): {
|
|
656
|
-
[key: string]: any;
|
|
657
|
-
};
|
|
658
|
-
constructor(map?: {
|
|
659
|
-
[key: string]: any;
|
|
660
|
-
});
|
|
661
|
-
}
|
|
662
|
-
export declare class EnableCheckResourceResponse extends $tea.Model {
|
|
663
|
-
headers?: {
|
|
664
|
-
[key: string]: string;
|
|
665
|
-
};
|
|
666
|
-
statusCode?: number;
|
|
667
|
-
body?: EnableCheckResourceResponseBody;
|
|
668
|
-
static names(): {
|
|
669
|
-
[key: string]: string;
|
|
670
|
-
};
|
|
671
|
-
static types(): {
|
|
672
|
-
[key: string]: any;
|
|
673
|
-
};
|
|
674
|
-
constructor(map?: {
|
|
675
|
-
[key: string]: any;
|
|
676
|
-
});
|
|
677
|
-
}
|
|
678
|
-
export declare class GetBdrcServiceResponseBody extends $tea.Model {
|
|
679
|
-
data?: GetBdrcServiceResponseBodyData;
|
|
680
|
-
/**
|
|
681
|
-
* @example
|
|
682
|
-
* 5748C531-80B1-5C31-8421-63A1830B9E48
|
|
683
|
-
*/
|
|
684
|
-
requestId?: string;
|
|
685
|
-
static names(): {
|
|
686
|
-
[key: string]: string;
|
|
687
|
-
};
|
|
688
|
-
static types(): {
|
|
689
|
-
[key: string]: any;
|
|
690
|
-
};
|
|
691
|
-
constructor(map?: {
|
|
692
|
-
[key: string]: any;
|
|
693
|
-
});
|
|
694
|
-
}
|
|
695
|
-
export declare class GetBdrcServiceResponse extends $tea.Model {
|
|
696
|
-
headers?: {
|
|
697
|
-
[key: string]: string;
|
|
698
|
-
};
|
|
699
|
-
statusCode?: number;
|
|
700
|
-
body?: GetBdrcServiceResponseBody;
|
|
701
|
-
static names(): {
|
|
702
|
-
[key: string]: string;
|
|
703
|
-
};
|
|
704
|
-
static types(): {
|
|
705
|
-
[key: string]: any;
|
|
706
|
-
};
|
|
707
|
-
constructor(map?: {
|
|
708
|
-
[key: string]: any;
|
|
709
|
-
});
|
|
710
|
-
}
|
|
711
|
-
export declare class OpenBdrcServiceResponseBody extends $tea.Model {
|
|
712
|
-
/**
|
|
713
|
-
* @example
|
|
714
|
-
* 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
|
|
715
|
-
*/
|
|
716
|
-
requestId?: string;
|
|
717
|
-
static names(): {
|
|
718
|
-
[key: string]: string;
|
|
719
|
-
};
|
|
720
|
-
static types(): {
|
|
721
|
-
[key: string]: any;
|
|
722
|
-
};
|
|
723
|
-
constructor(map?: {
|
|
724
|
-
[key: string]: any;
|
|
725
|
-
});
|
|
726
|
-
}
|
|
727
|
-
export declare class OpenBdrcServiceResponse extends $tea.Model {
|
|
728
|
-
headers?: {
|
|
729
|
-
[key: string]: string;
|
|
730
|
-
};
|
|
731
|
-
statusCode?: number;
|
|
732
|
-
body?: OpenBdrcServiceResponseBody;
|
|
733
|
-
static names(): {
|
|
734
|
-
[key: string]: string;
|
|
735
|
-
};
|
|
736
|
-
static types(): {
|
|
737
|
-
[key: string]: any;
|
|
738
|
-
};
|
|
739
|
-
constructor(map?: {
|
|
740
|
-
[key: string]: any;
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
export declare class UpdateResourcesRequest extends $tea.Model {
|
|
744
|
-
/**
|
|
745
|
-
* @example
|
|
746
|
-
* ACS::ECS::Instance
|
|
747
|
-
*/
|
|
748
|
-
resourceType?: string;
|
|
749
|
-
static names(): {
|
|
750
|
-
[key: string]: string;
|
|
751
|
-
};
|
|
752
|
-
static types(): {
|
|
753
|
-
[key: string]: any;
|
|
754
|
-
};
|
|
755
|
-
constructor(map?: {
|
|
756
|
-
[key: string]: any;
|
|
757
|
-
});
|
|
758
|
-
}
|
|
759
|
-
export declare class UpdateResourcesResponseBody extends $tea.Model {
|
|
760
|
-
data?: UpdateResourcesResponseBodyData;
|
|
761
|
-
/**
|
|
762
|
-
* @example
|
|
763
|
-
* 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5
|
|
764
|
-
*/
|
|
765
|
-
requestId?: string;
|
|
766
|
-
static names(): {
|
|
767
|
-
[key: string]: string;
|
|
768
|
-
};
|
|
769
|
-
static types(): {
|
|
770
|
-
[key: string]: any;
|
|
771
|
-
};
|
|
772
|
-
constructor(map?: {
|
|
773
|
-
[key: string]: any;
|
|
774
|
-
});
|
|
775
|
-
}
|
|
776
|
-
export declare class UpdateResourcesResponse extends $tea.Model {
|
|
777
|
-
headers?: {
|
|
778
|
-
[key: string]: string;
|
|
779
|
-
};
|
|
780
|
-
statusCode?: number;
|
|
781
|
-
body?: UpdateResourcesResponseBody;
|
|
782
|
-
static names(): {
|
|
783
|
-
[key: string]: string;
|
|
784
|
-
};
|
|
785
|
-
static types(): {
|
|
786
|
-
[key: string]: any;
|
|
787
|
-
};
|
|
788
|
-
constructor(map?: {
|
|
789
|
-
[key: string]: any;
|
|
790
|
-
});
|
|
791
|
-
}
|
|
792
|
-
export declare class CheckRulesResponseBodyData extends $tea.Model {
|
|
793
|
-
/**
|
|
794
|
-
* @example
|
|
795
|
-
* t-0000e4w0u1v592zdf6s7
|
|
796
|
-
*/
|
|
797
|
-
taskId?: string;
|
|
798
|
-
static names(): {
|
|
799
|
-
[key: string]: string;
|
|
800
|
-
};
|
|
801
|
-
static types(): {
|
|
802
|
-
[key: string]: any;
|
|
803
|
-
};
|
|
804
|
-
constructor(map?: {
|
|
805
|
-
[key: string]: any;
|
|
806
|
-
});
|
|
807
|
-
}
|
|
808
|
-
export declare class DescribeCheckDetailsResponseBodyDataContent extends $tea.Model {
|
|
809
|
-
/**
|
|
810
|
-
* @example
|
|
811
|
-
* PASSED
|
|
812
|
-
*/
|
|
813
|
-
checkStatus?: string;
|
|
814
|
-
/**
|
|
815
|
-
* @example
|
|
816
|
-
* 1701725715
|
|
817
|
-
*/
|
|
818
|
-
checkTime?: number;
|
|
819
|
-
/**
|
|
820
|
-
* @example
|
|
821
|
-
* {"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]}
|
|
822
|
-
*/
|
|
823
|
-
detail?: string;
|
|
824
|
-
/**
|
|
825
|
-
* @example
|
|
826
|
-
* ecs
|
|
827
|
-
*/
|
|
828
|
-
productType?: string;
|
|
829
|
-
/**
|
|
830
|
-
* @example
|
|
831
|
-
* acs:ecs:123***890:cn-shanghai:instance/i-001***90
|
|
832
|
-
*/
|
|
833
|
-
resourceArn?: string;
|
|
834
|
-
/**
|
|
835
|
-
* @example
|
|
836
|
-
* i-xxxxxxxx
|
|
837
|
-
*/
|
|
838
|
-
resourceId?: string;
|
|
839
|
-
/**
|
|
840
|
-
* @example
|
|
841
|
-
* test server
|
|
842
|
-
*/
|
|
843
|
-
resourceName?: string;
|
|
844
|
-
/**
|
|
845
|
-
* @example
|
|
846
|
-
* ACS::ECS::Instance
|
|
847
|
-
*/
|
|
848
|
-
resourceType?: string;
|
|
849
|
-
/**
|
|
850
|
-
* @example
|
|
851
|
-
* rule-xxxxxxxx
|
|
852
|
-
*/
|
|
853
|
-
ruleId?: string;
|
|
854
|
-
/**
|
|
855
|
-
* @example
|
|
856
|
-
* ecs-backup
|
|
857
|
-
*/
|
|
858
|
-
ruleTemplate?: string;
|
|
859
|
-
static names(): {
|
|
860
|
-
[key: string]: string;
|
|
861
|
-
};
|
|
862
|
-
static types(): {
|
|
863
|
-
[key: string]: any;
|
|
864
|
-
};
|
|
865
|
-
constructor(map?: {
|
|
866
|
-
[key: string]: any;
|
|
867
|
-
});
|
|
868
|
-
}
|
|
869
|
-
export declare class DescribeCheckDetailsResponseBodyData extends $tea.Model {
|
|
870
|
-
content?: DescribeCheckDetailsResponseBodyDataContent[];
|
|
871
|
-
/**
|
|
872
|
-
* @example
|
|
873
|
-
* 10
|
|
874
|
-
*/
|
|
875
|
-
maxResults?: number;
|
|
876
|
-
/**
|
|
877
|
-
* @example
|
|
878
|
-
* CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=
|
|
879
|
-
*/
|
|
880
|
-
nextToken?: string;
|
|
881
|
-
/**
|
|
882
|
-
* @example
|
|
883
|
-
* 100
|
|
884
|
-
*/
|
|
885
|
-
totalCount?: number;
|
|
886
|
-
static names(): {
|
|
887
|
-
[key: string]: string;
|
|
888
|
-
};
|
|
889
|
-
static types(): {
|
|
890
|
-
[key: string]: any;
|
|
891
|
-
};
|
|
892
|
-
constructor(map?: {
|
|
893
|
-
[key: string]: any;
|
|
894
|
-
});
|
|
895
|
-
}
|
|
896
|
-
export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange extends $tea.Model {
|
|
897
|
-
/**
|
|
898
|
-
* @example
|
|
899
|
-
* 0
|
|
900
|
-
*/
|
|
901
|
-
from?: number;
|
|
902
|
-
/**
|
|
903
|
-
* @example
|
|
904
|
-
* 60
|
|
905
|
-
*/
|
|
906
|
-
to?: number;
|
|
907
|
-
static names(): {
|
|
908
|
-
[key: string]: string;
|
|
909
|
-
};
|
|
910
|
-
static types(): {
|
|
911
|
-
[key: string]: any;
|
|
912
|
-
};
|
|
913
|
-
constructor(map?: {
|
|
914
|
-
[key: string]: any;
|
|
915
|
-
});
|
|
916
|
-
}
|
|
917
|
-
export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistribution extends $tea.Model {
|
|
918
|
-
/**
|
|
919
|
-
* @example
|
|
920
|
-
* 5
|
|
921
|
-
*/
|
|
922
|
-
count?: number;
|
|
923
|
-
range?: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange;
|
|
924
|
-
static names(): {
|
|
925
|
-
[key: string]: string;
|
|
926
|
-
};
|
|
927
|
-
static types(): {
|
|
928
|
-
[key: string]: any;
|
|
929
|
-
};
|
|
930
|
-
constructor(map?: {
|
|
931
|
-
[key: string]: any;
|
|
932
|
-
});
|
|
933
|
-
}
|
|
934
|
-
export declare class DescribeProductsResponseBodyDataContent extends $tea.Model {
|
|
935
|
-
/**
|
|
936
|
-
* @example
|
|
937
|
-
* 1
|
|
938
|
-
*/
|
|
939
|
-
checkFailedCount?: number;
|
|
940
|
-
/**
|
|
941
|
-
* @example
|
|
942
|
-
* 1
|
|
943
|
-
*/
|
|
944
|
-
checkFailedResourceCount?: number;
|
|
945
|
-
/**
|
|
946
|
-
* @example
|
|
947
|
-
* 1
|
|
948
|
-
*/
|
|
949
|
-
disableCheckResourceCount?: number;
|
|
950
|
-
/**
|
|
951
|
-
* @example
|
|
952
|
-
* true
|
|
953
|
-
*/
|
|
954
|
-
enableCheck?: boolean;
|
|
955
|
-
/**
|
|
956
|
-
* @example
|
|
957
|
-
* oss
|
|
958
|
-
*/
|
|
959
|
-
productType?: string;
|
|
960
|
-
/**
|
|
961
|
-
* @example
|
|
962
|
-
* 90
|
|
963
|
-
*/
|
|
964
|
-
protectionScore?: number;
|
|
965
|
-
protectionScoreDistribution?: DescribeProductsResponseBodyDataContentProtectionScoreDistribution[];
|
|
966
|
-
/**
|
|
967
|
-
* @example
|
|
968
|
-
* 1726036498
|
|
969
|
-
*/
|
|
970
|
-
protectionScoreUpdatedTime?: number;
|
|
971
|
-
/**
|
|
972
|
-
* @example
|
|
973
|
-
* 1
|
|
974
|
-
*/
|
|
975
|
-
riskCount?: number;
|
|
976
|
-
/**
|
|
977
|
-
* @example
|
|
978
|
-
* 1
|
|
979
|
-
*/
|
|
980
|
-
riskyResourceCount?: number;
|
|
981
|
-
/**
|
|
982
|
-
* @example
|
|
983
|
-
* 100
|
|
984
|
-
*/
|
|
985
|
-
totalResourceCount?: number;
|
|
986
|
-
static names(): {
|
|
987
|
-
[key: string]: string;
|
|
988
|
-
};
|
|
989
|
-
static types(): {
|
|
990
|
-
[key: string]: any;
|
|
991
|
-
};
|
|
992
|
-
constructor(map?: {
|
|
993
|
-
[key: string]: any;
|
|
994
|
-
});
|
|
995
|
-
}
|
|
996
|
-
export declare class DescribeProductsResponseBodyData extends $tea.Model {
|
|
997
|
-
content?: DescribeProductsResponseBodyDataContent[];
|
|
998
|
-
/**
|
|
999
|
-
* @example
|
|
1000
|
-
* 10
|
|
1001
|
-
*/
|
|
1002
|
-
maxResults?: number;
|
|
1003
|
-
/**
|
|
1004
|
-
* @example
|
|
1005
|
-
* b4fd3cffcacafd65e3818a0b9b2ff9a2
|
|
1006
|
-
*/
|
|
1007
|
-
nextToken?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* @example
|
|
1010
|
-
* 50
|
|
1011
|
-
*/
|
|
1012
|
-
totalCount?: number;
|
|
1013
|
-
static names(): {
|
|
1014
|
-
[key: string]: string;
|
|
1015
|
-
};
|
|
1016
|
-
static types(): {
|
|
1017
|
-
[key: string]: any;
|
|
1018
|
-
};
|
|
1019
|
-
constructor(map?: {
|
|
1020
|
-
[key: string]: any;
|
|
1021
|
-
});
|
|
1022
|
-
}
|
|
1023
|
-
export declare class DescribeResourcesResponseBodyDataContent extends $tea.Model {
|
|
1024
|
-
/**
|
|
1025
|
-
* @example
|
|
1026
|
-
* 0
|
|
1027
|
-
*/
|
|
1028
|
-
archiveDataSize?: number;
|
|
1029
|
-
/**
|
|
1030
|
-
* @example
|
|
1031
|
-
* 0
|
|
1032
|
-
*/
|
|
1033
|
-
checkFailedCount?: number;
|
|
1034
|
-
/**
|
|
1035
|
-
* @example
|
|
1036
|
-
* 0
|
|
1037
|
-
*/
|
|
1038
|
-
coldArchiveDataSize?: number;
|
|
1039
|
-
/**
|
|
1040
|
-
* @example
|
|
1041
|
-
* 1697798340
|
|
1042
|
-
*/
|
|
1043
|
-
createTime?: number;
|
|
1044
|
-
/**
|
|
1045
|
-
* @example
|
|
1046
|
-
* 0
|
|
1047
|
-
*/
|
|
1048
|
-
enableCheck?: boolean;
|
|
1049
|
-
/**
|
|
1050
|
-
* @example
|
|
1051
|
-
* 0
|
|
1052
|
-
*/
|
|
1053
|
-
iaDataSize?: number;
|
|
1054
|
-
/**
|
|
1055
|
-
* @example
|
|
1056
|
-
* ecs
|
|
1057
|
-
*/
|
|
1058
|
-
productType?: string;
|
|
1059
|
-
/**
|
|
1060
|
-
* @example
|
|
1061
|
-
* 0
|
|
1062
|
-
*/
|
|
1063
|
-
protectionScore?: number;
|
|
1064
|
-
/**
|
|
1065
|
-
* @example
|
|
1066
|
-
* 0
|
|
1067
|
-
*/
|
|
1068
|
-
protectionScoreUpdatedTime?: number;
|
|
1069
|
-
/**
|
|
1070
|
-
* @example
|
|
1071
|
-
* cn-hangzhou
|
|
1072
|
-
*/
|
|
1073
|
-
regionId?: string;
|
|
1074
|
-
/**
|
|
1075
|
-
* @example
|
|
1076
|
-
* acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx
|
|
1077
|
-
*/
|
|
1078
|
-
resourceArn?: string;
|
|
1079
|
-
/**
|
|
1080
|
-
* @example
|
|
1081
|
-
* i-xxxxxxxx
|
|
1082
|
-
*/
|
|
1083
|
-
resourceId?: string;
|
|
1084
|
-
/**
|
|
1085
|
-
* @example
|
|
1086
|
-
* test server
|
|
1087
|
-
*/
|
|
1088
|
-
resourceName?: string;
|
|
1089
|
-
/**
|
|
1090
|
-
* @example
|
|
1091
|
-
* ACS::ECS::Instance
|
|
1092
|
-
*/
|
|
1093
|
-
resourceType?: string;
|
|
1094
|
-
/**
|
|
1095
|
-
* @example
|
|
1096
|
-
* 0
|
|
1097
|
-
*/
|
|
1098
|
-
riskCount?: number;
|
|
1099
|
-
/**
|
|
1100
|
-
* @example
|
|
1101
|
-
* 0
|
|
1102
|
-
*/
|
|
1103
|
-
standardDataSize?: number;
|
|
1104
|
-
/**
|
|
1105
|
-
* @example
|
|
1106
|
-
* Running
|
|
1107
|
-
*/
|
|
1108
|
-
status?: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* @example
|
|
1111
|
-
* 0
|
|
1112
|
-
*/
|
|
1113
|
-
totalDataSize?: number;
|
|
1114
|
-
/**
|
|
1115
|
-
* @remarks
|
|
1116
|
-
* vSwitch ID
|
|
1117
|
-
*
|
|
1118
|
-
* @example
|
|
1119
|
-
* vsw-xxxxxxxx
|
|
1120
|
-
*/
|
|
1121
|
-
vSwitchId?: string;
|
|
1122
|
-
/**
|
|
1123
|
-
* @remarks
|
|
1124
|
-
* vpc ID
|
|
1125
|
-
*
|
|
1126
|
-
* @example
|
|
1127
|
-
* vpc-xxxxxxxx
|
|
1128
|
-
*/
|
|
1129
|
-
vpcId?: string;
|
|
1130
|
-
/**
|
|
1131
|
-
* @example
|
|
1132
|
-
* cn-hangzhou-i
|
|
1133
|
-
*/
|
|
1134
|
-
zoneId?: string;
|
|
1135
|
-
static names(): {
|
|
1136
|
-
[key: string]: string;
|
|
1137
|
-
};
|
|
1138
|
-
static types(): {
|
|
1139
|
-
[key: string]: any;
|
|
1140
|
-
};
|
|
1141
|
-
constructor(map?: {
|
|
1142
|
-
[key: string]: any;
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
|
-
export declare class DescribeResourcesResponseBodyData extends $tea.Model {
|
|
1146
|
-
content?: DescribeResourcesResponseBodyDataContent[];
|
|
1147
|
-
/**
|
|
1148
|
-
* @example
|
|
1149
|
-
* 100
|
|
1150
|
-
*/
|
|
1151
|
-
maxResults?: number;
|
|
1152
|
-
/**
|
|
1153
|
-
* @example
|
|
1154
|
-
* fb836242f4225fa0f0e0257362dfc6dd
|
|
1155
|
-
*/
|
|
1156
|
-
nextToken?: string;
|
|
1157
|
-
/**
|
|
1158
|
-
* @example
|
|
1159
|
-
* 149
|
|
1160
|
-
*/
|
|
1161
|
-
totalCount?: number;
|
|
1162
|
-
static names(): {
|
|
1163
|
-
[key: string]: string;
|
|
1164
|
-
};
|
|
1165
|
-
static types(): {
|
|
1166
|
-
[key: string]: any;
|
|
1167
|
-
};
|
|
1168
|
-
constructor(map?: {
|
|
1169
|
-
[key: string]: any;
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
export declare class DescribeRulesResponseBodyDataContent extends $tea.Model {
|
|
1173
|
-
/**
|
|
1174
|
-
* @example
|
|
1175
|
-
* 0
|
|
1176
|
-
*/
|
|
1177
|
-
checkFailedResourceCount?: number;
|
|
1178
|
-
/**
|
|
1179
|
-
* @example
|
|
1180
|
-
* PASSED
|
|
1181
|
-
*/
|
|
1182
|
-
checkStatus?: string;
|
|
1183
|
-
/**
|
|
1184
|
-
* @example
|
|
1185
|
-
* 1704157635
|
|
1186
|
-
*/
|
|
1187
|
-
checkTime?: number;
|
|
1188
|
-
/**
|
|
1189
|
-
* @example
|
|
1190
|
-
* ecs
|
|
1191
|
-
*/
|
|
1192
|
-
productType?: string;
|
|
1193
|
-
/**
|
|
1194
|
-
* @example
|
|
1195
|
-
* ACS::ECS::Instance
|
|
1196
|
-
*/
|
|
1197
|
-
resourceType?: string;
|
|
1198
|
-
/**
|
|
1199
|
-
* @example
|
|
1200
|
-
* 0
|
|
1201
|
-
*/
|
|
1202
|
-
riskyResourceCount?: number;
|
|
1203
|
-
/**
|
|
1204
|
-
* @example
|
|
1205
|
-
* rule-bp11ggd8wr762
|
|
1206
|
-
*/
|
|
1207
|
-
ruleId?: string;
|
|
1208
|
-
/**
|
|
1209
|
-
* @example
|
|
1210
|
-
* ecs-backup
|
|
1211
|
-
*/
|
|
1212
|
-
ruleTemplate?: string;
|
|
1213
|
-
/**
|
|
1214
|
-
* @example
|
|
1215
|
-
* 1
|
|
1216
|
-
*/
|
|
1217
|
-
totalResourceCount?: number;
|
|
1218
|
-
static names(): {
|
|
1219
|
-
[key: string]: string;
|
|
1220
|
-
};
|
|
1221
|
-
static types(): {
|
|
1222
|
-
[key: string]: any;
|
|
1223
|
-
};
|
|
1224
|
-
constructor(map?: {
|
|
1225
|
-
[key: string]: any;
|
|
1226
|
-
});
|
|
1227
|
-
}
|
|
1228
|
-
export declare class DescribeRulesResponseBodyData extends $tea.Model {
|
|
1229
|
-
content?: DescribeRulesResponseBodyDataContent[];
|
|
1230
|
-
/**
|
|
1231
|
-
* @example
|
|
1232
|
-
* 10
|
|
1233
|
-
*/
|
|
1234
|
-
maxResults?: number;
|
|
1235
|
-
/**
|
|
1236
|
-
* @example
|
|
1237
|
-
* 0975951c75d7b41464c8d08ae17043ca
|
|
1238
|
-
*/
|
|
1239
|
-
nextToken?: string;
|
|
1240
|
-
/**
|
|
1241
|
-
* @example
|
|
1242
|
-
* 42
|
|
1243
|
-
*/
|
|
1244
|
-
totalCount?: number;
|
|
1245
|
-
static names(): {
|
|
1246
|
-
[key: string]: string;
|
|
1247
|
-
};
|
|
1248
|
-
static types(): {
|
|
1249
|
-
[key: string]: any;
|
|
1250
|
-
};
|
|
1251
|
-
constructor(map?: {
|
|
1252
|
-
[key: string]: any;
|
|
1253
|
-
});
|
|
1254
|
-
}
|
|
1255
|
-
export declare class DescribeTaskResponseBodyData extends $tea.Model {
|
|
1256
|
-
/**
|
|
1257
|
-
* @example
|
|
1258
|
-
* 1724983927
|
|
1259
|
-
*/
|
|
1260
|
-
completeTime?: number;
|
|
1261
|
-
/**
|
|
1262
|
-
* @example
|
|
1263
|
-
* too many requests.
|
|
1264
|
-
*/
|
|
1265
|
-
errorMessage?: string;
|
|
1266
|
-
executionId?: string;
|
|
1267
|
-
/**
|
|
1268
|
-
* @example
|
|
1269
|
-
* 1719026680
|
|
1270
|
-
*/
|
|
1271
|
-
expireTime?: number;
|
|
1272
|
-
/**
|
|
1273
|
-
* @example
|
|
1274
|
-
* 100
|
|
1275
|
-
*/
|
|
1276
|
-
progress?: number;
|
|
1277
|
-
/**
|
|
1278
|
-
* @example
|
|
1279
|
-
* 784076D6-BD6D-5564-9CEA-834EB11F0C62
|
|
1280
|
-
*/
|
|
1281
|
-
requestId?: string;
|
|
1282
|
-
/**
|
|
1283
|
-
* @example
|
|
1284
|
-
* 1724983927
|
|
1285
|
-
*/
|
|
1286
|
-
startTime?: number;
|
|
1287
|
-
taskDescription?: string;
|
|
1288
|
-
/**
|
|
1289
|
-
* @example
|
|
1290
|
-
* {"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}
|
|
1291
|
-
*/
|
|
1292
|
-
taskDetail?: string;
|
|
1293
|
-
/**
|
|
1294
|
-
* @example
|
|
1295
|
-
* t-xxxxxxxx
|
|
1296
|
-
*/
|
|
1297
|
-
taskId?: string;
|
|
1298
|
-
/**
|
|
1299
|
-
* @example
|
|
1300
|
-
* test5566
|
|
1301
|
-
*/
|
|
1302
|
-
taskName?: string;
|
|
1303
|
-
taskPriority?: string;
|
|
1304
|
-
/**
|
|
1305
|
-
* @example
|
|
1306
|
-
* RUNNING
|
|
1307
|
-
*/
|
|
1308
|
-
taskStatus?: string;
|
|
1309
|
-
/**
|
|
1310
|
-
* @example
|
|
1311
|
-
* UPDATE_RESOURCES
|
|
1312
|
-
*/
|
|
1313
|
-
taskType?: string;
|
|
1314
|
-
static names(): {
|
|
1315
|
-
[key: string]: string;
|
|
1316
|
-
};
|
|
1317
|
-
static types(): {
|
|
1318
|
-
[key: string]: any;
|
|
1319
|
-
};
|
|
1320
|
-
constructor(map?: {
|
|
1321
|
-
[key: string]: any;
|
|
1322
|
-
});
|
|
1323
|
-
}
|
|
1324
|
-
export declare class DescribeTasksResponseBodyDataContent extends $tea.Model {
|
|
1325
|
-
/**
|
|
1326
|
-
* @example
|
|
1327
|
-
* 1724983927
|
|
1328
|
-
*/
|
|
1329
|
-
completeTime?: number;
|
|
1330
|
-
/**
|
|
1331
|
-
* @example
|
|
1332
|
-
* device not online
|
|
1333
|
-
*/
|
|
1334
|
-
errorMessage?: string;
|
|
1335
|
-
/**
|
|
1336
|
-
* @example
|
|
1337
|
-
* empty
|
|
1338
|
-
*/
|
|
1339
|
-
executionId?: string;
|
|
1340
|
-
/**
|
|
1341
|
-
* @example
|
|
1342
|
-
* 1724983927
|
|
1343
|
-
*/
|
|
1344
|
-
expireTime?: number;
|
|
1345
|
-
/**
|
|
1346
|
-
* @example
|
|
1347
|
-
* 100
|
|
1348
|
-
*/
|
|
1349
|
-
progress?: number;
|
|
1350
|
-
/**
|
|
1351
|
-
* @example
|
|
1352
|
-
* AE43C4CB-8074-5EBD-9806-8CA6D12800B1
|
|
1353
|
-
*/
|
|
1354
|
-
requestId?: string;
|
|
1355
|
-
/**
|
|
1356
|
-
* @example
|
|
1357
|
-
* 1724983927
|
|
1358
|
-
*/
|
|
1359
|
-
startTime?: number;
|
|
1360
|
-
/**
|
|
1361
|
-
* @example
|
|
1362
|
-
* empty
|
|
1363
|
-
*/
|
|
1364
|
-
taskDescription?: string;
|
|
1365
|
-
/**
|
|
1366
|
-
* @example
|
|
1367
|
-
* {"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}
|
|
1368
|
-
*/
|
|
1369
|
-
taskDetail?: string;
|
|
1370
|
-
/**
|
|
1371
|
-
* @example
|
|
1372
|
-
* t-0000e4w0u1v592zdf6s7
|
|
1373
|
-
*/
|
|
1374
|
-
taskId?: string;
|
|
1375
|
-
/**
|
|
1376
|
-
* @example
|
|
1377
|
-
* empty
|
|
1378
|
-
*/
|
|
1379
|
-
taskName?: string;
|
|
1380
|
-
/**
|
|
1381
|
-
* @example
|
|
1382
|
-
* HIGH
|
|
1383
|
-
*/
|
|
1384
|
-
taskPriority?: string;
|
|
1385
|
-
/**
|
|
1386
|
-
* @example
|
|
1387
|
-
* RUNNING
|
|
1388
|
-
*/
|
|
1389
|
-
taskStatus?: string;
|
|
1390
|
-
/**
|
|
1391
|
-
* @example
|
|
1392
|
-
* UPDATE_RESOURCES
|
|
1393
|
-
*/
|
|
1394
|
-
taskType?: string;
|
|
1395
|
-
static names(): {
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import OpenApi from '@alicloud/openapi-core';
|
|
3
|
+
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
4
|
+
import * as $_model from './models/model';
|
|
5
|
+
export * from './models/model';
|
|
6
|
+
export default class Client extends OpenApi {
|
|
7
|
+
constructor(config: $OpenApiUtil.Config);
|
|
8
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1396
9
|
[key: string]: string;
|
|
1397
|
-
};
|
|
1398
|
-
static types(): {
|
|
1399
|
-
[key: string]: any;
|
|
1400
|
-
};
|
|
1401
|
-
constructor(map?: {
|
|
1402
|
-
[key: string]: any;
|
|
1403
|
-
});
|
|
1404
|
-
}
|
|
1405
|
-
export declare class DescribeTasksResponseBodyData extends $tea.Model {
|
|
1406
|
-
content?: DescribeTasksResponseBodyDataContent[];
|
|
1407
|
-
/**
|
|
1408
|
-
* @example
|
|
1409
|
-
* 10
|
|
1410
|
-
*/
|
|
1411
|
-
maxResults?: number;
|
|
1412
|
-
/**
|
|
1413
|
-
* @example
|
|
1414
|
-
* f4b8c2504545a3b41af5e75147d17d12e3818a0b9b2ff9a2
|
|
1415
|
-
*/
|
|
1416
|
-
nextToken?: string;
|
|
10
|
+
}, endpoint: string): string;
|
|
1417
11
|
/**
|
|
1418
|
-
*
|
|
1419
|
-
*
|
|
12
|
+
* Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.
|
|
13
|
+
*
|
|
14
|
+
* @param request - CheckRulesRequest
|
|
15
|
+
* @param headers - map
|
|
16
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17
|
+
* @returns CheckRulesResponse
|
|
1420
18
|
*/
|
|
1421
|
-
|
|
1422
|
-
static names(): {
|
|
19
|
+
checkRulesWithOptions(request: $_model.CheckRulesRequest, headers: {
|
|
1423
20
|
[key: string]: string;
|
|
1424
|
-
}
|
|
1425
|
-
static types(): {
|
|
1426
|
-
[key: string]: any;
|
|
1427
|
-
};
|
|
1428
|
-
constructor(map?: {
|
|
1429
|
-
[key: string]: any;
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1432
|
-
export declare class DescribeTopRiskyResourcesResponseBodyDataContent extends $tea.Model {
|
|
1433
|
-
/**
|
|
1434
|
-
* @example
|
|
1435
|
-
* 0
|
|
1436
|
-
*/
|
|
1437
|
-
archiveDataSize?: number;
|
|
1438
|
-
/**
|
|
1439
|
-
* @example
|
|
1440
|
-
* 0
|
|
1441
|
-
*/
|
|
1442
|
-
checkFailedCount?: number;
|
|
1443
|
-
/**
|
|
1444
|
-
* @example
|
|
1445
|
-
* 0
|
|
1446
|
-
*/
|
|
1447
|
-
coldArchiveDataSize?: number;
|
|
1448
|
-
/**
|
|
1449
|
-
* @example
|
|
1450
|
-
* 1697798340
|
|
1451
|
-
*/
|
|
1452
|
-
createTime?: number;
|
|
1453
|
-
/**
|
|
1454
|
-
* @example
|
|
1455
|
-
* true
|
|
1456
|
-
*/
|
|
1457
|
-
enableCheck?: boolean;
|
|
1458
|
-
/**
|
|
1459
|
-
* @example
|
|
1460
|
-
* 0
|
|
1461
|
-
*/
|
|
1462
|
-
iaDataSize?: number;
|
|
1463
|
-
/**
|
|
1464
|
-
* @example
|
|
1465
|
-
* ecs
|
|
1466
|
-
*/
|
|
1467
|
-
productType?: string;
|
|
1468
|
-
/**
|
|
1469
|
-
* @example
|
|
1470
|
-
* 90
|
|
1471
|
-
*/
|
|
1472
|
-
protectionScore?: number;
|
|
1473
|
-
/**
|
|
1474
|
-
* @example
|
|
1475
|
-
* 1726036498
|
|
1476
|
-
*/
|
|
1477
|
-
protectionScoreUpdatedTime?: number;
|
|
1478
|
-
/**
|
|
1479
|
-
* @example
|
|
1480
|
-
* cn-hangzhou
|
|
1481
|
-
*/
|
|
1482
|
-
regionId?: string;
|
|
1483
|
-
/**
|
|
1484
|
-
* @example
|
|
1485
|
-
* acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx
|
|
1486
|
-
*/
|
|
1487
|
-
resourceArn?: string;
|
|
1488
|
-
/**
|
|
1489
|
-
* @example
|
|
1490
|
-
* i-xxxxxxxx
|
|
1491
|
-
*/
|
|
1492
|
-
resourceId?: string;
|
|
1493
|
-
/**
|
|
1494
|
-
* @example
|
|
1495
|
-
* test-server
|
|
1496
|
-
*/
|
|
1497
|
-
resourceName?: string;
|
|
1498
|
-
/**
|
|
1499
|
-
* @example
|
|
1500
|
-
* ACS::ECS::Instance
|
|
1501
|
-
*/
|
|
1502
|
-
resourceType?: string;
|
|
1503
|
-
/**
|
|
1504
|
-
* @example
|
|
1505
|
-
* 0
|
|
1506
|
-
*/
|
|
1507
|
-
riskCount?: number;
|
|
1508
|
-
/**
|
|
1509
|
-
* @example
|
|
1510
|
-
* 0
|
|
1511
|
-
*/
|
|
1512
|
-
standardDataSize?: number;
|
|
1513
|
-
/**
|
|
1514
|
-
* @example
|
|
1515
|
-
* Running
|
|
1516
|
-
*/
|
|
1517
|
-
status?: string;
|
|
1518
|
-
/**
|
|
1519
|
-
* @example
|
|
1520
|
-
* 0
|
|
1521
|
-
*/
|
|
1522
|
-
totalDataSize?: number;
|
|
21
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckRulesResponse>;
|
|
1523
22
|
/**
|
|
1524
|
-
*
|
|
1525
|
-
* vSwitch ID
|
|
23
|
+
* Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.
|
|
1526
24
|
*
|
|
1527
|
-
* @
|
|
1528
|
-
*
|
|
25
|
+
* @param request - CheckRulesRequest
|
|
26
|
+
* @returns CheckRulesResponse
|
|
1529
27
|
*/
|
|
1530
|
-
|
|
28
|
+
checkRules(request: $_model.CheckRulesRequest): Promise<$_model.CheckRulesResponse>;
|
|
1531
29
|
/**
|
|
1532
|
-
*
|
|
1533
|
-
* vpc ID
|
|
30
|
+
* Shuts down the Backup and Disaster Recovery Center.
|
|
1534
31
|
*
|
|
1535
|
-
* @
|
|
1536
|
-
*
|
|
1537
|
-
|
|
1538
|
-
vpcId?: string;
|
|
1539
|
-
/**
|
|
1540
|
-
* @example
|
|
1541
|
-
* cn-hangzhou-j
|
|
32
|
+
* @param headers - map
|
|
33
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
34
|
+
* @returns CloseBdrcServiceResponse
|
|
1542
35
|
*/
|
|
1543
|
-
|
|
1544
|
-
static names(): {
|
|
36
|
+
closeBdrcServiceWithOptions(headers: {
|
|
1545
37
|
[key: string]: string;
|
|
1546
|
-
}
|
|
1547
|
-
static types(): {
|
|
1548
|
-
[key: string]: any;
|
|
1549
|
-
};
|
|
1550
|
-
constructor(map?: {
|
|
1551
|
-
[key: string]: any;
|
|
1552
|
-
});
|
|
1553
|
-
}
|
|
1554
|
-
export declare class DescribeTopRiskyResourcesResponseBodyData extends $tea.Model {
|
|
1555
|
-
content?: DescribeTopRiskyResourcesResponseBodyDataContent[];
|
|
38
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CloseBdrcServiceResponse>;
|
|
1556
39
|
/**
|
|
1557
|
-
*
|
|
1558
|
-
*
|
|
1559
|
-
*/
|
|
1560
|
-
maxResults?: number;
|
|
1561
|
-
/**
|
|
1562
|
-
* @example
|
|
1563
|
-
* e557bc9a65fe22cb5e2a3b240f06b0de
|
|
40
|
+
* Shuts down the Backup and Disaster Recovery Center.
|
|
41
|
+
* @returns CloseBdrcServiceResponse
|
|
1564
42
|
*/
|
|
1565
|
-
|
|
43
|
+
closeBdrcService(): Promise<$_model.CloseBdrcServiceResponse>;
|
|
1566
44
|
/**
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
45
|
+
* Creates a protection policy.
|
|
46
|
+
*
|
|
47
|
+
* @param tmpReq - CreateProtectionPolicyRequest
|
|
48
|
+
* @param headers - map
|
|
49
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
50
|
+
* @returns CreateProtectionPolicyResponse
|
|
1569
51
|
*/
|
|
1570
|
-
|
|
1571
|
-
static names(): {
|
|
52
|
+
createProtectionPolicyWithOptions(tmpReq: $_model.CreateProtectionPolicyRequest, headers: {
|
|
1572
53
|
[key: string]: string;
|
|
1573
|
-
}
|
|
1574
|
-
static types(): {
|
|
1575
|
-
[key: string]: any;
|
|
1576
|
-
};
|
|
1577
|
-
constructor(map?: {
|
|
1578
|
-
[key: string]: any;
|
|
1579
|
-
});
|
|
1580
|
-
}
|
|
1581
|
-
export declare class GetBdrcServiceResponseBodyData extends $tea.Model {
|
|
1582
|
-
/**
|
|
1583
|
-
* @example
|
|
1584
|
-
* 1726169608
|
|
1585
|
-
*/
|
|
1586
|
-
openTime?: number;
|
|
1587
|
-
/**
|
|
1588
|
-
* @example
|
|
1589
|
-
* 1726169608
|
|
1590
|
-
*/
|
|
1591
|
-
protectionScoreUpdatedTime?: number;
|
|
54
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateProtectionPolicyResponse>;
|
|
1592
55
|
/**
|
|
1593
|
-
*
|
|
1594
|
-
*
|
|
56
|
+
* Creates a protection policy.
|
|
57
|
+
*
|
|
58
|
+
* @param request - CreateProtectionPolicyRequest
|
|
59
|
+
* @returns CreateProtectionPolicyResponse
|
|
1595
60
|
*/
|
|
1596
|
-
|
|
61
|
+
createProtectionPolicy(request: $_model.CreateProtectionPolicyRequest): Promise<$_model.CreateProtectionPolicyResponse>;
|
|
1597
62
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
63
|
+
* Creates a resource category.
|
|
64
|
+
*
|
|
65
|
+
* @param request - CreateResourceCategoryRequest
|
|
66
|
+
* @param headers - map
|
|
67
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
68
|
+
* @returns CreateResourceCategoryResponse
|
|
1600
69
|
*/
|
|
1601
|
-
|
|
1602
|
-
static names(): {
|
|
70
|
+
createResourceCategoryWithOptions(request: $_model.CreateResourceCategoryRequest, headers: {
|
|
1603
71
|
[key: string]: string;
|
|
1604
|
-
}
|
|
1605
|
-
static types(): {
|
|
1606
|
-
[key: string]: any;
|
|
1607
|
-
};
|
|
1608
|
-
constructor(map?: {
|
|
1609
|
-
[key: string]: any;
|
|
1610
|
-
});
|
|
1611
|
-
}
|
|
1612
|
-
export declare class UpdateResourcesResponseBodyData extends $tea.Model {
|
|
72
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateResourceCategoryResponse>;
|
|
1613
73
|
/**
|
|
1614
|
-
*
|
|
1615
|
-
*
|
|
74
|
+
* Creates a resource category.
|
|
75
|
+
*
|
|
76
|
+
* @param request - CreateResourceCategoryRequest
|
|
77
|
+
* @returns CreateResourceCategoryResponse
|
|
1616
78
|
*/
|
|
1617
|
-
|
|
1618
|
-
static names(): {
|
|
1619
|
-
[key: string]: string;
|
|
1620
|
-
};
|
|
1621
|
-
static types(): {
|
|
1622
|
-
[key: string]: any;
|
|
1623
|
-
};
|
|
1624
|
-
constructor(map?: {
|
|
1625
|
-
[key: string]: any;
|
|
1626
|
-
});
|
|
1627
|
-
}
|
|
1628
|
-
export default class Client extends OpenApi {
|
|
1629
|
-
constructor(config: $OpenApi.Config);
|
|
1630
|
-
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1631
|
-
[key: string]: string;
|
|
1632
|
-
}, endpoint: string): string;
|
|
79
|
+
createResourceCategory(request: $_model.CreateResourceCategoryRequest): Promise<$_model.CreateResourceCategoryResponse>;
|
|
1633
80
|
/**
|
|
1634
|
-
*
|
|
81
|
+
* Deletes a protection policy.
|
|
82
|
+
*
|
|
83
|
+
* @param request - DeleteProtectionPolicyRequest
|
|
1635
84
|
* @param headers - map
|
|
1636
85
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1637
|
-
* @returns
|
|
86
|
+
* @returns DeleteProtectionPolicyResponse
|
|
1638
87
|
*/
|
|
1639
|
-
|
|
88
|
+
deleteProtectionPolicyWithOptions(ProtectionPolicyId: string, request: $_model.DeleteProtectionPolicyRequest, headers: {
|
|
1640
89
|
[key: string]: string;
|
|
1641
|
-
}, runtime: $
|
|
90
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteProtectionPolicyResponse>;
|
|
1642
91
|
/**
|
|
1643
|
-
*
|
|
1644
|
-
*
|
|
92
|
+
* Deletes a protection policy.
|
|
93
|
+
*
|
|
94
|
+
* @param request - DeleteProtectionPolicyRequest
|
|
95
|
+
* @returns DeleteProtectionPolicyResponse
|
|
1645
96
|
*/
|
|
1646
|
-
|
|
97
|
+
deleteProtectionPolicy(ProtectionPolicyId: string, request: $_model.DeleteProtectionPolicyRequest): Promise<$_model.DeleteProtectionPolicyResponse>;
|
|
1647
98
|
/**
|
|
99
|
+
* Deletes a resource category.
|
|
100
|
+
*
|
|
101
|
+
* @param request - DeleteResourceCategoryRequest
|
|
1648
102
|
* @param headers - map
|
|
1649
103
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1650
|
-
* @returns
|
|
104
|
+
* @returns DeleteResourceCategoryResponse
|
|
1651
105
|
*/
|
|
1652
|
-
|
|
106
|
+
deleteResourceCategoryWithOptions(request: $_model.DeleteResourceCategoryRequest, headers: {
|
|
1653
107
|
[key: string]: string;
|
|
1654
|
-
}, runtime: $
|
|
108
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteResourceCategoryResponse>;
|
|
1655
109
|
/**
|
|
1656
|
-
*
|
|
110
|
+
* Deletes a resource category.
|
|
111
|
+
*
|
|
112
|
+
* @param request - DeleteResourceCategoryRequest
|
|
113
|
+
* @returns DeleteResourceCategoryResponse
|
|
1657
114
|
*/
|
|
1658
|
-
|
|
115
|
+
deleteResourceCategory(request: $_model.DeleteResourceCategoryRequest): Promise<$_model.DeleteResourceCategoryResponse>;
|
|
1659
116
|
/**
|
|
117
|
+
* Retrieves the check results for data protection rules.
|
|
118
|
+
*
|
|
1660
119
|
* @param request - DescribeCheckDetailsRequest
|
|
1661
120
|
* @param headers - map
|
|
1662
121
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1663
122
|
* @returns DescribeCheckDetailsResponse
|
|
1664
123
|
*/
|
|
1665
|
-
describeCheckDetailsWithOptions(request: DescribeCheckDetailsRequest, headers: {
|
|
124
|
+
describeCheckDetailsWithOptions(request: $_model.DescribeCheckDetailsRequest, headers: {
|
|
1666
125
|
[key: string]: string;
|
|
1667
|
-
}, runtime: $
|
|
126
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCheckDetailsResponse>;
|
|
1668
127
|
/**
|
|
128
|
+
* Retrieves the check results for data protection rules.
|
|
129
|
+
*
|
|
1669
130
|
* @param request - DescribeCheckDetailsRequest
|
|
1670
131
|
* @returns DescribeCheckDetailsResponse
|
|
1671
132
|
*/
|
|
1672
|
-
describeCheckDetails(request: DescribeCheckDetailsRequest): Promise
|
|
133
|
+
describeCheckDetails(request: $_model.DescribeCheckDetailsRequest): Promise<$_model.DescribeCheckDetailsResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Queries statistics on data redundancy types for a cloud service.
|
|
136
|
+
*
|
|
137
|
+
* @param tmpReq - DescribeProductDataRedundancyTypeStatRequest
|
|
138
|
+
* @param headers - map
|
|
139
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
140
|
+
* @returns DescribeProductDataRedundancyTypeStatResponse
|
|
141
|
+
*/
|
|
142
|
+
describeProductDataRedundancyTypeStatWithOptions(tmpReq: $_model.DescribeProductDataRedundancyTypeStatRequest, headers: {
|
|
143
|
+
[key: string]: string;
|
|
144
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductDataRedundancyTypeStatResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Queries statistics on data redundancy types for a cloud service.
|
|
147
|
+
*
|
|
148
|
+
* @param request - DescribeProductDataRedundancyTypeStatRequest
|
|
149
|
+
* @returns DescribeProductDataRedundancyTypeStatResponse
|
|
150
|
+
*/
|
|
151
|
+
describeProductDataRedundancyTypeStat(request: $_model.DescribeProductDataRedundancyTypeStatRequest): Promise<$_model.DescribeProductDataRedundancyTypeStatResponse>;
|
|
1673
152
|
/**
|
|
153
|
+
* Queries the data protection score status for cloud products.
|
|
154
|
+
*
|
|
155
|
+
* @param tmpReq - DescribeProductsRequest
|
|
1674
156
|
* @param headers - map
|
|
1675
157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1676
158
|
* @returns DescribeProductsResponse
|
|
1677
159
|
*/
|
|
1678
|
-
describeProductsWithOptions(headers: {
|
|
160
|
+
describeProductsWithOptions(tmpReq: $_model.DescribeProductsRequest, headers: {
|
|
1679
161
|
[key: string]: string;
|
|
1680
|
-
}, runtime: $
|
|
162
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductsResponse>;
|
|
1681
163
|
/**
|
|
164
|
+
* Queries the data protection score status for cloud products.
|
|
165
|
+
*
|
|
166
|
+
* @param request - DescribeProductsRequest
|
|
1682
167
|
* @returns DescribeProductsResponse
|
|
1683
168
|
*/
|
|
1684
|
-
describeProducts(): Promise
|
|
169
|
+
describeProducts(request: $_model.DescribeProductsRequest): Promise<$_model.DescribeProductsResponse>;
|
|
1685
170
|
/**
|
|
1686
|
-
*
|
|
171
|
+
* Query resources
|
|
172
|
+
*
|
|
173
|
+
* @param tmpReq - DescribeResourcesRequest
|
|
1687
174
|
* @param headers - map
|
|
1688
175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1689
176
|
* @returns DescribeResourcesResponse
|
|
1690
177
|
*/
|
|
1691
|
-
describeResourcesWithOptions(
|
|
178
|
+
describeResourcesWithOptions(tmpReq: $_model.DescribeResourcesRequest, headers: {
|
|
1692
179
|
[key: string]: string;
|
|
1693
|
-
}, runtime: $
|
|
180
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourcesResponse>;
|
|
1694
181
|
/**
|
|
182
|
+
* Query resources
|
|
183
|
+
*
|
|
1695
184
|
* @param request - DescribeResourcesRequest
|
|
1696
185
|
* @returns DescribeResourcesResponse
|
|
1697
186
|
*/
|
|
1698
|
-
describeResources(request: DescribeResourcesRequest): Promise
|
|
187
|
+
describeResources(request: $_model.DescribeResourcesRequest): Promise<$_model.DescribeResourcesResponse>;
|
|
1699
188
|
/**
|
|
1700
|
-
*
|
|
189
|
+
* Lists all data protection rules.
|
|
190
|
+
*
|
|
191
|
+
* @param tmpReq - DescribeRulesRequest
|
|
1701
192
|
* @param headers - map
|
|
1702
193
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1703
194
|
* @returns DescribeRulesResponse
|
|
1704
195
|
*/
|
|
1705
|
-
describeRulesWithOptions(
|
|
196
|
+
describeRulesWithOptions(tmpReq: $_model.DescribeRulesRequest, headers: {
|
|
1706
197
|
[key: string]: string;
|
|
1707
|
-
}, runtime: $
|
|
198
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRulesResponse>;
|
|
1708
199
|
/**
|
|
200
|
+
* Lists all data protection rules.
|
|
201
|
+
*
|
|
1709
202
|
* @param request - DescribeRulesRequest
|
|
1710
203
|
* @returns DescribeRulesResponse
|
|
1711
204
|
*/
|
|
1712
|
-
describeRules(request: DescribeRulesRequest): Promise
|
|
205
|
+
describeRules(request: $_model.DescribeRulesRequest): Promise<$_model.DescribeRulesResponse>;
|
|
1713
206
|
/**
|
|
207
|
+
* Retrieves the details of an asynchronous task.
|
|
208
|
+
*
|
|
1714
209
|
* @param headers - map
|
|
1715
210
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1716
211
|
* @returns DescribeTaskResponse
|
|
1717
212
|
*/
|
|
1718
213
|
describeTaskWithOptions(TaskId: string, headers: {
|
|
1719
214
|
[key: string]: string;
|
|
1720
|
-
}, runtime: $
|
|
215
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTaskResponse>;
|
|
1721
216
|
/**
|
|
217
|
+
* Retrieves the details of an asynchronous task.
|
|
1722
218
|
* @returns DescribeTaskResponse
|
|
1723
219
|
*/
|
|
1724
|
-
describeTask(TaskId: string): Promise
|
|
220
|
+
describeTask(TaskId: string): Promise<$_model.DescribeTaskResponse>;
|
|
1725
221
|
/**
|
|
222
|
+
* Retrieves asynchronous tasks.
|
|
223
|
+
*
|
|
1726
224
|
* @param request - DescribeTasksRequest
|
|
1727
225
|
* @param headers - map
|
|
1728
226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1729
227
|
* @returns DescribeTasksResponse
|
|
1730
228
|
*/
|
|
1731
|
-
describeTasksWithOptions(request: DescribeTasksRequest, headers: {
|
|
229
|
+
describeTasksWithOptions(request: $_model.DescribeTasksRequest, headers: {
|
|
1732
230
|
[key: string]: string;
|
|
1733
|
-
}, runtime: $
|
|
231
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTasksResponse>;
|
|
1734
232
|
/**
|
|
233
|
+
* Retrieves asynchronous tasks.
|
|
234
|
+
*
|
|
1735
235
|
* @param request - DescribeTasksRequest
|
|
1736
236
|
* @returns DescribeTasksResponse
|
|
1737
237
|
*/
|
|
1738
|
-
describeTasks(request: DescribeTasksRequest): Promise
|
|
238
|
+
describeTasks(request: $_model.DescribeTasksRequest): Promise<$_model.DescribeTasksResponse>;
|
|
1739
239
|
/**
|
|
1740
|
-
*
|
|
240
|
+
* Lists the most threatened resources.
|
|
241
|
+
*
|
|
242
|
+
* @param tmpReq - DescribeTopRiskyResourcesRequest
|
|
1741
243
|
* @param headers - map
|
|
1742
244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1743
245
|
* @returns DescribeTopRiskyResourcesResponse
|
|
1744
246
|
*/
|
|
1745
|
-
describeTopRiskyResourcesWithOptions(
|
|
247
|
+
describeTopRiskyResourcesWithOptions(tmpReq: $_model.DescribeTopRiskyResourcesRequest, headers: {
|
|
1746
248
|
[key: string]: string;
|
|
1747
|
-
}, runtime: $
|
|
249
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTopRiskyResourcesResponse>;
|
|
1748
250
|
/**
|
|
251
|
+
* Lists the most threatened resources.
|
|
252
|
+
*
|
|
1749
253
|
* @param request - DescribeTopRiskyResourcesRequest
|
|
1750
254
|
* @returns DescribeTopRiskyResourcesResponse
|
|
1751
255
|
*/
|
|
1752
|
-
describeTopRiskyResources(request: DescribeTopRiskyResourcesRequest): Promise
|
|
256
|
+
describeTopRiskyResources(request: $_model.DescribeTopRiskyResourcesRequest): Promise<$_model.DescribeTopRiskyResourcesResponse>;
|
|
1753
257
|
/**
|
|
258
|
+
* Disables the data protection score for a cloud product.
|
|
259
|
+
*
|
|
1754
260
|
* @param request - DisableCheckProductRequest
|
|
1755
261
|
* @param headers - map
|
|
1756
262
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1757
263
|
* @returns DisableCheckProductResponse
|
|
1758
264
|
*/
|
|
1759
|
-
disableCheckProductWithOptions(request: DisableCheckProductRequest, headers: {
|
|
265
|
+
disableCheckProductWithOptions(request: $_model.DisableCheckProductRequest, headers: {
|
|
1760
266
|
[key: string]: string;
|
|
1761
|
-
}, runtime: $
|
|
267
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCheckProductResponse>;
|
|
1762
268
|
/**
|
|
269
|
+
* Disables the data protection score for a cloud product.
|
|
270
|
+
*
|
|
1763
271
|
* @param request - DisableCheckProductRequest
|
|
1764
272
|
* @returns DisableCheckProductResponse
|
|
1765
273
|
*/
|
|
1766
|
-
disableCheckProduct(request: DisableCheckProductRequest): Promise
|
|
274
|
+
disableCheckProduct(request: $_model.DisableCheckProductRequest): Promise<$_model.DisableCheckProductResponse>;
|
|
1767
275
|
/**
|
|
276
|
+
* Disables the data protection score for a resource.
|
|
277
|
+
*
|
|
1768
278
|
* @param request - DisableCheckResourceRequest
|
|
1769
279
|
* @param headers - map
|
|
1770
280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1771
281
|
* @returns DisableCheckResourceResponse
|
|
1772
282
|
*/
|
|
1773
|
-
disableCheckResourceWithOptions(request: DisableCheckResourceRequest, headers: {
|
|
283
|
+
disableCheckResourceWithOptions(request: $_model.DisableCheckResourceRequest, headers: {
|
|
1774
284
|
[key: string]: string;
|
|
1775
|
-
}, runtime: $
|
|
285
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCheckResourceResponse>;
|
|
1776
286
|
/**
|
|
287
|
+
* Disables the data protection score for a resource.
|
|
288
|
+
*
|
|
1777
289
|
* @param request - DisableCheckResourceRequest
|
|
1778
290
|
* @returns DisableCheckResourceResponse
|
|
1779
291
|
*/
|
|
1780
|
-
disableCheckResource(request: DisableCheckResourceRequest): Promise
|
|
292
|
+
disableCheckResource(request: $_model.DisableCheckResourceRequest): Promise<$_model.DisableCheckResourceResponse>;
|
|
1781
293
|
/**
|
|
294
|
+
* Enables data protection scoring for a cloud product.
|
|
295
|
+
*
|
|
1782
296
|
* @param request - EnableCheckProductRequest
|
|
1783
297
|
* @param headers - map
|
|
1784
298
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1785
299
|
* @returns EnableCheckProductResponse
|
|
1786
300
|
*/
|
|
1787
|
-
enableCheckProductWithOptions(request: EnableCheckProductRequest, headers: {
|
|
301
|
+
enableCheckProductWithOptions(request: $_model.EnableCheckProductRequest, headers: {
|
|
1788
302
|
[key: string]: string;
|
|
1789
|
-
}, runtime: $
|
|
303
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCheckProductResponse>;
|
|
1790
304
|
/**
|
|
305
|
+
* Enables data protection scoring for a cloud product.
|
|
306
|
+
*
|
|
1791
307
|
* @param request - EnableCheckProductRequest
|
|
1792
308
|
* @returns EnableCheckProductResponse
|
|
1793
309
|
*/
|
|
1794
|
-
enableCheckProduct(request: EnableCheckProductRequest): Promise
|
|
310
|
+
enableCheckProduct(request: $_model.EnableCheckProductRequest): Promise<$_model.EnableCheckProductResponse>;
|
|
1795
311
|
/**
|
|
312
|
+
* Enables data protection scoring for a single resource.
|
|
313
|
+
*
|
|
1796
314
|
* @param request - EnableCheckResourceRequest
|
|
1797
315
|
* @param headers - map
|
|
1798
316
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1799
317
|
* @returns EnableCheckResourceResponse
|
|
1800
318
|
*/
|
|
1801
|
-
enableCheckResourceWithOptions(request: EnableCheckResourceRequest, headers: {
|
|
319
|
+
enableCheckResourceWithOptions(request: $_model.EnableCheckResourceRequest, headers: {
|
|
1802
320
|
[key: string]: string;
|
|
1803
|
-
}, runtime: $
|
|
321
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCheckResourceResponse>;
|
|
1804
322
|
/**
|
|
323
|
+
* Enables data protection scoring for a single resource.
|
|
324
|
+
*
|
|
1805
325
|
* @param request - EnableCheckResourceRequest
|
|
1806
326
|
* @returns EnableCheckResourceResponse
|
|
1807
327
|
*/
|
|
1808
|
-
enableCheckResource(request: EnableCheckResourceRequest): Promise
|
|
328
|
+
enableCheckResource(request: $_model.EnableCheckResourceRequest): Promise<$_model.EnableCheckResourceResponse>;
|
|
1809
329
|
/**
|
|
330
|
+
* Queries the status of the Backup and Disaster Recovery Center.
|
|
331
|
+
*
|
|
1810
332
|
* @param headers - map
|
|
1811
333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1812
334
|
* @returns GetBdrcServiceResponse
|
|
1813
335
|
*/
|
|
1814
336
|
getBdrcServiceWithOptions(headers: {
|
|
1815
337
|
[key: string]: string;
|
|
1816
|
-
}, runtime: $
|
|
338
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetBdrcServiceResponse>;
|
|
1817
339
|
/**
|
|
340
|
+
* Queries the status of the Backup and Disaster Recovery Center.
|
|
1818
341
|
* @returns GetBdrcServiceResponse
|
|
1819
342
|
*/
|
|
1820
|
-
getBdrcService(): Promise
|
|
343
|
+
getBdrcService(): Promise<$_model.GetBdrcServiceResponse>;
|
|
344
|
+
/**
|
|
345
|
+
* Retrieves a single message.
|
|
346
|
+
*
|
|
347
|
+
* @param request - GetMessageRequest
|
|
348
|
+
* @param headers - map
|
|
349
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
350
|
+
* @returns GetMessageResponse
|
|
351
|
+
*/
|
|
352
|
+
getMessageWithOptions(MessageId: string, request: $_model.GetMessageRequest, headers: {
|
|
353
|
+
[key: string]: string;
|
|
354
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMessageResponse>;
|
|
355
|
+
/**
|
|
356
|
+
* Retrieves a single message.
|
|
357
|
+
*
|
|
358
|
+
* @param request - GetMessageRequest
|
|
359
|
+
* @returns GetMessageResponse
|
|
360
|
+
*/
|
|
361
|
+
getMessage(MessageId: string, request: $_model.GetMessageRequest): Promise<$_model.GetMessageResponse>;
|
|
362
|
+
/**
|
|
363
|
+
* Retrieves a protection policy.
|
|
364
|
+
*
|
|
365
|
+
* @param request - GetProtectionPolicyRequest
|
|
366
|
+
* @param headers - map
|
|
367
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
368
|
+
* @returns GetProtectionPolicyResponse
|
|
369
|
+
*/
|
|
370
|
+
getProtectionPolicyWithOptions(ProtectionPolicyId: string, request: $_model.GetProtectionPolicyRequest, headers: {
|
|
371
|
+
[key: string]: string;
|
|
372
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetProtectionPolicyResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Retrieves a protection policy.
|
|
375
|
+
*
|
|
376
|
+
* @param request - GetProtectionPolicyRequest
|
|
377
|
+
* @returns GetProtectionPolicyResponse
|
|
378
|
+
*/
|
|
379
|
+
getProtectionPolicy(ProtectionPolicyId: string, request: $_model.GetProtectionPolicyRequest): Promise<$_model.GetProtectionPolicyResponse>;
|
|
380
|
+
/**
|
|
381
|
+
* Retrieves a single resource category.
|
|
382
|
+
*
|
|
383
|
+
* @param request - GetResourceCategoryRequest
|
|
384
|
+
* @param headers - map
|
|
385
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
386
|
+
* @returns GetResourceCategoryResponse
|
|
387
|
+
*/
|
|
388
|
+
getResourceCategoryWithOptions(request: $_model.GetResourceCategoryRequest, headers: {
|
|
389
|
+
[key: string]: string;
|
|
390
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetResourceCategoryResponse>;
|
|
391
|
+
/**
|
|
392
|
+
* Retrieves a single resource category.
|
|
393
|
+
*
|
|
394
|
+
* @param request - GetResourceCategoryRequest
|
|
395
|
+
* @returns GetResourceCategoryResponse
|
|
396
|
+
*/
|
|
397
|
+
getResourceCategory(request: $_model.GetResourceCategoryRequest): Promise<$_model.GetResourceCategoryResponse>;
|
|
398
|
+
/**
|
|
399
|
+
* Queries messages in batches.
|
|
400
|
+
*
|
|
401
|
+
* @param request - ListMessagesRequest
|
|
402
|
+
* @param headers - map
|
|
403
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
404
|
+
* @returns ListMessagesResponse
|
|
405
|
+
*/
|
|
406
|
+
listMessagesWithOptions(request: $_model.ListMessagesRequest, headers: {
|
|
407
|
+
[key: string]: string;
|
|
408
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMessagesResponse>;
|
|
409
|
+
/**
|
|
410
|
+
* Queries messages in batches.
|
|
411
|
+
*
|
|
412
|
+
* @param request - ListMessagesRequest
|
|
413
|
+
* @returns ListMessagesResponse
|
|
414
|
+
*/
|
|
415
|
+
listMessages(request: $_model.ListMessagesRequest): Promise<$_model.ListMessagesResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* Retrieves a list of protection policies.
|
|
418
|
+
*
|
|
419
|
+
* @param request - ListProtectionPoliciesRequest
|
|
420
|
+
* @param headers - map
|
|
421
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
422
|
+
* @returns ListProtectionPoliciesResponse
|
|
423
|
+
*/
|
|
424
|
+
listProtectionPoliciesWithOptions(request: $_model.ListProtectionPoliciesRequest, headers: {
|
|
425
|
+
[key: string]: string;
|
|
426
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListProtectionPoliciesResponse>;
|
|
427
|
+
/**
|
|
428
|
+
* Retrieves a list of protection policies.
|
|
429
|
+
*
|
|
430
|
+
* @param request - ListProtectionPoliciesRequest
|
|
431
|
+
* @returns ListProtectionPoliciesResponse
|
|
432
|
+
*/
|
|
433
|
+
listProtectionPolicies(request: $_model.ListProtectionPoliciesRequest): Promise<$_model.ListProtectionPoliciesResponse>;
|
|
434
|
+
/**
|
|
435
|
+
* Retrieves the application history of the protection policy.
|
|
436
|
+
*
|
|
437
|
+
* @param request - ListProtectionPolicyApplicationsRequest
|
|
438
|
+
* @param headers - map
|
|
439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
440
|
+
* @returns ListProtectionPolicyApplicationsResponse
|
|
441
|
+
*/
|
|
442
|
+
listProtectionPolicyApplicationsWithOptions(ProtectionPolicyId: string, request: $_model.ListProtectionPolicyApplicationsRequest, headers: {
|
|
443
|
+
[key: string]: string;
|
|
444
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListProtectionPolicyApplicationsResponse>;
|
|
445
|
+
/**
|
|
446
|
+
* Retrieves the application history of the protection policy.
|
|
447
|
+
*
|
|
448
|
+
* @param request - ListProtectionPolicyApplicationsRequest
|
|
449
|
+
* @returns ListProtectionPolicyApplicationsResponse
|
|
450
|
+
*/
|
|
451
|
+
listProtectionPolicyApplications(ProtectionPolicyId: string, request: $_model.ListProtectionPolicyApplicationsRequest): Promise<$_model.ListProtectionPolicyApplicationsResponse>;
|
|
452
|
+
/**
|
|
453
|
+
* Retrieves a list of resource categories.
|
|
454
|
+
*
|
|
455
|
+
* @param request - ListResourceCategoriesRequest
|
|
456
|
+
* @param headers - map
|
|
457
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
458
|
+
* @returns ListResourceCategoriesResponse
|
|
459
|
+
*/
|
|
460
|
+
listResourceCategoriesWithOptions(request: $_model.ListResourceCategoriesRequest, headers: {
|
|
461
|
+
[key: string]: string;
|
|
462
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListResourceCategoriesResponse>;
|
|
463
|
+
/**
|
|
464
|
+
* Retrieves a list of resource categories.
|
|
465
|
+
*
|
|
466
|
+
* @param request - ListResourceCategoriesRequest
|
|
467
|
+
* @returns ListResourceCategoriesResponse
|
|
468
|
+
*/
|
|
469
|
+
listResourceCategories(request: $_model.ListResourceCategoriesRequest): Promise<$_model.ListResourceCategoriesResponse>;
|
|
1821
470
|
/**
|
|
471
|
+
* Enables the Backup and Disaster Recovery Center.
|
|
472
|
+
*
|
|
1822
473
|
* @param headers - map
|
|
1823
474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1824
475
|
* @returns OpenBdrcServiceResponse
|
|
1825
476
|
*/
|
|
1826
477
|
openBdrcServiceWithOptions(headers: {
|
|
1827
478
|
[key: string]: string;
|
|
1828
|
-
}, runtime: $
|
|
479
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.OpenBdrcServiceResponse>;
|
|
1829
480
|
/**
|
|
481
|
+
* Enables the Backup and Disaster Recovery Center.
|
|
1830
482
|
* @returns OpenBdrcServiceResponse
|
|
1831
483
|
*/
|
|
1832
|
-
openBdrcService(): Promise
|
|
484
|
+
openBdrcService(): Promise<$_model.OpenBdrcServiceResponse>;
|
|
485
|
+
/**
|
|
486
|
+
* Updates a protection policy.
|
|
487
|
+
*
|
|
488
|
+
* @param tmpReq - UpdateProtectionPolicyRequest
|
|
489
|
+
* @param headers - map
|
|
490
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
491
|
+
* @returns UpdateProtectionPolicyResponse
|
|
492
|
+
*/
|
|
493
|
+
updateProtectionPolicyWithOptions(ProtectionPolicyId: string, tmpReq: $_model.UpdateProtectionPolicyRequest, headers: {
|
|
494
|
+
[key: string]: string;
|
|
495
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateProtectionPolicyResponse>;
|
|
496
|
+
/**
|
|
497
|
+
* Updates a protection policy.
|
|
498
|
+
*
|
|
499
|
+
* @param request - UpdateProtectionPolicyRequest
|
|
500
|
+
* @returns UpdateProtectionPolicyResponse
|
|
501
|
+
*/
|
|
502
|
+
updateProtectionPolicy(ProtectionPolicyId: string, request: $_model.UpdateProtectionPolicyRequest): Promise<$_model.UpdateProtectionPolicyResponse>;
|
|
503
|
+
/**
|
|
504
|
+
* Updates a resource category.
|
|
505
|
+
*
|
|
506
|
+
* @param request - UpdateResourceCategoryRequest
|
|
507
|
+
* @param headers - map
|
|
508
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
509
|
+
* @returns UpdateResourceCategoryResponse
|
|
510
|
+
*/
|
|
511
|
+
updateResourceCategoryWithOptions(request: $_model.UpdateResourceCategoryRequest, headers: {
|
|
512
|
+
[key: string]: string;
|
|
513
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourceCategoryResponse>;
|
|
514
|
+
/**
|
|
515
|
+
* Updates a resource category.
|
|
516
|
+
*
|
|
517
|
+
* @param request - UpdateResourceCategoryRequest
|
|
518
|
+
* @returns UpdateResourceCategoryResponse
|
|
519
|
+
*/
|
|
520
|
+
updateResourceCategory(request: $_model.UpdateResourceCategoryRequest): Promise<$_model.UpdateResourceCategoryResponse>;
|
|
1833
521
|
/**
|
|
522
|
+
* Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
|
|
523
|
+
*
|
|
1834
524
|
* @param request - UpdateResourcesRequest
|
|
1835
525
|
* @param headers - map
|
|
1836
526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1837
527
|
* @returns UpdateResourcesResponse
|
|
1838
528
|
*/
|
|
1839
|
-
updateResourcesWithOptions(request: UpdateResourcesRequest, headers: {
|
|
529
|
+
updateResourcesWithOptions(request: $_model.UpdateResourcesRequest, headers: {
|
|
1840
530
|
[key: string]: string;
|
|
1841
|
-
}, runtime: $
|
|
531
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourcesResponse>;
|
|
1842
532
|
/**
|
|
533
|
+
* Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
|
|
534
|
+
*
|
|
1843
535
|
* @param request - UpdateResourcesRequest
|
|
1844
536
|
* @returns UpdateResourcesResponse
|
|
1845
537
|
*/
|
|
1846
|
-
updateResources(request: UpdateResourcesRequest): Promise
|
|
538
|
+
updateResources(request: $_model.UpdateResourcesRequest): Promise<$_model.UpdateResourcesResponse>;
|
|
1847
539
|
}
|