@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
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The application status.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* FAILED
|
|
9
|
+
*/
|
|
10
|
+
applyStatus?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The count of resources by type.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 3
|
|
17
|
+
*/
|
|
18
|
+
count?: 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 ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The count of resources by type.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 1
|
|
37
|
+
*/
|
|
38
|
+
count?: number;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The resource type.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ACS::OTS::Instance
|
|
45
|
+
*/
|
|
46
|
+
resourceType?: string;
|
|
47
|
+
static names(): {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
static types(): {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
validate(): void;
|
|
54
|
+
constructor(map?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export declare class ListProtectionPoliciesResponseBodyDataContentLatestApplySummary extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The count statistics of application status.
|
|
62
|
+
*/
|
|
63
|
+
applyStatusCount?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The time when the task was completed. Unix timestamp format, in seconds.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 1742167218
|
|
70
|
+
*/
|
|
71
|
+
completeTime?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The count of resources by type.
|
|
75
|
+
*/
|
|
76
|
+
resourceCount?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount[];
|
|
77
|
+
static names(): {
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
};
|
|
80
|
+
static types(): {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
validate(): void;
|
|
84
|
+
constructor(map?: {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
export declare class ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies extends $dara.Model {
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The sub-protection policy configuration.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* {\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}
|
|
95
|
+
*/
|
|
96
|
+
config?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The sub-protection policy type.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ECS_AUTO_SNAPSHOT_POLICY
|
|
103
|
+
*/
|
|
104
|
+
subProtectionPolicyType?: string;
|
|
105
|
+
static names(): {
|
|
106
|
+
[key: string]: string;
|
|
107
|
+
};
|
|
108
|
+
static types(): {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
};
|
|
111
|
+
validate(): void;
|
|
112
|
+
constructor(map?: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
export declare class ListProtectionPoliciesResponseBodyDataContent extends $dara.Model {
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The attached resource category IDs.
|
|
120
|
+
*/
|
|
121
|
+
boundResourceCategoryIds?: string[];
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The summary of the latest application result.
|
|
125
|
+
*/
|
|
126
|
+
latestApplySummary?: ListProtectionPoliciesResponseBodyDataContentLatestApplySummary;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The time when the policy was last applied.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 1742167218
|
|
133
|
+
*/
|
|
134
|
+
latestApplyTime?: number;
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The task ID of the latest policy application.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* t-123***7890
|
|
141
|
+
*/
|
|
142
|
+
latestTaskId?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The protection policy ID.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* p-123***7890
|
|
149
|
+
*/
|
|
150
|
+
protectionPolicyId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The protection policy name.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* MyProtectionPolicy
|
|
157
|
+
*/
|
|
158
|
+
protectionPolicyName?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The region ID of the protection policy.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* cn-hangzhou
|
|
165
|
+
*/
|
|
166
|
+
protectionPolicyRegionId?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The sub-protection policies.
|
|
170
|
+
*/
|
|
171
|
+
subProtectionPolicies?: ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies[];
|
|
172
|
+
static names(): {
|
|
173
|
+
[key: string]: string;
|
|
174
|
+
};
|
|
175
|
+
static types(): {
|
|
176
|
+
[key: string]: any;
|
|
177
|
+
};
|
|
178
|
+
validate(): void;
|
|
179
|
+
constructor(map?: {
|
|
180
|
+
[key: string]: any;
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export declare class ListProtectionPoliciesResponseBodyData extends $dara.Model {
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The response parameters.
|
|
187
|
+
*/
|
|
188
|
+
content?: ListProtectionPoliciesResponseBodyDataContent[];
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The maximum number of results requested.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* 10
|
|
195
|
+
*/
|
|
196
|
+
maxResults?: number;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The paging token.
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=
|
|
203
|
+
*/
|
|
204
|
+
nextToken?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @remarks
|
|
207
|
+
* The total number of entries returned.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* 5
|
|
211
|
+
*/
|
|
212
|
+
totalCount?: number;
|
|
213
|
+
static names(): {
|
|
214
|
+
[key: string]: string;
|
|
215
|
+
};
|
|
216
|
+
static types(): {
|
|
217
|
+
[key: string]: any;
|
|
218
|
+
};
|
|
219
|
+
validate(): void;
|
|
220
|
+
constructor(map?: {
|
|
221
|
+
[key: string]: any;
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
export declare class ListProtectionPoliciesResponseBody extends $dara.Model {
|
|
225
|
+
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* The data returned.
|
|
228
|
+
*/
|
|
229
|
+
data?: ListProtectionPoliciesResponseBodyData;
|
|
230
|
+
/**
|
|
231
|
+
* @remarks
|
|
232
|
+
* The request ID.
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
* 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5
|
|
236
|
+
*/
|
|
237
|
+
requestId?: string;
|
|
238
|
+
static names(): {
|
|
239
|
+
[key: string]: string;
|
|
240
|
+
};
|
|
241
|
+
static types(): {
|
|
242
|
+
[key: string]: any;
|
|
243
|
+
};
|
|
244
|
+
validate(): void;
|
|
245
|
+
constructor(map?: {
|
|
246
|
+
[key: string]: any;
|
|
247
|
+
});
|
|
248
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
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.ListProtectionPoliciesResponseBody = exports.ListProtectionPoliciesResponseBodyData = exports.ListProtectionPoliciesResponseBodyDataContent = exports.ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies = exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummary = exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount = exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applyStatus: 'ApplyStatus',
|
|
43
|
+
count: 'Count',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
applyStatus: 'string',
|
|
49
|
+
count: 'number',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount = ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount;
|
|
60
|
+
class ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
count: 'Count',
|
|
64
|
+
resourceType: 'ResourceType',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static types() {
|
|
68
|
+
return {
|
|
69
|
+
count: 'number',
|
|
70
|
+
resourceType: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
validate() {
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
constructor(map) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount = ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount;
|
|
81
|
+
class ListProtectionPoliciesResponseBodyDataContentLatestApplySummary extends $dara.Model {
|
|
82
|
+
static names() {
|
|
83
|
+
return {
|
|
84
|
+
applyStatusCount: 'ApplyStatusCount',
|
|
85
|
+
completeTime: 'CompleteTime',
|
|
86
|
+
resourceCount: 'ResourceCount',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
static types() {
|
|
90
|
+
return {
|
|
91
|
+
applyStatusCount: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryApplyStatusCount },
|
|
92
|
+
completeTime: 'number',
|
|
93
|
+
resourceCount: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentLatestApplySummaryResourceCount },
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
validate() {
|
|
97
|
+
if (Array.isArray(this.applyStatusCount)) {
|
|
98
|
+
$dara.Model.validateArray(this.applyStatusCount);
|
|
99
|
+
}
|
|
100
|
+
if (Array.isArray(this.resourceCount)) {
|
|
101
|
+
$dara.Model.validateArray(this.resourceCount);
|
|
102
|
+
}
|
|
103
|
+
super.validate();
|
|
104
|
+
}
|
|
105
|
+
constructor(map) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.ListProtectionPoliciesResponseBodyDataContentLatestApplySummary = ListProtectionPoliciesResponseBodyDataContentLatestApplySummary;
|
|
110
|
+
class ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies extends $dara.Model {
|
|
111
|
+
static names() {
|
|
112
|
+
return {
|
|
113
|
+
config: 'Config',
|
|
114
|
+
subProtectionPolicyType: 'SubProtectionPolicyType',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
static types() {
|
|
118
|
+
return {
|
|
119
|
+
config: 'string',
|
|
120
|
+
subProtectionPolicyType: 'string',
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
validate() {
|
|
124
|
+
super.validate();
|
|
125
|
+
}
|
|
126
|
+
constructor(map) {
|
|
127
|
+
super(map);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies = ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies;
|
|
131
|
+
class ListProtectionPoliciesResponseBodyDataContent extends $dara.Model {
|
|
132
|
+
static names() {
|
|
133
|
+
return {
|
|
134
|
+
boundResourceCategoryIds: 'BoundResourceCategoryIds',
|
|
135
|
+
latestApplySummary: 'LatestApplySummary',
|
|
136
|
+
latestApplyTime: 'LatestApplyTime',
|
|
137
|
+
latestTaskId: 'LatestTaskId',
|
|
138
|
+
protectionPolicyId: 'ProtectionPolicyId',
|
|
139
|
+
protectionPolicyName: 'ProtectionPolicyName',
|
|
140
|
+
protectionPolicyRegionId: 'ProtectionPolicyRegionId',
|
|
141
|
+
subProtectionPolicies: 'SubProtectionPolicies',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
static types() {
|
|
145
|
+
return {
|
|
146
|
+
boundResourceCategoryIds: { 'type': 'array', 'itemType': 'string' },
|
|
147
|
+
latestApplySummary: ListProtectionPoliciesResponseBodyDataContentLatestApplySummary,
|
|
148
|
+
latestApplyTime: 'number',
|
|
149
|
+
latestTaskId: 'string',
|
|
150
|
+
protectionPolicyId: 'string',
|
|
151
|
+
protectionPolicyName: 'string',
|
|
152
|
+
protectionPolicyRegionId: 'string',
|
|
153
|
+
subProtectionPolicies: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContentSubProtectionPolicies },
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
validate() {
|
|
157
|
+
if (Array.isArray(this.boundResourceCategoryIds)) {
|
|
158
|
+
$dara.Model.validateArray(this.boundResourceCategoryIds);
|
|
159
|
+
}
|
|
160
|
+
if (this.latestApplySummary && typeof this.latestApplySummary.validate === 'function') {
|
|
161
|
+
this.latestApplySummary.validate();
|
|
162
|
+
}
|
|
163
|
+
if (Array.isArray(this.subProtectionPolicies)) {
|
|
164
|
+
$dara.Model.validateArray(this.subProtectionPolicies);
|
|
165
|
+
}
|
|
166
|
+
super.validate();
|
|
167
|
+
}
|
|
168
|
+
constructor(map) {
|
|
169
|
+
super(map);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
exports.ListProtectionPoliciesResponseBodyDataContent = ListProtectionPoliciesResponseBodyDataContent;
|
|
173
|
+
class ListProtectionPoliciesResponseBodyData extends $dara.Model {
|
|
174
|
+
static names() {
|
|
175
|
+
return {
|
|
176
|
+
content: 'Content',
|
|
177
|
+
maxResults: 'MaxResults',
|
|
178
|
+
nextToken: 'NextToken',
|
|
179
|
+
totalCount: 'TotalCount',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
static types() {
|
|
183
|
+
return {
|
|
184
|
+
content: { 'type': 'array', 'itemType': ListProtectionPoliciesResponseBodyDataContent },
|
|
185
|
+
maxResults: 'number',
|
|
186
|
+
nextToken: 'string',
|
|
187
|
+
totalCount: 'number',
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
validate() {
|
|
191
|
+
if (Array.isArray(this.content)) {
|
|
192
|
+
$dara.Model.validateArray(this.content);
|
|
193
|
+
}
|
|
194
|
+
super.validate();
|
|
195
|
+
}
|
|
196
|
+
constructor(map) {
|
|
197
|
+
super(map);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
exports.ListProtectionPoliciesResponseBodyData = ListProtectionPoliciesResponseBodyData;
|
|
201
|
+
class ListProtectionPoliciesResponseBody extends $dara.Model {
|
|
202
|
+
static names() {
|
|
203
|
+
return {
|
|
204
|
+
data: 'Data',
|
|
205
|
+
requestId: 'RequestId',
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
static types() {
|
|
209
|
+
return {
|
|
210
|
+
data: ListProtectionPoliciesResponseBodyData,
|
|
211
|
+
requestId: 'string',
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
validate() {
|
|
215
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
216
|
+
this.data.validate();
|
|
217
|
+
}
|
|
218
|
+
super.validate();
|
|
219
|
+
}
|
|
220
|
+
constructor(map) {
|
|
221
|
+
super(map);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
exports.ListProtectionPoliciesResponseBody = ListProtectionPoliciesResponseBody;
|
|
225
|
+
//# sourceMappingURL=ListProtectionPoliciesResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListProtectionPoliciesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListProtectionPoliciesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+EAAgF,SAAQ,KAAK,CAAC,KAAK;IAiB9G,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,KAAK,EAAE,QAAQ;SAChB,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;AAtCD,0KAsCC;AAED,MAAa,4EAA6E,SAAQ,KAAK,CAAC,KAAK;IAiB3G,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;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AED,QAAQ;QACN,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;AAtCD,gFAsCC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListProtectionPolicyApplicationsRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The application status.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* FAILED
|
|
9
|
+
*/
|
|
10
|
+
applyStatus?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The maximum number of results to return in a single page.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 100
|
|
17
|
+
*/
|
|
18
|
+
maxResults?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The pagination token. The response returns a `NextToken` value only when more results are available. To retrieve the next page, include the `NextToken` from the previous response in your request. If the response does not include a `NextToken` value, all results have been retrieved.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cae**********699
|
|
25
|
+
*/
|
|
26
|
+
nextToken?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The resource type.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ACS::ECS::Instance
|
|
33
|
+
*/
|
|
34
|
+
resourceType?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The sub-protection policy type.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ECS_AUTO_SNAPSHOT_POLICY
|
|
41
|
+
*/
|
|
42
|
+
subProtectionPolicyType?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The task ID. You can call the DescribeTasks operation to query task IDs.
|
|
46
|
+
*
|
|
47
|
+
* This parameter is required.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* t-0004d9ctt1ii********
|
|
51
|
+
*/
|
|
52
|
+
taskId?: string;
|
|
53
|
+
static names(): {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
static types(): {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
validate(): void;
|
|
60
|
+
constructor(map?: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.ListProtectionPolicyApplicationsRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListProtectionPolicyApplicationsRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applyStatus: 'ApplyStatus',
|
|
43
|
+
maxResults: 'MaxResults',
|
|
44
|
+
nextToken: 'NextToken',
|
|
45
|
+
resourceType: 'ResourceType',
|
|
46
|
+
subProtectionPolicyType: 'SubProtectionPolicyType',
|
|
47
|
+
taskId: 'TaskId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
applyStatus: 'string',
|
|
53
|
+
maxResults: 'number',
|
|
54
|
+
nextToken: 'string',
|
|
55
|
+
resourceType: 'string',
|
|
56
|
+
subProtectionPolicyType: 'string',
|
|
57
|
+
taskId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ListProtectionPolicyApplicationsRequest = ListProtectionPolicyApplicationsRequest;
|
|
68
|
+
//# sourceMappingURL=ListProtectionPolicyApplicationsRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListProtectionPolicyApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/ListProtectionPolicyApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAmDtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,uBAAuB,EAAE,yBAAyB;YAClD,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,uBAAuB,EAAE,QAAQ;YACjC,MAAM,EAAE,QAAQ;SACjB,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;AAhFD,0FAgFC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ListProtectionPolicyApplicationsResponseBody } from "./ListProtectionPolicyApplicationsResponseBody";
|
|
3
|
+
export declare class ListProtectionPolicyApplicationsResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ListProtectionPolicyApplicationsResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|