你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScaleSetPriority Class

public final class ScaleSetPriority
extends ExpandableStringEnum<ScaleSetPriority>

The Virtual Machine Scale Set priority.

Field Summary

Modifier and Type Field and Description
static final ScaleSetPriority REGULAR

Regular VMs will be used.

static final ScaleSetPriority SPOT

Spot priority VMs will be used.

Constructor Summary

Constructor Description
ScaleSetPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleSetPriority value.

Method Summary

Modifier and Type Method and Description
static ScaleSetPriority fromString(String name)

Creates or finds a ScaleSetPriority from its string representation.

static Collection<ScaleSetPriority> values()

Gets known ScaleSetPriority values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REGULAR

public static final ScaleSetPriority REGULAR

Regular VMs will be used.

SPOT

public static final ScaleSetPriority SPOT

Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information.

Constructor Details

ScaleSetPriority

@Deprecated
public ScaleSetPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleSetPriority value.

Method Details

fromString

public static ScaleSetPriority fromString(String name)

Creates or finds a ScaleSetPriority from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScaleSetPriority.

values

public static Collection<ScaleSetPriority> values()

Gets known ScaleSetPriority values.

Returns:

known ScaleSetPriority values.

Applies to