Class ServiceSize
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServiceSize>
com.azure.resourcemanager.cosmos.models.ServiceSize
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Instance type for the service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceSize
Static value Cosmos.D16s for ServiceSize.static final ServiceSize
Static value Cosmos.D4s for ServiceSize.static final ServiceSize
Static value Cosmos.D8s for ServiceSize. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceSize
fromString
(String name) Creates or finds a ServiceSize from its string representation.static Collection
<ServiceSize> values()
Gets known ServiceSize values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
COSMOS_D4S
Static value Cosmos.D4s for ServiceSize. -
COSMOS_D8S
Static value Cosmos.D8s for ServiceSize. -
COSMOS_D16S
Static value Cosmos.D16s for ServiceSize.
-
-
Constructor Details
-
ServiceSize
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ServiceSize value.
-
-
Method Details
-
fromString
Creates or finds a ServiceSize from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ServiceSize.
-
values
Gets known ServiceSize values.- Returns:
- known ServiceSize values.
-
fromString(String)
factory method.