@alicloud/bdrc20230808 1.0.1 → 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 -1677
- package/dist/client.js +977 -1490
- 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 -2591
- 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
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeProductsResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeProductsResponseBody_1 = require("./DescribeProductsResponseBody");
|
|
40
|
+
class DescribeProductsResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeProductsResponseBody_1.DescribeProductsResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeProductsResponse = DescribeProductsResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeProductsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeProductsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeProductsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2DAA4B;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4DAiCC"}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The lower bound of the score range, inclusive.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 0
|
|
9
|
+
*/
|
|
10
|
+
from?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The upper bound of the score range, inclusive.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 60
|
|
17
|
+
*/
|
|
18
|
+
to?: number;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistribution extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The count of resources within this score range.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 5
|
|
37
|
+
*/
|
|
38
|
+
count?: number;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The score range.
|
|
42
|
+
*/
|
|
43
|
+
range?: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
validate(): void;
|
|
51
|
+
constructor(map?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
export declare class DescribeProductsResponseBodyDataContent extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The count of failed check items.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1
|
|
62
|
+
*/
|
|
63
|
+
checkFailedCount?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The count of resources that failed the check.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 1
|
|
70
|
+
*/
|
|
71
|
+
checkFailedResourceCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The count of resources for which the check is disabled.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 1
|
|
78
|
+
*/
|
|
79
|
+
disableCheckResourceCount?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Indicates whether the data protection score is enabled for the cloud product.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* true
|
|
86
|
+
*/
|
|
87
|
+
enableCheck?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The cloud product type, such as `ECS` and `OSS`.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* oss
|
|
94
|
+
*/
|
|
95
|
+
productType?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The data protection score, ranging from 0 to 100.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 90
|
|
102
|
+
*/
|
|
103
|
+
protectionScore?: number;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The distribution of resources across different score ranges.
|
|
107
|
+
*/
|
|
108
|
+
protectionScoreDistribution?: DescribeProductsResponseBodyDataContentProtectionScoreDistribution[];
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The UNIX timestamp of the last data protection score update.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 1726036498
|
|
115
|
+
*/
|
|
116
|
+
protectionScoreUpdatedTime?: number;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The count of risky check items.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* 1
|
|
123
|
+
*/
|
|
124
|
+
riskCount?: number;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The count of risky resources.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* 1
|
|
131
|
+
*/
|
|
132
|
+
riskyResourceCount?: number;
|
|
133
|
+
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The total count of resources for the cloud product.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* 100
|
|
139
|
+
*/
|
|
140
|
+
totalResourceCount?: number;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The count of resources pending a check.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* 1
|
|
147
|
+
*/
|
|
148
|
+
waitForCheckResourceCount?: number;
|
|
149
|
+
static names(): {
|
|
150
|
+
[key: string]: string;
|
|
151
|
+
};
|
|
152
|
+
static types(): {
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
};
|
|
155
|
+
validate(): void;
|
|
156
|
+
constructor(map?: {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
export declare class DescribeProductsResponseBodyData extends $dara.Model {
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* A list of cloud products and their data protection status.
|
|
164
|
+
*/
|
|
165
|
+
content?: DescribeProductsResponseBodyDataContent[];
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The maximum number of entries returned per page.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* 10
|
|
172
|
+
*/
|
|
173
|
+
maxResults?: number;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* The token for the next page of results. If this parameter is absent from the response, all results have been retrieved.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* b4fd3cffcacafd65e3818a0b9b2ff9a2
|
|
180
|
+
*/
|
|
181
|
+
nextToken?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The total number of entries that match the query. This parameter is not returned by default.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* 50
|
|
188
|
+
*/
|
|
189
|
+
totalCount?: number;
|
|
190
|
+
static names(): {
|
|
191
|
+
[key: string]: string;
|
|
192
|
+
};
|
|
193
|
+
static types(): {
|
|
194
|
+
[key: string]: any;
|
|
195
|
+
};
|
|
196
|
+
validate(): void;
|
|
197
|
+
constructor(map?: {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
export declare class DescribeProductsResponseBody extends $dara.Model {
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The returned data.
|
|
205
|
+
*/
|
|
206
|
+
data?: DescribeProductsResponseBodyData;
|
|
207
|
+
/**
|
|
208
|
+
* @remarks
|
|
209
|
+
* The request ID.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* 30FB202A-1D22-5394-AB02-4477CDFCF51F
|
|
213
|
+
*/
|
|
214
|
+
requestId?: string;
|
|
215
|
+
static names(): {
|
|
216
|
+
[key: string]: string;
|
|
217
|
+
};
|
|
218
|
+
static types(): {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
};
|
|
221
|
+
validate(): void;
|
|
222
|
+
constructor(map?: {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeProductsResponseBody = exports.DescribeProductsResponseBodyData = exports.DescribeProductsResponseBodyDataContent = exports.DescribeProductsResponseBodyDataContentProtectionScoreDistribution = exports.DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
from: 'From',
|
|
43
|
+
to: 'To',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
from: 'number',
|
|
49
|
+
to: 'number',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange = DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange;
|
|
60
|
+
class DescribeProductsResponseBodyDataContentProtectionScoreDistribution extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
count: 'Count',
|
|
64
|
+
range: 'Range',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static types() {
|
|
68
|
+
return {
|
|
69
|
+
count: 'number',
|
|
70
|
+
range: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
validate() {
|
|
74
|
+
if (this.range && typeof this.range.validate === 'function') {
|
|
75
|
+
this.range.validate();
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
constructor(map) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.DescribeProductsResponseBodyDataContentProtectionScoreDistribution = DescribeProductsResponseBodyDataContentProtectionScoreDistribution;
|
|
84
|
+
class DescribeProductsResponseBodyDataContent extends $dara.Model {
|
|
85
|
+
static names() {
|
|
86
|
+
return {
|
|
87
|
+
checkFailedCount: 'CheckFailedCount',
|
|
88
|
+
checkFailedResourceCount: 'CheckFailedResourceCount',
|
|
89
|
+
disableCheckResourceCount: 'DisableCheckResourceCount',
|
|
90
|
+
enableCheck: 'EnableCheck',
|
|
91
|
+
productType: 'ProductType',
|
|
92
|
+
protectionScore: 'ProtectionScore',
|
|
93
|
+
protectionScoreDistribution: 'ProtectionScoreDistribution',
|
|
94
|
+
protectionScoreUpdatedTime: 'ProtectionScoreUpdatedTime',
|
|
95
|
+
riskCount: 'RiskCount',
|
|
96
|
+
riskyResourceCount: 'RiskyResourceCount',
|
|
97
|
+
totalResourceCount: 'TotalResourceCount',
|
|
98
|
+
waitForCheckResourceCount: 'WaitForCheckResourceCount',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
static types() {
|
|
102
|
+
return {
|
|
103
|
+
checkFailedCount: 'number',
|
|
104
|
+
checkFailedResourceCount: 'number',
|
|
105
|
+
disableCheckResourceCount: 'number',
|
|
106
|
+
enableCheck: 'boolean',
|
|
107
|
+
productType: 'string',
|
|
108
|
+
protectionScore: 'number',
|
|
109
|
+
protectionScoreDistribution: { 'type': 'array', 'itemType': DescribeProductsResponseBodyDataContentProtectionScoreDistribution },
|
|
110
|
+
protectionScoreUpdatedTime: 'number',
|
|
111
|
+
riskCount: 'number',
|
|
112
|
+
riskyResourceCount: 'number',
|
|
113
|
+
totalResourceCount: 'number',
|
|
114
|
+
waitForCheckResourceCount: 'number',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
validate() {
|
|
118
|
+
if (Array.isArray(this.protectionScoreDistribution)) {
|
|
119
|
+
$dara.Model.validateArray(this.protectionScoreDistribution);
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
constructor(map) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.DescribeProductsResponseBodyDataContent = DescribeProductsResponseBodyDataContent;
|
|
128
|
+
class DescribeProductsResponseBodyData extends $dara.Model {
|
|
129
|
+
static names() {
|
|
130
|
+
return {
|
|
131
|
+
content: 'Content',
|
|
132
|
+
maxResults: 'MaxResults',
|
|
133
|
+
nextToken: 'NextToken',
|
|
134
|
+
totalCount: 'TotalCount',
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
static types() {
|
|
138
|
+
return {
|
|
139
|
+
content: { 'type': 'array', 'itemType': DescribeProductsResponseBodyDataContent },
|
|
140
|
+
maxResults: 'number',
|
|
141
|
+
nextToken: 'string',
|
|
142
|
+
totalCount: 'number',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
validate() {
|
|
146
|
+
if (Array.isArray(this.content)) {
|
|
147
|
+
$dara.Model.validateArray(this.content);
|
|
148
|
+
}
|
|
149
|
+
super.validate();
|
|
150
|
+
}
|
|
151
|
+
constructor(map) {
|
|
152
|
+
super(map);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.DescribeProductsResponseBodyData = DescribeProductsResponseBodyData;
|
|
156
|
+
class DescribeProductsResponseBody extends $dara.Model {
|
|
157
|
+
static names() {
|
|
158
|
+
return {
|
|
159
|
+
data: 'Data',
|
|
160
|
+
requestId: 'RequestId',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
static types() {
|
|
164
|
+
return {
|
|
165
|
+
data: DescribeProductsResponseBodyData,
|
|
166
|
+
requestId: 'string',
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
validate() {
|
|
170
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
171
|
+
this.data.validate();
|
|
172
|
+
}
|
|
173
|
+
super.validate();
|
|
174
|
+
}
|
|
175
|
+
constructor(map) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
exports.DescribeProductsResponseBody = DescribeProductsResponseBody;
|
|
180
|
+
//# sourceMappingURL=DescribeProductsResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeProductsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeProductsResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeProductsShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The product type of the resource. If you omit this parameter, the API returns resources of all product types. For example, specify `oss` to query resources from Object Storage Service.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* oss
|
|
9
|
+
*/
|
|
10
|
+
productType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The resource category ID.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* rc-000***123
|
|
17
|
+
*/
|
|
18
|
+
resourceCategoryId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* A list of resource owner IDs for cross-account resource queries. If you omit this parameter, the API returns resources from the current account.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* [123***7890]
|
|
25
|
+
*/
|
|
26
|
+
resourceOwnerIdsShrink?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The ID of the resource\\"s region. If you omit this parameter, the API returns resources from all regions.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* cn-shanghai
|
|
33
|
+
*/
|
|
34
|
+
resourceRegionId?: string;
|
|
35
|
+
static names(): {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
static types(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
validate(): void;
|
|
42
|
+
constructor(map?: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeProductsShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeProductsShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
productType: 'ProductType',
|
|
43
|
+
resourceCategoryId: 'ResourceCategoryId',
|
|
44
|
+
resourceOwnerIdsShrink: 'ResourceOwnerIds',
|
|
45
|
+
resourceRegionId: 'ResourceRegionId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
productType: 'string',
|
|
51
|
+
resourceCategoryId: 'string',
|
|
52
|
+
resourceOwnerIdsShrink: 'string',
|
|
53
|
+
resourceRegionId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.DescribeProductsShrinkRequest = DescribeProductsShrinkRequest;
|
|
64
|
+
//# sourceMappingURL=DescribeProductsShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeProductsShrinkRequest.js","sourceRoot":"","sources":["../../src/models/DescribeProductsShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAiC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,kBAAkB,EAAE,oBAAoB;YACxC,sBAAsB,EAAE,kBAAkB;YAC1C,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,kBAAkB,EAAE,QAAQ;YAC5B,sBAAsB,EAAE,QAAQ;YAChC,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,sEA0DC"}
|