Partilhar via


PublicIpAllocationMethod Class

public final class PublicIpAllocationMethod
extends ExpandableStringEnum<PublicIpAllocationMethod>

Specify the public IP allocation type.

Field Summary

Modifier and Type Field and Description
static final PublicIpAllocationMethod DYNAMIC

Static value Dynamic for PublicIpAllocationMethod.

static final PublicIpAllocationMethod STATIC

Static value Static for PublicIpAllocationMethod.

Constructor Summary

Constructor Description
PublicIpAllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicIpAllocationMethod value.

Method Summary

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

Creates or finds a PublicIpAllocationMethod from its string representation.

static Collection<PublicIpAllocationMethod> values()

Gets known PublicIpAllocationMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DYNAMIC

public static final PublicIpAllocationMethod DYNAMIC

Static value Dynamic for PublicIpAllocationMethod.

STATIC

public static final PublicIpAllocationMethod STATIC

Static value Static for PublicIpAllocationMethod.

Constructor Details

PublicIpAllocationMethod

@Deprecated
public PublicIpAllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicIpAllocationMethod value.

Method Details

fromString

public static PublicIpAllocationMethod fromString(String name)

Creates or finds a PublicIpAllocationMethod from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublicIpAllocationMethod.

values

public static Collection values()

Gets known PublicIpAllocationMethod values.

Returns:

known PublicIpAllocationMethod values.

Applies to