azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.f...

98 строки
6.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode"
name: "PolicyMode"
nameWithType: "PolicyMode"
summary: "Describes if it is in detection mode or prevention mode at policy level."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- 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#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#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#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 **PolicyMode**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.frontdoor.models.PolicyMode?alt=com.azure.resourcemanager.frontdoor.models.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode.PolicyMode()"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode.PolicyMode()"
name: "PolicyMode()"
nameWithType: "PolicyMode.PolicyMode()"
summary: "Creates a new instance of Policy<wbr>Mode value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.frontdoor.models.PolicyMode.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public PolicyMode()"
desc: "Creates a new instance of PolicyMode value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode.DETECTION"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode.DETECTION"
name: "DETECTION"
nameWithType: "PolicyMode.DETECTION"
summary: "Static value Detection for Policy<wbr>Mode."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.frontdoor.models.PolicyMode?alt=com.azure.resourcemanager.frontdoor.models.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PolicyMode DETECTION"
desc: "Static value Detection for PolicyMode."
- uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode.PREVENTION"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode.PREVENTION"
name: "PREVENTION"
nameWithType: "PolicyMode.PREVENTION"
summary: "Static value Prevention for Policy<wbr>Mode."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.frontdoor.models.PolicyMode?alt=com.azure.resourcemanager.frontdoor.models.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PolicyMode PREVENTION"
desc: "Static value Prevention for PolicyMode."
methods:
- uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode.fromString(String name)"
name: "fromString(String name)"
nameWithType: "PolicyMode.fromString(String name)"
summary: "Creates or finds a Policy<wbr>Mode from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static PolicyMode fromString(String name)"
desc: "Creates or finds a PolicyMode from its string representation."
returns:
description: "the corresponding PolicyMode."
type: "<xref href=\"com.azure.resourcemanager.frontdoor.models.PolicyMode?alt=com.azure.resourcemanager.frontdoor.models.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.frontdoor.models.PolicyMode.values()"
fullName: "com.azure.resourcemanager.frontdoor.models.PolicyMode.values()"
name: "values()"
nameWithType: "PolicyMode.values()"
summary: "Gets known Policy<wbr>Mode values."
modifiers:
- "static"
syntax: "public static Collection<PolicyMode> values()"
desc: "Gets known PolicyMode values."
returns:
description: "known PolicyMode values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.frontdoor.models.PolicyMode?alt=com.azure.resourcemanager.frontdoor.models.PolicyMode&text=PolicyMode\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Describes if it is in detection mode or prevention mode at policy level."
metadata: {}
package: "com.azure.resourcemanager.frontdoor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-frontdoor:1.0.0