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