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>

public final class ServiceSize extends com.azure.core.util.ExpandableStringEnum<ServiceSize>
Instance type for the service.
  • Field Details

    • 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.
    • COSMOS_D16S

      public static final ServiceSize COSMOS_D16S
      Static value Cosmos.D16s for ServiceSize.
  • Constructor Details

    • ServiceSize

      @Deprecated public ServiceSize()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding ServiceSize.
    • values

      public static Collection<ServiceSize> values()
      Gets known ServiceSize values.
      Returns:
      known ServiceSize values.