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

156 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cdn.PolicySettings"
fullName: "com.microsoft.azure.management.cdn.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.cdn.PolicySettings.PolicySettings()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.PolicySettings()"
name: "PolicySettings()"
nameWithType: "PolicySettings.PolicySettings()"
syntax: "public PolicySettings()"
methods:
- uid: "com.microsoft.azure.management.cdn.PolicySettings.defaultCustomBlockResponseBody()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.defaultCustomBlockResponseBody()"
name: "defaultCustomBlockResponseBody()"
nameWithType: "PolicySettings.defaultCustomBlockResponseBody()"
summary: "Get if the action type is block, customer can override the response body."
syntax: "public String defaultCustomBlockResponseBody()"
desc: "Get if the action type is block, customer can override the response body. The body must be specified in base64 encoding."
returns:
description: "the defaultCustomBlockResponseBody value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.defaultCustomBlockResponseStatusCode()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.defaultCustomBlockResponseStatusCode()"
name: "defaultCustomBlockResponseStatusCode()"
nameWithType: "PolicySettings.defaultCustomBlockResponseStatusCode()"
summary: "Get if the action type is block, this field defines the default customer overridable http response status code."
syntax: "public Integer defaultCustomBlockResponseStatusCode()"
desc: "Get if the action type is block, this field defines the default customer overridable http response status code."
returns:
description: "the defaultCustomBlockResponseStatusCode value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.defaultRedirectUrl()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.defaultRedirectUrl()"
name: "defaultRedirectUrl()"
nameWithType: "PolicySettings.defaultRedirectUrl()"
summary: "Get if action type is redirect, this field represents the default redirect URL for the client."
syntax: "public String defaultRedirectUrl()"
desc: "Get if action type is redirect, this field represents the default redirect URL for the client."
returns:
description: "the defaultRedirectUrl value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.enabledState()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.enabledState()"
name: "enabledState()"
nameWithType: "PolicySettings.enabledState()"
summary: "Get describes if the policy is in enabled state or disabled state."
syntax: "public PolicyEnabledState enabledState()"
desc: "Get describes if the policy is in enabled state or disabled state. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the enabledState value"
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicyEnabledState?alt=com.microsoft.azure.management.cdn.PolicyEnabledState&text=PolicyEnabledState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.mode()"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.mode()"
name: "mode()"
nameWithType: "PolicySettings.mode()"
summary: "Get describes if it is in detection mode or prevention mode at policy level."
syntax: "public PolicyMode mode()"
desc: "Get describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection'."
returns:
description: "the mode value"
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicyMode?alt=com.microsoft.azure.management.cdn.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultCustomBlockResponseBody(java.lang.String)"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultCustomBlockResponseBody(String defaultCustomBlockResponseBody)"
name: "withDefaultCustomBlockResponseBody(String defaultCustomBlockResponseBody)"
nameWithType: "PolicySettings.withDefaultCustomBlockResponseBody(String defaultCustomBlockResponseBody)"
summary: "Set if the action type is block, customer can override the response body."
parameters:
- description: "the defaultCustomBlockResponseBody value to set"
name: "defaultCustomBlockResponseBody"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withDefaultCustomBlockResponseBody(String defaultCustomBlockResponseBody)"
desc: "Set 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.microsoft.azure.management.cdn.PolicySettings?alt=com.microsoft.azure.management.cdn.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultCustomBlockResponseStatusCode(java.lang.Integer)"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultCustomBlockResponseStatusCode(Integer defaultCustomBlockResponseStatusCode)"
name: "withDefaultCustomBlockResponseStatusCode(Integer defaultCustomBlockResponseStatusCode)"
nameWithType: "PolicySettings.withDefaultCustomBlockResponseStatusCode(Integer defaultCustomBlockResponseStatusCode)"
summary: "Set if the action type is block, this field defines the default customer overridable http response status code."
parameters:
- description: "the defaultCustomBlockResponseStatusCode value to set"
name: "defaultCustomBlockResponseStatusCode"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withDefaultCustomBlockResponseStatusCode(Integer defaultCustomBlockResponseStatusCode)"
desc: "Set if the action type is block, this field defines the default customer overridable http response status code."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicySettings?alt=com.microsoft.azure.management.cdn.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultRedirectUrl(java.lang.String)"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.withDefaultRedirectUrl(String defaultRedirectUrl)"
name: "withDefaultRedirectUrl(String defaultRedirectUrl)"
nameWithType: "PolicySettings.withDefaultRedirectUrl(String defaultRedirectUrl)"
summary: "Set if action type is redirect, this field represents the default redirect URL for the client."
parameters:
- description: "the defaultRedirectUrl value to set"
name: "defaultRedirectUrl"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withDefaultRedirectUrl(String defaultRedirectUrl)"
desc: "Set if action type is redirect, this field represents the default redirect URL for the client."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicySettings?alt=com.microsoft.azure.management.cdn.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.withEnabledState(com.microsoft.azure.management.cdn.PolicyEnabledState)"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.withEnabledState(PolicyEnabledState enabledState)"
name: "withEnabledState(PolicyEnabledState enabledState)"
nameWithType: "PolicySettings.withEnabledState(PolicyEnabledState enabledState)"
summary: "Set describes if the policy is in enabled state or disabled state."
parameters:
- description: "the enabledState value to set"
name: "enabledState"
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicyEnabledState?alt=com.microsoft.azure.management.cdn.PolicyEnabledState&text=PolicyEnabledState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withEnabledState(PolicyEnabledState enabledState)"
desc: "Set describes if the policy is in enabled state or disabled state. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicySettings?alt=com.microsoft.azure.management.cdn.PolicySettings&text=PolicySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.PolicySettings.withMode(com.microsoft.azure.management.cdn.PolicyMode)"
fullName: "com.microsoft.azure.management.cdn.PolicySettings.withMode(PolicyMode mode)"
name: "withMode(PolicyMode mode)"
nameWithType: "PolicySettings.withMode(PolicyMode mode)"
summary: "Set describes if it is in detection mode or prevention mode at policy level."
parameters:
- description: "the mode value to set"
name: "mode"
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicyMode?alt=com.microsoft.azure.management.cdn.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicySettings withMode(PolicyMode mode)"
desc: "Set describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection'."
returns:
description: "the PolicySettings object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.PolicySettings?alt=com.microsoft.azure.management.cdn.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.cdn"
artifact: com.microsoft.azure:azure-mgmt-cdn:1.41.4