@huaweicloud/huaweicloud-sdk-waf 3.1.174 → 3.1.176
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 +736 -22
- package/v1/WafClient.d.ts.map +1 -1
- package/v1/WafClient.js +1851 -144
- 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/AntileakageMapResponseBodyLeakagemap.d.ts +8 -0
- package/v1/model/AntileakageMapResponseBodyLeakagemap.d.ts.map +1 -0
- package/v1/model/AntileakageMapResponseBodyLeakagemap.js +17 -0
- package/v1/model/AntileakageMapResponseBodyLeakagemap.js.map +1 -0
- package/v1/model/AntileakageMapResponseBodyLocale.d.ts +18 -0
- package/v1/model/AntileakageMapResponseBodyLocale.d.ts.map +1 -0
- package/v1/model/AntileakageMapResponseBodyLocale.js +39 -0
- package/v1/model/AntileakageMapResponseBodyLocale.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/CheckAgencyRequest.d.ts +8 -0
- package/v1/model/CheckAgencyRequest.d.ts.map +1 -0
- package/v1/model/CheckAgencyRequest.js +20 -0
- package/v1/model/CheckAgencyRequest.js.map +1 -0
- package/v1/model/CheckAgencyResponse.d.ts +21 -0
- package/v1/model/CheckAgencyResponse.d.ts.map +1 -0
- package/v1/model/CheckAgencyResponse.js +47 -0
- package/v1/model/CheckAgencyResponse.js.map +1 -0
- package/v1/model/ConfirmIpReputationRuleRequest.d.ts +16 -0
- package/v1/model/ConfirmIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/ConfirmIpReputationRuleRequest.js +42 -0
- package/v1/model/ConfirmIpReputationRuleRequest.js.map +1 -0
- package/v1/model/ConfirmIpReputationRuleResponse.d.ts +24 -0
- package/v1/model/ConfirmIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/ConfirmIpReputationRuleResponse.js +47 -0
- package/v1/model/ConfirmIpReputationRuleResponse.js.map +1 -0
- package/v1/model/ConfirmPolicyAntileakageMapRequest.d.ts +10 -0
- package/v1/model/ConfirmPolicyAntileakageMapRequest.d.ts.map +1 -0
- package/v1/model/ConfirmPolicyAntileakageMapRequest.js +25 -0
- package/v1/model/ConfirmPolicyAntileakageMapRequest.js.map +1 -0
- package/v1/model/ConfirmPolicyAntileakageMapResponse.d.ts +11 -0
- package/v1/model/ConfirmPolicyAntileakageMapResponse.d.ts.map +1 -0
- package/v1/model/ConfirmPolicyAntileakageMapResponse.js +19 -0
- package/v1/model/ConfirmPolicyAntileakageMapResponse.js.map +1 -0
- package/v1/model/ConfirmPolicyIpReputationMapRequest.d.ts +12 -0
- package/v1/model/ConfirmPolicyIpReputationMapRequest.d.ts.map +1 -0
- package/v1/model/ConfirmPolicyIpReputationMapRequest.js +30 -0
- package/v1/model/ConfirmPolicyIpReputationMapRequest.js.map +1 -0
- package/v1/model/ConfirmPolicyIpReputationMapResponse.d.ts +13 -0
- package/v1/model/ConfirmPolicyIpReputationMapResponse.d.ts.map +1 -0
- package/v1/model/ConfirmPolicyIpReputationMapResponse.js +25 -0
- package/v1/model/ConfirmPolicyIpReputationMapResponse.js.map +1 -0
- package/v1/model/ConfirmProtectionTypesRequest.d.ts +12 -0
- package/v1/model/ConfirmProtectionTypesRequest.d.ts.map +1 -0
- package/v1/model/ConfirmProtectionTypesRequest.js +28 -0
- package/v1/model/ConfirmProtectionTypesRequest.js.map +1 -0
- package/v1/model/ConfirmProtectionTypesResponse.d.ts +9 -0
- package/v1/model/ConfirmProtectionTypesResponse.d.ts.map +1 -0
- package/v1/model/ConfirmProtectionTypesResponse.js +19 -0
- package/v1/model/ConfirmProtectionTypesResponse.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/CreateIpReputationRuleRequest.d.ts +19 -0
- package/v1/model/CreateIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/CreateIpReputationRuleRequest.js +45 -0
- package/v1/model/CreateIpReputationRuleRequest.js.map +1 -0
- package/v1/model/CreateIpReputationRuleRequestBody.d.ts +19 -0
- package/v1/model/CreateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/CreateIpReputationRuleRequestBody.js +41 -0
- package/v1/model/CreateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/CreateIpReputationRuleResponse.d.ts +26 -0
- package/v1/model/CreateIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/CreateIpReputationRuleResponse.js +51 -0
- package/v1/model/CreateIpReputationRuleResponse.js.map +1 -0
- package/v1/model/CreateIpReputationRuleResponseBodyAction.d.ts +6 -0
- package/v1/model/CreateIpReputationRuleResponseBodyAction.d.ts.map +1 -0
- package/v1/model/CreateIpReputationRuleResponseBodyAction.js +13 -0
- package/v1/model/CreateIpReputationRuleResponseBodyAction.js.map +1 -0
- package/v1/model/CreatePremiumHostRequestBody.d.ts +1 -1
- package/v1/model/CreatePremiumHostRequestBody.d.ts.map +1 -1
- package/v1/model/CreatePremiumHostRequestBody.js +1 -2
- package/v1/model/CreatePremiumHostRequestBody.js.map +1 -1
- 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/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/IpReputationMapResponseBodyIpReputationMap.d.ts +6 -0
- package/v1/model/IpReputationMapResponseBodyIpReputationMap.d.ts.map +1 -0
- package/v1/model/IpReputationMapResponseBodyIpReputationMap.js +13 -0
- package/v1/model/IpReputationMapResponseBodyIpReputationMap.js.map +1 -0
- package/v1/model/IpReputationMapResponseBodyLocale.d.ts +40 -0
- package/v1/model/IpReputationMapResponseBodyLocale.d.ts.map +1 -0
- package/v1/model/IpReputationMapResponseBodyLocale.js +99 -0
- package/v1/model/IpReputationMapResponseBodyLocale.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/ListSecurityReportHistoryPeriodResponseItems.d.ts +17 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseItems.d.ts.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseItems.js +42 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseItems.js.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseStatPeriod.d.ts +12 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseStatPeriod.d.ts.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseStatPeriod.js +31 -0
- package/v1/model/ListSecurityReportHistoryPeriodResponseStatPeriod.js.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodsRequest.d.ts +16 -0
- package/v1/model/ListSecurityReportHistoryPeriodsRequest.d.ts.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodsRequest.js +39 -0
- package/v1/model/ListSecurityReportHistoryPeriodsRequest.js.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodsResponse.d.ts +10 -0
- package/v1/model/ListSecurityReportHistoryPeriodsResponse.d.ts.map +1 -0
- package/v1/model/ListSecurityReportHistoryPeriodsResponse.js +19 -0
- package/v1/model/ListSecurityReportHistoryPeriodsResponse.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/SecurityReportSubscriptionResponseReportContentSubscription.d.ts +52 -0
- package/v1/model/SecurityReportSubscriptionResponseReportContentSubscription.d.ts.map +1 -0
- package/v1/model/SecurityReportSubscriptionResponseReportContentSubscription.js +129 -0
- package/v1/model/SecurityReportSubscriptionResponseReportContentSubscription.js.map +1 -0
- package/v1/model/SecurityReportSubscriptionResponseStatPeriod.d.ts +12 -0
- package/v1/model/SecurityReportSubscriptionResponseStatPeriod.d.ts.map +1 -0
- package/v1/model/SecurityReportSubscriptionResponseStatPeriod.js +29 -0
- package/v1/model/SecurityReportSubscriptionResponseStatPeriod.js.map +1 -0
- package/v1/model/ShowSecurityReportSubscriptionRequest.d.ts +12 -0
- package/v1/model/ShowSecurityReportSubscriptionRequest.d.ts.map +1 -0
- package/v1/model/ShowSecurityReportSubscriptionRequest.js +31 -0
- package/v1/model/ShowSecurityReportSubscriptionRequest.js.map +1 -0
- package/v1/model/ShowSecurityReportSubscriptionResponse.d.ts +47 -0
- package/v1/model/ShowSecurityReportSubscriptionResponse.d.ts.map +1 -0
- package/v1/model/ShowSecurityReportSubscriptionResponse.js +111 -0
- package/v1/model/ShowSecurityReportSubscriptionResponse.js.map +1 -0
- package/v1/model/ShowWebProtectionRuleRequest.d.ts +12 -0
- package/v1/model/ShowWebProtectionRuleRequest.d.ts.map +1 -0
- package/v1/model/ShowWebProtectionRuleRequest.js +30 -0
- package/v1/model/ShowWebProtectionRuleRequest.js.map +1 -0
- package/v1/model/ShowWebProtectionRuleResponse.d.ts +38 -0
- package/v1/model/ShowWebProtectionRuleResponse.d.ts.map +1 -0
- package/v1/model/ShowWebProtectionRuleResponse.js +79 -0
- package/v1/model/ShowWebProtectionRuleResponse.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/UpdateIpReputationRuleRequestBodyAction.d.ts +6 -0
- package/v1/model/UpdateIpReputationRuleRequestBodyAction.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequestBodyAction.js +13 -0
- package/v1/model/UpdateIpReputationRuleRequestBodyAction.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/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/public-api.d.ts +77 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +77 -0
- package/v1/public-api.js.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAntileakageRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateAntileakageRuleRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBAAa,qCAAqC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,iDAAiD,GAAG,MAAM,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAMhG,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,qCAAqC;IAI3D,YAAY,CAAC,QAAQ,EAAE,iDAAiD,GAAG,MAAM,GAAG,qCAAqC;IAIzH,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,qCAAqC;IAI5E,UAAU,CAAC,MAAM,EAAE,qBAAqB,GAAG,qCAAqC;IAIhF,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,qCAAqC;IAI3E,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,qCAAqC;IAIrF,IAAW,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ;AAED;;;MAGM;AACN,oBAAY,iDAAiD;IACzD,IAAI,SAAS;IACb,SAAS,cAAc;CAC1B"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateAntileakageRuleRequestBodyCategoryEnum = exports.BatchCreateAntileakageRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateAntileakageRuleRequestBody {
|
|
5
|
+
constructor(url, category, contents, policyIds) {
|
|
6
|
+
this['url'] = url;
|
|
7
|
+
this['category'] = category;
|
|
8
|
+
this['contents'] = contents;
|
|
9
|
+
this['policy_ids'] = policyIds;
|
|
10
|
+
}
|
|
11
|
+
withUrl(url) {
|
|
12
|
+
this['url'] = url;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
withCategory(category) {
|
|
16
|
+
this['category'] = category;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
withContents(contents) {
|
|
20
|
+
this['contents'] = contents;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
withAction(action) {
|
|
24
|
+
this['action'] = action;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
withDescription(description) {
|
|
28
|
+
this['description'] = description;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
withPolicyIds(policyIds) {
|
|
32
|
+
this['policy_ids'] = policyIds;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
set policyIds(policyIds) {
|
|
36
|
+
this['policy_ids'] = policyIds;
|
|
37
|
+
}
|
|
38
|
+
get policyIds() {
|
|
39
|
+
return this['policy_ids'];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.BatchCreateAntileakageRuleRequestBody = BatchCreateAntileakageRuleRequestBody;
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
var BatchCreateAntileakageRuleRequestBodyCategoryEnum;
|
|
48
|
+
(function (BatchCreateAntileakageRuleRequestBodyCategoryEnum) {
|
|
49
|
+
BatchCreateAntileakageRuleRequestBodyCategoryEnum["CODE"] = "code";
|
|
50
|
+
BatchCreateAntileakageRuleRequestBodyCategoryEnum["SENSITIVE"] = "sensitive";
|
|
51
|
+
})(BatchCreateAntileakageRuleRequestBodyCategoryEnum = exports.BatchCreateAntileakageRuleRequestBodyCategoryEnum || (exports.BatchCreateAntileakageRuleRequestBodyCategoryEnum = {}));
|
|
52
|
+
//# sourceMappingURL=BatchCreateAntileakageRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAntileakageRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateAntileakageRuleRequestBody.ts"],"names":[],"mappings":";;;AAGA,MAAa,qCAAqC;IAO9C,YAAmB,GAAY,EAAE,QAAiB,EAAE,QAAwB,EAAE,SAAyB;QACnG,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAoE;QACpF,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAuB;QACvC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA6B;QAC3C,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,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;AA3CD,sFA2CC;AAED;;;MAGM;AACN,IAAY,iDAGX;AAHD,WAAY,iDAAiD;IACzD,kEAAa,CAAA;IACb,4EAAuB,CAAA;AAC3B,CAAC,EAHW,iDAAiD,GAAjD,yDAAiD,KAAjD,yDAAiD,QAG5D"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LeakageListInfoAction } from './LeakageListInfoAction';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class BatchCreateAntileakageRuleResponse extends SdkResponse {
|
|
4
|
+
id?: string;
|
|
5
|
+
policyid?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
contents?: Array<string>;
|
|
9
|
+
timestamp?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
status?: number;
|
|
12
|
+
action?: LeakageListInfoAction;
|
|
13
|
+
constructor();
|
|
14
|
+
withId(id: string): BatchCreateAntileakageRuleResponse;
|
|
15
|
+
withPolicyid(policyid: string): BatchCreateAntileakageRuleResponse;
|
|
16
|
+
withUrl(url: string): BatchCreateAntileakageRuleResponse;
|
|
17
|
+
withCategory(category: string): BatchCreateAntileakageRuleResponse;
|
|
18
|
+
withContents(contents: Array<string>): BatchCreateAntileakageRuleResponse;
|
|
19
|
+
withTimestamp(timestamp: number): BatchCreateAntileakageRuleResponse;
|
|
20
|
+
withDescription(description: string): BatchCreateAntileakageRuleResponse;
|
|
21
|
+
withStatus(status: number): BatchCreateAntileakageRuleResponse;
|
|
22
|
+
withAction(action: LeakageListInfoAction): BatchCreateAntileakageRuleResponse;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=BatchCreateAntileakageRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAntileakageRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateAntileakageRuleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,kCAAmC,SAAQ,WAAW;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,qBAAqB,CAAC;;IAI/B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,kCAAkC;IAItD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,kCAAkC;IAIlE,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,kCAAkC;IAIxD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,kCAAkC;IAIlE,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,kCAAkC;IAIzE,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,kCAAkC;IAIpE,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,kCAAkC;IAIxE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,kCAAkC;IAI9D,UAAU,CAAC,MAAM,EAAE,qBAAqB,GAAG,kCAAkC;CAIvF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateAntileakageRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateAntileakageRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withPolicyid(policyid) {
|
|
14
|
+
this['policyid'] = policyid;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withUrl(url) {
|
|
18
|
+
this['url'] = url;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withCategory(category) {
|
|
22
|
+
this['category'] = category;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withContents(contents) {
|
|
26
|
+
this['contents'] = contents;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withTimestamp(timestamp) {
|
|
30
|
+
this['timestamp'] = timestamp;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withDescription(description) {
|
|
34
|
+
this['description'] = description;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withStatus(status) {
|
|
38
|
+
this['status'] = status;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withAction(action) {
|
|
42
|
+
this['action'] = action;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.BatchCreateAntileakageRuleResponse = BatchCreateAntileakageRuleResponse;
|
|
47
|
+
//# sourceMappingURL=BatchCreateAntileakageRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateAntileakageRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateAntileakageRuleResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,kCAAmC,SAAQ,yBAAW;IAU/D;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,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,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAuB;QACvC,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;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA6B;QAC3C,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAjDD,gFAiDC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BatchCreateCcRuleRequestBody } from './BatchCreateCcRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateCcRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreateCcRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreateCcRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateCcRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreateCcRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreateCcRuleRequestBody): BatchCreateCcRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreateCcRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAG9E,qBAAa,wBAAwB;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,4BAA4B,CAAC;gBACxB,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB;IAI1D,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,wBAAwB;IAIrF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,wBAAwB;IAIrE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,4BAA4B,GAAG,wBAAwB;CAIhF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCcRuleRequest = void 0;
|
|
4
|
+
class BatchCreateCcRuleRequest {
|
|
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.BatchCreateCcRuleRequest = BatchCreateCcRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreateCcRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,wBAAwB;IAKjC,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,IAAkC;QAC9C,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,4DAoCC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { CcCondition } from './CcCondition';
|
|
2
|
+
import { CcrulesListInfoTagCondition } from './CcrulesListInfoTagCondition';
|
|
3
|
+
import { CreateCcRuleRequestBodyAction } from './CreateCcRuleRequestBodyAction';
|
|
4
|
+
export declare class BatchCreateCcRuleRequestBody {
|
|
5
|
+
name?: string;
|
|
6
|
+
mode?: number;
|
|
7
|
+
conditions?: Array<CcCondition>;
|
|
8
|
+
action?: CreateCcRuleRequestBodyAction;
|
|
9
|
+
private 'tag_type'?;
|
|
10
|
+
private 'tag_index'?;
|
|
11
|
+
private 'tag_condition'?;
|
|
12
|
+
private 'limit_num'?;
|
|
13
|
+
private 'limit_period'?;
|
|
14
|
+
private 'unlock_num'?;
|
|
15
|
+
private 'lock_time'?;
|
|
16
|
+
private 'domain_aggregation'?;
|
|
17
|
+
private 'region_aggregation'?;
|
|
18
|
+
description?: string;
|
|
19
|
+
private 'policy_ids'?;
|
|
20
|
+
constructor(mode?: number, conditions?: Array<CcCondition>, action?: CreateCcRuleRequestBodyAction, tagType?: string, limitNum?: number, limitPeriod?: number, policyIds?: Array<string>);
|
|
21
|
+
withName(name: string): BatchCreateCcRuleRequestBody;
|
|
22
|
+
withMode(mode: number): BatchCreateCcRuleRequestBody;
|
|
23
|
+
withConditions(conditions: Array<CcCondition>): BatchCreateCcRuleRequestBody;
|
|
24
|
+
withAction(action: CreateCcRuleRequestBodyAction): BatchCreateCcRuleRequestBody;
|
|
25
|
+
withTagType(tagType: BatchCreateCcRuleRequestBodyTagTypeEnum | string): BatchCreateCcRuleRequestBody;
|
|
26
|
+
set tagType(tagType: BatchCreateCcRuleRequestBodyTagTypeEnum | string | undefined);
|
|
27
|
+
get tagType(): BatchCreateCcRuleRequestBodyTagTypeEnum | string | undefined;
|
|
28
|
+
withTagIndex(tagIndex: string): BatchCreateCcRuleRequestBody;
|
|
29
|
+
set tagIndex(tagIndex: string | undefined);
|
|
30
|
+
get tagIndex(): string | undefined;
|
|
31
|
+
withTagCondition(tagCondition: CcrulesListInfoTagCondition): BatchCreateCcRuleRequestBody;
|
|
32
|
+
set tagCondition(tagCondition: CcrulesListInfoTagCondition | undefined);
|
|
33
|
+
get tagCondition(): CcrulesListInfoTagCondition | undefined;
|
|
34
|
+
withLimitNum(limitNum: number): BatchCreateCcRuleRequestBody;
|
|
35
|
+
set limitNum(limitNum: number | undefined);
|
|
36
|
+
get limitNum(): number | undefined;
|
|
37
|
+
withLimitPeriod(limitPeriod: number): BatchCreateCcRuleRequestBody;
|
|
38
|
+
set limitPeriod(limitPeriod: number | undefined);
|
|
39
|
+
get limitPeriod(): number | undefined;
|
|
40
|
+
withUnlockNum(unlockNum: number): BatchCreateCcRuleRequestBody;
|
|
41
|
+
set unlockNum(unlockNum: number | undefined);
|
|
42
|
+
get unlockNum(): number | undefined;
|
|
43
|
+
withLockTime(lockTime: number): BatchCreateCcRuleRequestBody;
|
|
44
|
+
set lockTime(lockTime: number | undefined);
|
|
45
|
+
get lockTime(): number | undefined;
|
|
46
|
+
withDomainAggregation(domainAggregation: boolean): BatchCreateCcRuleRequestBody;
|
|
47
|
+
set domainAggregation(domainAggregation: boolean | undefined);
|
|
48
|
+
get domainAggregation(): boolean | undefined;
|
|
49
|
+
withRegionAggregation(regionAggregation: boolean): BatchCreateCcRuleRequestBody;
|
|
50
|
+
set regionAggregation(regionAggregation: boolean | undefined);
|
|
51
|
+
get regionAggregation(): boolean | undefined;
|
|
52
|
+
withDescription(description: string): BatchCreateCcRuleRequestBody;
|
|
53
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateCcRuleRequestBody;
|
|
54
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
55
|
+
get policyIds(): Array<string> | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
* @enum {string}
|
|
60
|
+
*/
|
|
61
|
+
export declare enum BatchCreateCcRuleRequestBodyTagTypeEnum {
|
|
62
|
+
IP = "ip",
|
|
63
|
+
COOKIE = "cookie",
|
|
64
|
+
HEADER = "header",
|
|
65
|
+
OTHER = "other",
|
|
66
|
+
POLICY = "policy",
|
|
67
|
+
DOMAIN = "domain",
|
|
68
|
+
URL = "url"
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=BatchCreateCcRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,qBAAa,4BAA4B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,6BAA6B,CAAC;IAC9C,OAAO,CAAC,UAAU,CAAC,CAAmD;IACtE,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,eAAe,CAAC,CAA8B;IACtD,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,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GM;AACN,oBAAY,uCAAuC;IAC/C,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACd"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCcRuleRequestBodyTagTypeEnum = exports.BatchCreateCcRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateCcRuleRequestBody {
|
|
5
|
+
constructor(mode, conditions, action, tagType, limitNum, limitPeriod, policyIds) {
|
|
6
|
+
this['mode'] = mode;
|
|
7
|
+
this['conditions'] = conditions;
|
|
8
|
+
this['action'] = action;
|
|
9
|
+
this['tag_type'] = tagType;
|
|
10
|
+
this['limit_num'] = limitNum;
|
|
11
|
+
this['limit_period'] = limitPeriod;
|
|
12
|
+
this['policy_ids'] = policyIds;
|
|
13
|
+
}
|
|
14
|
+
withName(name) {
|
|
15
|
+
this['name'] = name;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
withMode(mode) {
|
|
19
|
+
this['mode'] = mode;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
withConditions(conditions) {
|
|
23
|
+
this['conditions'] = conditions;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
withAction(action) {
|
|
27
|
+
this['action'] = action;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
withTagType(tagType) {
|
|
31
|
+
this['tag_type'] = tagType;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
set tagType(tagType) {
|
|
35
|
+
this['tag_type'] = tagType;
|
|
36
|
+
}
|
|
37
|
+
get tagType() {
|
|
38
|
+
return this['tag_type'];
|
|
39
|
+
}
|
|
40
|
+
withTagIndex(tagIndex) {
|
|
41
|
+
this['tag_index'] = tagIndex;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
set tagIndex(tagIndex) {
|
|
45
|
+
this['tag_index'] = tagIndex;
|
|
46
|
+
}
|
|
47
|
+
get tagIndex() {
|
|
48
|
+
return this['tag_index'];
|
|
49
|
+
}
|
|
50
|
+
withTagCondition(tagCondition) {
|
|
51
|
+
this['tag_condition'] = tagCondition;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
set tagCondition(tagCondition) {
|
|
55
|
+
this['tag_condition'] = tagCondition;
|
|
56
|
+
}
|
|
57
|
+
get tagCondition() {
|
|
58
|
+
return this['tag_condition'];
|
|
59
|
+
}
|
|
60
|
+
withLimitNum(limitNum) {
|
|
61
|
+
this['limit_num'] = limitNum;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
set limitNum(limitNum) {
|
|
65
|
+
this['limit_num'] = limitNum;
|
|
66
|
+
}
|
|
67
|
+
get limitNum() {
|
|
68
|
+
return this['limit_num'];
|
|
69
|
+
}
|
|
70
|
+
withLimitPeriod(limitPeriod) {
|
|
71
|
+
this['limit_period'] = limitPeriod;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
set limitPeriod(limitPeriod) {
|
|
75
|
+
this['limit_period'] = limitPeriod;
|
|
76
|
+
}
|
|
77
|
+
get limitPeriod() {
|
|
78
|
+
return this['limit_period'];
|
|
79
|
+
}
|
|
80
|
+
withUnlockNum(unlockNum) {
|
|
81
|
+
this['unlock_num'] = unlockNum;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
set unlockNum(unlockNum) {
|
|
85
|
+
this['unlock_num'] = unlockNum;
|
|
86
|
+
}
|
|
87
|
+
get unlockNum() {
|
|
88
|
+
return this['unlock_num'];
|
|
89
|
+
}
|
|
90
|
+
withLockTime(lockTime) {
|
|
91
|
+
this['lock_time'] = lockTime;
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
set lockTime(lockTime) {
|
|
95
|
+
this['lock_time'] = lockTime;
|
|
96
|
+
}
|
|
97
|
+
get lockTime() {
|
|
98
|
+
return this['lock_time'];
|
|
99
|
+
}
|
|
100
|
+
withDomainAggregation(domainAggregation) {
|
|
101
|
+
this['domain_aggregation'] = domainAggregation;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
set domainAggregation(domainAggregation) {
|
|
105
|
+
this['domain_aggregation'] = domainAggregation;
|
|
106
|
+
}
|
|
107
|
+
get domainAggregation() {
|
|
108
|
+
return this['domain_aggregation'];
|
|
109
|
+
}
|
|
110
|
+
withRegionAggregation(regionAggregation) {
|
|
111
|
+
this['region_aggregation'] = regionAggregation;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
set regionAggregation(regionAggregation) {
|
|
115
|
+
this['region_aggregation'] = regionAggregation;
|
|
116
|
+
}
|
|
117
|
+
get regionAggregation() {
|
|
118
|
+
return this['region_aggregation'];
|
|
119
|
+
}
|
|
120
|
+
withDescription(description) {
|
|
121
|
+
this['description'] = description;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
withPolicyIds(policyIds) {
|
|
125
|
+
this['policy_ids'] = policyIds;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
set policyIds(policyIds) {
|
|
129
|
+
this['policy_ids'] = policyIds;
|
|
130
|
+
}
|
|
131
|
+
get policyIds() {
|
|
132
|
+
return this['policy_ids'];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.BatchCreateCcRuleRequestBody = BatchCreateCcRuleRequestBody;
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
* @enum {string}
|
|
139
|
+
*/
|
|
140
|
+
var BatchCreateCcRuleRequestBodyTagTypeEnum;
|
|
141
|
+
(function (BatchCreateCcRuleRequestBodyTagTypeEnum) {
|
|
142
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["IP"] = "ip";
|
|
143
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["COOKIE"] = "cookie";
|
|
144
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["HEADER"] = "header";
|
|
145
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["OTHER"] = "other";
|
|
146
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["POLICY"] = "policy";
|
|
147
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["DOMAIN"] = "domain";
|
|
148
|
+
BatchCreateCcRuleRequestBodyTagTypeEnum["URL"] = "url";
|
|
149
|
+
})(BatchCreateCcRuleRequestBodyTagTypeEnum = exports.BatchCreateCcRuleRequestBodyTagTypeEnum || (exports.BatchCreateCcRuleRequestBodyTagTypeEnum = {}));
|
|
150
|
+
//# sourceMappingURL=BatchCreateCcRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleRequestBody.ts"],"names":[],"mappings":";;;AAKA,MAAa,4BAA4B;IAgBrC,YAAmB,IAAa,EAAE,UAA+B,EAAE,MAAsC,EAAE,OAAgB,EAAE,QAAiB,EAAE,WAAoB,EAAE,SAAyB;QAC3L,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,OAAO,CAAC;QAC3B,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,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,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,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,CAAC;IACtC,CAAC;IACM,qBAAqB,CAAC,iBAA0B;QACnD,IAAI,CAAC,oBAAoB,CAAC,GAAG,iBAAiB,CAAC;QAC/C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,iBAAiB,CAAC,iBAAuC;QAChE,IAAI,CAAC,oBAAoB,CAAC,GAAG,iBAAiB,CAAC;IACnD,CAAC;IACD,IAAW,iBAAiB;QACxB,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACtC,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;AAjJD,oEAiJC;AAED;;;MAGM;AACN,IAAY,uCAQX;AARD,WAAY,uCAAuC;IAC/C,oDAAS,CAAA;IACT,4DAAiB,CAAA;IACjB,4DAAiB,CAAA;IACjB,0DAAe,CAAA;IACf,4DAAiB,CAAA;IACjB,4DAAiB,CAAA;IACjB,sDAAW,CAAA;AACf,CAAC,EARW,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QAQlD"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { CcCondition } from './CcCondition';
|
|
2
|
+
import { CcrulesListInfoAction } from './CcrulesListInfoAction';
|
|
3
|
+
import { CcrulesListInfoTagCondition } from './CcrulesListInfoTagCondition';
|
|
4
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
5
|
+
export declare class BatchCreateCcRuleResponse extends SdkResponse {
|
|
6
|
+
name?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
policyid?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
prefix?: boolean;
|
|
11
|
+
mode?: number;
|
|
12
|
+
status?: number;
|
|
13
|
+
conditions?: Array<CcCondition>;
|
|
14
|
+
action?: CcrulesListInfoAction;
|
|
15
|
+
private 'tag_type'?;
|
|
16
|
+
private 'tag_index'?;
|
|
17
|
+
private 'tag_condition'?;
|
|
18
|
+
private 'limit_num'?;
|
|
19
|
+
private 'limit_period'?;
|
|
20
|
+
private 'unlock_num'?;
|
|
21
|
+
private 'lock_time'?;
|
|
22
|
+
private 'domain_aggregation'?;
|
|
23
|
+
private 'region_aggregation'?;
|
|
24
|
+
description?: string;
|
|
25
|
+
private 'total_num'?;
|
|
26
|
+
unaggregation?: boolean;
|
|
27
|
+
private 'aging_time'?;
|
|
28
|
+
producer?: number;
|
|
29
|
+
timestamp?: number;
|
|
30
|
+
constructor();
|
|
31
|
+
withName(name: string): BatchCreateCcRuleResponse;
|
|
32
|
+
withId(id: string): BatchCreateCcRuleResponse;
|
|
33
|
+
withPolicyid(policyid: string): BatchCreateCcRuleResponse;
|
|
34
|
+
withUrl(url: string): BatchCreateCcRuleResponse;
|
|
35
|
+
withPrefix(prefix: boolean): BatchCreateCcRuleResponse;
|
|
36
|
+
withMode(mode: number): BatchCreateCcRuleResponse;
|
|
37
|
+
withStatus(status: number): BatchCreateCcRuleResponse;
|
|
38
|
+
withConditions(conditions: Array<CcCondition>): BatchCreateCcRuleResponse;
|
|
39
|
+
withAction(action: CcrulesListInfoAction): BatchCreateCcRuleResponse;
|
|
40
|
+
withTagType(tagType: BatchCreateCcRuleResponseTagTypeEnum | string): BatchCreateCcRuleResponse;
|
|
41
|
+
set tagType(tagType: BatchCreateCcRuleResponseTagTypeEnum | string | undefined);
|
|
42
|
+
get tagType(): BatchCreateCcRuleResponseTagTypeEnum | string | undefined;
|
|
43
|
+
withTagIndex(tagIndex: string): BatchCreateCcRuleResponse;
|
|
44
|
+
set tagIndex(tagIndex: string | undefined);
|
|
45
|
+
get tagIndex(): string | undefined;
|
|
46
|
+
withTagCondition(tagCondition: CcrulesListInfoTagCondition): BatchCreateCcRuleResponse;
|
|
47
|
+
set tagCondition(tagCondition: CcrulesListInfoTagCondition | undefined);
|
|
48
|
+
get tagCondition(): CcrulesListInfoTagCondition | undefined;
|
|
49
|
+
withLimitNum(limitNum: number): BatchCreateCcRuleResponse;
|
|
50
|
+
set limitNum(limitNum: number | undefined);
|
|
51
|
+
get limitNum(): number | undefined;
|
|
52
|
+
withLimitPeriod(limitPeriod: number): BatchCreateCcRuleResponse;
|
|
53
|
+
set limitPeriod(limitPeriod: number | undefined);
|
|
54
|
+
get limitPeriod(): number | undefined;
|
|
55
|
+
withUnlockNum(unlockNum: number): BatchCreateCcRuleResponse;
|
|
56
|
+
set unlockNum(unlockNum: number | undefined);
|
|
57
|
+
get unlockNum(): number | undefined;
|
|
58
|
+
withLockTime(lockTime: number): BatchCreateCcRuleResponse;
|
|
59
|
+
set lockTime(lockTime: number | undefined);
|
|
60
|
+
get lockTime(): number | undefined;
|
|
61
|
+
withDomainAggregation(domainAggregation: boolean): BatchCreateCcRuleResponse;
|
|
62
|
+
set domainAggregation(domainAggregation: boolean | undefined);
|
|
63
|
+
get domainAggregation(): boolean | undefined;
|
|
64
|
+
withRegionAggregation(regionAggregation: boolean): BatchCreateCcRuleResponse;
|
|
65
|
+
set regionAggregation(regionAggregation: boolean | undefined);
|
|
66
|
+
get regionAggregation(): boolean | undefined;
|
|
67
|
+
withDescription(description: string): BatchCreateCcRuleResponse;
|
|
68
|
+
withTotalNum(totalNum: number): BatchCreateCcRuleResponse;
|
|
69
|
+
set totalNum(totalNum: number | undefined);
|
|
70
|
+
get totalNum(): number | undefined;
|
|
71
|
+
withUnaggregation(unaggregation: boolean): BatchCreateCcRuleResponse;
|
|
72
|
+
withAgingTime(agingTime: number): BatchCreateCcRuleResponse;
|
|
73
|
+
set agingTime(agingTime: number | undefined);
|
|
74
|
+
get agingTime(): number | undefined;
|
|
75
|
+
withProducer(producer: number): BatchCreateCcRuleResponse;
|
|
76
|
+
withTimestamp(timestamp: number): BatchCreateCcRuleResponse;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @export
|
|
80
|
+
* @enum {string}
|
|
81
|
+
*/
|
|
82
|
+
export declare enum BatchCreateCcRuleResponseTagTypeEnum {
|
|
83
|
+
IP = "ip",
|
|
84
|
+
COOKIE = "cookie",
|
|
85
|
+
HEADER = "header",
|
|
86
|
+
OTHER = "other",
|
|
87
|
+
POLICY = "policy",
|
|
88
|
+
DOMAIN = "domain",
|
|
89
|
+
URL = "url"
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=BatchCreateCcRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCcRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCcRuleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,yBAA0B,SAAQ,WAAW;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,qBAAqB,CAAC;IACtC,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