通过


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

RebalanceBehavior Class

public final class RebalanceBehavior
extends ExpandableStringEnum<RebalanceBehavior>

Type of rebalance behavior that will be used for recreating virtual machines in the scale set across availability zones. Default and only supported value for now is CreateBeforeDelete.

Field Summary

Modifier and Type Field and Description
static final RebalanceBehavior CREATE_BEFORE_DELETE

Static value CreateBeforeDelete for RebalanceBehavior.

Constructor Summary

Constructor Description
RebalanceBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RebalanceBehavior value.

Method Summary

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

Creates or finds a RebalanceBehavior from its string representation.

static Collection<RebalanceBehavior> values()

Gets known RebalanceBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATE_BEFORE_DELETE

public static final RebalanceBehavior CREATE_BEFORE_DELETE

Static value CreateBeforeDelete for RebalanceBehavior.

Constructor Details

RebalanceBehavior

@Deprecated
public RebalanceBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RebalanceBehavior value.

Method Details

fromString

public static RebalanceBehavior fromString(String name)

Creates or finds a RebalanceBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RebalanceBehavior.

values

public static Collection<RebalanceBehavior> values()

Gets known RebalanceBehavior values.

Returns:

known RebalanceBehavior values.

Applies to