@huaweicloud/huaweicloud-sdk-waf 3.1.175 → 3.1.177
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/package.json +2 -2
- package/v1/WafClient.d.ts +1064 -50
- package/v1/WafClient.d.ts.map +1 -1
- package/v1/WafClient.js +3508 -1230
- package/v1/WafClient.js.map +1 -1
- package/v1/model/AlertNoticeConfig.d.ts +40 -0
- package/v1/model/AlertNoticeConfig.d.ts.map +1 -0
- package/v1/model/AlertNoticeConfig.js +91 -0
- package/v1/model/AlertNoticeConfig.js.map +1 -0
- package/v1/model/AsyncJobReqBody.d.ts +42 -0
- package/v1/model/AsyncJobReqBody.d.ts.map +1 -0
- package/v1/model/AsyncJobReqBody.js +89 -0
- package/v1/model/AsyncJobReqBody.js.map +1 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts +28 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js +66 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.js +38 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts +17 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.js +35 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts +14 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.js +34 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.js +38 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts +27 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.js +52 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.d.ts +24 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.js +47 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateCcRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateCcRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleRequest.js +38 -0
- package/v1/model/BatchCreateCcRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateCcRuleRequestBody.d.ts +70 -0
- package/v1/model/BatchCreateCcRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleRequestBody.js +150 -0
- package/v1/model/BatchCreateCcRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateCcRuleResponse.d.ts +91 -0
- package/v1/model/BatchCreateCcRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleResponse.js +187 -0
- package/v1/model/BatchCreateCcRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateCustomRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequest.js +38 -0
- package/v1/model/BatchCreateCustomRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.d.ts +26 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.js +57 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleResponse.d.ts +37 -0
- package/v1/model/BatchCreateCustomRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleResponse.js +73 -0
- package/v1/model/BatchCreateCustomRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.d.ts +15 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.js +34 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts +20 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.js +49 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.d.ts +25 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.js +53 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.js +38 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts +22 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.js +48 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.d.ts +31 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.js +59 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.js +38 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts +19 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.js +44 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.d.ts +26 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.js +51 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.js +38 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts +26 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.js +50 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.d.ts +31 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.js +54 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.js +38 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts +34 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.js +71 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts +9 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.js +20 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts +17 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.js +40 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts +10 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.js +21 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.js.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsRequest.d.ts +15 -0
- package/v1/model/BatchDeleteCompositeHostsRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsRequest.js +34 -0
- package/v1/model/BatchDeleteCompositeHostsRequest.js.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsRequestBody.d.ts +12 -0
- package/v1/model/BatchDeleteCompositeHostsRequestBody.d.ts.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsRequestBody.js +29 -0
- package/v1/model/BatchDeleteCompositeHostsRequestBody.js.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsResponse.d.ts +9 -0
- package/v1/model/BatchDeleteCompositeHostsResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteCompositeHostsResponse.js +21 -0
- package/v1/model/BatchDeleteCompositeHostsResponse.js.map +1 -0
- package/v1/model/BatchDeleteRulesRequest.d.ts +15 -0
- package/v1/model/BatchDeleteRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteRulesRequest.js +35 -0
- package/v1/model/BatchDeleteRulesRequest.js.map +1 -0
- package/v1/model/BatchDeleteRulesResponse.d.ts +10 -0
- package/v1/model/BatchDeleteRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteRulesResponse.js +21 -0
- package/v1/model/BatchDeleteRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateAntiTamperRulesRequestBody.d.ts +15 -0
- package/v1/model/BatchUpdateAntiTamperRulesRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntiTamperRulesRequestBody.js +34 -0
- package/v1/model/BatchUpdateAntiTamperRulesRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateAntileakageRuleRequestBody.d.ts +28 -0
- package/v1/model/BatchUpdateAntileakageRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntileakageRuleRequestBody.js +51 -0
- package/v1/model/BatchUpdateAntileakageRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateAntileakageRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateAntileakageRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntileakageRulesRequest.js +24 -0
- package/v1/model/BatchUpdateAntileakageRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateAntileakageRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateAntileakageRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntileakageRulesResponse.js +21 -0
- package/v1/model/BatchUpdateAntileakageRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateAntitamperRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateAntitamperRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntitamperRulesRequest.js +24 -0
- package/v1/model/BatchUpdateAntitamperRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateAntitamperRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateAntitamperRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateAntitamperRulesResponse.js +21 -0
- package/v1/model/BatchUpdateAntitamperRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateCcRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateCcRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateCcRulesRequest.js +24 -0
- package/v1/model/BatchUpdateCcRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateCcRulesRequestBody.d.ts +73 -0
- package/v1/model/BatchUpdateCcRulesRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateCcRulesRequestBody.js +153 -0
- package/v1/model/BatchUpdateCcRulesRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateCcRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateCcRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateCcRulesResponse.js +21 -0
- package/v1/model/BatchUpdateCcRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateCustomRuleRequestBody.d.ts +39 -0
- package/v1/model/BatchUpdateCustomRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateCustomRuleRequestBody.js +77 -0
- package/v1/model/BatchUpdateCustomRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateCustomRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateCustomRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateCustomRulesRequest.js +24 -0
- package/v1/model/BatchUpdateCustomRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateCustomRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateCustomRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateCustomRulesResponse.js +21 -0
- package/v1/model/BatchUpdateCustomRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateGeoipRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesRequest.js +24 -0
- package/v1/model/BatchUpdateGeoipRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesRequestBody.d.ts +17 -0
- package/v1/model/BatchUpdateGeoipRulesRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesRequestBody.js +35 -0
- package/v1/model/BatchUpdateGeoipRulesRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateGeoipRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateGeoipRulesResponse.js +21 -0
- package/v1/model/BatchUpdateGeoipRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateIgnoreRuleRequestBody.d.ts +23 -0
- package/v1/model/BatchUpdateIgnoreRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateIgnoreRuleRequestBody.js +47 -0
- package/v1/model/BatchUpdateIgnoreRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateIgnoreRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateIgnoreRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateIgnoreRulesRequest.js +24 -0
- package/v1/model/BatchUpdateIgnoreRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateIgnoreRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateIgnoreRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateIgnoreRulesResponse.js +21 -0
- package/v1/model/BatchUpdateIgnoreRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBody.d.ts +22 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBody.js +47 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBodyAction.d.ts +6 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBodyAction.d.ts.map +1 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBodyAction.js +13 -0
- package/v1/model/BatchUpdateIpReputationRuleRequestBodyAction.js.map +1 -0
- package/v1/model/BatchUpdateIpReputationRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateIpReputationRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateIpReputationRulesRequest.js +24 -0
- package/v1/model/BatchUpdateIpReputationRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateIpReputationRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateIpReputationRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateIpReputationRulesResponse.js +21 -0
- package/v1/model/BatchUpdateIpReputationRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdatePrivacyRuleRequestBody.d.ts +27 -0
- package/v1/model/BatchUpdatePrivacyRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdatePrivacyRuleRequestBody.js +49 -0
- package/v1/model/BatchUpdatePrivacyRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdatePrivacyRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdatePrivacyRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdatePrivacyRulesRequest.js +24 -0
- package/v1/model/BatchUpdatePrivacyRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdatePrivacyRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdatePrivacyRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdatePrivacyRulesResponse.js +21 -0
- package/v1/model/BatchUpdatePrivacyRulesResponse.js.map +1 -0
- package/v1/model/BatchUpdateWhiteBlackIpRuleRequestBody.d.ts +29 -0
- package/v1/model/BatchUpdateWhiteBlackIpRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchUpdateWhiteBlackIpRuleRequestBody.js +65 -0
- package/v1/model/BatchUpdateWhiteBlackIpRuleRequestBody.js.map +1 -0
- package/v1/model/BatchUpdateWhiteblackipRulesRequest.d.ts +11 -0
- package/v1/model/BatchUpdateWhiteblackipRulesRequest.d.ts.map +1 -0
- package/v1/model/BatchUpdateWhiteblackipRulesRequest.js +24 -0
- package/v1/model/BatchUpdateWhiteblackipRulesRequest.js.map +1 -0
- package/v1/model/BatchUpdateWhiteblackipRulesResponse.d.ts +10 -0
- package/v1/model/BatchUpdateWhiteblackipRulesResponse.d.ts.map +1 -0
- package/v1/model/BatchUpdateWhiteblackipRulesResponse.js +21 -0
- package/v1/model/BatchUpdateWhiteblackipRulesResponse.js.map +1 -0
- package/v1/model/ConfirmDnsDomainRequest.d.ts +12 -0
- package/v1/model/ConfirmDnsDomainRequest.d.ts.map +1 -0
- package/v1/model/ConfirmDnsDomainRequest.js +30 -0
- package/v1/model/ConfirmDnsDomainRequest.js.map +1 -0
- package/v1/model/ConfirmDnsDomainResponse.d.ts +12 -0
- package/v1/model/ConfirmDnsDomainResponse.d.ts.map +1 -0
- package/v1/model/ConfirmDnsDomainResponse.js +25 -0
- package/v1/model/ConfirmDnsDomainResponse.js.map +1 -0
- package/v1/model/CopyPolicyByIdRequest.d.ts +20 -0
- package/v1/model/CopyPolicyByIdRequest.d.ts.map +1 -0
- package/v1/model/CopyPolicyByIdRequest.js +52 -0
- package/v1/model/CopyPolicyByIdRequest.js.map +1 -0
- package/v1/model/CopyPolicyByIdResponse.d.ts +51 -0
- package/v1/model/CopyPolicyByIdResponse.d.ts.map +1 -0
- package/v1/model/CopyPolicyByIdResponse.js +83 -0
- package/v1/model/CopyPolicyByIdResponse.js.map +1 -0
- package/v1/model/CreateAgencyRequest.d.ts +11 -0
- package/v1/model/CreateAgencyRequest.d.ts.map +1 -0
- package/v1/model/CreateAgencyRequest.js +24 -0
- package/v1/model/CreateAgencyRequest.js.map +1 -0
- package/v1/model/CreateAgencyResponse.d.ts +21 -0
- package/v1/model/CreateAgencyResponse.d.ts.map +1 -0
- package/v1/model/CreateAgencyResponse.js +47 -0
- package/v1/model/CreateAgencyResponse.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigBody.d.ts +42 -0
- package/v1/model/CreateAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigBody.js +104 -0
- package/v1/model/CreateAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigRequest.d.ts +17 -0
- package/v1/model/CreateAlertNoticeConfigRequest.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigRequest.js +40 -0
- package/v1/model/CreateAlertNoticeConfigRequest.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigResponse.d.ts +47 -0
- package/v1/model/CreateAlertNoticeConfigResponse.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigResponse.js +109 -0
- package/v1/model/CreateAlertNoticeConfigResponse.js.map +1 -0
- package/v1/model/CreateCertificateRequest.d.ts +4 -0
- package/v1/model/CreateCertificateRequest.d.ts.map +1 -1
- package/v1/model/CreateCertificateRequest.js +10 -0
- package/v1/model/CreateCertificateRequest.js.map +1 -1
- package/v1/model/CreateEventExportJobRequest.d.ts +11 -0
- package/v1/model/CreateEventExportJobRequest.d.ts.map +1 -0
- package/v1/model/CreateEventExportJobRequest.js +24 -0
- package/v1/model/CreateEventExportJobRequest.js.map +1 -0
- package/v1/model/CreateEventExportJobResponse.d.ts +13 -0
- package/v1/model/CreateEventExportJobResponse.d.ts.map +1 -0
- package/v1/model/CreateEventExportJobResponse.js +29 -0
- package/v1/model/CreateEventExportJobResponse.js.map +1 -0
- package/v1/model/CreateQuickAccessDomainRequest.d.ts +16 -0
- package/v1/model/CreateQuickAccessDomainRequest.d.ts.map +1 -0
- package/v1/model/CreateQuickAccessDomainRequest.js +40 -0
- package/v1/model/CreateQuickAccessDomainRequest.js.map +1 -0
- package/v1/model/CreateQuickAccessDomainResponse.d.ts +13 -0
- package/v1/model/CreateQuickAccessDomainResponse.d.ts.map +1 -0
- package/v1/model/CreateQuickAccessDomainResponse.js +29 -0
- package/v1/model/CreateQuickAccessDomainResponse.js.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequest.d.ts +11 -0
- package/v1/model/CreateSecurityReportSubscriptionRequest.d.ts.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequest.js +24 -0
- package/v1/model/CreateSecurityReportSubscriptionRequest.js.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBody.d.ts +38 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBody.d.ts.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBody.js +89 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBody.js.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyReportContentSubscription.d.ts +52 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyReportContentSubscription.d.ts.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyReportContentSubscription.js +129 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyReportContentSubscription.js.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyStatPeriod.d.ts +12 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyStatPeriod.d.ts.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyStatPeriod.js +29 -0
- package/v1/model/CreateSecurityReportSubscriptionRequestBodyStatPeriod.js.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionResponse.d.ts +47 -0
- package/v1/model/CreateSecurityReportSubscriptionResponse.d.ts.map +1 -0
- package/v1/model/CreateSecurityReportSubscriptionResponse.js +111 -0
- package/v1/model/CreateSecurityReportSubscriptionResponse.js.map +1 -0
- package/v1/model/DeleteAgencyRequest.d.ts +14 -0
- package/v1/model/DeleteAgencyRequest.d.ts.map +1 -0
- package/v1/model/DeleteAgencyRequest.js +34 -0
- package/v1/model/DeleteAgencyRequest.js.map +1 -0
- package/v1/model/DeleteAgencyResponse.d.ts +21 -0
- package/v1/model/DeleteAgencyResponse.d.ts.map +1 -0
- package/v1/model/DeleteAgencyResponse.js +47 -0
- package/v1/model/DeleteAgencyResponse.js.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigBody.d.ts +6 -0
- package/v1/model/DeleteAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigBody.js +13 -0
- package/v1/model/DeleteAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/DeleteIpReputationRuleRequest.d.ts +20 -0
- package/v1/model/DeleteIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/DeleteIpReputationRuleRequest.js +52 -0
- package/v1/model/DeleteIpReputationRuleRequest.js.map +1 -0
- package/v1/model/DeleteIpReputationRuleResponse.d.ts +24 -0
- package/v1/model/DeleteIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/DeleteIpReputationRuleResponse.js +47 -0
- package/v1/model/DeleteIpReputationRuleResponse.js.map +1 -0
- package/v1/model/DeleteIpReputationRuleResponseBodyAction.d.ts +6 -0
- package/v1/model/DeleteIpReputationRuleResponseBodyAction.d.ts.map +1 -0
- package/v1/model/DeleteIpReputationRuleResponseBodyAction.js +13 -0
- package/v1/model/DeleteIpReputationRuleResponseBodyAction.js.map +1 -0
- package/v1/model/DeleteSecurityReportSubscriptionRequest.d.ts +12 -0
- package/v1/model/DeleteSecurityReportSubscriptionRequest.d.ts.map +1 -0
- package/v1/model/DeleteSecurityReportSubscriptionRequest.js +31 -0
- package/v1/model/DeleteSecurityReportSubscriptionRequest.js.map +1 -0
- package/v1/model/DeleteSecurityReportSubscriptionResponse.d.ts +47 -0
- package/v1/model/DeleteSecurityReportSubscriptionResponse.d.ts.map +1 -0
- package/v1/model/DeleteSecurityReportSubscriptionResponse.js +111 -0
- package/v1/model/DeleteSecurityReportSubscriptionResponse.js.map +1 -0
- package/v1/model/DnsDomain.d.ts +15 -0
- package/v1/model/DnsDomain.d.ts.map +1 -0
- package/v1/model/DnsDomain.js +31 -0
- package/v1/model/DnsDomain.js.map +1 -0
- package/v1/model/ListCcRulesRequest.d.ts +10 -0
- package/v1/model/ListCcRulesRequest.d.ts.map +1 -1
- package/v1/model/ListCcRulesRequest.js +22 -0
- package/v1/model/ListCcRulesRequest.js.map +1 -1
- package/v1/model/PolicyRuleIdRequestBody.d.ts +9 -0
- package/v1/model/PolicyRuleIdRequestBody.d.ts.map +1 -0
- package/v1/model/PolicyRuleIdRequestBody.js +19 -0
- package/v1/model/PolicyRuleIdRequestBody.js.map +1 -0
- package/v1/model/PolicyRuleIdRequestBodyPolicyRuleIds.d.ts +12 -0
- package/v1/model/PolicyRuleIdRequestBodyPolicyRuleIds.d.ts.map +1 -0
- package/v1/model/PolicyRuleIdRequestBodyPolicyRuleIds.js +29 -0
- package/v1/model/PolicyRuleIdRequestBodyPolicyRuleIds.js.map +1 -0
- package/v1/model/PolicyRuleIdResponseBodyPolicyRuleIds.d.ts +12 -0
- package/v1/model/PolicyRuleIdResponseBodyPolicyRuleIds.d.ts.map +1 -0
- package/v1/model/PolicyRuleIdResponseBodyPolicyRuleIds.js +29 -0
- package/v1/model/PolicyRuleIdResponseBodyPolicyRuleIds.js.map +1 -0
- package/v1/model/PremiumWafAgencyRequest.d.ts +8 -0
- package/v1/model/PremiumWafAgencyRequest.d.ts.map +1 -0
- package/v1/model/PremiumWafAgencyRequest.js +19 -0
- package/v1/model/PremiumWafAgencyRequest.js.map +1 -0
- package/v1/model/ResourceResponse.d.ts +6 -0
- package/v1/model/ResourceResponse.d.ts.map +1 -1
- package/v1/model/ResourceResponse.js +12 -0
- package/v1/model/ResourceResponse.js.map +1 -1
- package/v1/model/Server.d.ts +8 -0
- package/v1/model/Server.d.ts.map +1 -0
- package/v1/model/Server.js +17 -0
- package/v1/model/Server.js.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequest.d.ts +23 -0
- package/v1/model/UpdateIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequest.js +56 -0
- package/v1/model/UpdateIpReputationRuleRequest.js.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.d.ts +17 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.js +37 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/UpdateIpReputationRuleResponse.d.ts +28 -0
- package/v1/model/UpdateIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleResponse.js +55 -0
- package/v1/model/UpdateIpReputationRuleResponse.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceProgressRequest.d.ts +15 -0
- package/v1/model/UpdatePremiumInstanceProgressRequest.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceProgressRequest.js +35 -0
- package/v1/model/UpdatePremiumInstanceProgressRequest.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceProgressResponse.d.ts +9 -0
- package/v1/model/UpdatePremiumInstanceProgressResponse.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceProgressResponse.js +19 -0
- package/v1/model/UpdatePremiumInstanceProgressResponse.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequest.d.ts +11 -0
- package/v1/model/UpdatePremiumInstanceRequest.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequest.js +24 -0
- package/v1/model/UpdatePremiumInstanceRequest.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.d.ts +8 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.js +18 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceResponse.d.ts +82 -0
- package/v1/model/UpdatePremiumInstanceResponse.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceResponse.js +187 -0
- package/v1/model/UpdatePremiumInstanceResponse.js.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequest.d.ts +15 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequest.d.ts.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequest.js +35 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequest.js.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequestBody.d.ts +46 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequestBody.js +114 -0
- package/v1/model/UpdateSecurityReportSubscriptionRequestBody.js.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionResponse.d.ts +47 -0
- package/v1/model/UpdateSecurityReportSubscriptionResponse.d.ts.map +1 -0
- package/v1/model/UpdateSecurityReportSubscriptionResponse.js +111 -0
- package/v1/model/UpdateSecurityReportSubscriptionResponse.js.map +1 -0
- package/v1/public-api.d.ts +108 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +108 -0
- package/v1/public-api.js.map +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCcRuleResponseTagTypeEnum = exports.BatchCreateCcRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateCcRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withName(name) {
|
|
10
|
+
this['name'] = name;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withId(id) {
|
|
14
|
+
this['id'] = id;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withPolicyid(policyid) {
|
|
18
|
+
this['policyid'] = policyid;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withUrl(url) {
|
|
22
|
+
this['url'] = url;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withPrefix(prefix) {
|
|
26
|
+
this['prefix'] = prefix;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withMode(mode) {
|
|
30
|
+
this['mode'] = mode;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withStatus(status) {
|
|
34
|
+
this['status'] = status;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withConditions(conditions) {
|
|
38
|
+
this['conditions'] = conditions;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withAction(action) {
|
|
42
|
+
this['action'] = action;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withTagType(tagType) {
|
|
46
|
+
this['tag_type'] = tagType;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
set tagType(tagType) {
|
|
50
|
+
this['tag_type'] = tagType;
|
|
51
|
+
}
|
|
52
|
+
get tagType() {
|
|
53
|
+
return this['tag_type'];
|
|
54
|
+
}
|
|
55
|
+
withTagIndex(tagIndex) {
|
|
56
|
+
this['tag_index'] = tagIndex;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
set tagIndex(tagIndex) {
|
|
60
|
+
this['tag_index'] = tagIndex;
|
|
61
|
+
}
|
|
62
|
+
get tagIndex() {
|
|
63
|
+
return this['tag_index'];
|
|
64
|
+
}
|
|
65
|
+
withTagCondition(tagCondition) {
|
|
66
|
+
this['tag_condition'] = tagCondition;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
set tagCondition(tagCondition) {
|
|
70
|
+
this['tag_condition'] = tagCondition;
|
|
71
|
+
}
|
|
72
|
+
get tagCondition() {
|
|
73
|
+
return this['tag_condition'];
|
|
74
|
+
}
|
|
75
|
+
withLimitNum(limitNum) {
|
|
76
|
+
this['limit_num'] = limitNum;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
set limitNum(limitNum) {
|
|
80
|
+
this['limit_num'] = limitNum;
|
|
81
|
+
}
|
|
82
|
+
get limitNum() {
|
|
83
|
+
return this['limit_num'];
|
|
84
|
+
}
|
|
85
|
+
withLimitPeriod(limitPeriod) {
|
|
86
|
+
this['limit_period'] = limitPeriod;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
set limitPeriod(limitPeriod) {
|
|
90
|
+
this['limit_period'] = limitPeriod;
|
|
91
|
+
}
|
|
92
|
+
get limitPeriod() {
|
|
93
|
+
return this['limit_period'];
|
|
94
|
+
}
|
|
95
|
+
withUnlockNum(unlockNum) {
|
|
96
|
+
this['unlock_num'] = unlockNum;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
set unlockNum(unlockNum) {
|
|
100
|
+
this['unlock_num'] = unlockNum;
|
|
101
|
+
}
|
|
102
|
+
get unlockNum() {
|
|
103
|
+
return this['unlock_num'];
|
|
104
|
+
}
|
|
105
|
+
withLockTime(lockTime) {
|
|
106
|
+
this['lock_time'] = lockTime;
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
set lockTime(lockTime) {
|
|
110
|
+
this['lock_time'] = lockTime;
|
|
111
|
+
}
|
|
112
|
+
get lockTime() {
|
|
113
|
+
return this['lock_time'];
|
|
114
|
+
}
|
|
115
|
+
withDomainAggregation(domainAggregation) {
|
|
116
|
+
this['domain_aggregation'] = domainAggregation;
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
119
|
+
set domainAggregation(domainAggregation) {
|
|
120
|
+
this['domain_aggregation'] = domainAggregation;
|
|
121
|
+
}
|
|
122
|
+
get domainAggregation() {
|
|
123
|
+
return this['domain_aggregation'];
|
|
124
|
+
}
|
|
125
|
+
withRegionAggregation(regionAggregation) {
|
|
126
|
+
this['region_aggregation'] = regionAggregation;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
set regionAggregation(regionAggregation) {
|
|
130
|
+
this['region_aggregation'] = regionAggregation;
|
|
131
|
+
}
|
|
132
|
+
get regionAggregation() {
|
|
133
|
+
return this['region_aggregation'];
|
|
134
|
+
}
|
|
135
|
+
withDescription(description) {
|
|
136
|
+
this['description'] = description;
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
139
|
+
withTotalNum(totalNum) {
|
|
140
|
+
this['total_num'] = totalNum;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
set totalNum(totalNum) {
|
|
144
|
+
this['total_num'] = totalNum;
|
|
145
|
+
}
|
|
146
|
+
get totalNum() {
|
|
147
|
+
return this['total_num'];
|
|
148
|
+
}
|
|
149
|
+
withUnaggregation(unaggregation) {
|
|
150
|
+
this['unaggregation'] = unaggregation;
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
withAgingTime(agingTime) {
|
|
154
|
+
this['aging_time'] = agingTime;
|
|
155
|
+
return this;
|
|
156
|
+
}
|
|
157
|
+
set agingTime(agingTime) {
|
|
158
|
+
this['aging_time'] = agingTime;
|
|
159
|
+
}
|
|
160
|
+
get agingTime() {
|
|
161
|
+
return this['aging_time'];
|
|
162
|
+
}
|
|
163
|
+
withProducer(producer) {
|
|
164
|
+
this['producer'] = producer;
|
|
165
|
+
return this;
|
|
166
|
+
}
|
|
167
|
+
withTimestamp(timestamp) {
|
|
168
|
+
this['timestamp'] = timestamp;
|
|
169
|
+
return this;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
exports.BatchCreateCcRuleResponse = BatchCreateCcRuleResponse;
|
|
173
|
+
/**
|
|
174
|
+
* @export
|
|
175
|
+
* @enum {string}
|
|
176
|
+
*/
|
|
177
|
+
var BatchCreateCcRuleResponseTagTypeEnum;
|
|
178
|
+
(function (BatchCreateCcRuleResponseTagTypeEnum) {
|
|
179
|
+
BatchCreateCcRuleResponseTagTypeEnum["IP"] = "ip";
|
|
180
|
+
BatchCreateCcRuleResponseTagTypeEnum["COOKIE"] = "cookie";
|
|
181
|
+
BatchCreateCcRuleResponseTagTypeEnum["HEADER"] = "header";
|
|
182
|
+
BatchCreateCcRuleResponseTagTypeEnum["OTHER"] = "other";
|
|
183
|
+
BatchCreateCcRuleResponseTagTypeEnum["POLICY"] = "policy";
|
|
184
|
+
BatchCreateCcRuleResponseTagTypeEnum["DOMAIN"] = "domain";
|
|
185
|
+
BatchCreateCcRuleResponseTagTypeEnum["URL"] = "url";
|
|
186
|
+
})(BatchCreateCcRuleResponseTagTypeEnum = exports.BatchCreateCcRuleResponseTagTypeEnum || (exports.BatchCreateCcRuleResponseTagTypeEnum = {}));
|
|
187
|
+
//# sourceMappingURL=BatchCreateCcRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleResponse.ts"],"names":[],"mappings":";;;AAIA,+EAA4E;AAE5E,MAAa,yBAA0B,SAAQ,yBAAW;IAyBtD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAe;QAC7B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,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,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA9LD,8DA8LC;AAED;;;MAGM;AACN,IAAY,oCAQX;AARD,WAAY,oCAAoC;IAC5C,iDAAS,CAAA;IACT,yDAAiB,CAAA;IACjB,yDAAiB,CAAA;IACjB,uDAAe,CAAA;IACf,yDAAiB,CAAA;IACjB,yDAAiB,CAAA;IACjB,mDAAW,CAAA;AACf,CAAC,EARW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAQ/C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BatchCreateCustomRuleRequestBody } from './BatchCreateCustomRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateCustomRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreateCustomRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreateCustomRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateCustomRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreateCustomRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreateCustomRuleRequestBody): BatchCreateCustomRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAGtF,qBAAa,4BAA4B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,gCAAgC,CAAC;gBAC5B,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;IAI9D,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,4BAA4B;IAIzF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B;IAIzE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,gCAAgC,GAAG,4BAA4B;CAIxF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleRequest = void 0;
|
|
4
|
+
class BatchCreateCustomRuleRequest {
|
|
5
|
+
constructor(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
withPolicyids(policyids) {
|
|
9
|
+
this['policyids'] = policyids;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
withEnterpriseProjectId(enterpriseProjectId) {
|
|
13
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
set enterpriseProjectId(enterpriseProjectId) {
|
|
17
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
18
|
+
}
|
|
19
|
+
get enterpriseProjectId() {
|
|
20
|
+
return this['enterprise_project_id'];
|
|
21
|
+
}
|
|
22
|
+
withContentType(contentType) {
|
|
23
|
+
this['Content-Type'] = contentType;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
set contentType(contentType) {
|
|
27
|
+
this['Content-Type'] = contentType;
|
|
28
|
+
}
|
|
29
|
+
get contentType() {
|
|
30
|
+
return this['Content-Type'];
|
|
31
|
+
}
|
|
32
|
+
withBody(body) {
|
|
33
|
+
this['body'] = body;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.BatchCreateCustomRuleRequest = BatchCreateCustomRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,4BAA4B;IAKrC,YAAmB,WAAoB;QACnC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACM,QAAQ,CAAC,IAAsC;QAClD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,oEAoCC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CustomAction } from './CustomAction';
|
|
2
|
+
import { CustomConditions } from './CustomConditions';
|
|
3
|
+
export declare class BatchCreateCustomRuleRequestBody {
|
|
4
|
+
time?: boolean;
|
|
5
|
+
start?: number;
|
|
6
|
+
terminal?: number;
|
|
7
|
+
description?: string;
|
|
8
|
+
conditions?: Array<CustomConditions>;
|
|
9
|
+
action?: CustomAction;
|
|
10
|
+
priority?: number;
|
|
11
|
+
name?: string;
|
|
12
|
+
private 'policy_ids'?;
|
|
13
|
+
constructor(time?: boolean, conditions?: Array<CustomConditions>, action?: CustomAction, priority?: number, name?: string, policyIds?: Array<string>);
|
|
14
|
+
withTime(time: boolean): BatchCreateCustomRuleRequestBody;
|
|
15
|
+
withStart(start: number): BatchCreateCustomRuleRequestBody;
|
|
16
|
+
withTerminal(terminal: number): BatchCreateCustomRuleRequestBody;
|
|
17
|
+
withDescription(description: string): BatchCreateCustomRuleRequestBody;
|
|
18
|
+
withConditions(conditions: Array<CustomConditions>): BatchCreateCustomRuleRequestBody;
|
|
19
|
+
withAction(action: CustomAction): BatchCreateCustomRuleRequestBody;
|
|
20
|
+
withPriority(priority: number): BatchCreateCustomRuleRequestBody;
|
|
21
|
+
withName(name: string): BatchCreateCustomRuleRequestBody;
|
|
22
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateCustomRuleRequestBody;
|
|
23
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
24
|
+
get policyIds(): Array<string> | undefined;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,qBAAa,gCAAgC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,IAAI,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAQpJ,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,gCAAgC;IAIzD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,gCAAgC;IAI1D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,gCAAgC;IAIhE,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,gCAAgC;IAItE,cAAc,CAAC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,gCAAgC;IAIrF,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,gCAAgC;IAIlE,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,gCAAgC;IAIhE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,gCAAgC;IAIxD,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,gCAAgC;IAIhF,IAAW,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateCustomRuleRequestBody {
|
|
5
|
+
constructor(time, conditions, action, priority, name, policyIds) {
|
|
6
|
+
this['time'] = time;
|
|
7
|
+
this['conditions'] = conditions;
|
|
8
|
+
this['action'] = action;
|
|
9
|
+
this['priority'] = priority;
|
|
10
|
+
this['name'] = name;
|
|
11
|
+
this['policy_ids'] = policyIds;
|
|
12
|
+
}
|
|
13
|
+
withTime(time) {
|
|
14
|
+
this['time'] = time;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withStart(start) {
|
|
18
|
+
this['start'] = start;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withTerminal(terminal) {
|
|
22
|
+
this['terminal'] = terminal;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withDescription(description) {
|
|
26
|
+
this['description'] = description;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withConditions(conditions) {
|
|
30
|
+
this['conditions'] = conditions;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withAction(action) {
|
|
34
|
+
this['action'] = action;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withPriority(priority) {
|
|
38
|
+
this['priority'] = priority;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withName(name) {
|
|
42
|
+
this['name'] = name;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withPolicyIds(policyIds) {
|
|
46
|
+
this['policy_ids'] = policyIds;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
set policyIds(policyIds) {
|
|
50
|
+
this['policy_ids'] = policyIds;
|
|
51
|
+
}
|
|
52
|
+
get policyIds() {
|
|
53
|
+
return this['policy_ids'];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.BatchCreateCustomRuleRequestBody = BatchCreateCustomRuleRequestBody;
|
|
57
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequestBody.ts"],"names":[],"mappings":";;;AAIA,MAAa,gCAAgC;IAUzC,YAAmB,IAAc,EAAE,UAAoC,EAAE,MAAqB,EAAE,QAAiB,EAAE,IAAa,EAAE,SAAyB;QACvJ,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,QAAQ,CAAC,IAAa;QACzB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAmC;QACrD,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAoB;QAClC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAAqC;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;CACJ;AA5DD,4EA4DC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CustomAction } from './CustomAction';
|
|
2
|
+
import { CustomRuleConditions } from './CustomRuleConditions';
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
export declare class BatchCreateCustomRuleResponse extends SdkResponse {
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
policyid?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: number;
|
|
10
|
+
conditions?: Array<CustomRuleConditions>;
|
|
11
|
+
action?: CustomAction;
|
|
12
|
+
private 'action_mode'?;
|
|
13
|
+
priority?: number;
|
|
14
|
+
timestamp?: number;
|
|
15
|
+
time?: boolean;
|
|
16
|
+
start?: number;
|
|
17
|
+
terminal?: number;
|
|
18
|
+
producer?: number;
|
|
19
|
+
constructor();
|
|
20
|
+
withId(id: string): BatchCreateCustomRuleResponse;
|
|
21
|
+
withName(name: string): BatchCreateCustomRuleResponse;
|
|
22
|
+
withPolicyid(policyid: string): BatchCreateCustomRuleResponse;
|
|
23
|
+
withDescription(description: string): BatchCreateCustomRuleResponse;
|
|
24
|
+
withStatus(status: number): BatchCreateCustomRuleResponse;
|
|
25
|
+
withConditions(conditions: Array<CustomRuleConditions>): BatchCreateCustomRuleResponse;
|
|
26
|
+
withAction(action: CustomAction): BatchCreateCustomRuleResponse;
|
|
27
|
+
withActionMode(actionMode: boolean): BatchCreateCustomRuleResponse;
|
|
28
|
+
set actionMode(actionMode: boolean | undefined);
|
|
29
|
+
get actionMode(): boolean | undefined;
|
|
30
|
+
withPriority(priority: number): BatchCreateCustomRuleResponse;
|
|
31
|
+
withTimestamp(timestamp: number): BatchCreateCustomRuleResponse;
|
|
32
|
+
withTime(time: boolean): BatchCreateCustomRuleResponse;
|
|
33
|
+
withStart(start: number): BatchCreateCustomRuleResponse;
|
|
34
|
+
withTerminal(terminal: number): BatchCreateCustomRuleResponse;
|
|
35
|
+
withProducer(producer: number): BatchCreateCustomRuleResponse;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=BatchCreateCustomRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleResponse.d.ts","sourceR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AW,UAAU,CAAC,UAAU,EAAE,OAAO,GAAI,SAAS,EAErD;IACD,IAAW,UAAU,IAAI,OAAO,GAAG,SAAS,CAE3C;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;IAI7D,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,6BAA6B;IAI/D,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,6BAA6B;IAItD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,6BAA6B;IAIvD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;IAI7D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;CAIvE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateCustomRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withName(name) {
|
|
14
|
+
this['name'] = name;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withPolicyid(policyid) {
|
|
18
|
+
this['policyid'] = policyid;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withDescription(description) {
|
|
22
|
+
this['description'] = description;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withStatus(status) {
|
|
26
|
+
this['status'] = status;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withConditions(conditions) {
|
|
30
|
+
this['conditions'] = conditions;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withAction(action) {
|
|
34
|
+
this['action'] = action;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withActionMode(actionMode) {
|
|
38
|
+
this['action_mode'] = actionMode;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
set actionMode(actionMode) {
|
|
42
|
+
this['action_mode'] = actionMode;
|
|
43
|
+
}
|
|
44
|
+
get actionMode() {
|
|
45
|
+
return this['action_mode'];
|
|
46
|
+
}
|
|
47
|
+
withPriority(priority) {
|
|
48
|
+
this['priority'] = priority;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
withTimestamp(timestamp) {
|
|
52
|
+
this['timestamp'] = timestamp;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
withTime(time) {
|
|
56
|
+
this['time'] = time;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
withStart(start) {
|
|
60
|
+
this['start'] = start;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
withTerminal(terminal) {
|
|
64
|
+
this['terminal'] = terminal;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
withProducer(producer) {
|
|
68
|
+
this['producer'] = producer;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.BatchCreateCustomRuleResponse = BatchCreateCustomRuleResponse;
|
|
73
|
+
//# sourceMappingURL=BatchCreateCustomRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleResponse.ts"],"names":[],"mappings":";;;AAGA,+EAA4E;AAE5E,MAAa,6BAA8B,SAAQ,yBAAW;IAe1D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACx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AAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAhFD,sEAgFC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BatchCreateGeoIpRuleRequestBody } from './BatchCreateGeoIpRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateGeoIpRuleRequest {
|
|
3
|
+
private 'enterprise_project_id'?;
|
|
4
|
+
private 'Content-Type'?;
|
|
5
|
+
body?: BatchCreateGeoIpRuleRequestBody;
|
|
6
|
+
constructor(contentType?: string);
|
|
7
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateGeoIpRuleRequest;
|
|
8
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
9
|
+
get enterpriseProjectId(): string | undefined;
|
|
10
|
+
withContentType(contentType: string): BatchCreateGeoIpRuleRequest;
|
|
11
|
+
set contentType(contentType: string | undefined);
|
|
12
|
+
get contentType(): string | undefined;
|
|
13
|
+
withBody(body: BatchCreateGeoIpRuleRequestBody): BatchCreateGeoIpRuleRequest;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAGpF,qBAAa,2BAA2B;IACpC,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,+BAA+B,CAAC;gBAC3B,WAAW,CAAC,EAAE,MAAM;IAGhC,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,2BAA2B;IAIxF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,2BAA2B;IAIxE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,+BAA+B,GAAG,2BAA2B;CAItF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateGeoIpRuleRequest = void 0;
|
|
4
|
+
class BatchCreateGeoIpRuleRequest {
|
|
5
|
+
constructor(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
withEnterpriseProjectId(enterpriseProjectId) {
|
|
9
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
set enterpriseProjectId(enterpriseProjectId) {
|
|
13
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
14
|
+
}
|
|
15
|
+
get enterpriseProjectId() {
|
|
16
|
+
return this['enterprise_project_id'];
|
|
17
|
+
}
|
|
18
|
+
withContentType(contentType) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
set contentType(contentType) {
|
|
23
|
+
this['Content-Type'] = contentType;
|
|
24
|
+
}
|
|
25
|
+
get contentType() {
|
|
26
|
+
return this['Content-Type'];
|
|
27
|
+
}
|
|
28
|
+
withBody(body) {
|
|
29
|
+
this['body'] = body;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.BatchCreateGeoIpRuleRequest = BatchCreateGeoIpRuleRequest;
|
|
34
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,2BAA2B;IAIpC,YAAmB,WAAoB;QACnC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACM,QAAQ,CAAC,IAAqC;QACjD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/BD,kEA+BC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class BatchCreateGeoIpRuleRequestBody {
|
|
2
|
+
name?: string;
|
|
3
|
+
geoip?: string;
|
|
4
|
+
white?: number;
|
|
5
|
+
private 'ip_type'?;
|
|
6
|
+
description?: string;
|
|
7
|
+
private 'policy_ids'?;
|
|
8
|
+
constructor(geoip?: string, white?: number, ipType?: string, policyIds?: Array<string>);
|
|
9
|
+
withName(name: string): BatchCreateGeoIpRuleRequestBody;
|
|
10
|
+
withGeoip(geoip: string): BatchCreateGeoIpRuleRequestBody;
|
|
11
|
+
withWhite(white: number): BatchCreateGeoIpRuleRequestBody;
|
|
12
|
+
withIpType(ipType: string): BatchCreateGeoIpRuleRequestBody;
|
|
13
|
+
set ipType(ipType: string | undefined);
|
|
14
|
+
get ipType(): string | undefined;
|
|
15
|
+
withDescription(description: string): BatchCreateGeoIpRuleRequestBody;
|
|
16
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateGeoIpRuleRequestBody;
|
|
17
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
18
|
+
get policyIds(): Array<string> | undefined;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequestBody.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,SAAS,CAAC,CAAS;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAMtF,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,+BAA+B;IAIvD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,+BAA+B;IAIzD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,+BAA+B;IAIzD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,+BAA+B;IAIlE,IAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAI,SAAS,EAE5C;IACD,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAEtC;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,+BAA+B;IAIrE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,+BAA+B;IAI/E,IAAW,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateGeoIpRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateGeoIpRuleRequestBody {
|
|
5
|
+
constructor(geoip, white, ipType, policyIds) {
|
|
6
|
+
this['geoip'] = geoip;
|
|
7
|
+
this['white'] = white;
|
|
8
|
+
this['ip_type'] = ipType;
|
|
9
|
+
this['policy_ids'] = policyIds;
|
|
10
|
+
}
|
|
11
|
+
withName(name) {
|
|
12
|
+
this['name'] = name;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
withGeoip(geoip) {
|
|
16
|
+
this['geoip'] = geoip;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
withWhite(white) {
|
|
20
|
+
this['white'] = white;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
withIpType(ipType) {
|
|
24
|
+
this['ip_type'] = ipType;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
set ipType(ipType) {
|
|
28
|
+
this['ip_type'] = ipType;
|
|
29
|
+
}
|
|
30
|
+
get ipType() {
|
|
31
|
+
return this['ip_type'];
|
|
32
|
+
}
|
|
33
|
+
withDescription(description) {
|
|
34
|
+
this['description'] = description;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withPolicyIds(policyIds) {
|
|
38
|
+
this['policy_ids'] = policyIds;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
set policyIds(policyIds) {
|
|
42
|
+
this['policy_ids'] = policyIds;
|
|
43
|
+
}
|
|
44
|
+
get policyIds() {
|
|
45
|
+
return this['policy_ids'];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.BatchCreateGeoIpRuleRequestBody = BatchCreateGeoIpRuleRequestBody;
|
|
49
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequestBody.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;IAOxC,YAAmB,KAAc,EAAE,KAAc,EAAE,MAAe,EAAE,SAAyB;QACzF,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,MAAM,CAAC,MAA2B;QACzC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;IAC7B,CAAC;IACD,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAAqC;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;CACJ;AAjDD,0EAiDC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class BatchCreateGeoIpRuleResponse extends SdkResponse {
|
|
3
|
+
id?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
policyid?: string;
|
|
6
|
+
geoip?: string;
|
|
7
|
+
white?: number;
|
|
8
|
+
status?: number;
|
|
9
|
+
private 'ip_type'?;
|
|
10
|
+
description?: string;
|
|
11
|
+
timestamp?: number;
|
|
12
|
+
constructor();
|
|
13
|
+
withId(id: string): BatchCreateGeoIpRuleResponse;
|
|
14
|
+
withName(name: string): BatchCreateGeoIpRuleResponse;
|
|
15
|
+
withPolicyid(policyid: string): BatchCreateGeoIpRuleResponse;
|
|
16
|
+
withGeoip(geoip: string): BatchCreateGeoIpRuleResponse;
|
|
17
|
+
withWhite(white: number): BatchCreateGeoIpRuleResponse;
|
|
18
|
+
withStatus(status: number): BatchCreateGeoIpRuleResponse;
|
|
19
|
+
withIpType(ipType: string): BatchCreateGeoIpRuleResponse;
|
|
20
|
+
set ipType(ipType: string | undefined);
|
|
21
|
+
get ipType(): string | undefined;
|
|
22
|
+
withDescription(description: string): BatchCreateGeoIpRuleResponse;
|
|
23
|
+
withTimestamp(timestamp: number): BatchCreateGeoIpRuleResponse;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,4BAA6B,SAAQ,WAAW;IAClD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,SAAS,CAAC,CAAS;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;;IAInB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,4BAA4B;IAIhD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,4BAA4B;IAIpD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,4BAA4B;IAI5D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B;IAItD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B;IAItD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B;IAIxD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B;IAI/D,IAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAI,SAAS,EAE5C;IACD,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAEtC;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B;IAIlE,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;CAIxE"}
|