Uses of Class
com.azure.resourcemanager.network.models.PolicySettings
Packages that use PolicySettings
Package
Description
Package containing the inner data models for NetworkManagementClient.
Package containing the data models for NetworkManagementClient.
-
Uses of PolicySettings in com.azure.resourcemanager.network.fluent.models
Methods in com.azure.resourcemanager.network.fluent.models that return PolicySettingsModifier and TypeMethodDescriptionWebApplicationFirewallPolicyInner.policySettings()Get the policySettings property: The PolicySettings for policy.WebApplicationFirewallPolicyPropertiesFormat.policySettings()Get the policySettings property: The PolicySettings for policy.Methods in com.azure.resourcemanager.network.fluent.models with parameters of type PolicySettingsModifier and TypeMethodDescriptionWebApplicationFirewallPolicyInner.withPolicySettings(PolicySettings policySettings) Set the policySettings property: The PolicySettings for policy.WebApplicationFirewallPolicyPropertiesFormat.withPolicySettings(PolicySettings policySettings) Set the policySettings property: The PolicySettings for policy. -
Uses of PolicySettings in com.azure.resourcemanager.network.models
Methods in com.azure.resourcemanager.network.models that return PolicySettingsModifier and TypeMethodDescriptionstatic PolicySettingsPolicySettings.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PolicySettings from the JsonReader.WebApplicationFirewallPolicy.getPolicySettings()Gets Web Application Firewall Policy settings.PolicySettings.withCustomBlockResponseBody(String customBlockResponseBody) Set the customBlockResponseBody property: If the action type is block, customer can override the response body.PolicySettings.withCustomBlockResponseStatusCode(Integer customBlockResponseStatusCode) Set the customBlockResponseStatusCode property: If the action type is block, customer can override the response status code.PolicySettings.withFileUploadEnforcement(Boolean fileUploadEnforcement) Set the fileUploadEnforcement property: Whether allow WAF to enforce file upload limits.PolicySettings.withFileUploadLimitInMb(Integer fileUploadLimitInMb) Set the fileUploadLimitInMb property: Maximum file upload size in Mb for WAF.PolicySettings.withJsChallengeCookieExpirationInMins(Integer jsChallengeCookieExpirationInMins) Set the jsChallengeCookieExpirationInMins property: Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.PolicySettings.withLogScrubbing(PolicySettingsLogScrubbing logScrubbing) Set the logScrubbing property: To scrub sensitive log fields.PolicySettings.withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb) Set the maxRequestBodySizeInKb property: Maximum request body size in Kb for WAF.PolicySettings.withMode(WebApplicationFirewallMode mode) Set the mode property: The mode of the policy.PolicySettings.withRequestBodyCheck(Boolean requestBodyCheck) Set the requestBodyCheck property: Whether to allow WAF to check request Body.PolicySettings.withRequestBodyEnforcement(Boolean requestBodyEnforcement) Set the requestBodyEnforcement property: Whether allow WAF to enforce request body limits.PolicySettings.withRequestBodyInspectLimitInKB(Integer requestBodyInspectLimitInKB) Set the requestBodyInspectLimitInKB property: Max inspection limit in KB for request body inspection for WAF.PolicySettings.withState(WebApplicationFirewallEnabledState state) Set the state property: The state of the policy.