@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,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRulesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of entries to return on each page. Maximum value: 50. Default value: 10.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 10
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The token to retrieve the next page of results. You can obtain this token from the `NextToken` parameter in the previous response.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cae**********699
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The resource category ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* rc-000***123
|
|
28
|
+
*/
|
|
29
|
+
resourceCategoryId?: string;
|
|
30
|
+
resourceOwnerIds?: number[];
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The ID of the region where the resource resides.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* cn-hangzhou
|
|
37
|
+
*/
|
|
38
|
+
resourceRegionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The resource type.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ACS::ECS::Instance
|
|
45
|
+
*/
|
|
46
|
+
resourceType?: string;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
maxResults: 'MaxResults',
|
|
50
|
+
nextToken: 'NextToken',
|
|
51
|
+
resourceCategoryId: 'ResourceCategoryId',
|
|
52
|
+
resourceOwnerIds: 'ResourceOwnerIds',
|
|
53
|
+
resourceRegionId: 'ResourceRegionId',
|
|
54
|
+
resourceType: 'ResourceType',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
maxResults: 'number',
|
|
61
|
+
nextToken: 'string',
|
|
62
|
+
resourceCategoryId: 'string',
|
|
63
|
+
resourceOwnerIds: { 'type': 'array', 'itemType': 'number' },
|
|
64
|
+
resourceRegionId: 'string',
|
|
65
|
+
resourceType: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
validate() {
|
|
70
|
+
if(Array.isArray(this.resourceOwnerIds)) {
|
|
71
|
+
$dara.Model.validateArray(this.resourceOwnerIds);
|
|
72
|
+
}
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeRulesResponseBody } from "./DescribeRulesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeRulesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeRulesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeRulesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRulesResponseBodyDataContent extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of resources for which the check failed.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0
|
|
12
|
+
*/
|
|
13
|
+
checkFailedResourceCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The check status. Valid values: NOT_CHECKED (Not checked), PASSED (Passed), FAILED (Failed), CHECKING (Checking), and CHECK_FAILED (Check failed).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* PASSED
|
|
20
|
+
*/
|
|
21
|
+
checkStatus?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The UNIX timestamp that indicates when the check was performed.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1704157635
|
|
28
|
+
*/
|
|
29
|
+
checkTime?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The product type to which the rule applies.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ecs
|
|
36
|
+
*/
|
|
37
|
+
productType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The resource type to which the rule applies.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ACS::ECS::Instance
|
|
44
|
+
*/
|
|
45
|
+
resourceType?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The number of at-risk resources.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 0
|
|
52
|
+
*/
|
|
53
|
+
riskyResourceCount?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The unique ID of the rule.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* rule-bp11ggd8wr762
|
|
60
|
+
*/
|
|
61
|
+
ruleId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The rule template.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ecs-backup
|
|
68
|
+
*/
|
|
69
|
+
ruleTemplate?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The total number of resources that were checked.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 1
|
|
76
|
+
*/
|
|
77
|
+
totalResourceCount?: number;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
checkFailedResourceCount: 'CheckFailedResourceCount',
|
|
81
|
+
checkStatus: 'CheckStatus',
|
|
82
|
+
checkTime: 'CheckTime',
|
|
83
|
+
productType: 'ProductType',
|
|
84
|
+
resourceType: 'ResourceType',
|
|
85
|
+
riskyResourceCount: 'RiskyResourceCount',
|
|
86
|
+
ruleId: 'RuleId',
|
|
87
|
+
ruleTemplate: 'RuleTemplate',
|
|
88
|
+
totalResourceCount: 'TotalResourceCount',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
checkFailedResourceCount: 'number',
|
|
95
|
+
checkStatus: 'string',
|
|
96
|
+
checkTime: 'number',
|
|
97
|
+
productType: 'string',
|
|
98
|
+
resourceType: 'string',
|
|
99
|
+
riskyResourceCount: 'number',
|
|
100
|
+
ruleId: 'string',
|
|
101
|
+
ruleTemplate: 'string',
|
|
102
|
+
totalResourceCount: 'number',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export class DescribeRulesResponseBodyData extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The list of returned records.
|
|
119
|
+
*/
|
|
120
|
+
content?: DescribeRulesResponseBodyDataContent[];
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The maximum number of entries returned on the current page.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* 10
|
|
127
|
+
*/
|
|
128
|
+
maxResults?: number;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* 0975951c75d7b41464c8d08ae17043ca
|
|
135
|
+
*/
|
|
136
|
+
nextToken?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The total number of entries that meet the filter criteria. This parameter is optional and is not returned by default.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* 42
|
|
143
|
+
*/
|
|
144
|
+
totalCount?: number;
|
|
145
|
+
static names(): { [key: string]: string } {
|
|
146
|
+
return {
|
|
147
|
+
content: 'Content',
|
|
148
|
+
maxResults: 'MaxResults',
|
|
149
|
+
nextToken: 'NextToken',
|
|
150
|
+
totalCount: 'TotalCount',
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
static types(): { [key: string]: any } {
|
|
155
|
+
return {
|
|
156
|
+
content: { 'type': 'array', 'itemType': DescribeRulesResponseBodyDataContent },
|
|
157
|
+
maxResults: 'number',
|
|
158
|
+
nextToken: 'string',
|
|
159
|
+
totalCount: 'number',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
if(Array.isArray(this.content)) {
|
|
165
|
+
$dara.Model.validateArray(this.content);
|
|
166
|
+
}
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class DescribeRulesResponseBody extends $dara.Model {
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The returned data.
|
|
179
|
+
*/
|
|
180
|
+
data?: DescribeRulesResponseBodyData;
|
|
181
|
+
/**
|
|
182
|
+
* @remarks
|
|
183
|
+
* The unique ID of the request.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
|
|
187
|
+
*/
|
|
188
|
+
requestId?: string;
|
|
189
|
+
static names(): { [key: string]: string } {
|
|
190
|
+
return {
|
|
191
|
+
data: 'Data',
|
|
192
|
+
requestId: 'RequestId',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static types(): { [key: string]: any } {
|
|
197
|
+
return {
|
|
198
|
+
data: DescribeRulesResponseBodyData,
|
|
199
|
+
requestId: 'string',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
validate() {
|
|
204
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
205
|
+
(this.data as any).validate();
|
|
206
|
+
}
|
|
207
|
+
super.validate();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
constructor(map?: { [key: string]: any }) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRulesShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of entries to return on each page. Maximum value: 50. Default value: 10.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 10
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The token to retrieve the next page of results. You can obtain this token from the `NextToken` parameter in the previous response.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cae**********699
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The resource category ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* rc-000***123
|
|
28
|
+
*/
|
|
29
|
+
resourceCategoryId?: string;
|
|
30
|
+
resourceOwnerIdsShrink?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The ID of the region where the resource resides.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* cn-hangzhou
|
|
37
|
+
*/
|
|
38
|
+
resourceRegionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The resource type.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ACS::ECS::Instance
|
|
45
|
+
*/
|
|
46
|
+
resourceType?: string;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
maxResults: 'MaxResults',
|
|
50
|
+
nextToken: 'NextToken',
|
|
51
|
+
resourceCategoryId: 'ResourceCategoryId',
|
|
52
|
+
resourceOwnerIdsShrink: 'ResourceOwnerIds',
|
|
53
|
+
resourceRegionId: 'ResourceRegionId',
|
|
54
|
+
resourceType: 'ResourceType',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
maxResults: 'number',
|
|
61
|
+
nextToken: 'string',
|
|
62
|
+
resourceCategoryId: 'string',
|
|
63
|
+
resourceOwnerIdsShrink: 'string',
|
|
64
|
+
resourceRegionId: 'string',
|
|
65
|
+
resourceType: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
validate() {
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeTaskResponseBody } from "./DescribeTaskResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeTaskResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeTaskResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeTaskResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeTaskResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The completion time, formatted as a Unix timestamp in seconds.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1724983927
|
|
12
|
+
*/
|
|
13
|
+
completeTime?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The error message returned if the task fails.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* too many requests.
|
|
20
|
+
*/
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The execution ID. This parameter is deprecated and always returns an empty string.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* empty
|
|
28
|
+
*/
|
|
29
|
+
executionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The expiration time, formatted as a Unix timestamp in seconds.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 1719026680
|
|
36
|
+
*/
|
|
37
|
+
expireTime?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The task\\"s progress, measured on a scale of 0 to 10,000.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 100
|
|
44
|
+
*/
|
|
45
|
+
progress?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The ID of the request.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 784076D6-BD6D-5564-9CEA-834EB11F0C62
|
|
52
|
+
*/
|
|
53
|
+
requestId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The start time, formatted as a Unix timestamp in seconds.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1724983927
|
|
60
|
+
*/
|
|
61
|
+
startTime?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The task description.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* empty
|
|
68
|
+
*/
|
|
69
|
+
taskDescription?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The details of the task execution.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* {"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}
|
|
76
|
+
*/
|
|
77
|
+
taskDetail?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The ID of the task.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* t-xxxxxxxx
|
|
84
|
+
*/
|
|
85
|
+
taskId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The task name.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* test5566
|
|
92
|
+
*/
|
|
93
|
+
taskName?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The task priority. Valid values: `HIGH` (typically for user-initiated tasks) and `LOW` (typically for background tasks).
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* HIGH
|
|
100
|
+
*/
|
|
101
|
+
taskPriority?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The result of the task.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* {"resourceCounts":[{"resourceType":"ACS::OSS::Bucket","count":2},{"resourceType":"ACS::NAS::FileSystem","count":3}]}
|
|
108
|
+
*/
|
|
109
|
+
taskResult?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The status of the task. Valid values: `CREATED` (Created), `RUNNING` (Running), `COMPLETE` (Completed), `FAILED` (Failed), `EXPIRED` (Expired), and `CANCELED` (Canceled).
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* RUNNING
|
|
116
|
+
*/
|
|
117
|
+
taskStatus?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The task type. Valid values: `UPDATE_RESOURCES` (updates resources and their statuses) and `CHECK_RULES`.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* UPDATE_RESOURCES
|
|
124
|
+
*/
|
|
125
|
+
taskType?: string;
|
|
126
|
+
static names(): { [key: string]: string } {
|
|
127
|
+
return {
|
|
128
|
+
completeTime: 'CompleteTime',
|
|
129
|
+
errorMessage: 'ErrorMessage',
|
|
130
|
+
executionId: 'ExecutionId',
|
|
131
|
+
expireTime: 'ExpireTime',
|
|
132
|
+
progress: 'Progress',
|
|
133
|
+
requestId: 'RequestId',
|
|
134
|
+
startTime: 'StartTime',
|
|
135
|
+
taskDescription: 'TaskDescription',
|
|
136
|
+
taskDetail: 'TaskDetail',
|
|
137
|
+
taskId: 'TaskId',
|
|
138
|
+
taskName: 'TaskName',
|
|
139
|
+
taskPriority: 'TaskPriority',
|
|
140
|
+
taskResult: 'TaskResult',
|
|
141
|
+
taskStatus: 'TaskStatus',
|
|
142
|
+
taskType: 'TaskType',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static types(): { [key: string]: any } {
|
|
147
|
+
return {
|
|
148
|
+
completeTime: 'number',
|
|
149
|
+
errorMessage: 'string',
|
|
150
|
+
executionId: 'string',
|
|
151
|
+
expireTime: 'number',
|
|
152
|
+
progress: 'number',
|
|
153
|
+
requestId: 'string',
|
|
154
|
+
startTime: 'number',
|
|
155
|
+
taskDescription: 'string',
|
|
156
|
+
taskDetail: 'string',
|
|
157
|
+
taskId: 'string',
|
|
158
|
+
taskName: 'string',
|
|
159
|
+
taskPriority: 'string',
|
|
160
|
+
taskResult: 'string',
|
|
161
|
+
taskStatus: 'string',
|
|
162
|
+
taskType: 'string',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
validate() {
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class DescribeTaskResponseBody extends $dara.Model {
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The returned data.
|
|
179
|
+
*/
|
|
180
|
+
data?: DescribeTaskResponseBodyData;
|
|
181
|
+
/**
|
|
182
|
+
* @remarks
|
|
183
|
+
* The ID of the request.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* 14DFF801-A4E3-5136-AAB8-7D246012CD7A
|
|
187
|
+
*/
|
|
188
|
+
requestId?: string;
|
|
189
|
+
static names(): { [key: string]: string } {
|
|
190
|
+
return {
|
|
191
|
+
data: 'Data',
|
|
192
|
+
requestId: 'RequestId',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static types(): { [key: string]: any } {
|
|
197
|
+
return {
|
|
198
|
+
data: DescribeTaskResponseBodyData,
|
|
199
|
+
requestId: 'string',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
validate() {
|
|
204
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
205
|
+
(this.data as any).validate();
|
|
206
|
+
}
|
|
207
|
+
super.validate();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
constructor(map?: { [key: string]: any }) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|