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

IpAllocationMethod Class

public final class IpAllocationMethod
extends ExpandableStringEnum<IpAllocationMethod>

IP address allocation method.

Field Summary

Modifier and Type Field and Description
static final IpAllocationMethod DYNAMIC

Static value Dynamic for IpAllocationMethod.

static final IpAllocationMethod STATIC

Static value Static for IpAllocationMethod.

Constructor Summary

Constructor Description
IpAllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpAllocationMethod value.

Method Summary

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

Creates or finds a IpAllocationMethod from its string representation.

static Collection<IpAllocationMethod> values()

Gets known IpAllocationMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DYNAMIC

public static final IpAllocationMethod DYNAMIC

Static value Dynamic for IpAllocationMethod.

STATIC

public static final IpAllocationMethod STATIC

Static value Static for IpAllocationMethod.

Constructor Details

IpAllocationMethod

@Deprecated
public IpAllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpAllocationMethod value.

Method Details

fromString

public static IpAllocationMethod fromString(String name)

Creates or finds a IpAllocationMethod from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IpAllocationMethod.

values

public static Collection values()

Gets known IpAllocationMethod values.

Returns:

known IpAllocationMethod values.

Applies to