366 строки
28 KiB
YAML
366 строки
28 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.network.models.PolicySettings"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings"
|
|
name: "PolicySettings"
|
|
nameWithType: "PolicySettings"
|
|
summary: "Defines contents of a web application firewall global configuration."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **PolicySettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.PolicySettings()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.PolicySettings()"
|
|
name: "PolicySettings()"
|
|
nameWithType: "PolicySettings.PolicySettings()"
|
|
summary: "Creates an instance of Policy<wbr>Settings class."
|
|
syntax: "public PolicySettings()"
|
|
desc: "Creates an instance of PolicySettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.customBlockResponseBody()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.customBlockResponseBody()"
|
|
name: "customBlockResponseBody()"
|
|
nameWithType: "PolicySettings.customBlockResponseBody()"
|
|
summary: "Get the custom<wbr>Block<wbr>Response<wbr>Body property: If the action type is block, customer can override the response body."
|
|
syntax: "public String customBlockResponseBody()"
|
|
desc: "Get the customBlockResponseBody property: If the action type is block, customer can override the response body. The body must be specified in base64 encoding."
|
|
returns:
|
|
description: "the customBlockResponseBody value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.customBlockResponseStatusCode()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.customBlockResponseStatusCode()"
|
|
name: "customBlockResponseStatusCode()"
|
|
nameWithType: "PolicySettings.customBlockResponseStatusCode()"
|
|
summary: "Get the custom<wbr>Block<wbr>Response<wbr>Status<wbr>Code property: If the action type is block, customer can override the response status code."
|
|
syntax: "public Integer customBlockResponseStatusCode()"
|
|
desc: "Get the customBlockResponseStatusCode property: If the action type is block, customer can override the response status code."
|
|
returns:
|
|
description: "the customBlockResponseStatusCode value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.fileUploadEnforcement()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.fileUploadEnforcement()"
|
|
name: "fileUploadEnforcement()"
|
|
nameWithType: "PolicySettings.fileUploadEnforcement()"
|
|
summary: "Get the file<wbr>Upload<wbr>Enforcement property: Whether allow WAF to enforce file upload limits."
|
|
syntax: "public Boolean fileUploadEnforcement()"
|
|
desc: "Get the fileUploadEnforcement property: Whether allow WAF to enforce file upload limits."
|
|
returns:
|
|
description: "the fileUploadEnforcement value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.fileUploadLimitInMb()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.fileUploadLimitInMb()"
|
|
name: "fileUploadLimitInMb()"
|
|
nameWithType: "PolicySettings.fileUploadLimitInMb()"
|
|
summary: "Get the file<wbr>Upload<wbr>Limit<wbr>InMb property: Maximum file upload size in Mb for WAF."
|
|
syntax: "public Integer fileUploadLimitInMb()"
|
|
desc: "Get the fileUploadLimitInMb property: Maximum file upload size in Mb for WAF."
|
|
returns:
|
|
description: "the fileUploadLimitInMb value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "PolicySettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Policy<wbr>Settings from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static PolicySettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the PolicySettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of PolicySettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of PolicySettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.jsChallengeCookieExpirationInMins()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.jsChallengeCookieExpirationInMins()"
|
|
name: "jsChallengeCookieExpirationInMins()"
|
|
nameWithType: "PolicySettings.jsChallengeCookieExpirationInMins()"
|
|
summary: "Get the js<wbr>Challenge<wbr>Cookie<wbr>Expiration<wbr>InMins property: Web Application Firewall Java<wbr>Script Challenge Cookie Expiration time in minutes."
|
|
syntax: "public Integer jsChallengeCookieExpirationInMins()"
|
|
desc: "Get the jsChallengeCookieExpirationInMins property: Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes."
|
|
returns:
|
|
description: "the jsChallengeCookieExpirationInMins value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.logScrubbing()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.logScrubbing()"
|
|
name: "logScrubbing()"
|
|
nameWithType: "PolicySettings.logScrubbing()"
|
|
summary: "Get the log<wbr>Scrubbing property: To scrub sensitive log fields."
|
|
syntax: "public PolicySettingsLogScrubbing logScrubbing()"
|
|
desc: "Get the logScrubbing property: To scrub sensitive log fields."
|
|
returns:
|
|
description: "the logScrubbing value."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing?alt=com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing&text=PolicySettingsLogScrubbing\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.maxRequestBodySizeInKb()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.maxRequestBodySizeInKb()"
|
|
name: "maxRequestBodySizeInKb()"
|
|
nameWithType: "PolicySettings.maxRequestBodySizeInKb()"
|
|
summary: "Get the max<wbr>Request<wbr>Body<wbr>Size<wbr>InKb property: Maximum request body size in Kb for WAF."
|
|
syntax: "public Integer maxRequestBodySizeInKb()"
|
|
desc: "Get the maxRequestBodySizeInKb property: Maximum request body size in Kb for WAF."
|
|
returns:
|
|
description: "the maxRequestBodySizeInKb value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.mode()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.mode()"
|
|
name: "mode()"
|
|
nameWithType: "PolicySettings.mode()"
|
|
summary: "Get the mode property: The mode of the policy."
|
|
syntax: "public WebApplicationFirewallMode mode()"
|
|
desc: "Get the mode property: The mode of the policy."
|
|
returns:
|
|
description: "the mode value."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.WebApplicationFirewallMode?alt=com.azure.resourcemanager.network.models.WebApplicationFirewallMode&text=WebApplicationFirewallMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyCheck()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyCheck()"
|
|
name: "requestBodyCheck()"
|
|
nameWithType: "PolicySettings.requestBodyCheck()"
|
|
summary: "Get the request<wbr>Body<wbr>Check property: Whether to allow WAF to check request Body."
|
|
syntax: "public Boolean requestBodyCheck()"
|
|
desc: "Get the requestBodyCheck property: Whether to allow WAF to check request Body."
|
|
returns:
|
|
description: "the requestBodyCheck value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyEnforcement()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyEnforcement()"
|
|
name: "requestBodyEnforcement()"
|
|
nameWithType: "PolicySettings.requestBodyEnforcement()"
|
|
summary: "Get the request<wbr>Body<wbr>Enforcement property: Whether allow WAF to enforce request body limits."
|
|
syntax: "public Boolean requestBodyEnforcement()"
|
|
desc: "Get the requestBodyEnforcement property: Whether allow WAF to enforce request body limits."
|
|
returns:
|
|
description: "the requestBodyEnforcement value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyInspectLimitInKB()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.requestBodyInspectLimitInKB()"
|
|
name: "requestBodyInspectLimitInKB()"
|
|
nameWithType: "PolicySettings.requestBodyInspectLimitInKB()"
|
|
summary: "Get the request<wbr>Body<wbr>Inspect<wbr>Limit<wbr>InKB property: Max inspection limit in KB for request body inspection for WAF."
|
|
syntax: "public Integer requestBodyInspectLimitInKB()"
|
|
desc: "Get the requestBodyInspectLimitInKB property: Max inspection limit in KB for request body inspection for WAF."
|
|
returns:
|
|
description: "the requestBodyInspectLimitInKB value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.state()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.state()"
|
|
name: "state()"
|
|
nameWithType: "PolicySettings.state()"
|
|
summary: "Get the state property: The state of the policy."
|
|
syntax: "public WebApplicationFirewallEnabledState state()"
|
|
desc: "Get the state property: The state of the policy."
|
|
returns:
|
|
description: "the state value."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.WebApplicationFirewallEnabledState?alt=com.azure.resourcemanager.network.models.WebApplicationFirewallEnabledState&text=WebApplicationFirewallEnabledState\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "PolicySettings.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.validate()"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "PolicySettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withCustomBlockResponseBody(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withCustomBlockResponseBody(String customBlockResponseBody)"
|
|
name: "withCustomBlockResponseBody(String customBlockResponseBody)"
|
|
nameWithType: "PolicySettings.withCustomBlockResponseBody(String customBlockResponseBody)"
|
|
summary: "Set the custom<wbr>Block<wbr>Response<wbr>Body property: If the action type is block, customer can override the response body."
|
|
parameters:
|
|
- description: "the customBlockResponseBody value to set."
|
|
name: "customBlockResponseBody"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public PolicySettings withCustomBlockResponseBody(String customBlockResponseBody)"
|
|
desc: "Set the customBlockResponseBody property: If the action type is block, customer can override the response body. The body must be specified in base64 encoding."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withCustomBlockResponseStatusCode(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withCustomBlockResponseStatusCode(Integer customBlockResponseStatusCode)"
|
|
name: "withCustomBlockResponseStatusCode(Integer customBlockResponseStatusCode)"
|
|
nameWithType: "PolicySettings.withCustomBlockResponseStatusCode(Integer customBlockResponseStatusCode)"
|
|
summary: "Set the custom<wbr>Block<wbr>Response<wbr>Status<wbr>Code property: If the action type is block, customer can override the response status code."
|
|
parameters:
|
|
- description: "the customBlockResponseStatusCode value to set."
|
|
name: "customBlockResponseStatusCode"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public PolicySettings withCustomBlockResponseStatusCode(Integer customBlockResponseStatusCode)"
|
|
desc: "Set the customBlockResponseStatusCode property: If the action type is block, customer can override the response status code."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withFileUploadEnforcement(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withFileUploadEnforcement(Boolean fileUploadEnforcement)"
|
|
name: "withFileUploadEnforcement(Boolean fileUploadEnforcement)"
|
|
nameWithType: "PolicySettings.withFileUploadEnforcement(Boolean fileUploadEnforcement)"
|
|
summary: "Set the file<wbr>Upload<wbr>Enforcement property: Whether allow WAF to enforce file upload limits."
|
|
parameters:
|
|
- description: "the fileUploadEnforcement value to set."
|
|
name: "fileUploadEnforcement"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public PolicySettings withFileUploadEnforcement(Boolean fileUploadEnforcement)"
|
|
desc: "Set the fileUploadEnforcement property: Whether allow WAF to enforce file upload limits."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withFileUploadLimitInMb(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
|
|
name: "withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
|
|
nameWithType: "PolicySettings.withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
|
|
summary: "Set the file<wbr>Upload<wbr>Limit<wbr>InMb property: Maximum file upload size in Mb for WAF."
|
|
parameters:
|
|
- description: "the fileUploadLimitInMb value to set."
|
|
name: "fileUploadLimitInMb"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public PolicySettings withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
|
|
desc: "Set the fileUploadLimitInMb property: Maximum file upload size in Mb for WAF."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withJsChallengeCookieExpirationInMins(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withJsChallengeCookieExpirationInMins(Integer jsChallengeCookieExpirationInMins)"
|
|
name: "withJsChallengeCookieExpirationInMins(Integer jsChallengeCookieExpirationInMins)"
|
|
nameWithType: "PolicySettings.withJsChallengeCookieExpirationInMins(Integer jsChallengeCookieExpirationInMins)"
|
|
summary: "Set the js<wbr>Challenge<wbr>Cookie<wbr>Expiration<wbr>InMins property: Web Application Firewall Java<wbr>Script Challenge Cookie Expiration time in minutes."
|
|
parameters:
|
|
- description: "the jsChallengeCookieExpirationInMins value to set."
|
|
name: "jsChallengeCookieExpirationInMins"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public PolicySettings withJsChallengeCookieExpirationInMins(Integer jsChallengeCookieExpirationInMins)"
|
|
desc: "Set the jsChallengeCookieExpirationInMins property: Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withLogScrubbing(com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withLogScrubbing(PolicySettingsLogScrubbing logScrubbing)"
|
|
name: "withLogScrubbing(PolicySettingsLogScrubbing logScrubbing)"
|
|
nameWithType: "PolicySettings.withLogScrubbing(PolicySettingsLogScrubbing logScrubbing)"
|
|
summary: "Set the log<wbr>Scrubbing property: To scrub sensitive log fields."
|
|
parameters:
|
|
- description: "the logScrubbing value to set."
|
|
name: "logScrubbing"
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing?alt=com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing&text=PolicySettingsLogScrubbing\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public PolicySettings withLogScrubbing(PolicySettingsLogScrubbing logScrubbing)"
|
|
desc: "Set the logScrubbing property: To scrub sensitive log fields."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withMaxRequestBodySizeInKb(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
|
|
name: "withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
|
|
nameWithType: "PolicySettings.withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
|
|
summary: "Set the max<wbr>Request<wbr>Body<wbr>Size<wbr>InKb property: Maximum request body size in Kb for WAF."
|
|
parameters:
|
|
- description: "the maxRequestBodySizeInKb value to set."
|
|
name: "maxRequestBodySizeInKb"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public PolicySettings withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
|
|
desc: "Set the maxRequestBodySizeInKb property: Maximum request body size in Kb for WAF."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withMode(com.azure.resourcemanager.network.models.WebApplicationFirewallMode)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withMode(WebApplicationFirewallMode mode)"
|
|
name: "withMode(WebApplicationFirewallMode mode)"
|
|
nameWithType: "PolicySettings.withMode(WebApplicationFirewallMode mode)"
|
|
summary: "Set the mode property: The mode of the policy."
|
|
parameters:
|
|
- description: "the mode value to set."
|
|
name: "mode"
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.WebApplicationFirewallMode?alt=com.azure.resourcemanager.network.models.WebApplicationFirewallMode&text=WebApplicationFirewallMode\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public PolicySettings withMode(WebApplicationFirewallMode mode)"
|
|
desc: "Set the mode property: The mode of the policy."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyCheck(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyCheck(Boolean requestBodyCheck)"
|
|
name: "withRequestBodyCheck(Boolean requestBodyCheck)"
|
|
nameWithType: "PolicySettings.withRequestBodyCheck(Boolean requestBodyCheck)"
|
|
summary: "Set the request<wbr>Body<wbr>Check property: Whether to allow WAF to check request Body."
|
|
parameters:
|
|
- description: "the requestBodyCheck value to set."
|
|
name: "requestBodyCheck"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public PolicySettings withRequestBodyCheck(Boolean requestBodyCheck)"
|
|
desc: "Set the requestBodyCheck property: Whether to allow WAF to check request Body."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyEnforcement(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyEnforcement(Boolean requestBodyEnforcement)"
|
|
name: "withRequestBodyEnforcement(Boolean requestBodyEnforcement)"
|
|
nameWithType: "PolicySettings.withRequestBodyEnforcement(Boolean requestBodyEnforcement)"
|
|
summary: "Set the request<wbr>Body<wbr>Enforcement property: Whether allow WAF to enforce request body limits."
|
|
parameters:
|
|
- description: "the requestBodyEnforcement value to set."
|
|
name: "requestBodyEnforcement"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public PolicySettings withRequestBodyEnforcement(Boolean requestBodyEnforcement)"
|
|
desc: "Set the requestBodyEnforcement property: Whether allow WAF to enforce request body limits."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyInspectLimitInKB(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withRequestBodyInspectLimitInKB(Integer requestBodyInspectLimitInKB)"
|
|
name: "withRequestBodyInspectLimitInKB(Integer requestBodyInspectLimitInKB)"
|
|
nameWithType: "PolicySettings.withRequestBodyInspectLimitInKB(Integer requestBodyInspectLimitInKB)"
|
|
summary: "Set the request<wbr>Body<wbr>Inspect<wbr>Limit<wbr>InKB property: Max inspection limit in KB for request body inspection for WAF."
|
|
parameters:
|
|
- description: "the requestBodyInspectLimitInKB value to set."
|
|
name: "requestBodyInspectLimitInKB"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public PolicySettings withRequestBodyInspectLimitInKB(Integer requestBodyInspectLimitInKB)"
|
|
desc: "Set the requestBodyInspectLimitInKB property: Max inspection limit in KB for request body inspection for WAF."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.PolicySettings.withState(com.azure.resourcemanager.network.models.WebApplicationFirewallEnabledState)"
|
|
fullName: "com.azure.resourcemanager.network.models.PolicySettings.withState(WebApplicationFirewallEnabledState state)"
|
|
name: "withState(WebApplicationFirewallEnabledState state)"
|
|
nameWithType: "PolicySettings.withState(WebApplicationFirewallEnabledState state)"
|
|
summary: "Set the state property: The state of the policy."
|
|
parameters:
|
|
- description: "the state value to set."
|
|
name: "state"
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.WebApplicationFirewallEnabledState?alt=com.azure.resourcemanager.network.models.WebApplicationFirewallEnabledState&text=WebApplicationFirewallEnabledState\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public PolicySettings withState(WebApplicationFirewallEnabledState state)"
|
|
desc: "Set the state property: The state of the policy."
|
|
returns:
|
|
description: "the PolicySettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Defines contents of a web application firewall global configuration."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.PolicySettings?alt=com.azure.resourcemanager.network.models.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.network.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0
|