ServiceSize Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ServiceSize
- com.
- com.
public final class ServiceSize
extends ExpandableStringEnum<ServiceSize>
Instance type for the service.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Service |
COSMOS_D16S
Static value Cosmos. |
static final
Service |
COSMOS_D4S
Static value Cosmos. |
static final
Service |
COSMOS_D8S
Static value Cosmos. |
Constructor Summary
Constructor | Description |
---|---|
ServiceSize() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromString(String name)
Creates or finds a Service |
static
Collection<Service |
values()
Gets known Service |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COSMOS_D16S
public static final ServiceSize COSMOS_D16S
Static value Cosmos.D16s for ServiceSize.
COSMOS_D4S
public static final ServiceSize COSMOS_D4S
Static value Cosmos.D4s for ServiceSize.
COSMOS_D8S
public static final ServiceSize COSMOS_D8S
Static value Cosmos.D8s for ServiceSize.
Constructor Details
ServiceSize
@Deprecated
public ServiceSize()
Deprecated
Creates a new instance of ServiceSize value.
Method Details
fromString
public static ServiceSize fromString(String name)
Creates or finds a ServiceSize from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServiceSize values.
Returns:
Applies to
Azure SDK for Java