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

99 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy"
name: "ScaleSetEvictionPolicy"
nameWithType: "ScaleSetEvictionPolicy"
summary: "The Virtual Machine Scale Set eviction policy."
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.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" 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 **ScaleSetEvictionPolicy**</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.containerservice.models.ScaleSetEvictionPolicy?alt=com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy&text=ScaleSetEvictionPolicy\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.ScaleSetEvictionPolicy()"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.ScaleSetEvictionPolicy()"
name: "ScaleSetEvictionPolicy()"
nameWithType: "ScaleSetEvictionPolicy.ScaleSetEvictionPolicy()"
summary: "Creates a new instance of Scale<wbr>Set<wbr>Eviction<wbr>Policy value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.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 ScaleSetEvictionPolicy()"
desc: "Creates a new instance of ScaleSetEvictionPolicy value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.DEALLOCATE"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.DEALLOCATE"
name: "DEALLOCATE"
nameWithType: "ScaleSetEvictionPolicy.DEALLOCATE"
summary: "Static value Deallocate for Scale<wbr>Set<wbr>Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy?alt=com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy&text=ScaleSetEvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ScaleSetEvictionPolicy DEALLOCATE"
desc: "Static value Deallocate for ScaleSetEvictionPolicy."
- uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.DELETE"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.DELETE"
name: "DELETE"
nameWithType: "ScaleSetEvictionPolicy.DELETE"
summary: "Static value Delete for Scale<wbr>Set<wbr>Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy?alt=com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy&text=ScaleSetEvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final ScaleSetEvictionPolicy DELETE"
desc: "Static value Delete for ScaleSetEvictionPolicy."
methods:
- uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.fromString(String name)"
name: "fromString(String name)"
nameWithType: "ScaleSetEvictionPolicy.fromString(String name)"
summary: "Creates or finds a Scale<wbr>Set<wbr>Eviction<wbr>Policy 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 ScaleSetEvictionPolicy fromString(String name)"
desc: "Creates or finds a ScaleSetEvictionPolicy from its string representation."
returns:
description: "the corresponding ScaleSetEvictionPolicy."
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy?alt=com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy&text=ScaleSetEvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.values()"
fullName: "com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy.values()"
name: "values()"
nameWithType: "ScaleSetEvictionPolicy.values()"
summary: "Gets known Scale<wbr>Set<wbr>Eviction<wbr>Policy values."
modifiers:
- "static"
syntax: "public static Collection<ScaleSetEvictionPolicy> values()"
desc: "Gets known ScaleSetEvictionPolicy values."
returns:
description: "known ScaleSetEvictionPolicy values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy?alt=com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy&text=ScaleSetEvictionPolicy\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "The Virtual Machine Scale Set eviction policy. The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information about eviction see \\[spot VMs\\](https://docs.microsoft.com/azure/virtual-machines/spot-vms)."
metadata: {}
package: "com.azure.resourcemanager.containerservice.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerservice:2.44.0