azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

156 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.PolicySettings"
fullName: "com.microsoft.azure.management.network.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: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **PolicySettings**"
constructors:
- uid: "com.microsoft.azure.management.network.PolicySettings.PolicySettings()"
fullName: "com.microsoft.azure.management.network.PolicySettings.PolicySettings()"
name: "PolicySettings()"
nameWithType: "PolicySettings.PolicySettings()"
syntax: "public PolicySettings()"
methods:
- uid: "com.microsoft.azure.management.network.PolicySettings.fileUploadLimitInMb()"
fullName: "com.microsoft.azure.management.network.PolicySettings.fileUploadLimitInMb()"
name: "fileUploadLimitInMb()"
nameWithType: "PolicySettings.fileUploadLimitInMb()"
summary: "Get maximum file upload size in Mb for WAF."
syntax: "public Integer fileUploadLimitInMb()"
desc: "Get maximum file upload size in Mb for WAF."
returns:
description: "the fileUploadLimitInMb value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.maxRequestBodySizeInKb()"
fullName: "com.microsoft.azure.management.network.PolicySettings.maxRequestBodySizeInKb()"
name: "maxRequestBodySizeInKb()"
nameWithType: "PolicySettings.maxRequestBodySizeInKb()"
summary: "Get maximum request body size in Kb for WAF."
syntax: "public Integer maxRequestBodySizeInKb()"
desc: "Get maximum request body size in Kb for WAF."
returns:
description: "the maxRequestBodySizeInKb value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.mode()"
fullName: "com.microsoft.azure.management.network.PolicySettings.mode()"
name: "mode()"
nameWithType: "PolicySettings.mode()"
summary: "Get the mode of the policy."
syntax: "public WebApplicationFirewallMode mode()"
desc: "Get the mode of the policy. Possible values include: 'Prevention', 'Detection'."
returns:
description: "the mode value"
type: "<xref href=\"com.microsoft.azure.management.network.WebApplicationFirewallMode?alt=com.microsoft.azure.management.network.WebApplicationFirewallMode&text=WebApplicationFirewallMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.requestBodyCheck()"
fullName: "com.microsoft.azure.management.network.PolicySettings.requestBodyCheck()"
name: "requestBodyCheck()"
nameWithType: "PolicySettings.requestBodyCheck()"
summary: "Get whether to allow WAF to check request Body."
syntax: "public Boolean requestBodyCheck()"
desc: "Get whether to allow WAF to check request Body."
returns:
description: "the requestBodyCheck value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.state()"
fullName: "com.microsoft.azure.management.network.PolicySettings.state()"
name: "state()"
nameWithType: "PolicySettings.state()"
summary: "Get the state of the policy."
syntax: "public WebApplicationFirewallEnabledState state()"
desc: "Get the state of the policy. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the state value"
type: "<xref href=\"com.microsoft.azure.management.network.WebApplicationFirewallEnabledState?alt=com.microsoft.azure.management.network.WebApplicationFirewallEnabledState&text=WebApplicationFirewallEnabledState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.withFileUploadLimitInMb(java.lang.Integer)"
fullName: "com.microsoft.azure.management.network.PolicySettings.withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
name: "withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
nameWithType: "PolicySettings.withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
summary: "Set maximum file upload size in Mb for WAF."
parameters:
- description: "the fileUploadLimitInMb value to set"
name: "fileUploadLimitInMb"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withFileUploadLimitInMb(Integer fileUploadLimitInMb)"
desc: "Set maximum file upload size in Mb for WAF."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.network.PolicySettings?alt=com.microsoft.azure.management.network.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.withMaxRequestBodySizeInKb(java.lang.Integer)"
fullName: "com.microsoft.azure.management.network.PolicySettings.withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
name: "withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
nameWithType: "PolicySettings.withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
summary: "Set maximum request body size in Kb for WAF."
parameters:
- description: "the maxRequestBodySizeInKb value to set"
name: "maxRequestBodySizeInKb"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)"
desc: "Set maximum request body size in Kb for WAF."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.network.PolicySettings?alt=com.microsoft.azure.management.network.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.withMode(com.microsoft.azure.management.network.WebApplicationFirewallMode)"
fullName: "com.microsoft.azure.management.network.PolicySettings.withMode(WebApplicationFirewallMode mode)"
name: "withMode(WebApplicationFirewallMode mode)"
nameWithType: "PolicySettings.withMode(WebApplicationFirewallMode mode)"
summary: "Set the mode of the policy."
parameters:
- description: "the mode value to set"
name: "mode"
type: "<xref href=\"com.microsoft.azure.management.network.WebApplicationFirewallMode?alt=com.microsoft.azure.management.network.WebApplicationFirewallMode&text=WebApplicationFirewallMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withMode(WebApplicationFirewallMode mode)"
desc: "Set the mode of the policy. Possible values include: 'Prevention', 'Detection'."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.network.PolicySettings?alt=com.microsoft.azure.management.network.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.withRequestBodyCheck(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.network.PolicySettings.withRequestBodyCheck(Boolean requestBodyCheck)"
name: "withRequestBodyCheck(Boolean requestBodyCheck)"
nameWithType: "PolicySettings.withRequestBodyCheck(Boolean requestBodyCheck)"
summary: "Set whether to allow WAF to check request Body."
parameters:
- description: "the requestBodyCheck value to set"
name: "requestBodyCheck"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withRequestBodyCheck(Boolean requestBodyCheck)"
desc: "Set whether to allow WAF to check request Body."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.network.PolicySettings?alt=com.microsoft.azure.management.network.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.PolicySettings.withState(com.microsoft.azure.management.network.WebApplicationFirewallEnabledState)"
fullName: "com.microsoft.azure.management.network.PolicySettings.withState(WebApplicationFirewallEnabledState state)"
name: "withState(WebApplicationFirewallEnabledState state)"
nameWithType: "PolicySettings.withState(WebApplicationFirewallEnabledState state)"
summary: "Set the state of the policy."
parameters:
- description: "the state value to set"
name: "state"
type: "<xref href=\"com.microsoft.azure.management.network.WebApplicationFirewallEnabledState?alt=com.microsoft.azure.management.network.WebApplicationFirewallEnabledState&text=WebApplicationFirewallEnabledState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withState(WebApplicationFirewallEnabledState state)"
desc: "Set the state of the policy. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.network.PolicySettings?alt=com.microsoft.azure.management.network.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines contents of a web application firewall global configuration."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4