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

98 строки
6.6 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.Mode"
fullName: "com.azure.resourcemanager.compute.models.Mode"
name: "Mode"
nameWithType: "Mode"
summary: "Specifies the mode that Proxy<wbr>Agent will execute on if the feature is enabled."
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 **Mode**</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.compute.models.Mode?alt=com.azure.resourcemanager.compute.models.Mode&text=Mode\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.Mode.Mode()"
fullName: "com.azure.resourcemanager.compute.models.Mode.Mode()"
name: "Mode()"
nameWithType: "Mode.Mode()"
summary: "Creates a new instance of Mode value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.compute.models.Mode.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 Mode()"
desc: "Creates a new instance of Mode value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.compute.models.Mode.AUDIT"
fullName: "com.azure.resourcemanager.compute.models.Mode.AUDIT"
name: "AUDIT"
nameWithType: "Mode.AUDIT"
summary: "Static value Audit for Mode."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.Mode?alt=com.azure.resourcemanager.compute.models.Mode&text=Mode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final Mode AUDIT"
desc: "Static value Audit for Mode."
- uid: "com.azure.resourcemanager.compute.models.Mode.ENFORCE"
fullName: "com.azure.resourcemanager.compute.models.Mode.ENFORCE"
name: "ENFORCE"
nameWithType: "Mode.ENFORCE"
summary: "Static value Enforce for Mode."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.Mode?alt=com.azure.resourcemanager.compute.models.Mode&text=Mode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final Mode ENFORCE"
desc: "Static value Enforce for Mode."
methods:
- uid: "com.azure.resourcemanager.compute.models.Mode.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Mode.fromString(String name)"
name: "fromString(String name)"
nameWithType: "Mode.fromString(String name)"
summary: "Creates or finds a 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 Mode fromString(String name)"
desc: "Creates or finds a Mode from its string representation."
returns:
description: "the corresponding Mode."
type: "<xref href=\"com.azure.resourcemanager.compute.models.Mode?alt=com.azure.resourcemanager.compute.models.Mode&text=Mode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Mode.values()"
fullName: "com.azure.resourcemanager.compute.models.Mode.values()"
name: "values()"
nameWithType: "Mode.values()"
summary: "Gets known Mode values."
modifiers:
- "static"
syntax: "public static Collection<Mode> values()"
desc: "Gets known Mode values."
returns:
description: "known Mode values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.Mode?alt=com.azure.resourcemanager.compute.models.Mode&text=Mode\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0