ComputeRole Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. azurestack. models. ComputeRole
- com.
- com.
public final class ComputeRole
extends ExpandableStringEnum<ComputeRole>
Compute role type (IaaS or PaaS).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Compute |
IAAS
Static value IaaS for Compute |
|
static final
Compute |
NONE
Static value None for Compute |
|
static final
Compute |
PAAS
Static value PaaS for Compute |
Constructor Summary
| Constructor | Description |
|---|---|
| ComputeRole() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Compute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Compute |
fromString(String name)
Creates or finds a Compute |
|
static
Collection<Compute |
values()
Gets known Compute |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
IAAS
public static final ComputeRole IAAS
Static value IaaS for ComputeRole.
NONE
public static final ComputeRole NONE
Static value None for ComputeRole.
PAAS
public static final ComputeRole PAAS
Static value PaaS for ComputeRole.
Constructor Details
ComputeRole
@Deprecated
public ComputeRole()
Deprecated
Creates a new instance of ComputeRole value.
Method Details
fromString
public static ComputeRole fromString(String name)
Creates or finds a ComputeRole from its string representation.
Parameters:
Returns:
values
public static Collection<ComputeRole> values()
Gets known ComputeRole values.
Returns: