AllocationMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. scvmm. models. AllocationMethod
- com.
- com.
public final class AllocationMethod
extends ExpandableStringEnum<AllocationMethod>
Network address allocation method.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Allocation |
DYNAMIC
Static value Dynamic for Allocation |
|
static final
Allocation |
STATIC
Static value Static for Allocation |
Constructor Summary
| Constructor | Description |
|---|---|
| AllocationMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Allocation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Allocation |
fromString(String name)
Creates or finds a Allocation |
|
static
Collection<Allocation |
values()
Gets known Allocation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DYNAMIC
public static final AllocationMethod DYNAMIC
Static value Dynamic for AllocationMethod.
STATIC
public static final AllocationMethod STATIC
Static value Static for AllocationMethod.
Constructor Details
AllocationMethod
@Deprecated
public AllocationMethod()
Deprecated
Creates a new instance of AllocationMethod value.
Method Details
fromString
public static AllocationMethod fromString(String name)
Creates or finds a AllocationMethod from its string representation.
Parameters:
Returns:
values
public static Collection<AllocationMethod> values()
Gets known AllocationMethod values.
Returns: